From 46fe0b7122e10e283ebf9eb50287d06b65dc3e77 Mon Sep 17 00:00:00 2001 From: restrry Date: Tue, 30 Nov 2021 10:24:06 +0100 Subject: [PATCH] enable execution_context by default --- src/core/server/execution_context/execution_context_config.ts | 2 +- test/plugin_functional/config.ts | 1 - x-pack/test/functional_execution_context/config.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/server/execution_context/execution_context_config.ts b/src/core/server/execution_context/execution_context_config.ts index 0f63952d5cfa9..af6e7253433f7 100644 --- a/src/core/server/execution_context/execution_context_config.ts +++ b/src/core/server/execution_context/execution_context_config.ts @@ -10,7 +10,7 @@ import { TypeOf, schema } from '@kbn/config-schema'; import { ServiceConfigDescriptor } from '../internal_types'; const configSchema = schema.object({ - enabled: schema.boolean({ defaultValue: false }), + enabled: schema.boolean({ defaultValue: true }), }); /** diff --git a/test/plugin_functional/config.ts b/test/plugin_functional/config.ts index 8ac1633e61e49..e2b7457ffec78 100644 --- a/test/plugin_functional/config.ts +++ b/test/plugin_functional/config.ts @@ -61,7 +61,6 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { '--corePluginDeprecations.noLongerUsed=still_using', // for testing set buffer duration to 0 to immediately flush counters into saved objects. '--usageCollection.usageCounters.bufferDuration=0', - '--execution_context.enabled=true', ...plugins.map( (pluginDir) => `--plugin-path=${path.resolve(__dirname, 'plugins', pluginDir)}` ), diff --git a/x-pack/test/functional_execution_context/config.ts b/x-pack/test/functional_execution_context/config.ts index 6c7935593a18d..a934b6e763437 100644 --- a/x-pack/test/functional_execution_context/config.ts +++ b/x-pack/test/functional_execution_context/config.ts @@ -43,7 +43,6 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { `--elasticsearch.ssl.certificateAuthorities=${CA_CERT_PATH}`, '--server.requestId.allowFromAnyIp=true', - '--execution_context.enabled=true', '--logging.appenders.file.type=file', `--logging.appenders.file.fileName=${logFilePath}`, '--logging.appenders.file.layout.type=json',