* feat: 🎸 stub discover_enhanced plugin * feat: 🎸 improve view in discover action * feat: 🎸 add URL generator to "View in Discover" action * feat: 🎸 implement navigation and getHref in view raw logs actio * fix: 🐛 disable action in "edit" mode * refactor: 💡 renamce context menu view in discover action * feat: 🎸 rename action to "explore data" * fix: 🐛 correctly generate action path * feat: 🎸 add internationalization to "explore action" * fix: 🐛 correctly parse generated Discover URL path * test: 💍 setup basic functional tests * refactor: 💡 modularize url generation logic * feat: 🎸 export CommonlyUsed type * test: 💍 add test subjects to panel custom time range modal * test: 💍 add index patterna and time range functional tests * refactor: 💡 rename action file * refactor: 💡 use URL generator from Discover plugin's contract * test: 💍 add "Explore raw data" action unit tests * fix: 🐛 import share plugin to check if it is enabled * Update x-pack/plugins/discover_enhanced/public/actions/view_in_discover/explore_data_context_menu_action.ts Co-authored-by: Matthias Wilhelm <ankertal@gmail.com> * chore: 🤖 add discover_enhanced to KibanaApp codeowners * test: 💍 improve "Explore underlying data" functional tests * test: 💍 improve <a> link assertion Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
102 lines
4.5 KiB
TypeScript
102 lines
4.5 KiB
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
import { services as kibanaFunctionalServices } from '../../../../test/functional/services';
|
|
import { services as kibanaApiIntegrationServices } from '../../../../test/api_integration/services';
|
|
import { services as commonServices } from '../../common/services';
|
|
|
|
import {
|
|
MonitoringNoDataProvider,
|
|
MonitoringClusterListProvider,
|
|
MonitoringClusterOverviewProvider,
|
|
MonitoringClusterAlertsProvider,
|
|
MonitoringElasticsearchSummaryStatusProvider,
|
|
MonitoringElasticsearchOverviewProvider,
|
|
MonitoringElasticsearchNodesProvider,
|
|
MonitoringElasticsearchNodeDetailProvider,
|
|
MonitoringElasticsearchIndicesProvider,
|
|
MonitoringElasticsearchIndexDetailProvider,
|
|
MonitoringElasticsearchShardsProvider,
|
|
MonitoringBeatsOverviewProvider,
|
|
MonitoringBeatsListingProvider,
|
|
MonitoringBeatDetailProvider,
|
|
MonitoringBeatsSummaryStatusProvider,
|
|
MonitoringLogstashPipelinesProvider,
|
|
MonitoringLogstashSummaryStatusProvider,
|
|
MonitoringKibanaOverviewProvider,
|
|
MonitoringKibanaInstancesProvider,
|
|
MonitoringKibanaInstanceProvider,
|
|
MonitoringKibanaSummaryStatusProvider,
|
|
// @ts-ignore not ts yet
|
|
} from './monitoring';
|
|
// @ts-ignore not ts yet
|
|
import { PipelineListProvider } from './pipeline_list';
|
|
// @ts-ignore not ts yet
|
|
import { PipelineEditorProvider } from './pipeline_editor';
|
|
// @ts-ignore not ts yet
|
|
import { RandomProvider } from './random';
|
|
// @ts-ignore not ts yet
|
|
import { AceEditorProvider } from './ace_editor';
|
|
// @ts-ignore not ts yet
|
|
import { GrokDebuggerProvider } from './grok_debugger';
|
|
// @ts-ignore not ts yet
|
|
import { UserMenuProvider } from './user_menu';
|
|
import { UptimeProvider } from './uptime';
|
|
import { InfraSourceConfigurationFormProvider } from './infra_source_configuration_form';
|
|
import { LogsUiProvider } from './logs_ui';
|
|
import { MachineLearningProvider } from './ml';
|
|
import { TransformProvider } from './transform';
|
|
import {
|
|
DashboardDrilldownPanelActionsProvider,
|
|
DashboardDrilldownsManageProvider,
|
|
DashboardPanelTimeRangeProvider,
|
|
} from './dashboard';
|
|
|
|
// define the name and providers for services that should be
|
|
// available to your tests. If you don't specify anything here
|
|
// only the built-in services will be available
|
|
export const services = {
|
|
...kibanaFunctionalServices,
|
|
...commonServices,
|
|
|
|
supertest: kibanaApiIntegrationServices.supertest,
|
|
esSupertest: kibanaApiIntegrationServices.esSupertest,
|
|
monitoringNoData: MonitoringNoDataProvider,
|
|
monitoringClusterList: MonitoringClusterListProvider,
|
|
monitoringClusterOverview: MonitoringClusterOverviewProvider,
|
|
monitoringClusterAlerts: MonitoringClusterAlertsProvider,
|
|
monitoringElasticsearchSummaryStatus: MonitoringElasticsearchSummaryStatusProvider,
|
|
monitoringElasticsearchOverview: MonitoringElasticsearchOverviewProvider,
|
|
monitoringElasticsearchNodes: MonitoringElasticsearchNodesProvider,
|
|
monitoringElasticsearchNodeDetail: MonitoringElasticsearchNodeDetailProvider,
|
|
monitoringElasticsearchIndices: MonitoringElasticsearchIndicesProvider,
|
|
monitoringElasticsearchIndexDetail: MonitoringElasticsearchIndexDetailProvider,
|
|
monitoringElasticsearchShards: MonitoringElasticsearchShardsProvider,
|
|
monitoringBeatsOverview: MonitoringBeatsOverviewProvider,
|
|
monitoringBeatsListing: MonitoringBeatsListingProvider,
|
|
monitoringBeatDetail: MonitoringBeatDetailProvider,
|
|
monitoringBeatsSummaryStatus: MonitoringBeatsSummaryStatusProvider,
|
|
monitoringLogstashPipelines: MonitoringLogstashPipelinesProvider,
|
|
monitoringLogstashSummaryStatus: MonitoringLogstashSummaryStatusProvider,
|
|
monitoringKibanaOverview: MonitoringKibanaOverviewProvider,
|
|
monitoringKibanaInstances: MonitoringKibanaInstancesProvider,
|
|
monitoringKibanaInstance: MonitoringKibanaInstanceProvider,
|
|
monitoringKibanaSummaryStatus: MonitoringKibanaSummaryStatusProvider,
|
|
pipelineList: PipelineListProvider,
|
|
pipelineEditor: PipelineEditorProvider,
|
|
random: RandomProvider,
|
|
aceEditor: AceEditorProvider,
|
|
grokDebugger: GrokDebuggerProvider,
|
|
userMenu: UserMenuProvider,
|
|
uptime: UptimeProvider,
|
|
infraSourceConfigurationForm: InfraSourceConfigurationFormProvider,
|
|
logsUi: LogsUiProvider,
|
|
ml: MachineLearningProvider,
|
|
transform: TransformProvider,
|
|
dashboardDrilldownPanelActions: DashboardDrilldownPanelActionsProvider,
|
|
dashboardDrilldownsManage: DashboardDrilldownsManageProvider,
|
|
dashboardPanelTimeRange: DashboardPanelTimeRangeProvider,
|
|
};
|