diff --git a/public/plugin.ts b/public/plugin.ts index dcc3c7cb1..178bb6b51 100644 --- a/public/plugin.ts +++ b/public/plugin.ts @@ -31,62 +31,68 @@ interface IndexManagementSetupDeps { } const ISM_CATEGORIES: Record = Object.freeze({ - indexes: { - id: "indexes", - label: "Indexes", + automation_policies: { + id: "automation_policies", + label: "Automation policies", order: 2000, - euiIconType: "managementApp", + }, + templates: { + id: "templates", + label: "Templates", + order: 3000, }, index_backup_and_recovery: { id: "index_backup_and_recovery", - label: "Index Backup and Recovery", - order: 3000, - euiIconType: "managementApp", + label: "Index backup and recovery", + order: 4000, }, }); const ISM_FEATURE_DESCRIPTION: Record = Object.freeze({ - index_management: i18n.translate("indexManagement.description", { + index_management: i18n.translate("index-management-dashboards-plugin.indexManagement.description", { defaultMessage: "Manage your indexes with state polices, templates and aliases. You can also roll up or transform your indexes.", }), - snapshot_management: i18n.translate("snapshotManagement.description", { + snapshot_management: i18n.translate("index-management-dashboards-plugin.snapshotManagement.description", { defaultMessage: "Back up and restore your cluster's indexes and state. Setup a policy to automate snapshot creation and deletion.", }), - indexes: i18n.translate("indexes.description", { - defaultMessage: "Manage your indexes", + indexes: i18n.translate("index-management-dashboards-plugin.indexes.description", { + defaultMessage: "Configure and manage indexes.", + }), + policy_managed_indexes: i18n.translate("index-management-dashboards-plugin.policyManagedIndexes.description", { + defaultMessage: "View indexes managed by Index State Management (ISM) policies.", }), - policy_managed_indexes: i18n.translate("policyManagedIndexes.description", { - defaultMessage: "Manage your policy managed indexes", + data_streams: i18n.translate("index-management-dashboards-plugin.dataStreams.description", { + defaultMessage: "Simplify time-series data management.", }), - data_streams: i18n.translate("dataStreams.description", { - defaultMessage: "Manage your data streams", + aliases: i18n.translate("index-management-dashboards-plugin.aliases.description", { + defaultMessage: "Organize multiple indexes under virtual index names.", }), - aliases: i18n.translate("aliases.description", { - defaultMessage: "Manage your index aliases", + index_state_management_policies: i18n.translate("index-management-dashboards-plugin.indexStateManagementPolicies.description", { + defaultMessage: "Automate periodic administrative tasks.", }), - index_state_management_policies: i18n.translate("indexStateManagementPolicies.description", { - defaultMessage: "Manage your index state management policies", + index_templates: i18n.translate("index-management-dashboards-plugin.indexTemplates.description", { + defaultMessage: "Create predefined mappings and settings for new indexes.", }), - index_templates: i18n.translate("indexTemplates.description", { - defaultMessage: "Manage your index templates", + notification_settings: i18n.translate("index-management-dashboards-plugin.notificationSettings.description", { + defaultMessage: "Set default notifications on index operation statuses.", }), - notification_settings: i18n.translate("notificationSettings.description", { - defaultMessage: "Manage your notification settings", + rollup_jobs: i18n.translate("index-management-dashboards-plugin.rollupJobs.description", { + defaultMessage: "Reduce data granularity by rolling up old data into summarized indexes.", }), - rollup_jobs: i18n.translate("rollupJobs.description", { - defaultMessage: "Manage your rollup jobs", + transform_jobs: i18n.translate("index-management-dashboards-plugin.transformJobs.description", { + defaultMessage: "Create summarized views of your data organized by specific fields.", }), - transform_jobs: i18n.translate("transformJobs.description", { - defaultMessage: "Manage your transform jobs", + index_snapshots: i18n.translate("index-management-dashboards-plugin.indexSnapshots.description", { + defaultMessage: "Back up your indexes.", }), - index_snapshots: i18n.translate("indexSnapshots.description", { - defaultMessage: "Manage your index snapshots", + snapshot_policies: i18n.translate("index-management-dashboards-plugin.snapshotPolicies.description", { + defaultMessage: "Set up automatic data snapshots.", }), - snapshot_policies: i18n.translate("snapshotPolicies.description", { - defaultMessage: "Manage your snapshot policies", + snapshot_repositories: i18n.translate("index-management-dashboards-plugin.snapshotRepositories.description", { + defaultMessage: "Configure remote storage for snapshots.", }), - snapshot_repositories: i18n.translate("snapshotRepositories.description", { - defaultMessage: "Manage your snapshot repositories", + component_templates: i18n.translate("index-management-dashboards-plugin.componentTemplates.description", { + defaultMessage: "Define components for your index templates.", }), }); @@ -171,8 +177,6 @@ export class IndexManagementPlugin implements Plugin { + return mountWrapper(params, ROUTES.TEMPLATES); + }, + }); + // notification settings route core.application.register({ id: `opensearch_index_management_dashboards_${encodeURIComponent(ROUTES.NOTIFICATIONS)}`, - title: "Notification Settings", - order: 8040, - category: ISM_CATEGORIES.indexes, + title: "Index operation notifications", workspaceAvailability: WorkspaceAvailability.outsideWorkspace, description: ISM_FEATURE_DESCRIPTION.notification_settings, updater$: this.appStateUpdater, @@ -254,9 +260,7 @@ export class IndexManagementPlugin implements Plugin