diff --git a/config/opensearch_dashboards.yml b/config/opensearch_dashboards.yml index d68c77ad8495..4d81b0b3be69 100644 --- a/config/opensearch_dashboards.yml +++ b/config/opensearch_dashboards.yml @@ -220,7 +220,7 @@ # for reducing the load of OpenSearch cluster. # data.search.usageTelemetry.enabled: false -# Set the value of this setting to true to start exploring wizard +# Set the value of this setting to false to disable VisBuilder # functionality in Visualization. # vis_builder.enabled: false diff --git a/src/plugins/vis_builder/config.ts b/src/plugins/vis_builder/config.ts index 79412f5c02ee..b6be3f718eea 100644 --- a/src/plugins/vis_builder/config.ts +++ b/src/plugins/vis_builder/config.ts @@ -6,7 +6,7 @@ import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ - enabled: schema.boolean({ defaultValue: false }), + enabled: schema.boolean({ defaultValue: true }), }); export type ConfigSchema = TypeOf; diff --git a/src/plugins/vis_builder/server/index.ts b/src/plugins/vis_builder/server/index.ts index 417e6d2e317f..f04ba546623f 100644 --- a/src/plugins/vis_builder/server/index.ts +++ b/src/plugins/vis_builder/server/index.ts @@ -17,8 +17,5 @@ export function plugin(initializerContext: PluginInitializerContext) { export { VisBuilderPluginSetup, VisBuilderPluginStart } from './types'; export const config: PluginConfigDescriptor = { - exposeToBrowser: { - enabled: true, - }, schema: configSchema, }; diff --git a/test/common/config.js b/test/common/config.js index 0ad9dc042c5b..5db5748087a3 100644 --- a/test/common/config.js +++ b/test/common/config.js @@ -78,7 +78,6 @@ export default function () { `--opensearchDashboards.branding.mark.defaultUrl=https://opensearch.org/assets/brand/SVG/Mark/opensearch_mark_default.svg`, `--opensearchDashboards.branding.mark.darkModeUrl=https://opensearch.org/assets/brand/SVG/Mark/opensearch_mark_darkmode.svg`, `--opensearchDashboards.branding.applicationTitle=OpenSearch`, - `--vis_builder.enabled=true`, ], }, services, diff --git a/test/functional/config.js b/test/functional/config.js index d60250968720..9485225dc8ca 100644 --- a/test/functional/config.js +++ b/test/functional/config.js @@ -93,7 +93,7 @@ export default async function ({ readConfigFile }) { hash: '/', }, visBuilder: { - pathname: '/app/visBuilder', + pathname: '/app/vis-builder', hash: '/', }, dashboard: {