mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* [Code] Disable xpack.code.ui.enabled instead of xpack.code.enabled * Revert "[Code]: disable code by default in 7.2 (#38757) (#38801)"
This commit is contained in:
parent
69c9ba50fe
commit
0e4fda5860
4 changed files with 14 additions and 3 deletions
|
@ -59,7 +59,7 @@ export const code = (kibana: any) =>
|
|||
});
|
||||
return Joi.object({
|
||||
ui: Joi.object({
|
||||
enabled: Joi.boolean().default(true),
|
||||
enabled: Joi.boolean().default(false),
|
||||
}).default(),
|
||||
enabled: Joi.boolean().default(true),
|
||||
queueIndex: Joi.string().default('.code_internal-worker-queue'),
|
||||
|
|
|
@ -89,7 +89,13 @@ describe.skip('code in multiple nodes', () => {
|
|||
port: codePort,
|
||||
},
|
||||
plugins: { paths: [pluginPaths] },
|
||||
xpack: { ...xpackOption, code: { codeNodeUrl: `http://localhost:${codePort}` } },
|
||||
xpack: {
|
||||
...xpackOption,
|
||||
code: {
|
||||
codeNodeUrl: `http://localhost:${codePort}`,
|
||||
ui: { enabled: true },
|
||||
},
|
||||
},
|
||||
logging: { silent: false },
|
||||
},
|
||||
},
|
||||
|
@ -109,7 +115,10 @@ describe.skip('code in multiple nodes', () => {
|
|||
plugins: { paths: [pluginPaths] },
|
||||
xpack: {
|
||||
...xpackOption,
|
||||
code: { codeNodeUrl: `http://localhost:${codePort}` },
|
||||
code: {
|
||||
ui: { enabled: true },
|
||||
codeNodeUrl: `http://localhost:${codePort}`,
|
||||
},
|
||||
},
|
||||
logging: { silent: true },
|
||||
};
|
||||
|
|
|
@ -22,6 +22,7 @@ export async function getApiIntegrationConfig({ readConfigFile }) {
|
|||
serverArgs: [
|
||||
...xPackFunctionalTestsConfig.get('kbnTestServer.serverArgs'),
|
||||
'--optimize.enabled=false',
|
||||
'--xpack.code.ui.enabled=true' // Enable Code Ui just in tests
|
||||
],
|
||||
},
|
||||
esTestCluster: {
|
||||
|
|
|
@ -84,6 +84,7 @@ export default async function ({ readConfigFile }) {
|
|||
'--stats.maximumWaitTimeForAllCollectorsInS=0',
|
||||
'--xpack.security.encryptionKey="wuGNaIhoMpk5sO4UBxgr3NyW1sFcLgIf"', // server restarts should not invalidate active sessions
|
||||
'--xpack.encrypted_saved_objects.encryptionKey="DkdXazszSCYexXqz4YktBGHCRkV6hyNK"',
|
||||
'--xpack.code.ui.enabled=true', // Enable Code UI just in tests
|
||||
'--timelion.ui.enabled=true',
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue