Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] [Sustainable Kibana Architecture] Update plugins (wave #1) (#195375) #199268

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1978,6 +1978,54 @@ module.exports = {
'max-classes-per-file': 'off',
},
},
{
files: [
'packages/kbn-reporting/common/**', // TODO @elastic/appex-sharedux - A package depending on a plugin: @kbn/screenshotting-plugin, can we move theser interfaces to a platform/shared package?
'packages/kbn-reporting/export_types/pdf_common/**', // TODO @elastic/appex-sharedux - A package depending on a plugin: @kbn/screenshotting-plugin, can we move theser interfaces to a platform/shared package?
'packages/kbn-reporting/export_types/pdf/**', // TODO @elastic/appex-sharedux - A package depending on a plugin: @kbn/screenshotting-plugin, can we move theser interfaces to a platform/shared package?
'packages/kbn-reporting/export_types/png_common/**', // TODO @elastic/appex-sharedux - A package depending on a plugin: @kbn/screenshotting-plugin, can we move theser interfaces to a platform/shared package?
'packages/kbn-reporting/export_types/png/**', // TODO @elastic/appex-sharedux - A package depending on a plugin: @kbn/screenshotting-plugin, can we move theser interfaces to a platform/shared package?
'packages/kbn-reporting/public/**', // TODO @elastic/appex-sharedux - A package depending on a plugin: @kbn/screenshotting-plugin, can we move theser interfaces to a platform/shared package?
'packages/kbn-reporting/server/**', // TODO @elastic/appex-sharedux - A package depending on a plugin: @kbn/screenshotting-plugin, can we move theser interfaces to a platform/shared package?
'packages/shared-ux/page/analytics_no_data/types/**',
'scripts/create_observability_rules.js', // TODO - is importing "@kbn/observability-alerting-test-data" (observability/private)
'src/cli_setup/**', // TODO @kibana/operations - is importing "@kbn/interactive-setup-plugin" (platform/private)
'src/dev/build/tasks/install_chromium.ts', // TODO @kibana/operations - is importing "@kbn/screenshotting-plugin" (platform/private)
'src/plugins/ai_assistant_management/selection/**',
'src/plugins/dashboard/**',
'src/plugins/discover/**',
'test/**',
'x-pack/examples/exploratory_view_example/**',
'x-pack/examples/screenshotting_example/**',
'x-pack/examples/ui_actions_enhanced_examples/**',
'x-pack/packages/security-solution/data_table/**',
'x-pack/plugins/aiops/**',
'x-pack/plugins/data_quality/**',
'x-pack/plugins/ingest_pipelines/**',
'x-pack/plugins/ml/**',
'x-pack/plugins/monitoring/**',
'x-pack/plugins/observability_solution/infra/**',
'x-pack/plugins/observability_solution/inventory/**',
'x-pack/plugins/observability_solution/investigate_app/**',
'x-pack/plugins/observability_solution/investigate/**',
'x-pack/plugins/observability_solution/logs_shared/**',
'x-pack/plugins/observability_solution/metrics_data_access/**',
'x-pack/plugins/observability_solution/observability_ai_assistant_app/**',
'x-pack/plugins/observability_solution/observability_ai_assistant_management/**',
'x-pack/plugins/observability_solution/observability/**',
'x-pack/plugins/observability_solution/slo/**',
'x-pack/plugins/observability_solution/synthetics/e2e/**',
'x-pack/plugins/osquery/**',
'x-pack/plugins/search_assistant/**',
'x-pack/test_serverless/**',
'x-pack/test/**',
'x-pack/test/plugin_functional/plugins/resolver_test/**',
],
rules: {
'@kbn/imports/no_group_crossing_manifests': 'warn',
'@kbn/imports/no_group_crossing_imports': 'warn',
},
},
],
};

14 changes: 9 additions & 5 deletions src/plugins/advanced_settings/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
{
"type": "plugin",
"id": "@kbn/advanced-settings-plugin",
"owner": "@elastic/appex-sharedux @elastic/kibana-management",
"owner": [
"@elastic/appex-sharedux",
"@elastic/kibana-management"
],
"group": "platform",
"visibility": "private",
"plugin": {
"id": "advancedSettings",
"server": true,
"browser": true,
"server": true,
"requiredPlugins": [
"management"
],
"optionalPlugins": [
"home",
"usageCollection"
],
"requiredBundles": [
]
"requiredBundles": []
}
}
}
26 changes: 19 additions & 7 deletions src/plugins/ai_assistant_management/selection/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
{
"type": "plugin",
"id": "@kbn/ai-assistant-management-plugin",
"owner": "@elastic/obs-knowledge-team",
"owner": [
"@elastic/obs-knowledge-team"
],
"group": "platform",
"visibility": "private",
"plugin": {
"id": "aiAssistantManagementSelection",
"server": true,
"browser": true,
"requiredPlugins": ["management"],
"optionalPlugins": ["home", "serverless", "features"],
"requiredBundles": ["kibanaReact"],
"server": true,
"configPath": [
"aiAssistantManagementSelection"
],
},
}
"requiredPlugins": [
"management"
],
"optionalPlugins": [
"home",
"serverless",
"features"
],
"requiredBundles": [
"kibanaReact"
]
}
}
10 changes: 7 additions & 3 deletions src/plugins/bfetch/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"type": "plugin",
"id": "@kbn/bfetch-plugin",
"owner": "@elastic/appex-sharedux",
"owner": [
"@elastic/appex-sharedux"
],
"group": "platform",
"visibility": "shared",
"description": "Considering using bfetch capabilities when fetching large amounts of data. This services supports batching HTTP requests and streaming responses back.",
"plugin": {
"id": "bfetch",
"server": true,
"browser": true,
"server": true,
"requiredBundles": [
"kibanaUtils"
]
}
}
}
8 changes: 6 additions & 2 deletions src/plugins/chart_expressions/common/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"type": "shared-common",
"id": "@kbn/chart-expressions-common",
"owner": "@elastic/kibana-visualizations"
}
"owner": [
"@elastic/kibana-visualizations"
],
"group": "platform",
"visibility": "shared"
}
10 changes: 7 additions & 3 deletions src/plugins/chart_expressions/expression_gauge/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"type": "plugin",
"id": "@kbn/expression-gauge-plugin",
"owner": "@elastic/kibana-visualizations",
"owner": [
"@elastic/kibana-visualizations"
],
"group": "platform",
"visibility": "shared",
"description": "Expression Gauge plugin adds a `gauge` renderer and function to the expression plugin. The renderer will display the `gauge` chart.",
"plugin": {
"id": "expressionGauge",
"server": true,
"browser": true,
"server": true,
"requiredPlugins": [
"expressions",
"fieldFormats",
@@ -25,4 +29,4 @@
"common"
]
}
}
}
10 changes: 7 additions & 3 deletions src/plugins/chart_expressions/expression_heatmap/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"type": "plugin",
"id": "@kbn/expression-heatmap-plugin",
"owner": "@elastic/kibana-visualizations",
"owner": [
"@elastic/kibana-visualizations"
],
"group": "platform",
"visibility": "shared",
"description": "Expression Heatmap plugin adds a `heatmap` renderer and function to the expression plugin. The renderer will display the `heatmap` chart.",
"plugin": {
"id": "expressionHeatmap",
"server": true,
"browser": true,
"server": true,
"requiredPlugins": [
"expressions",
"fieldFormats",
@@ -25,4 +29,4 @@
"common"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"type": "plugin",
"id": "@kbn/expression-legacy-metric-vis-plugin",
"owner": "@elastic/kibana-visualizations",
"owner": [
"@elastic/kibana-visualizations"
],
"group": "platform",
"visibility": "shared",
"description": "Adds a `metric` renderer and function to the expression plugin. The renderer will display the `legacy metric` chart.",
"plugin": {
"id": "expressionLegacyMetricVis",
"server": true,
"browser": true,
"server": true,
"requiredPlugins": [
"expressions",
"fieldFormats",
@@ -22,4 +26,4 @@
"kibanaUtils"
]
}
}
}
10 changes: 7 additions & 3 deletions src/plugins/chart_expressions/expression_metric/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"type": "plugin",
"id": "@kbn/expression-metric-vis-plugin",
"owner": "@elastic/kibana-visualizations",
"owner": [
"@elastic/kibana-visualizations"
],
"group": "platform",
"visibility": "shared",
"description": "Adds a `metric` renderer and function to the expression plugin. The renderer will display the `metric` chart.",
"plugin": {
"id": "expressionMetricVis",
"server": true,
"browser": true,
"server": true,
"requiredPlugins": [
"expressions",
"fieldFormats",
@@ -22,4 +26,4 @@
"kibanaUtils"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"type": "plugin",
"id": "@kbn/expression-partition-vis-plugin",
"owner": "@elastic/kibana-visualizations",
"owner": [
"@elastic/kibana-visualizations"
],
"group": "platform",
"visibility": "shared",
"description": "Expression Partition Visualization plugin adds a `partitionVis` renderer and `pieVis`, `mosaicVis`, `treemapVis`, `waffleVis` functions to the expression plugin. The renderer will display the `pie`, `waffle`, `treemap` and `mosaic` charts.",
"plugin": {
"id": "expressionPartitionVis",
"server": true,
"browser": true,
"server": true,
"requiredPlugins": [
"charts",
"data",
@@ -25,4 +29,4 @@
"common"
]
}
}
}
10 changes: 7 additions & 3 deletions src/plugins/chart_expressions/expression_tagcloud/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"type": "plugin",
"id": "@kbn/expression-tagcloud-plugin",
"owner": "@elastic/kibana-visualizations",
"owner": [
"@elastic/kibana-visualizations"
],
"group": "platform",
"visibility": "shared",
"description": "Expression Tagcloud plugin adds a `tagcloud` renderer and function to the expression plugin. The renderer will display the `Wordcloud` chart.",
"plugin": {
"id": "expressionTagcloud",
"server": true,
"browser": true,
"server": true,
"requiredPlugins": [
"data",
"expressions",
@@ -25,4 +29,4 @@
"common"
]
}
}
}
10 changes: 7 additions & 3 deletions src/plugins/chart_expressions/expression_xy/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"type": "plugin",
"id": "@kbn/expression-xy-plugin",
"owner": "@elastic/kibana-visualizations",
"owner": [
"@elastic/kibana-visualizations"
],
"group": "platform",
"visibility": "shared",
"description": "Expression XY plugin adds a `xy` renderer and function to the expression plugin. The renderer will display the `xy` chart.",
"plugin": {
"id": "expressionXY",
"server": true,
"browser": true,
"server": true,
"requiredPlugins": [
"expressions",
"charts",
@@ -21,4 +25,4 @@
],
"requiredBundles": []
}
}
}
10 changes: 7 additions & 3 deletions src/plugins/charts/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"type": "plugin",
"id": "@kbn/charts-plugin",
"owner": "@elastic/kibana-visualizations",
"owner": [
"@elastic/kibana-visualizations"
],
"group": "platform",
"visibility": "shared",
"plugin": {
"id": "charts",
"server": true,
"browser": true,
"server": true,
"requiredPlugins": [
"expressions",
"data"
@@ -14,4 +18,4 @@
"common"
]
}
}
}
10 changes: 7 additions & 3 deletions src/plugins/console/kibana.jsonc
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"type": "plugin",
"id": "@kbn/console-plugin",
"owner": "@elastic/kibana-management",
"owner": [
"@elastic/kibana-management"
],
"group": "platform",
"visibility": "shared",
"plugin": {
"id": "console",
"server": true,
"browser": true,
"server": true,
"configPath": [
"console"
],
@@ -23,4 +27,4 @@
"kibanaUtils"
]
}
}
}
Loading