-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [ilm] Remove observability solution dependency on index lifecyc…
…le management plugin bundle (#199383) (#199986) # Backport This will backport the following commits from `main` to `8.x`: - [[ilm] Remove observability solution dependency on index lifecycle management plugin bundle (#199383)](#199383) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Matthew Kime","email":"matt@mattki.me"},"sourceCommit":{"committedDate":"2024-11-11T02:18:49Z","message":"[ilm] Remove observability solution dependency on index lifecycle management plugin bundle (#199383)\n\nCreate package for observability solution's dependencies from index\r\nlifecycle management. Previously it relied on the plugin bundle but\r\nthats best avoided with our sustainable architecture efforts.\r\n\r\nPart of https://github.com/elastic/kibana-team/issues/1179\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d8055465071542e84059250aecc8f8fc81bf72f4","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:ILM","Team:Kibana Management","release_note:skip","backport missing","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management"],"number":199383,"url":"https://github.com/elastic/kibana/pull/199383","mergeCommit":{"message":"[ilm] Remove observability solution dependency on index lifecycle management plugin bundle (#199383)\n\nCreate package for observability solution's dependencies from index\r\nlifecycle management. Previously it relied on the plugin bundle but\r\nthats best avoided with our sustainable architecture efforts.\r\n\r\nPart of https://github.com/elastic/kibana-team/issues/1179\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d8055465071542e84059250aecc8f8fc81bf72f4"}},"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/199383","number":199383,"mergeCommit":{"message":"[ilm] Remove observability solution dependency on index lifecycle management plugin bundle (#199383)\n\nCreate package for observability solution's dependencies from index\r\nlifecycle management. Previously it relied on the plugin bundle but\r\nthats best avoided with our sustainable architecture efforts.\r\n\r\nPart of https://github.com/elastic/kibana-team/issues/1179\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d8055465071542e84059250aecc8f8fc81bf72f4"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
- Loading branch information
1 parent
58c23ab
commit 5ac9227
Showing
16 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...s/index-lifecycle-management/index_lifecycle_management_common_shared/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# @kbn/index-lifecycle-management-common-shared | ||
|
||
Contains types and functions used and exported by the index lifecycle management plugin. Primarily used to address dependency issues. |
9 changes: 9 additions & 0 deletions
9
x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
export const ILM_LOCATOR_ID = 'ILM_LOCATOR_ID'; | ||
export * from './src/policies'; |
5 changes: 5 additions & 0 deletions
5
...packages/index-lifecycle-management/index_lifecycle_management_common_shared/kibana.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"type": "shared-common", | ||
"id": "@kbn/index-lifecycle-management-common-shared", | ||
"owner": "@elastic/kibana-management" | ||
} |
6 changes: 6 additions & 0 deletions
6
...packages/index-lifecycle-management/index_lifecycle_management_common_shared/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "@kbn/index-lifecycle-management-common-shared", | ||
"private": true, | ||
"version": "1.0.0", | ||
"license": "Elastic License 2.0" | ||
} |
File renamed without changes.
20 changes: 20 additions & 0 deletions
20
...ackages/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"extends": "../../../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "target/types", | ||
"types": [ | ||
"jest", | ||
"node", | ||
"react" | ||
] | ||
}, | ||
"include": [ | ||
"**/*.ts", | ||
"**/*.tsx" | ||
], | ||
"exclude": [ | ||
"target/**/*" | ||
], | ||
"kbn_references": [ | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,8 +63,7 @@ | |
"kibanaUtils", | ||
"observability", | ||
"spaces", | ||
"indexLifecycleManagement", | ||
"unifiedDocViewer" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters