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/appex-ai-infra` (elastic#202410) (elastic#203541)

# Backport

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

<!--- 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-10T10:36:23Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/appex-ai-infra`
(elastic#202410)\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>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 3 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/inference-plugin` |
`x-pack/platform/plugins/shared/inference` |\r\n|
`@kbn/llm-tasks-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/llm_tasks` |\r\n|
`@kbn/product-doc-base-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/product_doc_base`
|\r\n\r\n\r\n#### 2 package(s) are going to be relocated:\r\n\r\n | Id |
Target folder |\r\n | -- | ------------- |\r\n| `@kbn/inference-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/inference-common` |\r\n|
`@kbn/product-doc-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/product-doc-common`
|\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./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js\r\n./x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/scripts/evaluation/README.md\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/inference-common/tsconfig.json:2\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:7\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:7\r\nx-pack/platform/plugins/shared/inference/jest.config.js:10\r\nx-pack/platform/plugins/shared/inference/scripts/util/read_kibana_config.ts:16\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:2\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet
<[email protected]>","sha":"a0f5a7f3fc23d4ba241bc511ddd2987a679ec00d","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:AI
Infra","ci:all-gen-ai-suites"],"number":202410,"url":"https://github.com/elastic/kibana/pull/202410","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/appex-ai-infra`
(elastic#202410)\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>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 3 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/inference-plugin` |
`x-pack/platform/plugins/shared/inference` |\r\n|
`@kbn/llm-tasks-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/llm_tasks` |\r\n|
`@kbn/product-doc-base-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/product_doc_base`
|\r\n\r\n\r\n#### 2 package(s) are going to be relocated:\r\n\r\n | Id |
Target folder |\r\n | -- | ------------- |\r\n| `@kbn/inference-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/inference-common` |\r\n|
`@kbn/product-doc-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/product-doc-common`
|\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./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js\r\n./x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/scripts/evaluation/README.md\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/inference-common/tsconfig.json:2\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:7\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:7\r\nx-pack/platform/plugins/shared/inference/jest.config.js:10\r\nx-pack/platform/plugins/shared/inference/scripts/util/read_kibana_config.ts:16\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:2\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet
<[email protected]>","sha":"a0f5a7f3fc23d4ba241bc511ddd2987a679ec00d"}},"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/202410","number":202410,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/appex-ai-infra`
(elastic#202410)\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>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 3 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/inference-plugin` |
`x-pack/platform/plugins/shared/inference` |\r\n|
`@kbn/llm-tasks-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/llm_tasks` |\r\n|
`@kbn/product-doc-base-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/product_doc_base`
|\r\n\r\n\r\n#### 2 package(s) are going to be relocated:\r\n\r\n | Id |
Target folder |\r\n | -- | ------------- |\r\n| `@kbn/inference-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/inference-common` |\r\n|
`@kbn/product-doc-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/product-doc-common`
|\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./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js\r\n./x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/scripts/evaluation/README.md\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/inference-common/tsconfig.json:2\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:7\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:7\r\nx-pack/platform/plugins/shared/inference/jest.config.js:10\r\nx-pack/platform/plugins/shared/inference/scripts/util/read_kibana_config.ts:16\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:2\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet
<[email protected]>","sha":"a0f5a7f3fc23d4ba241bc511ddd2987a679ec00d"}}]}]
BACKPORT-->
  • Loading branch information
gsoldevila authored Dec 10, 2024
1 parent 219736a commit e2c0e91
Show file tree
Hide file tree
Showing 409 changed files with 59 additions and 59 deletions.
6 changes: 3 additions & 3 deletions .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ const getPipeline = (filename: string, removeSteps = true) => {

if (
(await doAnyChangesMatch([
/^x-pack\/packages\/ai-infra/,
/^x-pack\/plugins\/ai_infra/,
/^x-pack\/plugins\/inference/,
/^x-pack\/platform\/packages\/shared\/ai-infra/,
/^x-pack\/platform\/plugins\/shared\/ai_infra/,
/^x-pack\/platform\/plugins\/shared\/inference/,
/^x-pack\/plugins\/stack_connectors\/server\/connector_types\/bedrock/,
/^x-pack\/plugins\/stack_connectors\/server\/connector_types\/gemini/,
/^x-pack\/plugins\/stack_connectors\/server\/connector_types\/openai/,
Expand Down
10 changes: 5 additions & 5 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,8 @@ x-pack/plugins/index_management @elastic/kibana-management
x-pack/packages/index-management/index_management_shared_types @elastic/kibana-management
test/plugin_functional/plugins/index_patterns @elastic/kibana-data-discovery
x-pack/platform/packages/private/ml/inference_integration_flyout @elastic/ml-ui
x-pack/packages/ai-infra/inference-common @elastic/appex-ai-infra
x-pack/plugins/inference @elastic/appex-ai-infra
x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infra
x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra
x-pack/packages/kbn-infra-forge @elastic/obs-ux-management-team
x-pack/plugins/observability_solution/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team
x-pack/plugins/ingest_pipelines @elastic/kibana-management
Expand Down Expand Up @@ -581,7 +581,7 @@ src/plugins/links @elastic/kibana-presentation
packages/kbn-lint-packages-cli @elastic/kibana-operations
packages/kbn-lint-ts-projects-cli @elastic/kibana-operations
x-pack/plugins/lists @elastic/security-detection-engine
x-pack/plugins/ai_infra/llm_tasks @elastic/appex-ai-infra
x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra
examples/locator_examples @elastic/appex-sharedux
examples/locator_explorer @elastic/appex-sharedux
packages/kbn-logging @elastic/kibana-core
Expand Down Expand Up @@ -703,8 +703,8 @@ src/plugins/presentation_panel @elastic/kibana-presentation
packages/presentation/presentation_publishing @elastic/kibana-presentation
src/plugins/presentation_util @elastic/kibana-presentation
x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra
x-pack/plugins/ai_infra/product_doc_base @elastic/appex-ai-infra
x-pack/packages/ai-infra/product-doc-common @elastic/appex-ai-infra
x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra
x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra
x-pack/plugins/observability_solution/profiling_data_access @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/profiling @elastic/obs-ux-infra_services-team
packages/kbn-profiling-utils @elastic/obs-ux-infra_services-team
Expand Down
6 changes: 3 additions & 3 deletions docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ Index Management by running this series of requests in Console:
|This service is exposed from the Index Management setup contract and can be used to add content to the indices list and the index details page.
|{kib-repo}blob/{branch}/x-pack/plugins/inference/README.md[inference]
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/inference/README.md[inference]
|The inference plugin is a central place to handle all interactions with the Elasticsearch Inference API and
external LLM APIs. Its goals are:
Expand Down Expand Up @@ -698,7 +698,7 @@ the infrastructure monitoring use-case within Kibana.
using the CURL scripts in the scripts folder.
|{kib-repo}blob/{branch}/x-pack/plugins/ai_infra/llm_tasks/README.md[llmTasks]
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/ai_infra/llm_tasks/README.md[llmTasks]
|This plugin contains various LLM tasks.
Expand Down Expand Up @@ -779,7 +779,7 @@ Elastic.
|This plugin helps users learn how to use the Painless scripting language.
|{kib-repo}blob/{branch}/x-pack/plugins/ai_infra/product_doc_base/README.md[productDocBase]
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/ai_infra/product_doc_base/README.md[productDocBase]
|This plugin contains the product documentation base service.
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@
"@kbn/index-management-plugin": "link:x-pack/plugins/index_management",
"@kbn/index-management-shared-types": "link:x-pack/packages/index-management/index_management_shared_types",
"@kbn/index-patterns-test-plugin": "link:test/plugin_functional/plugins/index_patterns",
"@kbn/inference-common": "link:x-pack/packages/ai-infra/inference-common",
"@kbn/inference-plugin": "link:x-pack/plugins/inference",
"@kbn/inference-common": "link:x-pack/platform/packages/shared/ai-infra/inference-common",
"@kbn/inference-plugin": "link:x-pack/platform/plugins/shared/inference",
"@kbn/inference_integration_flyout": "link:x-pack/platform/packages/private/ml/inference_integration_flyout",
"@kbn/infra-forge": "link:x-pack/packages/kbn-infra-forge",
"@kbn/infra-plugin": "link:x-pack/plugins/observability_solution/infra",
Expand Down Expand Up @@ -618,7 +618,7 @@
"@kbn/licensing-plugin": "link:x-pack/plugins/licensing",
"@kbn/links-plugin": "link:src/plugins/links",
"@kbn/lists-plugin": "link:x-pack/plugins/lists",
"@kbn/llm-tasks-plugin": "link:x-pack/plugins/ai_infra/llm_tasks",
"@kbn/llm-tasks-plugin": "link:x-pack/platform/plugins/shared/ai_infra/llm_tasks",
"@kbn/locator-examples-plugin": "link:examples/locator_examples",
"@kbn/locator-explorer-plugin": "link:examples/locator_explorer",
"@kbn/logging": "link:packages/kbn-logging",
Expand Down Expand Up @@ -722,8 +722,8 @@
"@kbn/presentation-panel-plugin": "link:src/plugins/presentation_panel",
"@kbn/presentation-publishing": "link:packages/presentation/presentation_publishing",
"@kbn/presentation-util-plugin": "link:src/plugins/presentation_util",
"@kbn/product-doc-base-plugin": "link:x-pack/plugins/ai_infra/product_doc_base",
"@kbn/product-doc-common": "link:x-pack/packages/ai-infra/product-doc-common",
"@kbn/product-doc-base-plugin": "link:x-pack/platform/plugins/shared/ai_infra/product_doc_base",
"@kbn/product-doc-common": "link:x-pack/platform/packages/shared/ai-infra/product-doc-common",
"@kbn/profiling-data-access-plugin": "link:x-pack/plugins/observability_solution/profiling_data_access",
"@kbn/profiling-plugin": "link:x-pack/plugins/observability_solution/profiling",
"@kbn/profiling-utils": "link:packages/kbn-profiling-utils",
Expand Down
20 changes: 10 additions & 10 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -1060,10 +1060,10 @@
"@kbn/index-patterns-test-plugin/*": ["test/plugin_functional/plugins/index_patterns/*"],
"@kbn/inference_integration_flyout": ["x-pack/platform/packages/private/ml/inference_integration_flyout"],
"@kbn/inference_integration_flyout/*": ["x-pack/platform/packages/private/ml/inference_integration_flyout/*"],
"@kbn/inference-common": ["x-pack/packages/ai-infra/inference-common"],
"@kbn/inference-common/*": ["x-pack/packages/ai-infra/inference-common/*"],
"@kbn/inference-plugin": ["x-pack/plugins/inference"],
"@kbn/inference-plugin/*": ["x-pack/plugins/inference/*"],
"@kbn/inference-common": ["x-pack/platform/packages/shared/ai-infra/inference-common"],
"@kbn/inference-common/*": ["x-pack/platform/packages/shared/ai-infra/inference-common/*"],
"@kbn/inference-plugin": ["x-pack/platform/plugins/shared/inference"],
"@kbn/inference-plugin/*": ["x-pack/platform/plugins/shared/inference/*"],
"@kbn/infra-forge": ["x-pack/packages/kbn-infra-forge"],
"@kbn/infra-forge/*": ["x-pack/packages/kbn-infra-forge/*"],
"@kbn/infra-plugin": ["x-pack/plugins/observability_solution/infra"],
Expand Down Expand Up @@ -1156,8 +1156,8 @@
"@kbn/lint-ts-projects-cli/*": ["packages/kbn-lint-ts-projects-cli/*"],
"@kbn/lists-plugin": ["x-pack/plugins/lists"],
"@kbn/lists-plugin/*": ["x-pack/plugins/lists/*"],
"@kbn/llm-tasks-plugin": ["x-pack/plugins/ai_infra/llm_tasks"],
"@kbn/llm-tasks-plugin/*": ["x-pack/plugins/ai_infra/llm_tasks/*"],
"@kbn/llm-tasks-plugin": ["x-pack/platform/plugins/shared/ai_infra/llm_tasks"],
"@kbn/llm-tasks-plugin/*": ["x-pack/platform/plugins/shared/ai_infra/llm_tasks/*"],
"@kbn/locator-examples-plugin": ["examples/locator_examples"],
"@kbn/locator-examples-plugin/*": ["examples/locator_examples/*"],
"@kbn/locator-explorer-plugin": ["examples/locator_explorer"],
Expand Down Expand Up @@ -1400,10 +1400,10 @@
"@kbn/presentation-util-plugin/*": ["src/plugins/presentation_util/*"],
"@kbn/product-doc-artifact-builder": ["x-pack/packages/ai-infra/product-doc-artifact-builder"],
"@kbn/product-doc-artifact-builder/*": ["x-pack/packages/ai-infra/product-doc-artifact-builder/*"],
"@kbn/product-doc-base-plugin": ["x-pack/plugins/ai_infra/product_doc_base"],
"@kbn/product-doc-base-plugin/*": ["x-pack/plugins/ai_infra/product_doc_base/*"],
"@kbn/product-doc-common": ["x-pack/packages/ai-infra/product-doc-common"],
"@kbn/product-doc-common/*": ["x-pack/packages/ai-infra/product-doc-common/*"],
"@kbn/product-doc-base-plugin": ["x-pack/platform/plugins/shared/ai_infra/product_doc_base"],
"@kbn/product-doc-base-plugin/*": ["x-pack/platform/plugins/shared/ai_infra/product_doc_base/*"],
"@kbn/product-doc-common": ["x-pack/platform/packages/shared/ai-infra/product-doc-common"],
"@kbn/product-doc-common/*": ["x-pack/platform/packages/shared/ai-infra/product-doc-common/*"],
"@kbn/profiling-data-access-plugin": ["x-pack/plugins/observability_solution/profiling_data_access"],
"@kbn/profiling-data-access-plugin/*": ["x-pack/plugins/observability_solution/profiling_data_access/*"],
"@kbn/profiling-plugin": ["x-pack/plugins/observability_solution/profiling"],
Expand Down
2 changes: 1 addition & 1 deletion x-pack/.i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"xpack.fleet": "plugins/fleet",
"xpack.ingestPipelines": "plugins/ingest_pipelines",
"xpack.integrationAssistant": "plugins/integration_assistant",
"xpack.inference": "plugins/inference",
"xpack.inference": "platform/plugins/shared/inference",
"xpack.inventory": "plugins/observability_solution/inventory",
"xpack.investigate": "plugins/observability_solution/investigate",
"xpack.investigateApp": "plugins/observability_solution/investigate_app",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

module.exports = {
preset: '@kbn/test',
rootDir: '../../../..',
roots: ['<rootDir>/x-pack/packages/ai-infra/inference-common'],
rootDir: '../../../../../..',
roots: ['<rootDir>/x-pack/platform/packages/shared/ai-infra/inference-common'],
};
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",
"types": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

module.exports = {
preset: '@kbn/test/jest_node',
rootDir: '../../../..',
roots: ['<rootDir>/x-pack/packages/ai-infra/product-doc-common'],
rootDir: '../../../../../..',
roots: ['<rootDir>/x-pack/platform/packages/shared/ai-infra/product-doc-common'],
};
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",
"types": [
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

module.exports = {
preset: '@kbn/test',
rootDir: '../../../..',
roots: ['<rootDir>/x-pack/plugins/ai_infra/llm_tasks/server'],
rootDir: '../../../../../..',
roots: ['<rootDir>/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server'],
setupFiles: [],
collectCoverage: true,
collectCoverageFrom: [
'<rootDir>/x-pack/plugins/ai_infra/llm_tasks/{public,server,common}/**/*.{js,ts,tsx}',
'<rootDir>/x-pack/platform/plugins/shared/ai_infra/llm_tasks/{public,server,common}/**/*.{js,ts,tsx}',
],

coverageReporters: ['html'],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
"include": [
"../../../../typings/**/*",
"../../../../../../typings/**/*",
"common/**/*",
"public/**/*",
"typings/**/*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@

module.exports = {
preset: '@kbn/test',
rootDir: '../../..',
rootDir: '../../../../../..',
roots: [
'<rootDir>/x-pack/plugins/inference/public',
'<rootDir>/x-pack/plugins/inference/server',
'<rootDir>/x-pack/plugins/inference/common',
'<rootDir>/x-pack/platform/plugins/shared/ai_infra/product_doc_base/public',
'<rootDir>/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server',
'<rootDir>/x-pack/platform/plugins/shared/ai_infra/product_doc_base/common',
],
setupFiles: [],
collectCoverage: true,
collectCoverageFrom: [
'<rootDir>/x-pack/plugins/inference/{public,server,common}/**/*.{js,ts,tsx}',
'<rootDir>/x-pack/platform/plugins/shared/ai_infra/product_doc_base/{public,server,common}/**/*.{js,ts,tsx}',
],

coverageReporters: ['html'],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../../../tsconfig.base.json",
"extends": "../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
"include": [
"../../../../typings/**/*",
"../../../../../../typings/**/*",
"common/**/*",
"public/**/*",
"typings/**/*",
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@

module.exports = {
preset: '@kbn/test',
rootDir: '../../../..',
rootDir: '../../../../..',
roots: [
'<rootDir>/x-pack/plugins/ai_infra/product_doc_base/public',
'<rootDir>/x-pack/plugins/ai_infra/product_doc_base/server',
'<rootDir>/x-pack/plugins/ai_infra/product_doc_base/common',
'<rootDir>/x-pack/platform/plugins/shared/inference/public',
'<rootDir>/x-pack/platform/plugins/shared/inference/server',
'<rootDir>/x-pack/platform/plugins/shared/inference/common',
],
setupFiles: [],
collectCoverage: true,
collectCoverageFrom: [
'<rootDir>/x-pack/plugins/ai_infra/product_doc_base/{public,server,common}/**/*.{js,ts,tsx}',
'<rootDir>/x-pack/platform/plugins/shared/inference/{public,server,common}/**/*.{js,ts,tsx}',
],

coverageReporters: ['html'],
Expand Down
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
Expand Up @@ -14,7 +14,7 @@ This tool is developed for the teams working on anything related to inference. I

Run the tool using:

`$ node x-pack/plugins/inference/scripts/evaluation/index.js`
`$ node x-pack/platform/plugins/shared/inference/scripts/evaluation/index.js`

This will evaluate all existing scenarios, and write the evaluation results to the terminal.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { identity, pickBy } from 'lodash';
export type KibanaConfig = ReturnType<typeof readKibanaConfig>;

export const readKibanaConfig = () => {
const kibanaConfigDir = path.join(__filename, '../../../../../../config');
const kibanaConfigDir = path.join(__filename, '../../../../../../../../config');
const kibanaDevConfig = path.join(kibanaConfigDir, 'kibana.dev.yml');
const kibanaConfig = path.join(kibanaConfigDir, 'kibana.yml');

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit e2c0e91

Please sign in to comment.