[8.x] [Entity Manager] Extract the entity manager out of Observability solution (#190304) (#193858)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Entity Manager] Extract the entity manager out of Observability
solution (#190304)](https://github.com/elastic/kibana/pull/190304)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tiago Vila
Verde","email":"tiago.vilaverde@elastic.co"},"sourceCommit":{"committedDate":"2024-09-16T12:07:03Z","message":"[Entity
Manager] Extract the entity manager out of Observability solution
(#190304)\n\n## Summary\r\n\r\nMoving the Entity Manager out of
Observability and into a Kibana plugin\r\nas per
[this\r\nticket](https://github.com/elastic/security-team/issues/10156)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c26ee22db69059d1908cb7bf3982db13a354b77a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","team:obs-entities"],"number":190304,"url":"https://github.com/elastic/kibana/pull/190304","mergeCommit":{"message":"[Entity
Manager] Extract the entity manager out of Observability solution
(#190304)\n\n## Summary\r\n\r\nMoving the Entity Manager out of
Observability and into a Kibana plugin\r\nas per
[this\r\nticket](https://github.com/elastic/security-team/issues/10156)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c26ee22db69059d1908cb7bf3982db13a354b77a"}},"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/190304","number":190304,"mergeCommit":{"message":"[Entity
Manager] Extract the entity manager out of Observability solution
(#190304)\n\n## Summary\r\n\r\nMoving the Entity Manager out of
Observability and into a Kibana plugin\r\nas per
[this\r\nticket](https://github.com/elastic/security-team/issues/10156)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c26ee22db69059d1908cb7bf3982db13a354b77a"}}]}]
BACKPORT-->
This commit is contained in:
Tiago Vila Verde 2024-09-24 18:24:09 +02:00 committed by GitHub
parent 527a9b6aef
commit 0b4ac42fbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
116 changed files with 13 additions and 12 deletions

View file

@ -574,7 +574,7 @@ security and spaces filtering.
|Exposes services to access entities data.
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/entity_manager/README.md[entityManager]
|{kib-repo}blob/{branch}/x-pack/plugins/entity_manager/README.md[entityManager]
|This plugin provides access to observed entity data, such as information about hosts, pods, containers, services, and more.

View file

@ -471,7 +471,7 @@
"@kbn/entities-data-access-plugin": "link:x-pack/plugins/observability_solution/entities_data_access",
"@kbn/entities-schema": "link:x-pack/packages/kbn-entities-schema",
"@kbn/entity-manager-fixture-plugin": "link:x-pack/test/api_integration/apis/entity_manager/fixture_plugin",
"@kbn/entityManager-plugin": "link:x-pack/plugins/observability_solution/entity_manager",
"@kbn/entityManager-plugin": "link:x-pack/plugins/entity_manager",
"@kbn/error-boundary-example-plugin": "link:examples/error_boundary",
"@kbn/es-errors": "link:packages/kbn-es-errors",
"@kbn/es-query": "link:packages/kbn-es-query",

View file

@ -812,8 +812,8 @@
"@kbn/entities-schema/*": ["x-pack/packages/kbn-entities-schema/*"],
"@kbn/entity-manager-fixture-plugin": ["x-pack/test/api_integration/apis/entity_manager/fixture_plugin"],
"@kbn/entity-manager-fixture-plugin/*": ["x-pack/test/api_integration/apis/entity_manager/fixture_plugin/*"],
"@kbn/entityManager-plugin": ["x-pack/plugins/observability_solution/entity_manager"],
"@kbn/entityManager-plugin/*": ["x-pack/plugins/observability_solution/entity_manager/*"],
"@kbn/entityManager-plugin": ["x-pack/plugins/entity_manager"],
"@kbn/entityManager-plugin/*": ["x-pack/plugins/entity_manager/*"],
"@kbn/error-boundary-example-plugin": ["examples/error_boundary"],
"@kbn/error-boundary-example-plugin/*": ["examples/error_boundary/*"],
"@kbn/es": ["packages/kbn-es"],

View file

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

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