Skip to content

Commit

Permalink
Enable visbuilder by default
Browse files Browse the repository at this point in the history
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
  • Loading branch information
ashwin-pc committed Nov 2, 2022
1 parent 1ecfee7 commit 0695d38
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/opensearch_dashboards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_builder/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<typeof configSchema>;
3 changes: 0 additions & 3 deletions src/plugins/vis_builder/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ export function plugin(initializerContext: PluginInitializerContext) {
export { VisBuilderPluginSetup, VisBuilderPluginStart } from './types';

export const config: PluginConfigDescriptor<ConfigSchema> = {
exposeToBrowser: {
enabled: true,
},
schema: configSchema,
};
1 change: 0 additions & 1 deletion test/common/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion test/functional/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default async function ({ readConfigFile }) {
hash: '/',
},
visBuilder: {
pathname: '/app/visBuilder',
pathname: '/app/vis-builder',
hash: '/',
},
dashboard: {
Expand Down

0 comments on commit 0695d38

Please sign in to comment.