Relocating module @kbn/index-management-plugin (#204953)

## Summary

Last plugin to move for sustainable architecture

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Matthew Kime 2024-12-19 12:39:27 -06:00 committed by GitHub
parent 1ba2716c7b
commit 71f27053c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
662 changed files with 16 additions and 16 deletions

2
.github/CODEOWNERS vendored
View file

@ -858,6 +858,7 @@ x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra
x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra
x-pack/platform/plugins/shared/aiops @elastic/ml-ui
x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities
x-pack/platform/plugins/shared/index_management @elastic/kibana-management
x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra
x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management
x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalability
@ -894,7 +895,6 @@ x-pack/plugins/global_search @elastic/appex-sharedux
x-pack/plugins/global_search_bar @elastic/appex-sharedux
x-pack/plugins/global_search_providers @elastic/appex-sharedux
x-pack/plugins/graph @elastic/kibana-visualizations
x-pack/plugins/index_management @elastic/kibana-management
x-pack/plugins/lens @elastic/kibana-visualizations
x-pack/plugins/licensing @elastic/kibana-core
x-pack/plugins/logstash @elastic/logstash

View file

@ -640,7 +640,7 @@ which are particularly useful for ingesting logs.
Index Management by running this series of requests in Console:
|{kib-repo}blob/{branch}/x-pack/plugins/index_management/README.md[indexManagement]
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/index_management/README.md[indexManagement]
|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.

View file

@ -575,7 +575,7 @@
"@kbn/index-adapter": "link:x-pack/solutions/security/packages/index-adapter",
"@kbn/index-lifecycle-management-common-shared": "link:x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared",
"@kbn/index-lifecycle-management-plugin": "link:x-pack/platform/plugins/private/index_lifecycle_management",
"@kbn/index-management-plugin": "link:x-pack/plugins/index_management",
"@kbn/index-management-plugin": "link:x-pack/platform/plugins/shared/index_management",
"@kbn/index-management-shared-types": "link:x-pack/platform/packages/shared/index-management/index_management_shared_types",
"@kbn/index-patterns-test-plugin": "link:test/plugin_functional/plugins/index_patterns",
"@kbn/inference-common": "link:x-pack/platform/packages/shared/ai-infra/inference-common",

View file

@ -176,7 +176,7 @@ export const TEMPORARILY_IGNORED_PATHS = [
'src/core/server/core_app/assets/favicons/mstile-310x310.png',
'src/core/server/core_app/assets/favicons/safari-pinned-tab.svg',
'test/functional/apps/management/exports/_import_objects-conflicts.json',
'x-pack/legacy/plugins/index_management/public/lib/editSettings.js',
'x-pack/legacy/platform/plugins/shared/index_management/public/lib/editSettings.js',
'x-pack/legacy/platform/plugins/shared/license_management/public/store/reducers/licenseManagement.js',
'x-pack/plugins/monitoring/public/icons/health-gray.svg',
'x-pack/plugins/monitoring/public/icons/health-green.svg',

View file

@ -1058,8 +1058,8 @@
"@kbn/index-lifecycle-management-common-shared/*": ["x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/*"],
"@kbn/index-lifecycle-management-plugin": ["x-pack/platform/plugins/private/index_lifecycle_management"],
"@kbn/index-lifecycle-management-plugin/*": ["x-pack/platform/plugins/private/index_lifecycle_management/*"],
"@kbn/index-management-plugin": ["x-pack/plugins/index_management"],
"@kbn/index-management-plugin/*": ["x-pack/plugins/index_management/*"],
"@kbn/index-management-plugin": ["x-pack/platform/plugins/shared/index_management"],
"@kbn/index-management-plugin/*": ["x-pack/platform/plugins/shared/index_management/*"],
"@kbn/index-management-shared-types": ["x-pack/platform/packages/shared/index-management/index_management_shared_types"],
"@kbn/index-management-shared-types/*": ["x-pack/platform/packages/shared/index-management/index_management_shared_types/*"],
"@kbn/index-patterns-test-plugin": ["test/plugin_functional/plugins/index_patterns"],

View file

@ -56,7 +56,7 @@
"plugins/graph"
],
"xpack.grokDebugger": "platform/plugins/private/grokdebugger",
"xpack.idxMgmt": "plugins/index_management",
"xpack.idxMgmt": "platform/plugins/shared/index_management",
"xpack.idxMgmtPackage": "packages/index-management",
"xpack.indexLifecycleMgmt": "platform/plugins/private/index_lifecycle_management",
"xpack.infra": "plugins/observability_solution/infra",

View file

@ -61,7 +61,7 @@ relies on additional index data that is not available by default. To make these
the `GET /indices` request, an index data enricher can be registered. A data enricher is essentially an extra request that is
done for the array of indices and the information is added to the response. Currently, 3 data enrichers are registered
by the ILM, Rollup and CCR plugins. Before adding a data enricher, the cost of the additional request should be taken
in consideration (see [this file](https://github.com/elastic/kibana/blob/main/x-pack/plugins/index_management/server/services/index_data_enricher.ts) for more details).
in consideration (see [this file](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/index_management/server/services/index_data_enricher.ts) for more details).
## Indices tab

View file

@ -6,7 +6,6 @@
*/
// TODO: https://github.com/elastic/kibana/issues/110892
/* eslint-disable @kbn/eslint/no_export_all */
export { API_BASE_PATH, INTERNAL_API_BASE_PATH, BASE_PATH, MAJOR_VERSION } from './constants';

View file

@ -7,11 +7,12 @@
module.exports = {
preset: '@kbn/test',
rootDir: '../../..',
roots: ['<rootDir>/x-pack/plugins/index_management'],
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/plugins/index_management',
rootDir: '../../../../..',
roots: ['<rootDir>/x-pack/platform/plugins/shared/index_management'],
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/x-pack/platform/plugins/shared/index_management',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
'<rootDir>/x-pack/plugins/index_management/{common,public,server}/**/*.{js,ts,tsx}',
'<rootDir>/x-pack/platform/plugins/shared/index_management/{common,public,server}/**/*.{js,ts,tsx}',
],
};

Some files were not shown because too many files have changed in this diff Show more