mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ingest pipeline mgmt] Move to x-pack/platform/plugins/shared/ingest_pipelines (#204331)
## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > * This PR has been auto-generated. > * Any manual contributions will be lost if the 'relocate' script is re-run. > * Try to obtain the missing reviews / approvals before applying manual fixes, and/or keep your changes in a .patch / git stash. > * Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe [here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E). #### 1 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/ingest-pipelines-plugin` | `x-pack/platform/plugins/shared/ingest_pipelines` | <details > <summary>Updated references</summary> ``` ./docs/developer/plugin-list.asciidoc ./package.json ./packages/kbn-package-map/package-map.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./tsconfig.base.json ./tsconfig.base.type_check.json ./tsconfig.refs.json ./x-pack/.i18nrc.json ./x-pack/platform/plugins/private/transform/common/types/es_ingest_pipeline.ts ./x-pack/platform/plugins/shared/ingest_pipelines/jest.config.js ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` x-pack/platform/plugins/shared/ingest_pipelines/jest.config.js:10 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.json:11 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.json:2 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:13 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:20 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:35 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:38 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:41 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:44 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:47 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:50 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:53 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:56 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:59 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:62 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:65 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:68 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:71 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:74 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:77 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:80 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:83 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:86 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:89 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:92 x-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:95 ``` </details> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
e3877e0534
commit
7460dc47fe
324 changed files with 15 additions and 14 deletions
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
@ -872,6 +872,7 @@ x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra
|
|||
x-pack/platform/plugins/shared/aiops @elastic/ml-ui
|
||||
x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities
|
||||
x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra
|
||||
x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management
|
||||
x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalability
|
||||
x-pack/platform/plugins/shared/license_management @elastic/kibana-management
|
||||
x-pack/platform/plugins/shared/ml @elastic/ml-ui
|
||||
|
@ -906,7 +907,6 @@ x-pack/plugins/global_search_bar @elastic/appex-sharedux
|
|||
x-pack/plugins/global_search_providers @elastic/appex-sharedux
|
||||
x-pack/plugins/graph @elastic/kibana-visualizations
|
||||
x-pack/plugins/index_management @elastic/kibana-management
|
||||
x-pack/plugins/ingest_pipelines @elastic/kibana-management
|
||||
x-pack/plugins/lens @elastic/kibana-visualizations
|
||||
x-pack/plugins/licensing @elastic/kibana-core
|
||||
x-pack/plugins/lists @elastic/security-detection-engine
|
||||
|
|
|
@ -653,7 +653,7 @@ external LLM APIs. Its goals are:
|
|||
the infrastructure monitoring use-case within Kibana.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/ingest_pipelines/README.md[ingestPipelines]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/ingest_pipelines/README.md[ingestPipelines]
|
||||
|The ingest_pipelines plugin provides Kibana support for Elasticsearch's ingest pipelines.
|
||||
|
||||
|
||||
|
|
|
@ -582,7 +582,7 @@
|
|||
"@kbn/inference_integration_flyout": "link:x-pack/platform/packages/private/ml/inference_integration_flyout",
|
||||
"@kbn/infra-forge": "link:x-pack/platform/packages/private/kbn-infra-forge",
|
||||
"@kbn/infra-plugin": "link:x-pack/plugins/observability_solution/infra",
|
||||
"@kbn/ingest-pipelines-plugin": "link:x-pack/plugins/ingest_pipelines",
|
||||
"@kbn/ingest-pipelines-plugin": "link:x-pack/platform/plugins/shared/ingest_pipelines",
|
||||
"@kbn/input-control-vis-plugin": "link:src/plugins/input_control_vis",
|
||||
"@kbn/inspector-plugin": "link:src/plugins/inspector",
|
||||
"@kbn/integration-assistant-plugin": "link:x-pack/platform/plugins/shared/integration_assistant",
|
||||
|
|
|
@ -1072,8 +1072,8 @@
|
|||
"@kbn/infra-forge/*": ["x-pack/platform/packages/private/kbn-infra-forge/*"],
|
||||
"@kbn/infra-plugin": ["x-pack/plugins/observability_solution/infra"],
|
||||
"@kbn/infra-plugin/*": ["x-pack/plugins/observability_solution/infra/*"],
|
||||
"@kbn/ingest-pipelines-plugin": ["x-pack/plugins/ingest_pipelines"],
|
||||
"@kbn/ingest-pipelines-plugin/*": ["x-pack/plugins/ingest_pipelines/*"],
|
||||
"@kbn/ingest-pipelines-plugin": ["x-pack/platform/plugins/shared/ingest_pipelines"],
|
||||
"@kbn/ingest-pipelines-plugin/*": ["x-pack/platform/plugins/shared/ingest_pipelines/*"],
|
||||
"@kbn/input-control-vis-plugin": ["src/plugins/input_control_vis"],
|
||||
"@kbn/input-control-vis-plugin/*": ["src/plugins/input_control_vis/*"],
|
||||
"@kbn/inspector-plugin": ["src/plugins/inspector"],
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
"xpack.logsExplorer": "plugins/observability_solution/logs_explorer",
|
||||
"xpack.logsShared": "plugins/observability_solution/logs_shared",
|
||||
"xpack.fleet": "plugins/fleet",
|
||||
"xpack.ingestPipelines": "plugins/ingest_pipelines",
|
||||
"xpack.ingestPipelines": "platform/plugins/shared/ingest_pipelines",
|
||||
"xpack.integrationAssistant": "platform/plugins/shared/integration_assistant",
|
||||
"xpack.inference": "platform/plugins/shared/inference",
|
||||
"xpack.inventory": "plugins/observability_solution/inventory",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
// This interface doesn't cover a full ingest pipeline spec,
|
||||
// just what's necessary to make it work in the transform creation wizard.
|
||||
// The full interface can be found in x-pack/plugins/ingest_pipelines/common/types.ts
|
||||
// The full interface can be found in x-pack/platform/plugins/shared/ingest_pipelines/common/types.ts
|
||||
export interface EsIngestPipeline {
|
||||
name: string;
|
||||
}
|
||||
|
|
|
@ -7,11 +7,12 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../../..',
|
||||
roots: ['<rootDir>/x-pack/plugins/ingest_pipelines'],
|
||||
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/plugins/ingest_pipelines',
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/x-pack/platform/plugins/shared/ingest_pipelines'],
|
||||
coverageDirectory:
|
||||
'<rootDir>/target/kibana-coverage/jest/x-pack/platform/plugins/shared/ingest_pipelines',
|
||||
coverageReporters: ['text', 'html'],
|
||||
collectCoverageFrom: [
|
||||
'<rootDir>/x-pack/plugins/ingest_pipelines/{common,public,server}/**/*.{ts,tsx}',
|
||||
'<rootDir>/x-pack/platform/plugins/shared/ingest_pipelines/{common,public,server}/**/*.{ts,tsx}',
|
||||
],
|
||||
};
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue