Skip to content

Commit

Permalink
[8.x] Sustainable Kibana Architecture: Move modules owned by `@elasti…
Browse files Browse the repository at this point in the history
…c/observability-ui` (#202834) (#205162)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/observability-ui`
(#202834)](#202834)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-25T21:14:06Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/observability-ui`
(#202834)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
1 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-shared-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_shared`
|\r\n\r\n\r\n\r\n\r\n#### 3 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils_browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils_common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils_server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/solutions/observability/packages/utils_browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils_common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils_server/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_shared/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils_browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils_browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils_common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils_common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils_server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils_server/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:102\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:105\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:108\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:111\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:114\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:14\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:42\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:57\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:63\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:66\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:69\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:72\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:75\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:78\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:81\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:84\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:87\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:90\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:93\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:96\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:99\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>\r\nCo-authored-by:
pgayvallet
<[email protected]>","sha":"1e98a368188aab5b120db7f012754af386db77bd","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","Team:Unified
observability","backport:prev-minor","ci:project-deploy-observability","plugin
groups"],"number":202834,"url":"https://github.com/elastic/kibana/pull/202834","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/observability-ui`
(#202834)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
1 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-shared-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_shared`
|\r\n\r\n\r\n\r\n\r\n#### 3 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils_browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils_common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils_server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/solutions/observability/packages/utils_browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils_common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils_server/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_shared/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils_browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils_browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils_common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils_common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils_server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils_server/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:102\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:105\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:108\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:111\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:114\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:14\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:42\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:57\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:63\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:66\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:69\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:72\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:75\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:78\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:81\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:84\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:87\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:90\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:93\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:96\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:99\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>\r\nCo-authored-by:
pgayvallet
<[email protected]>","sha":"1e98a368188aab5b120db7f012754af386db77bd"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202834","number":202834,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/observability-ui`
(#202834)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
1 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-shared-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_shared`
|\r\n\r\n\r\n\r\n\r\n#### 3 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils_browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils_common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils_server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/solutions/observability/packages/utils_browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils_common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils_server/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_shared/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils_browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils_browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils_common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils_common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils_server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils_server/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:102\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:105\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:108\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:111\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:114\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:14\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:42\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:57\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:63\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:66\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:69\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:72\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:75\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:78\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:81\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:84\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:87\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:90\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:93\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:96\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:99\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>\r\nCo-authored-by:
pgayvallet
<[email protected]>","sha":"1e98a368188aab5b120db7f012754af386db77bd"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
3 people authored Dec 26, 2024
1 parent 6b28e0b commit 8f425e1
Show file tree
Hide file tree
Showing 184 changed files with 52 additions and 54 deletions.
12 changes: 6 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -675,11 +675,11 @@ x-pack/packages/observability/logs_overview @elastic/obs-ux-logs-team
x-pack/plugins/observability_solution/observability_onboarding/e2e @elastic/obs-ux-logs-team
x-pack/plugins/observability_solution/observability_onboarding @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/observability @elastic/obs-ux-management-team
x-pack/plugins/observability_solution/observability_shared @elastic/observability-ui
x-pack/solutions/observability/plugins/observability_shared @elastic/observability-ui
x-pack/solutions/observability/packages/synthetics_test_data @elastic/obs-ux-management-team
x-pack/packages/observability/observability_utils/observability_utils_browser @elastic/observability-ui
x-pack/packages/observability/observability_utils/observability_utils_common @elastic/observability-ui
x-pack/packages/observability/observability_utils/observability_utils_server @elastic/observability-ui
x-pack/solutions/observability/packages/utils_browser @elastic/observability-ui
x-pack/solutions/observability/packages/utils_common @elastic/observability-ui
x-pack/solutions/observability/packages/utils_server @elastic/observability-ui
x-pack/test/security_api_integration/plugins/oidc_provider @elastic/kibana-security
test/common/plugins/otel_metrics @elastic/obs-ux-infra_services-team
packages/kbn-openapi-bundler @elastic/security-detection-rule-management
Expand Down Expand Up @@ -1290,7 +1290,7 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview @elastic/obs-ux-logs-team

# Observability onboarding tour
/x-pack/plugins/observability_solution/observability_shared/public/components/tour @elastic/appex-sharedux
/x-pack/solutions/observability/plugins/observability_shared/public/components/tour @elastic/appex-sharedux
/x-pack/test/functional/apps/infra/tour.ts @elastic/appex-sharedux

# Observability settings
Expand Down Expand Up @@ -1954,7 +1954,7 @@ x-pack/plugins/translations/translations
x-pack/test/profiling_api_integration @elastic/obs-ux-infra_services-team

# Observability shared profiling
x-pack/plugins/observability_solution/observability_shared/public/components/profiling @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/observability_shared/public/components/profiling @elastic/obs-ux-infra_services-team

# Shared UX
/x-pack/test_serverless/functional/test_suites/common/spaces/spaces_selection.ts @elastic/appex-sharedux
Expand Down
2 changes: 1 addition & 1 deletion docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ Elastic.
|This plugin provides an onboarding framework for observability solutions: Logs and APM.
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_shared/README.md[observabilityShared]
|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_shared/README.md[observabilityShared]
|A plugin that contains components and utilities shared by all Observability plugins.
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,11 +704,11 @@
"@kbn/observability-logs-overview": "link:x-pack/packages/observability/logs_overview",
"@kbn/observability-onboarding-plugin": "link:x-pack/plugins/observability_solution/observability_onboarding",
"@kbn/observability-plugin": "link:x-pack/solutions/observability/plugins/observability",
"@kbn/observability-shared-plugin": "link:x-pack/plugins/observability_solution/observability_shared",
"@kbn/observability-shared-plugin": "link:x-pack/solutions/observability/plugins/observability_shared",
"@kbn/observability-synthetics-test-data": "link:x-pack/solutions/observability/packages/synthetics_test_data",
"@kbn/observability-utils-browser": "link:x-pack/packages/observability/observability_utils/observability_utils_browser",
"@kbn/observability-utils-common": "link:x-pack/packages/observability/observability_utils/observability_utils_common",
"@kbn/observability-utils-server": "link:x-pack/packages/observability/observability_utils/observability_utils_server",
"@kbn/observability-utils-browser": "link:x-pack/solutions/observability/packages/utils_browser",
"@kbn/observability-utils-common": "link:x-pack/solutions/observability/packages/utils_common",
"@kbn/observability-utils-server": "link:x-pack/solutions/observability/packages/utils_server",
"@kbn/oidc-provider-plugin": "link:x-pack/test/security_api_integration/plugins/oidc_provider",
"@kbn/open-telemetry-instrumented-plugin": "link:test/common/plugins/otel_metrics",
"@kbn/openapi-common": "link:src/platform/packages/shared/kbn-openapi-common",
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-babel-preset/styled_components_files.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
/src[\/\\]plugins[\/\\](kibana_react)[\/\\]/,
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\](exploratory_view|investigate|investigate_app|observability|observability_ai_assistant_app|observability_ai_assistant_management|observability_solution|serverless_observability|streams|streams_app|synthetics|uptime|ux|infra)[\/\\]/,
/x-pack[\/\\]plugins[\/\\](observability_solution\/apm|beats_management|fleet|observability_solution\/infra|observability_solution\/observability|observability_solution\/observability_shared|observability_solution\/exploratory_view|security_solution|timelines|observability_solution\/synthetics|observability_solution\/ux|observability_solution\/uptime)[\/\\]/,
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability_shared[\/\\]/,
/x-pack[\/\\]solutions[\/\\]security[\/\\]plugins[\/\\](observability_solution\/apm|beats_management|fleet|observability_solution\/infra|observability_solution\/observability|observability_solution\/observability_shared|observability_solution\/exploratory_view|security_solution|timelines|observability_solution\/synthetics|observability_solution\/ux|observability_solution\/uptime)[\/\\]/,
/x-pack[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\](fleet)[\/\\]/,
/x-pack[\/\\]test[\/\\]plugin_functional[\/\\]plugins[\/\\]resolver_test[\/\\]/,
Expand Down
2 changes: 1 addition & 1 deletion src/dev/storybook/aliases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const storybookAliases = {
'x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/.storybook',
observability_ai_assistant_app:
'x-pack/solutions/observability/plugins/observability_ai_assistant_app/.storybook',
observability_shared: 'x-pack/plugins/observability_solution/observability_shared/.storybook',
observability_shared: 'x-pack/solutions/observability/plugins/observability_shared/.storybook',
observability_slo: 'x-pack/solutions/observability/plugins/slo/.storybook',
presentation: 'src/platform/plugins/shared/presentation_util/storybook',
random_sampling: 'x-pack/packages/kbn-random-sampling/.storybook',
Expand Down
16 changes: 8 additions & 8 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -1344,16 +1344,16 @@
"@kbn/observability-onboarding-plugin/*": ["x-pack/plugins/observability_solution/observability_onboarding/*"],
"@kbn/observability-plugin": ["x-pack/solutions/observability/plugins/observability"],
"@kbn/observability-plugin/*": ["x-pack/solutions/observability/plugins/observability/*"],
"@kbn/observability-shared-plugin": ["x-pack/plugins/observability_solution/observability_shared"],
"@kbn/observability-shared-plugin/*": ["x-pack/plugins/observability_solution/observability_shared/*"],
"@kbn/observability-shared-plugin": ["x-pack/solutions/observability/plugins/observability_shared"],
"@kbn/observability-shared-plugin/*": ["x-pack/solutions/observability/plugins/observability_shared/*"],
"@kbn/observability-synthetics-test-data": ["x-pack/solutions/observability/packages/synthetics_test_data"],
"@kbn/observability-synthetics-test-data/*": ["x-pack/solutions/observability/packages/synthetics_test_data/*"],
"@kbn/observability-utils-browser": ["x-pack/packages/observability/observability_utils/observability_utils_browser"],
"@kbn/observability-utils-browser/*": ["x-pack/packages/observability/observability_utils/observability_utils_browser/*"],
"@kbn/observability-utils-common": ["x-pack/packages/observability/observability_utils/observability_utils_common"],
"@kbn/observability-utils-common/*": ["x-pack/packages/observability/observability_utils/observability_utils_common/*"],
"@kbn/observability-utils-server": ["x-pack/packages/observability/observability_utils/observability_utils_server"],
"@kbn/observability-utils-server/*": ["x-pack/packages/observability/observability_utils/observability_utils_server/*"],
"@kbn/observability-utils-browser": ["x-pack/solutions/observability/packages/utils_browser"],
"@kbn/observability-utils-browser/*": ["x-pack/solutions/observability/packages/utils_browser/*"],
"@kbn/observability-utils-common": ["x-pack/solutions/observability/packages/utils_common"],
"@kbn/observability-utils-common/*": ["x-pack/solutions/observability/packages/utils_common/*"],
"@kbn/observability-utils-server": ["x-pack/solutions/observability/packages/utils_server"],
"@kbn/observability-utils-server/*": ["x-pack/solutions/observability/packages/utils_server/*"],
"@kbn/oidc-provider-plugin": ["x-pack/test/security_api_integration/plugins/oidc_provider"],
"@kbn/oidc-provider-plugin/*": ["x-pack/test/security_api_integration/plugins/oidc_provider/*"],
"@kbn/open-telemetry-instrumented-plugin": ["test/common/plugins/otel_metrics"],
Expand Down
2 changes: 1 addition & 1 deletion x-pack/.i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"xpack.observabilityAiAssistantManagement": "solutions/observability/plugins/observability_ai_assistant_management",
"xpack.observabilityLogsExplorer": "plugins/observability_solution/observability_logs_explorer",
"xpack.observability_onboarding": "plugins/observability_solution/observability_onboarding",
"xpack.observabilityShared": "plugins/observability_solution/observability_shared",
"xpack.observabilityShared": "solutions/observability/plugins/observability_shared",
"xpack.observabilityLogsOverview": ["packages/observability/logs_overview/src/components"],
"xpack.osquery": ["platform/plugins/shared/osquery"],
"xpack.painlessLab": "platform/plugins/private/painless_lab",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
module.exports = {
preset: '@kbn/test',
rootDir: '../../../../..',
roots: ['<rootDir>/x-pack/packages/observability/observability_utils/observability_utils_common'],
roots: ['<rootDir>/x-pack/solutions/observability/packages/utils_browser'],
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
module.exports = {
preset: '@kbn/test',
rootDir: '../../../../..',
roots: ['<rootDir>/x-pack/packages/observability/observability_utils/observability_utils_server'],
roots: ['<rootDir>/x-pack/solutions/observability/packages/utils_common'],
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@
module.exports = {
preset: '@kbn/test',
rootDir: '../../../../..',
roots: [
'<rootDir>/x-pack/packages/observability/observability_utils/observability_utils_browser',
],
roots: ['<rootDir>/x-pack/solutions/observability/packages/utils_server'],
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

module.exports = {
preset: '@kbn/test',
rootDir: '../../../../..',
roots: ['<rootDir>/x-pack/solutions/observability/plugins/observability_shared'],
setupFiles: [
'<rootDir>/x-pack/solutions/observability/plugins/observability_shared/.storybook/jest_setup.js',
],
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/observability_shared',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
'<rootDir>/x-pack/solutions/observability/plugins/observability_shared/{common,public,server}/**/*.{js,ts,tsx}',
],
};
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export const useEsSearch = <DocumentSource extends unknown, TParams extends esty
});
});
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [...fnDeps]);

const { rawResponse } = response as any;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
Expand All @@ -9,7 +9,7 @@
"public/**/*.json",
"server/**/*",
"typings/**/*",
"../../../../typings/**/*",
"../../../../../typings/**/*",
".storybook/**/*"
],
"kbn_references": [
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6495,23 +6495,23 @@
version "0.0.0"
uid ""

"@kbn/observability-shared-plugin@link:x-pack/plugins/observability_solution/observability_shared":
"@kbn/observability-shared-plugin@link:x-pack/solutions/observability/plugins/observability_shared":
version "0.0.0"
uid ""

"@kbn/observability-synthetics-test-data@link:x-pack/solutions/observability/packages/synthetics_test_data":
version "0.0.0"
uid ""

"@kbn/observability-utils-browser@link:x-pack/packages/observability/observability_utils/observability_utils_browser":
"@kbn/observability-utils-browser@link:x-pack/solutions/observability/packages/utils_browser":
version "0.0.0"
uid ""

"@kbn/observability-utils-common@link:x-pack/packages/observability/observability_utils/observability_utils_common":
"@kbn/observability-utils-common@link:x-pack/solutions/observability/packages/utils_common":
version "0.0.0"
uid ""

"@kbn/observability-utils-server@link:x-pack/packages/observability/observability_utils/observability_utils_server":
"@kbn/observability-utils-server@link:x-pack/solutions/observability/packages/utils_server":
version "0.0.0"
uid ""

Expand Down

0 comments on commit 8f425e1

Please sign in to comment.