Skip to content

Commit

Permalink
Relocating module @kbn/index-management-plugin (elastic#204953)
Browse files Browse the repository at this point in the history
## Summary

Last plugin to move for sustainable architecture

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 71f2705)

# Conflicts:
#	.github/CODEOWNERS
  • Loading branch information
mattkime committed Dec 19, 2024
1 parent 4f85910 commit 5b144f8
Show file tree
Hide file tree
Showing 662 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ x-pack/platform/packages/shared/kbn-entities-schema @elastic/obs-entities
x-pack/test/api_integration/apis/entity_manager/fixture_plugin @elastic/obs-entities
x-pack/solutions/observability/plugins/observability_solution/entity_manager_app @elastic/obs-entities
x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities
x-pack/platform/plugins/shared/index_management @elastic/kibana-management
examples/error_boundary @elastic/appex-sharedux
packages/kbn-es @elastic/kibana-operations
packages/kbn-es-archiver @elastic/kibana-operations @elastic/appex-qa
Expand Down Expand Up @@ -530,7 +531,6 @@ packages/kbn-import-resolver @elastic/kibana-operations
x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting
x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management
x-pack/platform/plugins/private/index_lifecycle_management @elastic/kibana-management
x-pack/plugins/index_management @elastic/kibana-management
x-pack/platform/packages/shared/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
Expand Down
2 changes: 1 addition & 1 deletion docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,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",
Expand Down
2 changes: 1 addition & 1 deletion src/dev/precommit_hook/casing_check_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,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',
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -1054,8 +1054,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"],
Expand Down
2 changes: 1 addition & 1 deletion x-pack/.i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"xpack.globalSearchBar": ["plugins/global_search_bar"],
"xpack.graph": ["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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}',
],
};
Loading

0 comments on commit 5b144f8

Please sign in to comment.