mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[Cases] Add contentManagement dependency to Observability and Security solution plugins (#165225)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
d06af6f6fc
commit
a2e841e6e4
8 changed files with 14 additions and 8 deletions
|
@ -11,6 +11,7 @@
|
|||
"alerting",
|
||||
"cases",
|
||||
"charts",
|
||||
"contentManagement",
|
||||
"data",
|
||||
"dataViews",
|
||||
"dataViewEditor",
|
||||
|
|
|
@ -8,6 +8,7 @@ import React from 'react';
|
|||
import { mockCasesContract } from '@kbn/cases-plugin/public/mocks';
|
||||
import { chartPluginMock } from '@kbn/charts-plugin/public/mocks';
|
||||
import { dataPluginMock } from '@kbn/data-plugin/public/mocks';
|
||||
import { contentManagementMock } from '@kbn/content-management-plugin/public/mocks';
|
||||
|
||||
const triggersActionsUiStartMock = {
|
||||
createStart() {
|
||||
|
@ -94,6 +95,7 @@ export const observabilityPublicPluginsStartMock = {
|
|||
return {
|
||||
cases: mockCasesContract(),
|
||||
charts: chartPluginMock.createStartContract(),
|
||||
contentManagement: contentManagementMock.createStartContract(),
|
||||
triggersActionsUi: triggersActionsUiStartMock.createStart(),
|
||||
data: dataPluginMock.createStartContract(),
|
||||
dataViews: dataViews.createStart(),
|
||||
|
|
|
@ -39,6 +39,7 @@ import {
|
|||
TriggersAndActionsUIPublicPluginSetup,
|
||||
TriggersAndActionsUIPublicPluginStart,
|
||||
} from '@kbn/triggers-actions-ui-plugin/public';
|
||||
import type { ContentManagementPublicStart } from '@kbn/content-management-plugin/public';
|
||||
|
||||
import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public';
|
||||
import {
|
||||
|
@ -115,6 +116,7 @@ export interface ObservabilityPublicPluginsStart {
|
|||
actionTypeRegistry: ActionTypeRegistryContract;
|
||||
cases: CasesUiStart;
|
||||
charts: ChartsPluginStart;
|
||||
contentManagement: ContentManagementPublicStart;
|
||||
data: DataPublicPluginStart;
|
||||
dataViews: DataViewsPublicPluginStart;
|
||||
dataViewEditor: DataViewEditorStart;
|
||||
|
|
|
@ -84,7 +84,8 @@
|
|||
"@kbn/core-capabilities-common",
|
||||
"@kbn/deeplinks-analytics",
|
||||
"@kbn/observability-ai-assistant-plugin",
|
||||
"@kbn/osquery-plugin"
|
||||
"@kbn/osquery-plugin",
|
||||
"@kbn/content-management-plugin"
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
"cloud",
|
||||
"cloudDefend",
|
||||
"cloudSecurityPosture",
|
||||
"contentManagement",
|
||||
"dashboard",
|
||||
"data",
|
||||
"dataViews",
|
||||
|
@ -46,7 +47,6 @@
|
|||
"files",
|
||||
"controls",
|
||||
"dataViewEditor",
|
||||
"savedObjectsManagement",
|
||||
"stackConnectors",
|
||||
"discover",
|
||||
"notifications"
|
||||
|
|
|
@ -194,7 +194,7 @@ export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, S
|
|||
securityLayout: {
|
||||
getPluginWrapper: () => SecuritySolutionTemplateWrapper,
|
||||
},
|
||||
savedObjectsManagement: startPluginsDeps.savedObjectsManagement,
|
||||
contentManagement: startPluginsDeps.contentManagement,
|
||||
telemetry: this.telemetry.start(),
|
||||
customDataService,
|
||||
topValuesPopover: new TopValuesPopoverService(),
|
||||
|
|
|
@ -48,7 +48,7 @@ import type { ThreatIntelligencePluginStart } from '@kbn/threat-intelligence-plu
|
|||
import type { CloudExperimentsPluginStart } from '@kbn/cloud-experiments-plugin/common';
|
||||
import type { GuidedOnboardingPluginStart } from '@kbn/guided-onboarding-plugin/public';
|
||||
import type { DataViewsServicePublic } from '@kbn/data-views-plugin/public';
|
||||
import type { SavedObjectsManagementPluginStart } from '@kbn/saved-objects-management-plugin/public';
|
||||
import type { ContentManagementPublicStart } from '@kbn/content-management-plugin/public';
|
||||
|
||||
import type { RouteProps } from 'react-router-dom';
|
||||
import type { DiscoverStart } from '@kbn/discover-plugin/public';
|
||||
|
@ -133,7 +133,7 @@ export interface StartPlugins {
|
|||
}
|
||||
|
||||
export interface StartPluginsDependencies extends StartPlugins {
|
||||
savedObjectsManagement: SavedObjectsManagementPluginStart;
|
||||
contentManagement: ContentManagementPublicStart;
|
||||
savedObjectsTaggingOss: SavedObjectTaggingOssPluginStart;
|
||||
}
|
||||
|
||||
|
@ -161,7 +161,7 @@ export type StartServices = CoreStart &
|
|||
securityLayout: {
|
||||
getPluginWrapper: () => typeof SecuritySolutionTemplateWrapper;
|
||||
};
|
||||
savedObjectsManagement: SavedObjectsManagementPluginStart;
|
||||
contentManagement: ContentManagementPublicStart;
|
||||
telemetry: TelemetryClientStart;
|
||||
customDataService: DataPublicPluginStart;
|
||||
topValuesPopover: TopValuesPopoverService;
|
||||
|
|
|
@ -149,7 +149,6 @@
|
|||
"@kbn/expandable-flyout",
|
||||
"@kbn/securitysolution-grouping",
|
||||
"@kbn/securitysolution-data-table",
|
||||
"@kbn/saved-objects-management-plugin",
|
||||
"@kbn/core-analytics-server",
|
||||
"@kbn/analytics-client",
|
||||
"@kbn/security-solution-side-nav",
|
||||
|
@ -172,6 +171,7 @@
|
|||
"@kbn/core-logging-server-mocks",
|
||||
"@kbn/core-lifecycle-browser",
|
||||
"@kbn/security-solution-features",
|
||||
"@kbn/handlebars"
|
||||
"@kbn/handlebars",
|
||||
"@kbn/content-management-plugin"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue