/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Any modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ import { i18n } from '@osd/i18n'; import { ManagementSectionId } from '../types'; const ingestTitle = i18n.translate('management.sections.ingestTitle', { defaultMessage: 'Ingest', }); const ingestTip = i18n.translate('management.sections.ingestTip', { defaultMessage: 'Manage how to transform data and load it into the cluster', }); const dataTitle = i18n.translate('management.sections.dataTitle', { defaultMessage: 'Data', }); const dataTip = i18n.translate('management.sections.dataTip', { defaultMessage: 'Manage your cluster data and backups', }); const insightsAndAlertingTitle = i18n.translate('management.sections.insightsAndAlertingTitle', { defaultMessage: 'Alerts and Insights', }); const insightsAndAlertingTip = i18n.translate('management.sections.insightsAndAlertingTip', { defaultMessage: 'Manage how to detect changes in your data', }); const sectionTitle = i18n.translate('management.sections.section.title', { defaultMessage: 'Security', }); const sectionTip = i18n.translate('management.sections.section.tip', { defaultMessage: 'Control access to features and data', }); const opensearchDashboardsTitle = i18n.translate('management.sections.opensearchDashboardsTitle', { defaultMessage: 'Dashboards Management', }); const opensearchDashboardsTip = i18n.translate('management.sections.opensearchDashboardsTip', { defaultMessage: 'Customize OpenSearch Dashboards and manage saved objects', }); const stackTitle = i18n.translate('management.sections.stackTitle', { defaultMessage: 'Stack', }); const stackTip = i18n.translate('management.sections.stackTip', { defaultMessage: 'Manage your license and upgrade the Stack', }); export const IngestSection = { id: ManagementSectionId.Ingest, title: ingestTitle, tip: ingestTip, order: 0, }; export const DataSection = { id: ManagementSectionId.Data, title: dataTitle, tip: dataTip, order: 1, }; export const InsightsAndAlertingSection = { id: ManagementSectionId.InsightsAndAlerting, title: insightsAndAlertingTitle, tip: insightsAndAlertingTip, order: 2, }; export const SecuritySection = { id: 'security', title: sectionTitle, tip: sectionTip, order: 3, }; export const OpenSearchDashboardsSection = { id: ManagementSectionId.OpenSearchDashboards, title: opensearchDashboardsTitle, tip: opensearchDashboardsTip, order: 4, }; export const StackSection = { id: ManagementSectionId.Stack, title: stackTitle, tip: stackTip, order: 4, }; export const managementSections = [ IngestSection, DataSection, InsightsAndAlertingSection, SecuritySection, OpenSearchDashboardsSection, StackSection, ];