mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -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
c04cf23fe8
commit
584f5a8f53
4 changed files with 14 additions and 3 deletions
|
@ -49,7 +49,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'),
|
||||
|
|
|
@ -84,7 +84,12 @@ describe('code in multiple nodes', () => {
|
|||
port: codePort,
|
||||
},
|
||||
plugins: { paths: [pluginPaths] },
|
||||
xpack: xpackOption,
|
||||
xpack: {
|
||||
...xpackOption,
|
||||
code: {
|
||||
ui: { enabled: true },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
@ -101,7 +106,10 @@ describe('code in multiple nodes', () => {
|
|||
plugins: { paths: [pluginPaths] },
|
||||
xpack: {
|
||||
...xpackOption,
|
||||
code: { codeNodeUrl: `http://localhost:${codePort}` },
|
||||
code: {
|
||||
ui: { enabled: true },
|
||||
codeNodeUrl: `http://localhost:${codePort}`,
|
||||
},
|
||||
},
|
||||
};
|
||||
nonCodeNode = createRootWithCorePlugins(setting);
|
||||
|
|
|
@ -60,6 +60,7 @@ export async function getApiIntegrationConfig({ readConfigFile }) {
|
|||
...xPackFunctionalTestsConfig.get('kbnTestServer.serverArgs'),
|
||||
'--optimize.enabled=false',
|
||||
`--plugin-path=${path.join(__dirname, 'fixtures', 'plugins', 'alerts')}`,
|
||||
'--xpack.code.ui.enabled=true', // Enable Code Ui just in tests
|
||||
],
|
||||
},
|
||||
esTestCluster: {
|
||||
|
|
|
@ -217,6 +217,8 @@ 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
|
||||
'--xpack.code.security.enableGitCertCheck=false', // Disable git certificate check
|
||||
'--timelion.ui.enabled=true',
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue