diff --git a/public/plugin.ts b/public/plugin.ts index 4a3667ea5..f02c3768d 100644 --- a/public/plugin.ts +++ b/public/plugin.ts @@ -10,9 +10,9 @@ import { AppMountParameters, CoreSetup, CoreStart, - DEFAULT_APP_CATEGORIES, Plugin, PluginInitializerContext, + DEFAULT_GROUPS, } from "../../../src/core/public"; import { actionRepoSingleton } from "./pages/VisualCreatePolicy/utils/helpers"; import { ROUTES } from "./utils/constants"; @@ -25,13 +25,6 @@ interface IndexManagementSetupDeps { dataSourceManagement?: DataSourceManagementPluginSetup; } -const DATA_ADMINISTRATION: AppCategory = { - id: "DATA_ADMINISTRATION", - label: "Data administration", - order: 8000, - euiIconType: "wrench", -}; - const ISM_category: Record = { indexes: { id: "indexes", @@ -40,7 +33,6 @@ const ISM_category: Record = { }), order: 9000, euiIconType: "managementApp", - group: DATA_ADMINISTRATION, }, backup: { id: "backup", @@ -49,7 +41,6 @@ const ISM_category: Record = { }), order: 9010, euiIconType: "managementApp", - group: DATA_ADMINISTRATION, }, }; @@ -92,6 +83,7 @@ export class IndexManagementPlugin implements Plugin { return mountWrapper(params, ROUTES.INDICES); }, @@ -102,6 +94,7 @@ export class IndexManagementPlugin implements Plugin { return mountWrapper(params, ROUTES.DATA_STREAMS); }, @@ -112,6 +105,7 @@ export class IndexManagementPlugin implements Plugin { return mountWrapper(params, ROUTES.ALIASES); }, @@ -122,6 +116,7 @@ export class IndexManagementPlugin implements Plugin { return mountWrapper(params, ROUTES.INDEX_POLICIES); }, @@ -132,6 +127,7 @@ export class IndexManagementPlugin implements Plugin { return mountWrapper(params, ROUTES.TEMPLATES); }, @@ -142,6 +138,7 @@ export class IndexManagementPlugin implements Plugin { return mountWrapper(params, ROUTES.NOTIFICATIONS); }, @@ -152,6 +149,7 @@ export class IndexManagementPlugin implements Plugin { return mountWrapper(params, ROUTES.ROLLUPS); }, @@ -162,6 +160,7 @@ export class IndexManagementPlugin implements Plugin { return mountWrapper(params, ROUTES.TRANSFORMS); }, @@ -172,6 +171,7 @@ export class IndexManagementPlugin implements Plugin { return mountWrapper(params, ROUTES.SNAPSHOT_POLICIES); }, @@ -182,6 +182,7 @@ export class IndexManagementPlugin implements Plugin { return mountWrapper(params, ROUTES.SNAPSHOT_POLICIES); }, @@ -192,6 +193,7 @@ export class IndexManagementPlugin implements Plugin { return mountWrapper(params, ROUTES.REPOSITORIES); },