Skip to content

Commit

Permalink
Sustainable Kibana Architecture: Move modules owned by `@elastic/obs-…
Browse files Browse the repository at this point in the history
…ai-assistant` (elastic#202763)

## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

#### 5 plugin(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/ai-assistant-management-plugin` |
`src/platform/plugins/shared/ai_assistant_management/selection` |
| `@kbn/data-usage-plugin` |
`x-pack/platform/plugins/private/data_usage` |
| `@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-plugin` |
`x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant`
|

#### 2 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@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`
|

<details >
<summary>Updated references</summary>

```
./.github/paths-labeller.yml
./.i18nrc.json
./docs/developer/plugin-list.asciidoc
./package.json
./packages/kbn-repo-packages/package-map.json
./packages/kbn-ts-projects/config-paths.json
./src/dev/storybook/aliases.ts
./src/platform/plugins/shared/ai_assistant_management/selection/jest.config.js
./src/platform/plugins/shared/discover/tsconfig.type_check.json
./tsconfig.base.json
./tsconfig.base.type_check.json
./tsconfig.refs.json
./x-pack/.i18nrc.json
./x-pack/platform/plugins/private/data_usage/jest.config.js
./x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js
./x-pack/plugins/enterprise_search/kibana.jsonc
./x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/index.ts
./x-pack/plugins/observability_solution/observability_ai_assistant_app/tsconfig.type_check.json
./x-pack/plugins/search_connectors/kibana.jsonc
./x-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js
./x-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js
./x-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js
./x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/README.md
./x-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js
./x-pack/test/tsconfig.type_check.json
./x-pack/test_serverless/tsconfig.type_check.json
./yarn.lock
```

</details><details >
<summary>Updated relative paths</summary>

```
src/platform/plugins/shared/ai_assistant_management/selection/jest.config.js:12
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.json:2
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:18
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:2
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:21
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:24
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:27
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:30
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:33
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:36
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:39
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:42
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:45
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:48
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:51
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:54
src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:57
x-pack/platform/plugins/private/data_usage/jest.config.js:10
x-pack/platform/plugins/private/data_usage/tsconfig.json:11
x-pack/platform/plugins/private/data_usage/tsconfig.json:2
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js:10
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:2
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:7
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:100
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:103
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:22
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:25
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:28
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:31
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:34
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:37
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:40
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:43
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:46
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:49
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:52
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:55
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:58
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:61
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:64
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:67
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:70
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:73
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:76
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:79
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:82
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:85
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:88
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:9
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:91
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:94
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:97
x-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js:10
x-pack/solutions/observability/packages/observability_ai/observability_ai_common/tsconfig.json:2
x-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js:10
x-pack/solutions/observability/packages/observability_ai/observability_ai_server/tsconfig.json:2
x-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js:10
x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/read_kibana_config.ts:16
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:2
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:7
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:100
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:103
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:106
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:109
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:112
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:118
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:121
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:124
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:127
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:130
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:133
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:136
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:139
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:142
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:145
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:148
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:151
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:154
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:157
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:160
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:163
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:166
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:169
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:172
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:175
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:178
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:181
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:184
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:190
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:193
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:2
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:22
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:28
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:31
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:34
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:37
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:40
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:43
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:46
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:49
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:52
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:55
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:58
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:61
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:64
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:67
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:70
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:73
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:76
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:79
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:82
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:85
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:88
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:9
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:91
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:94
x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:97
x-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js:10
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.json:2
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:18
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:2
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:21
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:24
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:27
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:30
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:33
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:36
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:39
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:45
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:48
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:51
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:54
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:60
x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:63
```

</details>

(cherry picked from commit 84b19ec)

# Conflicts:
#	.github/CODEOWNERS
#	src/dev/storybook/aliases.ts
  • Loading branch information
gsoldevila committed Dec 12, 2024
1 parent b3ba62a commit 2810b1f
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 2810b1f

Please sign in to comment.