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/obs-ai-assistant` (#202763) (#204032)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/obs-ai-assistant`
(#202763)](https://github.com/elastic/kibana/pull/202763)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-12T10:35:10Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-ai-assistant`
(#202763)\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\n#### 5 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/ai-assistant-management-plugin`
|\r\n`src/platform/plugins/shared/ai_assistant_management/selection`
|\r\n| `@kbn/data-usage-plugin`
|\r\n`x-pack/platform/plugins/private/data_usage` |\r\n|
`@kbn/observability-ai-assistant-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_app`\r\n|\r\n|
`@kbn/observability-ai-assistant-management-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_management`\r\n|\r\n|
`@kbn/observability-ai-assistant-plugin`
|\r\n`x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant`\r\n|\r\n\r\n\r\n\r\n\r\n####
2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-ai-common`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_common`\r\n|\r\n|
`@kbn/observability-ai-server`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_server`\r\n|\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\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./src/platform/plugins/shared/ai_assistant_management/selection/jest.config.js\r\n./src/platform/plugins/shared/discover/tsconfig.type_check.json\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/platform/plugins/private/data_usage/jest.config.js\r\n./x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js\r\n./x-pack/plugins/enterprise_search/kibana.jsonc\r\n./x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/index.ts\r\n./x-pack/plugins/observability_solution/observability_ai_assistant_app/tsconfig.type_check.json\r\n./x-pack/plugins/search_connectors/kibana.jsonc\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/README.md\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./x-pack/test_serverless/tsconfig.type_check.json\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/jest.config.js:12\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:18\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:21\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:24\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:27\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:30\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:33\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:36\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:39\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:42\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:45\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:48\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:51\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:54\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/private/data_usage/jest.config.js:10\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:11\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js:10\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:7\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:100\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:103\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:34\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:43\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:46\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:49\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:52\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:55\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:58\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:61\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:64\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:67\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:70\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:73\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:76\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:79\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:82\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:85\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:88\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:91\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:94\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/read_kibana_config.ts:16\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:100\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:103\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:106\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:109\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:112\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:118\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:121\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:124\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:127\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:130\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:133\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:136\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:139\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:142\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:145\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:148\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:151\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:154\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:157\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:160\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:163\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:166\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:169\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:172\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:175\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:178\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:181\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:184\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:190\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:193\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:22\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:28\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:31\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:34\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:37\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:40\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:43\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:46\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:49\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:52\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:55\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:58\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:61\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:64\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:67\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:70\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:73\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:76\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:79\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:82\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:85\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:88\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:9\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:91\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:94\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:18\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:63\r\n```\r\n\r\n</details>","sha":"84b19ec3eae0f0b13ad4c08e2927db811d39a263","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","backport:prev-minor","Team:Obs
AI
Assistant","ci:project-deploy-observability"],"number":202763,"url":"https://github.com/elastic/kibana/pull/202763","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-ai-assistant`
(#202763)\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\n#### 5 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/ai-assistant-management-plugin`
|\r\n`src/platform/plugins/shared/ai_assistant_management/selection`
|\r\n| `@kbn/data-usage-plugin`
|\r\n`x-pack/platform/plugins/private/data_usage` |\r\n|
`@kbn/observability-ai-assistant-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_app`\r\n|\r\n|
`@kbn/observability-ai-assistant-management-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_management`\r\n|\r\n|
`@kbn/observability-ai-assistant-plugin`
|\r\n`x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant`\r\n|\r\n\r\n\r\n\r\n\r\n####
2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-ai-common`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_common`\r\n|\r\n|
`@kbn/observability-ai-server`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_server`\r\n|\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\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./src/platform/plugins/shared/ai_assistant_management/selection/jest.config.js\r\n./src/platform/plugins/shared/discover/tsconfig.type_check.json\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/platform/plugins/private/data_usage/jest.config.js\r\n./x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js\r\n./x-pack/plugins/enterprise_search/kibana.jsonc\r\n./x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/index.ts\r\n./x-pack/plugins/observability_solution/observability_ai_assistant_app/tsconfig.type_check.json\r\n./x-pack/plugins/search_connectors/kibana.jsonc\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/README.md\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./x-pack/test_serverless/tsconfig.type_check.json\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/jest.config.js:12\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:18\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:21\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:24\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:27\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:30\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:33\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:36\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:39\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:42\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:45\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:48\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:51\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:54\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/private/data_usage/jest.config.js:10\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:11\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js:10\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:7\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:100\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:103\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:34\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:43\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:46\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:49\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:52\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:55\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:58\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:61\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:64\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:67\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:70\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:73\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:76\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:79\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:82\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:85\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:88\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:91\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:94\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/read_kibana_config.ts:16\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:100\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:103\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:106\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:109\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:112\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:118\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:121\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:124\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:127\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:130\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:133\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:136\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:139\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:142\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:145\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:148\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:151\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:154\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:157\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:160\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:163\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:166\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:169\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:172\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:175\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:178\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:181\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:184\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:190\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:193\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:22\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:28\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:31\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:34\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:37\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:40\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:43\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:46\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:49\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:52\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:55\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:58\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:61\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:64\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:67\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:70\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:73\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:76\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:79\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:82\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:85\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:88\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:9\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:91\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:94\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:18\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:63\r\n```\r\n\r\n</details>","sha":"84b19ec3eae0f0b13ad4c08e2927db811d39a263"}},"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/202763","number":202763,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-ai-assistant`
(#202763)\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\n#### 5 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/ai-assistant-management-plugin`
|\r\n`src/platform/plugins/shared/ai_assistant_management/selection`
|\r\n| `@kbn/data-usage-plugin`
|\r\n`x-pack/platform/plugins/private/data_usage` |\r\n|
`@kbn/observability-ai-assistant-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_app`\r\n|\r\n|
`@kbn/observability-ai-assistant-management-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_management`\r\n|\r\n|
`@kbn/observability-ai-assistant-plugin`
|\r\n`x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant`\r\n|\r\n\r\n\r\n\r\n\r\n####
2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-ai-common`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_common`\r\n|\r\n|
`@kbn/observability-ai-server`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_server`\r\n|\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\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./src/platform/plugins/shared/ai_assistant_management/selection/jest.config.js\r\n./src/platform/plugins/shared/discover/tsconfig.type_check.json\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/platform/plugins/private/data_usage/jest.config.js\r\n./x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js\r\n./x-pack/plugins/enterprise_search/kibana.jsonc\r\n./x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/index.ts\r\n./x-pack/plugins/observability_solution/observability_ai_assistant_app/tsconfig.type_check.json\r\n./x-pack/plugins/search_connectors/kibana.jsonc\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/README.md\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./x-pack/test_serverless/tsconfig.type_check.json\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/jest.config.js:12\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:18\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:21\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:24\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:27\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:30\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:33\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:36\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:39\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:42\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:45\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:48\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:51\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:54\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/private/data_usage/jest.config.js:10\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:11\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js:10\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:7\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:100\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:103\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:34\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:43\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:46\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:49\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:52\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:55\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:58\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:61\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:64\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:67\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:70\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:73\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:76\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:79\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:82\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:85\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:88\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:91\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:94\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/read_kibana_config.ts:16\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:100\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:103\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:106\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:109\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:112\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:118\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:121\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:124\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:127\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:130\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:133\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:136\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:139\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:142\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:145\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:148\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:151\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:154\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:157\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:160\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:163\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:166\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:169\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:172\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:175\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:178\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:181\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:184\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:190\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:193\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:22\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:28\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:31\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:34\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:37\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:40\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:43\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:46\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:49\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:52\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:55\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:58\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:61\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:64\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:67\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:70\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:73\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:76\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:79\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:82\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:85\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:88\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:9\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:91\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:94\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:18\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:63\r\n```\r\n\r\n</details>","sha":"84b19ec3eae0f0b13ad4c08e2927db811d39a263"}}]}]
BACKPORT-->
  • Loading branch information
gsoldevila authored Dec 12, 2024
1 parent ac450e9 commit 24447a4
Show file tree
Hide file tree
Showing 489 changed files with 131 additions and 128 deletions.
14 changes: 7 additions & 7 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ packages/kbn-actions-types @elastic/response-ops
src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
x-pack/packages/kbn-ai-assistant @elastic/search-kibana
x-pack/packages/kbn-ai-assistant-common @elastic/search-kibana
src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant
src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant
x-pack/platform/packages/private/ml/aiops_change_point_detection @elastic/ml-ui
x-pack/platform/packages/shared/ml/aiops_common @elastic/ml-ui
x-pack/platform/packages/private/ml/aiops_components @elastic/ml-ui
Expand Down Expand Up @@ -359,7 +359,7 @@ x-pack/plugins/data_quality @elastic/obs-ux-logs-team
test/plugin_functional/plugins/data_search @elastic/kibana-data-discovery
packages/kbn-data-service @elastic/kibana-visualizations @elastic/kibana-data-discovery
packages/kbn-data-stream-adapter @elastic/security-threat-hunting
x-pack/plugins/data_usage @elastic/obs-ai-assistant @elastic/security-solution
x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution
src/plugins/data_view_editor @elastic/kibana-data-discovery
examples/data_view_field_editor_example @elastic/kibana-data-discovery
src/plugins/data_view_field_editor @elastic/kibana-data-discovery
Expand Down Expand Up @@ -659,11 +659,11 @@ src/plugins/no_data_page @elastic/appex-sharedux
x-pack/plugins/notifications @elastic/appex-sharedux
packages/kbn-object-versioning @elastic/appex-sharedux
packages/kbn-object-versioning-utils @elastic/appex-sharedux
x-pack/plugins/observability_solution/observability_ai_assistant_app @elastic/obs-ai-assistant
x-pack/plugins/observability_solution/observability_ai_assistant_management @elastic/obs-ai-assistant
x-pack/plugins/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant
x-pack/packages/observability/observability_ai/observability_ai_common @elastic/obs-ai-assistant
x-pack/packages/observability/observability_ai/observability_ai_server @elastic/obs-ai-assistant
x-pack/solutions/observability/plugins/observability_ai_assistant_app @elastic/obs-ai-assistant
x-pack/solutions/observability/plugins/observability_ai_assistant_management @elastic/obs-ai-assistant
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant
x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant
x-pack/solutions/observability/packages/observability_ai/observability_ai_server @elastic/obs-ai-assistant
x-pack/packages/observability/alert_details @elastic/obs-ux-management-team
x-pack/packages/observability/alerting_rule_utils @elastic/obs-ux-management-team
x-pack/packages/observability/alerting_test_data @elastic/obs-ux-management-team
Expand Down
2 changes: 1 addition & 1 deletion .github/paths-labeller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- 'x-pack/plugins/observability_solution/synthetics/**/*.*'
- 'x-pack/plugins/observability_solution/exploratory_view/**/*.*'
- 'Team:Obs AI Assistant':
- 'x-pack/plugins/observability_solution/observability_ai_assistant/**/*.*'
- 'x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/**/*.*'
- 'x-pack/plugins/observability_solution/observability_ai_assistant_*/**/*.*'
- 'x-pack/test/observability_ai_assistant_api_integration/**/*.*'
- 'x-pack/test/observability_ai_assistant_functional/**/*.*'
Expand Down
2 changes: 1 addition & 1 deletion .i18nrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"paths": {
"advancedSettings": "src/plugins/advanced_settings",
"aiAssistantManagementSelection": "src/plugins/ai_assistant_management/selection",
"aiAssistantManagementSelection": "src/platform/plugins/shared/ai_assistant_management/selection",
"alerts": "packages/kbn-alerts/src",
"alertsUIShared": "packages/kbn-alerts-ui-shared/src",
"alertingTypes": "packages/kbn-alerting-types",
Expand Down
10 changes: 5 additions & 5 deletions docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ allowing users to configure their advanced settings, also known
as uiSettings within the code.
|{kib-repo}blob/{branch}/src/plugins/ai_assistant_management/selection/README.md[aiAssistantManagementSelection]
|{kib-repo}blob/{branch}/src/platform/plugins/shared/ai_assistant_management/selection/README.md[aiAssistantManagementSelection]
|The aiAssistantManagementSelection plugin manages the Ai Assistant management section.
Expand Down Expand Up @@ -541,7 +541,7 @@ Plugin server-side only. Plugin has three main functions:
|In order to make ongoing maintenance of log collection easy we want to introduce the concept of data set quality, where users can easily get an overview on the data sets they have with information such as integration, size, last activity, among others.
|{kib-repo}blob/{branch}/x-pack/plugins/data_usage/README.md[dataUsage]
|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/data_usage/README.md[dataUsage]
|Serverless only plugin for users to view data usage
Expand Down Expand Up @@ -747,15 +747,15 @@ Elastic.
|This plugin provides shared components and services for use across observability solutions, as well as the observability landing page UI.
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_ai_assistant/README.md[observabilityAIAssistant]
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/README.md[observabilityAIAssistant]
|This document gives an overview of the features of the Observability AI Assistant at the time of writing, and how to use them. At a high level, the Observability AI Assistant offers contextual insights, and a chat functionality that we enrich with function calling, allowing the LLM to hook into the user's data. We also allow the LLM to store things it considers new information as embeddings into Elasticsearch, and query this knowledge base when it decides it needs more information, using ELSER.
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_ai_assistant_app/README.md[observabilityAIAssistantApp]
|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_ai_assistant_app/README.md[observabilityAIAssistantApp]
|This app registers defaults functions. It exists as a separate plugin to avoid cyclical dependencies.
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_ai_assistant_management/README.md[observabilityAiAssistantManagement]
|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_ai_assistant_management/README.md[observabilityAiAssistantManagement]
|The observabilityAiAssistantManagement plugin manages the Ai Assistant for Observability and Search management section.
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"@kbn/advanced-settings-plugin": "link:src/plugins/advanced_settings",
"@kbn/ai-assistant": "link:x-pack/packages/kbn-ai-assistant",
"@kbn/ai-assistant-common": "link:x-pack/packages/kbn-ai-assistant-common",
"@kbn/ai-assistant-management-plugin": "link:src/plugins/ai_assistant_management/selection",
"@kbn/ai-assistant-management-plugin": "link:src/platform/plugins/shared/ai_assistant_management/selection",
"@kbn/aiops-change-point-detection": "link:x-pack/platform/packages/private/ml/aiops_change_point_detection",
"@kbn/aiops-common": "link:x-pack/platform/packages/shared/ml/aiops_common",
"@kbn/aiops-components": "link:x-pack/platform/packages/private/ml/aiops_components",
Expand Down Expand Up @@ -428,7 +428,7 @@
"@kbn/data-search-plugin": "link:test/plugin_functional/plugins/data_search",
"@kbn/data-service": "link:packages/kbn-data-service",
"@kbn/data-stream-adapter": "link:packages/kbn-data-stream-adapter",
"@kbn/data-usage-plugin": "link:x-pack/plugins/data_usage",
"@kbn/data-usage-plugin": "link:x-pack/platform/plugins/private/data_usage",
"@kbn/data-view-editor-plugin": "link:src/plugins/data_view_editor",
"@kbn/data-view-field-editor-example-plugin": "link:examples/data_view_field_editor_example",
"@kbn/data-view-field-editor-plugin": "link:src/plugins/data_view_field_editor",
Expand Down Expand Up @@ -690,11 +690,11 @@
"@kbn/notifications-plugin": "link:x-pack/plugins/notifications",
"@kbn/object-versioning": "link:packages/kbn-object-versioning",
"@kbn/object-versioning-utils": "link:packages/kbn-object-versioning-utils",
"@kbn/observability-ai-assistant-app-plugin": "link:x-pack/plugins/observability_solution/observability_ai_assistant_app",
"@kbn/observability-ai-assistant-management-plugin": "link:x-pack/plugins/observability_solution/observability_ai_assistant_management",
"@kbn/observability-ai-assistant-plugin": "link:x-pack/plugins/observability_solution/observability_ai_assistant",
"@kbn/observability-ai-common": "link:x-pack/packages/observability/observability_ai/observability_ai_common",
"@kbn/observability-ai-server": "link:x-pack/packages/observability/observability_ai/observability_ai_server",
"@kbn/observability-ai-assistant-app-plugin": "link:x-pack/solutions/observability/plugins/observability_ai_assistant_app",
"@kbn/observability-ai-assistant-management-plugin": "link:x-pack/solutions/observability/plugins/observability_ai_assistant_management",
"@kbn/observability-ai-assistant-plugin": "link:x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant",
"@kbn/observability-ai-common": "link:x-pack/solutions/observability/packages/observability_ai/observability_ai_common",
"@kbn/observability-ai-server": "link:x-pack/solutions/observability/packages/observability_ai/observability_ai_server",
"@kbn/observability-alert-details": "link:x-pack/packages/observability/alert_details",
"@kbn/observability-alerting-rule-utils": "link:x-pack/packages/observability/alerting_rule_utils",
"@kbn/observability-alerting-test-data": "link:x-pack/packages/observability/alerting_test_data",
Expand Down
4 changes: 2 additions & 2 deletions src/dev/storybook/aliases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export const storybookAliases = {
management: 'packages/kbn-management/storybook/config',
observability: 'x-pack/plugins/observability_solution/observability/.storybook',
observability_ai_assistant:
'x-pack/plugins/observability_solution/observability_ai_assistant/.storybook',
'x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/.storybook',
observability_ai_assistant_app:
'x-pack/plugins/observability_solution/observability_ai_assistant_app/.storybook',
'x-pack/solutions/observability/plugins/observability_ai_assistant_app/.storybook',
observability_shared: 'x-pack/plugins/observability_solution/observability_shared/.storybook',
observability_slo: 'x-pack/plugins/observability_solution/slo/.storybook',
presentation: 'src/plugins/presentation_util/storybook',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

module.exports = {
preset: '@kbn/test',
rootDir: '../../../..',
roots: ['<rootDir>/src/plugins/ai_assistant_management/selection'],
rootDir: '../../../../../..',
roots: ['<rootDir>/src/platform/plugins/shared/ai_assistant_management/selection'],
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/src/plugins/ai_assistant_management/selection',
'<rootDir>/target/kibana-coverage/jest/src/platform/plugins/shared/ai_assistant_management/selection',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
'<rootDir>/src/plugins/ai_assistant_management/selection/{common,public,server}/**/*.{ts,tsx}',
'<rootDir>/src/platform/plugins/shared/ai_assistant_management/selection/{common,public,server}/**/*.{ts,tsx}',
],
};
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 Down
28 changes: 14 additions & 14 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@kbn/ai-assistant/*": ["x-pack/packages/kbn-ai-assistant/*"],
"@kbn/ai-assistant-common": ["x-pack/packages/kbn-ai-assistant-common"],
"@kbn/ai-assistant-common/*": ["x-pack/packages/kbn-ai-assistant-common/*"],
"@kbn/ai-assistant-management-plugin": ["src/plugins/ai_assistant_management/selection"],
"@kbn/ai-assistant-management-plugin/*": ["src/plugins/ai_assistant_management/selection/*"],
"@kbn/ai-assistant-management-plugin": ["src/platform/plugins/shared/ai_assistant_management/selection"],
"@kbn/ai-assistant-management-plugin/*": ["src/platform/plugins/shared/ai_assistant_management/selection/*"],
"@kbn/aiops-change-point-detection": ["x-pack/platform/packages/private/ml/aiops_change_point_detection"],
"@kbn/aiops-change-point-detection/*": ["x-pack/platform/packages/private/ml/aiops_change_point_detection/*"],
"@kbn/aiops-common": ["x-pack/platform/packages/shared/ml/aiops_common"],
Expand Down Expand Up @@ -712,8 +712,8 @@
"@kbn/data-service/*": ["packages/kbn-data-service/*"],
"@kbn/data-stream-adapter": ["packages/kbn-data-stream-adapter"],
"@kbn/data-stream-adapter/*": ["packages/kbn-data-stream-adapter/*"],
"@kbn/data-usage-plugin": ["x-pack/plugins/data_usage"],
"@kbn/data-usage-plugin/*": ["x-pack/plugins/data_usage/*"],
"@kbn/data-usage-plugin": ["x-pack/platform/plugins/private/data_usage"],
"@kbn/data-usage-plugin/*": ["x-pack/platform/plugins/private/data_usage/*"],
"@kbn/data-view-editor-plugin": ["src/plugins/data_view_editor"],
"@kbn/data-view-editor-plugin/*": ["src/plugins/data_view_editor/*"],
"@kbn/data-view-field-editor-example-plugin": ["examples/data_view_field_editor_example"],
Expand Down Expand Up @@ -1312,16 +1312,16 @@
"@kbn/object-versioning/*": ["packages/kbn-object-versioning/*"],
"@kbn/object-versioning-utils": ["packages/kbn-object-versioning-utils"],
"@kbn/object-versioning-utils/*": ["packages/kbn-object-versioning-utils/*"],
"@kbn/observability-ai-assistant-app-plugin": ["x-pack/plugins/observability_solution/observability_ai_assistant_app"],
"@kbn/observability-ai-assistant-app-plugin/*": ["x-pack/plugins/observability_solution/observability_ai_assistant_app/*"],
"@kbn/observability-ai-assistant-management-plugin": ["x-pack/plugins/observability_solution/observability_ai_assistant_management"],
"@kbn/observability-ai-assistant-management-plugin/*": ["x-pack/plugins/observability_solution/observability_ai_assistant_management/*"],
"@kbn/observability-ai-assistant-plugin": ["x-pack/plugins/observability_solution/observability_ai_assistant"],
"@kbn/observability-ai-assistant-plugin/*": ["x-pack/plugins/observability_solution/observability_ai_assistant/*"],
"@kbn/observability-ai-common": ["x-pack/packages/observability/observability_ai/observability_ai_common"],
"@kbn/observability-ai-common/*": ["x-pack/packages/observability/observability_ai/observability_ai_common/*"],
"@kbn/observability-ai-server": ["x-pack/packages/observability/observability_ai/observability_ai_server"],
"@kbn/observability-ai-server/*": ["x-pack/packages/observability/observability_ai/observability_ai_server/*"],
"@kbn/observability-ai-assistant-app-plugin": ["x-pack/solutions/observability/plugins/observability_ai_assistant_app"],
"@kbn/observability-ai-assistant-app-plugin/*": ["x-pack/solutions/observability/plugins/observability_ai_assistant_app/*"],
"@kbn/observability-ai-assistant-management-plugin": ["x-pack/solutions/observability/plugins/observability_ai_assistant_management"],
"@kbn/observability-ai-assistant-management-plugin/*": ["x-pack/solutions/observability/plugins/observability_ai_assistant_management/*"],
"@kbn/observability-ai-assistant-plugin": ["x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant"],
"@kbn/observability-ai-assistant-plugin/*": ["x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/*"],
"@kbn/observability-ai-common": ["x-pack/solutions/observability/packages/observability_ai/observability_ai_common"],
"@kbn/observability-ai-common/*": ["x-pack/solutions/observability/packages/observability_ai/observability_ai_common/*"],
"@kbn/observability-ai-server": ["x-pack/solutions/observability/packages/observability_ai/observability_ai_server"],
"@kbn/observability-ai-server/*": ["x-pack/solutions/observability/packages/observability_ai/observability_ai_server/*"],
"@kbn/observability-alert-details": ["x-pack/packages/observability/alert_details"],
"@kbn/observability-alert-details/*": ["x-pack/packages/observability/alert_details/*"],
"@kbn/observability-alerting-rule-utils": ["x-pack/packages/observability/alerting_rule_utils"],
Expand Down
8 changes: 4 additions & 4 deletions x-pack/.i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"xpack.dashboard": "plugins/dashboard_enhanced",
"xpack.dataQuality": "plugins/data_quality",
"xpack.datasetQuality": "plugins/observability_solution/dataset_quality",
"xpack.dataUsage": "plugins/data_usage",
"xpack.dataUsage": "platform/plugins/private/data_usage",
"xpack.discover": "plugins/discover_enhanced",
"xpack.crossClusterReplication": "plugins/cross_cluster_replication",
"xpack.elasticAssistant": "packages/kbn-elastic-assistant",
Expand Down Expand Up @@ -102,10 +102,10 @@
],
"xpack.observability": "plugins/observability_solution/observability",
"xpack.observabilityAiAssistant": [
"plugins/observability_solution/observability_ai_assistant",
"plugins/observability_solution/observability_ai_assistant_app"
"platform/plugins/shared/observability_solution/observability_ai_assistant",
"solutions/observability/plugins/observability_ai_assistant_app"
],
"xpack.observabilityAiAssistantManagement": "plugins/observability_solution/observability_ai_assistant_management",
"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",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

module.exports = {
preset: '@kbn/test',
rootDir: '../../..',
roots: ['<rootDir>/x-pack/plugins/data_usage'],
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/plugins/data_usage',
rootDir: '../../../../..',
roots: ['<rootDir>/x-pack/platform/plugins/private/data_usage'],
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/x-pack/platform/plugins/private/data_usage',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['<rootDir>/x-pack/plugins/datas_usage/{common,public}/**/*.{ts,tsx}'],
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ -8,7 +8,7 @@
"common/**/*",
"public/**/*",
"server/**/*",
"../../../typings/**/*"
"../../../../../typings/**/*"
],
"kbn_references": [
"@kbn/core",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* 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/platform/plugins/shared/observability_solution/observability_ai_assistant/public',
'<rootDir>/x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/common',
'<rootDir>/x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server',
],
setupFiles: [
'<rootDir>/x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/.storybook/jest_setup.js',
],
collectCoverage: true,
collectCoverageFrom: [
'<rootDir>/x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/{common,public,server}/**/*.{js,ts,tsx}',
],

coverageReporters: ['html'],
};
Loading

0 comments on commit 24447a4

Please sign in to comment.