From 683a76894176714a7ef7aaa2f1fed285e9948a35 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 13 Jan 2025 09:12:28 +0100 Subject: [PATCH] SKA: Relocate remaining modules (#206103) ## 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. Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe [here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E). #### 2 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/entities-data-access-plugin` | `x-pack/solutions/observability/plugins/entities_data_access` | | `@kbn/entityManager-app-plugin` | `x-pack/solutions/observability/plugins/entity_manager_app` | #### 10 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/core-user-settings-server` | `src/core/packages/user-settings/server` | | `@kbn/core-user-settings-server-internal` | `src/core/packages/user-settings/server-internal` | | `@kbn/core-user-settings-server-mocks` | `src/core/packages/user-settings/server-mocks` | | `@kbn/calculate-auto` | `src/platform/packages/shared/kbn-calculate-auto` | | `@kbn/charts-theme` | `src/platform/packages/shared/kbn-charts-theme` | | `@kbn/palettes` | `src/platform/packages/shared/kbn-palettes` | | `@kbn/saved-search-component` | `src/platform/packages/shared/kbn-saved-search-component` | | `@kbn/use-tracked-promise` | `src/platform/packages/shared/kbn-use-tracked-promise` | | `@kbn/response-ops-rule-form` | `src/platform/packages/shared/response-ops/rule_form` | | `@kbn/streams-schema` | `x-pack/solutions/observability/packages/kbn-streams-schema` |
Updated references ``` ./.i18nrc.json ./docs/developer/plugin-list.asciidoc ./package.json ./packages/kbn-ts-projects/config-paths.json ./src/core/packages/user-settings/server-internal/jest.config.js ./src/core/packages/user-settings/server-mocks/jest.config.js ./src/platform/packages/private/kbn-repo-packages/package-map.json ./src/platform/packages/shared/kbn-calculate-auto/jest.config.js ./src/platform/packages/shared/kbn-charts-theme/jest.config.js ./src/platform/packages/shared/kbn-palettes/jest.config.js ./src/platform/packages/shared/kbn-saved-search-component/jest.config.js ./src/platform/packages/shared/kbn-use-tracked-promise/jest.config.js ./src/platform/packages/shared/response-ops/rule_form/jest.config.js ./tsconfig.base.json ./x-pack/solutions/observability/packages/kbn-streams-schema/jest.config.js ./x-pack/solutions/observability/plugins/entities_data_access/jest.config.js ./x-pack/solutions/observability/plugins/entity_manager_app/jest.config.js ./yarn.lock .github/CODEOWNERS ```
Updated relative paths ``` src/core/packages/user-settings/server-internal/jest.config.js:12 src/core/packages/user-settings/server-internal/tsconfig.json:2 src/core/packages/user-settings/server-mocks/jest.config.js:12 src/core/packages/user-settings/server-mocks/tsconfig.json:2 src/core/packages/user-settings/server/tsconfig.json:2 src/platform/packages/shared/kbn-calculate-auto/jest.config.js:12 src/platform/packages/shared/kbn-calculate-auto/tsconfig.json:2 src/platform/packages/shared/kbn-charts-theme/jest.config.js:12 src/platform/packages/shared/kbn-charts-theme/tsconfig.json:2 src/platform/packages/shared/kbn-palettes/jest.config.js:12 src/platform/packages/shared/kbn-palettes/tsconfig.json:2 src/platform/packages/shared/kbn-saved-search-component/jest.config.js:12 src/platform/packages/shared/kbn-saved-search-component/tsconfig.json:2 src/platform/packages/shared/kbn-use-tracked-promise/jest.config.js:12 src/platform/packages/shared/kbn-use-tracked-promise/tsconfig.json:2 src/platform/packages/shared/response-ops/rule_form/jest.config.js:12 src/platform/packages/shared/response-ops/rule_form/tsconfig.json:2 x-pack/solutions/observability/packages/kbn-streams-schema/jest.config.js:10 x-pack/solutions/observability/packages/kbn-streams-schema/tsconfig.json:2 x-pack/solutions/observability/plugins/entities_data_access/jest.config.js:12 x-pack/solutions/observability/plugins/entities_data_access/tsconfig.json:2 x-pack/solutions/observability/plugins/entity_manager_app/jest.config.js:12 x-pack/solutions/observability/plugins/entity_manager_app/tsconfig.json:2 x-pack/solutions/observability/plugins/entity_manager_app/tsconfig.json:7 ```
--------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .github/CODEOWNERS | 24 +++++----- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 4 +- package.json | 24 +++++----- .../user-settings/server-internal}/README.md | 0 .../user-settings/server-internal}/index.ts | 0 .../server-internal}/jest.config.js | 4 +- .../server-internal}/kibana.jsonc | 0 .../server-internal}/package.json | 0 .../src/user_settings_service.test.ts | 0 .../src/user_settings_service.ts | 0 .../server-internal}/tsconfig.json | 2 +- .../user-settings/server-mocks}/README.md | 0 .../user-settings/server-mocks}/index.ts | 0 .../server-mocks}/jest.config.js | 4 +- .../user-settings/server-mocks}/kibana.jsonc | 0 .../user-settings/server-mocks}/package.json | 0 .../src/user_settings_service.mock.ts | 0 .../user-settings/server-mocks}/tsconfig.json | 2 +- .../packages/user-settings/server}/README.md | 0 .../packages/user-settings/server}/index.ts | 0 .../user-settings/server}/kibana.jsonc | 0 .../user-settings/server}/package.json | 0 .../user-settings/server}/tsconfig.json | 2 +- .../packages/user-settings/server}/types.ts | 0 .../shared}/kbn-calculate-auto/README.md | 0 .../shared}/kbn-calculate-auto/index.ts | 0 .../shared/kbn-calculate-auto}/jest.config.js | 4 +- .../shared}/kbn-calculate-auto/kibana.jsonc | 0 .../shared}/kbn-calculate-auto/package.json | 0 .../src/calculate_auto.test.ts | 0 .../kbn-calculate-auto/src/calculate_auto.ts | 0 .../shared}/kbn-calculate-auto/tsconfig.json | 2 +- .../shared}/kbn-charts-theme/README.md | 0 .../shared}/kbn-charts-theme/index.ts | 0 .../shared/kbn-charts-theme}/jest.config.js | 4 +- .../shared}/kbn-charts-theme/kibana.jsonc | 0 .../shared}/kbn-charts-theme/package.json | 0 .../shared}/kbn-charts-theme/tsconfig.json | 2 +- .../packages/shared}/kbn-palettes/README.md | 0 .../classes/categorical_palette.ts | 0 .../kbn-palettes/classes/color_fn_palette.ts | 0 .../shared}/kbn-palettes/classes/index.ts | 0 .../shared}/kbn-palettes/classes/palette.ts | 0 .../shared}/kbn-palettes/classes/palettes.ts | 0 .../shared}/kbn-palettes/classes/types.ts | 0 .../shared}/kbn-palettes/constants.ts | 0 .../shared}/kbn-palettes/hooks/index.ts | 0 .../kbn-palettes/hooks/use_kbn_palettes.ts | 0 .../packages/shared}/kbn-palettes/index.ts | 0 .../shared}/kbn-palettes/jest.config.js | 4 +- .../shared}/kbn-palettes/kibana.jsonc | 0 .../shared}/kbn-palettes/package.json | 0 .../palettes/categorical/elastic.ts | 0 .../palettes/categorical/index.ts | 0 .../palettes/categorical/neutral.ts | 0 .../kbn-palettes/palettes/get_kbn_palettes.ts | 0 .../palettes/gradient/complementary.ts | 0 .../kbn-palettes/palettes/gradient/cool.ts | 0 .../kbn-palettes/palettes/gradient/gray.ts | 0 .../kbn-palettes/palettes/gradient/green.ts | 0 .../kbn-palettes/palettes/gradient/index.ts | 0 .../kbn-palettes/palettes/gradient/red.ts | 0 .../kbn-palettes/palettes/gradient/status.ts | 0 .../palettes/gradient/temperature.ts | 0 .../kbn-palettes/palettes/gradient/warm.ts | 0 .../shared}/kbn-palettes/palettes/index.ts | 0 .../legacy/categorical/elastic_classic.ts | 0 .../palettes/legacy/categorical/index.ts | 0 .../palettes/legacy/categorical/kibana_4.ts | 0 .../palettes/legacy/categorical/kibana_7.ts | 0 .../categorical/kibana_7_behind_text.ts | 0 .../palettes/legacy/categorical/neutral.ts | 0 .../palettes/legacy/gradient/complementary.ts | 0 .../palettes/legacy/gradient/cool.ts | 0 .../palettes/legacy/gradient/gray.ts | 0 .../palettes/legacy/gradient/green.ts | 0 .../palettes/legacy/gradient/index.ts | 0 .../palettes/legacy/gradient/red.ts | 0 .../palettes/legacy/gradient/status.ts | 0 .../palettes/legacy/gradient/temperature.ts | 0 .../palettes/legacy/gradient/warm.ts | 0 .../kbn-palettes/palettes/legacy/index.ts | 0 .../kbn-palettes/palettes/semantic/index.ts | 0 .../palettes/semantic/log_level.ts | 0 .../shared}/kbn-palettes/tsconfig.json | 2 +- .../kbn-saved-search-component/README.md | 0 .../kbn-saved-search-component/index.ts | 0 .../jest.config.js | 4 +- .../kbn-saved-search-component/kibana.jsonc | 0 .../kbn-saved-search-component/package.json | 0 .../src/components/error.tsx | 0 .../src/components/saved_search.tsx | 0 .../kbn-saved-search-component/src/types.ts | 0 .../kbn-saved-search-component/tsconfig.json | 2 +- .../shared}/kbn-use-tracked-promise/README.md | 0 .../shared}/kbn-use-tracked-promise/index.ts | 0 .../kbn-use-tracked-promise}/jest.config.js | 4 +- .../kbn-use-tracked-promise/kibana.jsonc | 0 .../kbn-use-tracked-promise/package.json | 0 .../kbn-use-tracked-promise/tsconfig.json | 2 +- .../use_tracked_promise.ts | 0 .../shared}/response-ops/rule_form/README.md | 0 .../shared}/response-ops/rule_form/index.ts | 0 .../response-ops/rule_form/jest.config.js | 8 ++-- .../response-ops/rule_form/kibana.jsonc | 0 .../response-ops/rule_form/package.json | 0 .../response-ops/rule_form/setup_tests.ts | 0 .../apis/create_rule/create_rule.test.ts | 0 .../common/apis/create_rule/create_rule.ts | 0 .../src/common/apis/create_rule/index.ts | 0 .../transform_create_rule_body.test.ts | 0 .../create_rule/transform_create_rule_body.ts | 0 .../src/common/apis/create_rule/types.ts | 0 .../src/common/apis/fetch_rule_types.ts | 0 .../fetch_ui_config/fetch_ui_config.test.ts | 0 .../apis/fetch_ui_config/fetch_ui_config.ts | 0 .../src/common/apis/fetch_ui_config/index.ts | 0 .../src/common/apis/fetch_ui_config/types.ts | 0 .../rule_form/src/common/apis/index.ts | 0 .../src/common/apis/resolve_rule/index.ts | 0 .../apis/resolve_rule/resolve_rule.test.ts | 0 .../common/apis/resolve_rule/resolve_rule.ts | 0 .../src/common/apis/update_rule/index.ts | 0 .../transform_update_rule_body.test.ts | 0 .../update_rule/transform_update_rule_body.ts | 0 .../src/common/apis/update_rule/types.ts | 0 .../apis/update_rule/update_rule.test.ts | 0 .../common/apis/update_rule/update_rule.ts | 0 .../rule_form/src/common/hooks/index.ts | 0 .../src/common/hooks/use_create_rule.test.tsx | 0 .../src/common/hooks/use_create_rule.ts | 0 .../hooks/use_load_connector_types.test.tsx | 0 .../common/hooks/use_load_connector_types.ts | 0 .../common/hooks/use_load_connectors.test.tsx | 0 .../src/common/hooks/use_load_connectors.ts | 0 ...oad_rule_type_aad_template_fields.test.tsx | 0 .../use_load_rule_type_aad_template_fields.ts | 0 .../src/common/hooks/use_load_ui_config.ts | 0 .../common/hooks/use_resolve_rule.test.tsx | 0 .../src/common/hooks/use_resolve_rule.ts | 0 .../src/common/hooks/use_update_rule.test.tsx | 0 .../src/common/hooks/use_update_rule.ts | 0 .../response-ops/rule_form/src/common/i18n.ts | 0 .../rule_form/src/common/index.ts | 0 .../common/test_utils/actions_test_utils.ts | 0 .../src/common/transformations/index.ts | 0 .../common/transformations/transform_rule.ts | 0 .../rule_form/src/common/types/index.ts | 0 .../rule_form/src/constants/index.ts | 0 .../rule_form/src/constants/routes.ts | 0 .../rule_form/src/constants/rule_flapping.ts | 0 .../rule_form/src/create_rule_form.tsx | 0 .../rule_form/src/edit_rule_form.tsx | 0 .../response-ops/rule_form/src/hooks/index.ts | 0 .../src/hooks/use_load_dependencies.test.tsx | 0 .../src/hooks/use_load_dependencies.ts | 0 .../src/hooks/use_rule_form_dispatch.ts | 0 .../src/hooks/use_rule_form_state.ts | 0 .../src/hooks/use_rule_form_steps.test.tsx | 0 .../src/hooks/use_rule_form_steps.tsx | 0 .../rule_form/src/rule_actions/index.ts | 0 .../src/rule_actions/rule_actions.test.tsx | 0 .../src/rule_actions/rule_actions.tsx | 0 .../rule_actions_alerts_filter.test.tsx | 0 .../rule_actions_alerts_filter.tsx | 0 ...e_actions_alerts_filter_timeframe.test.tsx | 0 .../rule_actions_alerts_filter_timeframe.tsx | 0 .../rule_actions_connectors_modal.test.tsx | 0 .../rule_actions_connectors_modal.tsx | 0 .../rule_actions/rule_actions_item.test.tsx | 0 .../src/rule_actions/rule_actions_item.tsx | 0 .../rule_actions_message.test.tsx | 0 .../src/rule_actions/rule_actions_message.tsx | 0 .../rule_actions_notify_when.test.tsx | 0 .../rule_actions/rule_actions_notify_when.tsx | 0 .../rule_actions_settings.test.tsx | 0 .../rule_actions/rule_actions_settings.tsx | 0 .../rule_actions_system_actions_item.test.tsx | 0 .../rule_actions_system_actions_item.tsx | 0 .../rule_form/src/rule_definition/index.ts | 0 .../rule_definition/rule_alert_delay.test.tsx | 0 .../src/rule_definition/rule_alert_delay.tsx | 0 .../rule_consumer_selection.test.tsx | 0 .../rule_consumer_selection.tsx | 0 .../rule_definition/rule_definition.test.tsx | 0 .../src/rule_definition/rule_definition.tsx | 0 .../rule_definition/rule_schedule.test.tsx | 0 .../src/rule_definition/rule_schedule.tsx | 0 .../rule_form/src/rule_details/index.ts | 0 .../src/rule_details/rule_details.test.tsx | 0 .../src/rule_details/rule_details.tsx | 0 .../response-ops/rule_form/src/rule_form.tsx | 0 .../rule_form/src/rule_form_errors/index.ts | 0 .../rule_form_action_permission_error.tsx | 0 .../rule_form_circuit_breaker_error.test.tsx | 0 .../rule_form_circuit_breaker_error.tsx | 0 .../rule_form_error_prompt_wrapper.tsx | 0 .../rule_form_health_check_error.test.tsx | 0 .../rule_form_health_check_error.tsx | 0 .../rule_form_resolve_rule_error.tsx | 0 .../rule_form_rule_type_error.tsx | 0 .../rule_form/src/rule_form_state/index.ts | 0 .../rule_form_state_context.tsx | 0 .../rule_form_state_provider.tsx | 0 .../rule_form_state_reducer.test.tsx | 0 .../rule_form_state_reducer.ts | 0 .../rule_form/src/rule_page/index.ts | 0 .../src/rule_page/rule_page.test.tsx | 0 .../rule_form/src/rule_page/rule_page.tsx | 0 .../rule_page_confirm_create_rule.test.tsx | 0 .../rule_page_confirm_create_rule.tsx | 0 .../src/rule_page/rule_page_footer.test.tsx | 0 .../src/rule_page/rule_page_footer.tsx | 0 .../rule_page/rule_page_name_input.test.tsx | 0 .../src/rule_page/rule_page_name_input.tsx | 0 .../rule_page_show_request_modal.test.tsx | 0 .../rule_page_show_request_modal.tsx | 0 .../filter_and_count_rule_types.test.ts | 0 .../helpers/filter_and_count_rule_types.ts | 0 .../src/rule_type_modal/components/index.tsx | 0 .../components/rule_type_list.test.tsx | 0 .../components/rule_type_list.tsx | 0 .../components/rule_type_modal.tsx | 0 .../rule_form/src/rule_type_modal/index.tsx | 0 .../rule_form/src/rule_type_modal/types.ts | 0 .../rule_form/src/translations.ts | 0 .../response-ops/rule_form/src/types.ts | 0 .../src/utils/get_authorized_consumers.ts | 0 .../src/utils/get_authorized_rule_types.ts | 0 .../rule_form/src/utils/get_default_params.ts | 0 .../src/utils/get_initial_consumer.ts | 0 .../src/utils/get_initial_multi_consumer.ts | 0 .../src/utils/get_initial_schedule.ts | 0 .../utils/get_selected_action_group.test.ts | 0 .../src/utils/get_selected_action_group.ts | 0 .../src/utils/get_time_options.test.ts | 0 .../rule_form/src/utils/get_time_options.ts | 0 .../src/utils/has_fields_for_aad.test.ts | 0 .../rule_form/src/utils/has_fields_for_aad.ts | 0 .../response-ops/rule_form/src/utils/index.ts | 0 .../src/utils/parse_duration.test.ts | 0 .../rule_form/src/utils/parse_duration.ts | 0 ...arse_rule_circuit_breaker_error_message.ts | 0 .../rule_form/src/validation/index.ts | 0 .../src/validation/validate_form.test.ts | 0 .../rule_form/src/validation/validate_form.ts | 0 .../validate_params_for_warnings.test.ts | 0 .../validate_params_for_warnings.ts | 0 .../response-ops/rule_form/tsconfig.json | 2 +- tsconfig.base.json | 48 +++++++++---------- .../packages/kbn-streams-schema/README.md | 0 .../packages/kbn-streams-schema/index.ts | 0 .../kbn-streams-schema/jest.config.js | 4 +- .../packages/kbn-streams-schema/kibana.jsonc | 0 .../packages/kbn-streams-schema/package.json | 0 .../read_streams_response.test.ts.snap | 0 .../kbn-streams-schema/src/apis/index.ts | 0 .../src/apis/list_streams_response.ts | 0 .../src/apis/read_streams_response.test.ts | 0 .../src/apis/read_streams_response.ts | 0 .../src/fixtures/ingest_read_stream.ts | 0 .../src/fixtures/ingest_stream.ts | 0 .../src/fixtures/ingest_stream_config.ts | 0 .../src/fixtures/read_streams_response.ts | 0 .../src/fixtures/wired_read_stream.ts | 0 .../src/fixtures/wired_stream.ts | 0 .../src/fixtures/wired_stream_config.ts | 0 .../kbn-streams-schema/src/helpers/index.ts | 0 .../src/helpers/processing.ts | 0 .../src/helpers/type_guards.ts | 0 .../kbn-streams-schema/src/models/common.ts | 0 .../kbn-streams-schema/src/models/index.ts | 0 .../__snapshots__/read_stream.test.ts.snap | 0 .../src/models/read_streams/index.ts | 0 .../models/read_streams/ingest_read_stream.ts | 0 .../models/read_streams/read_stream.test.ts | 0 .../src/models/read_streams/read_stream.ts | 0 .../models/read_streams/wired_read_stream.ts | 0 .../src/models/stream_config/index.ts | 0 .../stream_config/ingest_stream_config.ts | 0 .../src/models/stream_config/stream_config.ts | 0 .../stream_config/wired_stream_config.ts | 0 .../src/models/streams/index.ts | 0 .../src/models/streams/ingest_stream.ts | 0 .../src/models/streams/stream.ts | 0 .../src/models/streams/wired_stream.ts | 0 .../packages/kbn-streams-schema/tsconfig.json | 2 +- .../entities_data_access/README.md | 0 .../entities_data_access/jest.config.js | 6 +-- .../entities_data_access/kibana.jsonc | 0 .../entities_data_access/server/index.ts | 0 .../entities_data_access/server/plugin.ts | 0 .../entities_data_access/server/types.ts | 0 .../entities_data_access/tsconfig.json | 2 +- .../entity_manager_app/README.md | 0 .../entity_manager_app/jest.config.js | 10 ++-- .../entity_manager_app/kibana.jsonc | 0 .../entity_manager_app/public/application.tsx | 0 .../public/context/plugin_context.ts | 0 .../public/hooks/use_kibana.ts | 0 .../public/hooks/use_plugin_context.ts | 0 .../entity_manager_app/public/index.ts | 0 .../public/pages/overview/index.tsx | 0 .../entity_manager_app/public/plugin.ts | 0 .../entity_manager_app/public/routes.tsx | 0 .../entity_manager_app/public/types.ts | 0 .../entity_manager_app/tsconfig.json | 4 +- yarn.lock | 24 +++++----- 309 files changed, 103 insertions(+), 105 deletions(-) rename {packages/core/user-settings/core-user-settings-server-internal => src/core/packages/user-settings/server-internal}/README.md (100%) rename {packages/core/user-settings/core-user-settings-server-internal => src/core/packages/user-settings/server-internal}/index.ts (100%) rename {packages/kbn-use-tracked-promise => src/core/packages/user-settings/server-internal}/jest.config.js (83%) rename {packages/core/user-settings/core-user-settings-server-internal => src/core/packages/user-settings/server-internal}/kibana.jsonc (100%) rename {packages/core/user-settings/core-user-settings-server-internal => src/core/packages/user-settings/server-internal}/package.json (100%) rename {packages/core/user-settings/core-user-settings-server-internal => src/core/packages/user-settings/server-internal}/src/user_settings_service.test.ts (100%) rename {packages/core/user-settings/core-user-settings-server-internal => src/core/packages/user-settings/server-internal}/src/user_settings_service.ts (100%) rename {packages/core/user-settings/core-user-settings-server-internal => src/core/packages/user-settings/server-internal}/tsconfig.json (91%) rename {packages/core/user-settings/core-user-settings-server-mocks => src/core/packages/user-settings/server-mocks}/README.md (100%) rename {packages/core/user-settings/core-user-settings-server-mocks => src/core/packages/user-settings/server-mocks}/index.ts (100%) rename {packages/kbn-calculate-auto => src/core/packages/user-settings/server-mocks}/jest.config.js (84%) rename {packages/core/user-settings/core-user-settings-server-mocks => src/core/packages/user-settings/server-mocks}/kibana.jsonc (100%) rename {packages/core/user-settings/core-user-settings-server-mocks => src/core/packages/user-settings/server-mocks}/package.json (100%) rename {packages/core/user-settings/core-user-settings-server-mocks => src/core/packages/user-settings/server-mocks}/src/user_settings_service.mock.ts (100%) rename {packages/core/user-settings/core-user-settings-server-mocks => src/core/packages/user-settings/server-mocks}/tsconfig.json (84%) rename {packages/core/user-settings/core-user-settings-server => src/core/packages/user-settings/server}/README.md (100%) rename {packages/core/user-settings/core-user-settings-server => src/core/packages/user-settings/server}/index.ts (100%) rename {packages/core/user-settings/core-user-settings-server => src/core/packages/user-settings/server}/kibana.jsonc (100%) rename {packages/core/user-settings/core-user-settings-server => src/core/packages/user-settings/server}/package.json (100%) rename {packages/core/user-settings/core-user-settings-server => src/core/packages/user-settings/server}/tsconfig.json (79%) rename {packages/core/user-settings/core-user-settings-server => src/core/packages/user-settings/server}/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-auto/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-auto/index.ts (100%) rename {packages/core/user-settings/core-user-settings-server-mocks => src/platform/packages/shared/kbn-calculate-auto}/jest.config.js (82%) rename {packages => src/platform/packages/shared}/kbn-calculate-auto/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-auto/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-auto/src/calculate_auto.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-auto/src/calculate_auto.ts (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-auto/tsconfig.json (80%) rename {packages => src/platform/packages/shared}/kbn-charts-theme/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-charts-theme/index.ts (100%) rename {packages/kbn-saved-search-component => src/platform/packages/shared/kbn-charts-theme}/jest.config.js (83%) rename {packages => src/platform/packages/shared}/kbn-charts-theme/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-charts-theme/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-charts-theme/tsconfig.json (82%) rename {packages => src/platform/packages/shared}/kbn-palettes/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/classes/categorical_palette.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/classes/color_fn_palette.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/classes/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/classes/palette.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/classes/palettes.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/classes/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/hooks/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/hooks/use_kbn_palettes.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/jest.config.js (84%) rename {packages => src/platform/packages/shared}/kbn-palettes/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/categorical/elastic.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/categorical/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/categorical/neutral.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/get_kbn_palettes.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/gradient/complementary.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/gradient/cool.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/gradient/gray.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/gradient/green.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/gradient/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/gradient/red.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/gradient/status.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/gradient/temperature.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/gradient/warm.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/categorical/elastic_classic.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/categorical/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/categorical/kibana_4.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/categorical/kibana_7.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/categorical/kibana_7_behind_text.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/categorical/neutral.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/gradient/complementary.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/gradient/cool.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/gradient/gray.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/gradient/green.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/gradient/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/gradient/red.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/gradient/status.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/gradient/temperature.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/gradient/warm.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/legacy/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/semantic/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/palettes/semantic/log_level.ts (100%) rename {packages => src/platform/packages/shared}/kbn-palettes/tsconfig.json (85%) rename {packages => src/platform/packages/shared}/kbn-saved-search-component/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-saved-search-component/index.ts (100%) rename {packages/kbn-charts-theme => src/platform/packages/shared/kbn-saved-search-component}/jest.config.js (82%) rename {packages => src/platform/packages/shared}/kbn-saved-search-component/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-saved-search-component/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-saved-search-component/src/components/error.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-saved-search-component/src/components/saved_search.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-saved-search-component/src/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-saved-search-component/tsconfig.json (90%) rename {packages => src/platform/packages/shared}/kbn-use-tracked-promise/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-use-tracked-promise/index.ts (100%) rename {packages/core/user-settings/core-user-settings-server-internal => src/platform/packages/shared/kbn-use-tracked-promise}/jest.config.js (82%) rename {packages => src/platform/packages/shared}/kbn-use-tracked-promise/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-use-tracked-promise/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-use-tracked-promise/tsconfig.json (80%) rename {packages => src/platform/packages/shared}/kbn-use-tracked-promise/use_tracked_promise.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/README.md (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/jest.config.js (69%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/package.json (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/setup_tests.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/create_rule/create_rule.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/create_rule/create_rule.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/create_rule/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/create_rule/transform_create_rule_body.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/create_rule/transform_create_rule_body.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/create_rule/types.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/fetch_rule_types.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/fetch_ui_config/fetch_ui_config.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/fetch_ui_config/fetch_ui_config.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/fetch_ui_config/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/fetch_ui_config/types.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/resolve_rule/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/resolve_rule/resolve_rule.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/resolve_rule/resolve_rule.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/update_rule/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/update_rule/transform_update_rule_body.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/update_rule/transform_update_rule_body.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/update_rule/types.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/update_rule/update_rule.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/apis/update_rule/update_rule.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_create_rule.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_create_rule.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_load_connector_types.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_load_connector_types.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_load_connectors.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_load_connectors.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_load_rule_type_aad_template_fields.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_load_rule_type_aad_template_fields.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_load_ui_config.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_resolve_rule.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_resolve_rule.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_update_rule.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/hooks/use_update_rule.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/i18n.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/test_utils/actions_test_utils.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/transformations/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/transformations/transform_rule.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/common/types/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/constants/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/constants/routes.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/constants/rule_flapping.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/create_rule_form.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/edit_rule_form.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/hooks/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/hooks/use_load_dependencies.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/hooks/use_load_dependencies.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/hooks/use_rule_form_dispatch.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/hooks/use_rule_form_state.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/hooks/use_rule_form_steps.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/hooks/use_rule_form_steps.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter_timeframe.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter_timeframe.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_connectors_modal.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_connectors_modal.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_item.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_item.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_message.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_message.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_notify_when.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_notify_when.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_settings.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_settings.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_system_actions_item.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_actions/rule_actions_system_actions_item.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_definition/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_definition/rule_alert_delay.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_definition/rule_alert_delay.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_definition/rule_consumer_selection.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_definition/rule_consumer_selection.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_definition/rule_definition.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_definition/rule_definition.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_definition/rule_schedule.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_definition/rule_schedule.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_details/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_details/rule_details.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_details/rule_details.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_errors/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_errors/rule_form_action_permission_error.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_errors/rule_form_circuit_breaker_error.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_errors/rule_form_circuit_breaker_error.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_errors/rule_form_error_prompt_wrapper.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_errors/rule_form_health_check_error.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_errors/rule_form_health_check_error.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_errors/rule_form_resolve_rule_error.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_errors/rule_form_rule_type_error.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_state/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_state/rule_form_state_context.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_state/rule_form_state_provider.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_state/rule_form_state_reducer.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_form_state/rule_form_state_reducer.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_page/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_page/rule_page.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_page/rule_page.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_page/rule_page_confirm_create_rule.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_page/rule_page_confirm_create_rule.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_page/rule_page_footer.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_page/rule_page_footer.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_page/rule_page_name_input.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_page/rule_page_name_input.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_page/rule_page_show_request_modal.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_page/rule_page_show_request_modal.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_type_modal/components/helpers/filter_and_count_rule_types.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_type_modal/components/helpers/filter_and_count_rule_types.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_type_modal/components/index.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_type_modal/components/rule_type_list.test.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_type_modal/components/rule_type_list.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_type_modal/components/rule_type_modal.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_type_modal/index.tsx (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/rule_type_modal/types.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/translations.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/types.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/get_authorized_consumers.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/get_authorized_rule_types.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/get_default_params.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/get_initial_consumer.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/get_initial_multi_consumer.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/get_initial_schedule.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/get_selected_action_group.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/get_selected_action_group.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/get_time_options.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/get_time_options.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/has_fields_for_aad.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/has_fields_for_aad.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/parse_duration.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/parse_duration.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/utils/parse_rule_circuit_breaker_error_message.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/validation/index.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/validation/validate_form.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/validation/validate_form.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/validation/validate_params_for_warnings.test.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/src/validation/validate_params_for_warnings.ts (100%) rename {packages => src/platform/packages/shared}/response-ops/rule_form/tsconfig.json (94%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/README.md (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/index.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/jest.config.js (72%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/kibana.jsonc (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/package.json (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/apis/index.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/apis/list_streams_response.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/apis/read_streams_response.test.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/apis/read_streams_response.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/fixtures/ingest_read_stream.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/fixtures/ingest_stream.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/fixtures/ingest_stream_config.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/fixtures/read_streams_response.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/fixtures/wired_read_stream.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/fixtures/wired_stream.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/fixtures/wired_stream_config.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/helpers/index.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/helpers/processing.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/helpers/type_guards.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/common.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/index.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/read_streams/index.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/read_streams/read_stream.test.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/stream_config/index.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/streams/index.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/streams/stream.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/src/models/streams/wired_stream.ts (100%) rename x-pack/{ => solutions/observability}/packages/kbn-streams-schema/tsconfig.json (81%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entities_data_access/README.md (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entities_data_access/jest.config.js (65%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entities_data_access/kibana.jsonc (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entities_data_access/server/index.ts (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entities_data_access/server/plugin.ts (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entities_data_access/server/types.ts (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entities_data_access/tsconfig.json (78%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/README.md (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/jest.config.js (56%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/kibana.jsonc (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/public/application.tsx (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/public/context/plugin_context.ts (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/public/hooks/use_kibana.ts (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/public/hooks/use_plugin_context.ts (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/public/index.ts (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/public/pages/overview/index.tsx (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/public/plugin.ts (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/public/routes.tsx (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/public/types.ts (100%) rename x-pack/solutions/observability/plugins/{observability_solution => }/entity_manager_app/tsconfig.json (88%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d9002f9b4b8fb..3f648c5ea7776 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -96,9 +96,6 @@ packages/core/theme/core-theme-browser-mocks @elastic/kibana-core packages/core/ui-settings/core-ui-settings-browser-mocks @elastic/appex-sharedux packages/core/ui-settings/core-ui-settings-server-mocks @elastic/appex-sharedux packages/core/usage-data/core-usage-data-server-mocks @elastic/kibana-core -packages/core/user-settings/core-user-settings-server @elastic/kibana-security -packages/core/user-settings/core-user-settings-server-internal @elastic/kibana-security -packages/core/user-settings/core-user-settings-server-mocks @elastic/kibana-security packages/kbn-ambient-common-types @elastic/kibana-operations packages/kbn-ambient-ftr-types @elastic/kibana-operations @elastic/appex-qa packages/kbn-ambient-storybook-types @elastic/kibana-operations @@ -110,9 +107,7 @@ packages/kbn-babel-preset @elastic/kibana-operations packages/kbn-babel-register @elastic/kibana-operations packages/kbn-babel-transform @elastic/kibana-operations packages/kbn-bazel-runner @elastic/kibana-operations -packages/kbn-calculate-auto @elastic/obs-ux-management-team packages/kbn-capture-oas-snapshot-cli @elastic/kibana-core -packages/kbn-charts-theme @elastic/kibana-visualizations packages/kbn-check-mappings-update-cli @elastic/kibana-core packages/kbn-check-prod-native-modules-cli @elastic/kibana-operations packages/kbn-ci-stats-core @elastic/kibana-operations @@ -167,7 +162,6 @@ packages/kbn-openapi-bundler @elastic/security-detection-rule-management packages/kbn-openapi-generator @elastic/security-detection-rule-management packages/kbn-optimizer @elastic/kibana-operations packages/kbn-optimizer-webpack-helpers @elastic/kibana-operations -packages/kbn-palettes @elastic/kibana-visualizations packages/kbn-peggy @elastic/kibana-operations packages/kbn-peggy-loader @elastic/kibana-operations packages/kbn-performance-testing-dataset-extractor @elastic/kibana-performance-testing @@ -181,7 +175,6 @@ packages/kbn-repo-linter @elastic/kibana-operations packages/kbn-repo-path @elastic/kibana-operations packages/kbn-repo-source-classifier @elastic/kibana-operations packages/kbn-repo-source-classifier-cli @elastic/kibana-operations -packages/kbn-saved-search-component @elastic/obs-ux-logs-team packages/kbn-scout @elastic/appex-qa packages/kbn-scout-info @elastic/appex-qa packages/kbn-scout-reporting @elastic/appex-qa @@ -199,12 +192,10 @@ packages/kbn-test-subj-selector @elastic/kibana-operations @elastic/appex-qa packages/kbn-tooling-log @elastic/kibana-operations packages/kbn-ts-projects @elastic/kibana-operations packages/kbn-ts-type-check-cli @elastic/kibana-operations -packages/kbn-use-tracked-promise @elastic/obs-ux-logs-team packages/kbn-validate-next-docs-cli @elastic/kibana-operations packages/kbn-web-worker-stub @elastic/kibana-operations packages/kbn-whereis-pkg-cli @elastic/kibana-operations packages/kbn-yarn-lock-validator @elastic/kibana-operations -packages/response-ops/rule_form @elastic/response-ops packages/serverless/storybook/config @elastic/appex-sharedux src/core @elastic/kibana-core src/core/packages/analytics/browser @elastic/kibana-core @@ -355,6 +346,9 @@ src/core/packages/user-profile/common @elastic/kibana-core src/core/packages/user-profile/server @elastic/kibana-core src/core/packages/user-profile/server-internal @elastic/kibana-core src/core/packages/user-profile/server-mocks @elastic/kibana-core +src/core/packages/user-settings/server @elastic/kibana-security +src/core/packages/user-settings/server-internal @elastic/kibana-security +src/core/packages/user-settings/server-mocks @elastic/kibana-security src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations src/platform/packages/private/default-nav/devtools @elastic/kibana-management @@ -440,11 +434,13 @@ src/platform/packages/shared/kbn-analytics @elastic/kibana-core src/platform/packages/shared/kbn-apm-data-view @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-apm-utils @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows +src/platform/packages/shared/kbn-calculate-auto @elastic/obs-ux-management-team src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-cases-components @elastic/response-ops src/platform/packages/shared/kbn-cbor @elastic/kibana-operations src/platform/packages/shared/kbn-cell-actions @elastic/security-threat-hunting-explore src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations +src/platform/packages/shared/kbn-charts-theme @elastic/kibana-visualizations src/platform/packages/shared/kbn-coloring @elastic/kibana-visualizations src/platform/packages/shared/kbn-config @elastic/kibana-core src/platform/packages/shared/kbn-config-schema @elastic/kibana-core @@ -495,6 +491,7 @@ src/platform/packages/shared/kbn-object-versioning @elastic/appex-sharedux src/platform/packages/shared/kbn-object-versioning-utils @elastic/appex-sharedux src/platform/packages/shared/kbn-openapi-common @elastic/security-detection-rule-management src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-management +src/platform/packages/shared/kbn-palettes @elastic/kibana-visualizations src/platform/packages/shared/kbn-profiling-utils @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-react-field @elastic/kibana-data-discovery src/platform/packages/shared/kbn-react-hooks @elastic/obs-ux-logs-team @@ -507,6 +504,7 @@ src/platform/packages/shared/kbn-router-utils @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-rrule @elastic/response-ops src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team src/platform/packages/shared/kbn-safer-lodash-set @elastic/kibana-security +src/platform/packages/shared/kbn-saved-search-component @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-search-api-panels @elastic/search-kibana src/platform/packages/shared/kbn-search-connectors @elastic/search-kibana src/platform/packages/shared/kbn-search-errors @elastic/kibana-data-discovery @@ -539,6 +537,7 @@ src/platform/packages/shared/kbn-unified-data-table @elastic/kibana-data-discove src/platform/packages/shared/kbn-unified-doc-viewer @elastic/kibana-data-discovery src/platform/packages/shared/kbn-unified-field-list @elastic/kibana-data-discovery src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management +src/platform/packages/shared/kbn-use-tracked-promise @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-user-profile-components @elastic/kibana-security src/platform/packages/shared/kbn-utility-types @elastic/kibana-core src/platform/packages/shared/kbn-utility-types-jest @elastic/kibana-operations @@ -556,6 +555,7 @@ src/platform/packages/shared/react/kibana_context/root @elastic/appex-sharedux src/platform/packages/shared/react/kibana_context/styled @elastic/appex-sharedux src/platform/packages/shared/react/kibana_context/theme @elastic/appex-sharedux src/platform/packages/shared/react/kibana_mount @elastic/appex-sharedux +src/platform/packages/shared/response-ops/rule_form @elastic/response-ops src/platform/packages/shared/response-ops/rule_params @elastic/response-ops src/platform/packages/shared/serverless/settings/observability_project @elastic/appex-sharedux @elastic/kibana-management @elastic/obs-ux-management-team src/platform/packages/shared/serverless/settings/search_project @elastic/search-kibana @elastic/kibana-management @@ -753,7 +753,6 @@ x-pack/examples/third_party_vis_lens_example @elastic/kibana-visualizations x-pack/examples/triggers_actions_ui_example @elastic/response-ops x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra -x-pack/packages/kbn-streams-schema @elastic/streams-program-team x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team x-pack/performance @elastic/appex-qa x-pack/platform/packages/private/kbn-alerting-state-types @elastic/response-ops @@ -911,6 +910,7 @@ x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-op x-pack/solutions/observability/packages/kbn-apm-types @elastic/obs-ux-infra_services-team x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/kbn-streams-schema @elastic/streams-program-team 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/solutions/observability/packages/synthetics_test_data @elastic/obs-ux-management-team @@ -920,6 +920,8 @@ x-pack/solutions/observability/packages/utils_server @elastic/observability-ui x-pack/solutions/observability/plugins/apm @elastic/obs-ux-infra_services-team x-pack/solutions/observability/plugins/apm_data_access @elastic/obs-ux-infra_services-team x-pack/solutions/observability/plugins/apm/ftr_e2e @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/entities_data_access @elastic/obs-entities +x-pack/solutions/observability/plugins/entity_manager_app @elastic/obs-entities x-pack/solutions/observability/plugins/exploratory_view @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team x-pack/solutions/observability/plugins/inventory @elastic/obs-ux-infra_services-team @@ -934,8 +936,6 @@ x-pack/solutions/observability/plugins/observability_ai_assistant_management @el x-pack/solutions/observability/plugins/observability_logs_explorer @elastic/obs-ux-logs-team x-pack/solutions/observability/plugins/observability_onboarding @elastic/obs-ux-logs-team x-pack/solutions/observability/plugins/observability_shared @elastic/observability-ui -x-pack/solutions/observability/plugins/observability_solution/entities_data_access @elastic/obs-entities -x-pack/solutions/observability/plugins/observability_solution/entity_manager_app @elastic/obs-entities x-pack/solutions/observability/plugins/profiling @elastic/obs-ux-infra_services-team x-pack/solutions/observability/plugins/profiling_data_access @elastic/obs-ux-infra_services-team x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team diff --git a/.i18nrc.json b/.i18nrc.json index 3e5f8512c3b9d..3701544a1f0a3 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -166,7 +166,7 @@ "unsavedChangesBadge": "src/platform/packages/private/kbn-unsaved-changes-badge", "unsavedChangesPrompt": "src/platform/packages/shared/kbn-unsaved-changes-prompt", "managedContentBadge": "src/platform/packages/private/kbn-managed-content-badge", - "responseOpsRuleForm": "packages/response-ops/rule_form" + "responseOpsRuleForm": "src/platform/packages/shared/response-ops/rule_form" }, "translations": [] } diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 727a3aec35369..ee65cf41cc1b2 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -568,7 +568,7 @@ security and spaces filtering. |This plugin provides Kibana user interfaces for managing the Enterprise Search solution and its products, App Search and Workplace Search. -|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/README.md[entitiesDataAccess] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/entities_data_access/README.md[entitiesDataAccess] |Exposes services to access entities data. @@ -576,7 +576,7 @@ security and spaces filtering. |This plugin provides access to observed entity data, such as information about hosts, pods, containers, services, and more. -|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/README.md[entityManagerApp] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/entity_manager_app/README.md[entityManagerApp] |This plugin provides a user interface to interact with the Entity Manager. diff --git a/package.json b/package.json index 6574dcb706b55..0ca4d9f52e533 100644 --- a/package.json +++ b/package.json @@ -195,7 +195,7 @@ "@kbn/audit-log-plugin": "link:x-pack/test/security_api_integration/plugins/audit_log", "@kbn/avc-banner": "link:src/platform/packages/shared/kbn-avc-banner", "@kbn/banners-plugin": "link:x-pack/platform/plugins/private/banners", - "@kbn/calculate-auto": "link:packages/kbn-calculate-auto", + "@kbn/calculate-auto": "link:src/platform/packages/shared/kbn-calculate-auto", "@kbn/calculate-width-from-char-count": "link:src/platform/packages/shared/kbn-calculate-width-from-char-count", "@kbn/canvas-plugin": "link:x-pack/platform/plugins/private/canvas", "@kbn/cases-api-integration-test-plugin": "link:x-pack/test/cases_api_integration/common/plugins/cases", @@ -206,7 +206,7 @@ "@kbn/chart-expressions-common": "link:src/platform/packages/shared/chart-expressions-common", "@kbn/chart-icons": "link:src/platform/packages/shared/kbn-chart-icons", "@kbn/charts-plugin": "link:src/platform/plugins/shared/charts", - "@kbn/charts-theme": "link:packages/kbn-charts-theme", + "@kbn/charts-theme": "link:src/platform/packages/shared/kbn-charts-theme", "@kbn/cloud": "link:src/platform/packages/shared/cloud", "@kbn/cloud-chat-plugin": "link:x-pack/platform/plugins/private/cloud_integrations/cloud_chat", "@kbn/cloud-data-migration-plugin": "link:x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration", @@ -409,9 +409,9 @@ "@kbn/core-user-profile-server": "link:src/core/packages/user-profile/server", "@kbn/core-user-profile-server-internal": "link:src/core/packages/user-profile/server-internal", "@kbn/core-user-profile-server-mocks": "link:src/core/packages/user-profile/server-mocks", - "@kbn/core-user-settings-server": "link:packages/core/user-settings/core-user-settings-server", - "@kbn/core-user-settings-server-internal": "link:packages/core/user-settings/core-user-settings-server-internal", - "@kbn/core-user-settings-server-mocks": "link:packages/core/user-settings/core-user-settings-server-mocks", + "@kbn/core-user-settings-server": "link:src/core/packages/user-settings/server", + "@kbn/core-user-settings-server-internal": "link:src/core/packages/user-settings/server-internal", + "@kbn/core-user-settings-server-mocks": "link:src/core/packages/user-settings/server-mocks", "@kbn/cross-cluster-replication-plugin": "link:x-pack/platform/plugins/private/cross_cluster_replication", "@kbn/crypto": "link:src/platform/packages/shared/kbn-crypto", "@kbn/crypto-browser": "link:src/platform/packages/shared/kbn-crypto-browser", @@ -475,10 +475,10 @@ "@kbn/embedded-lens-example-plugin": "link:x-pack/examples/embedded_lens_example", "@kbn/encrypted-saved-objects-plugin": "link:x-pack/platform/plugins/shared/encrypted_saved_objects", "@kbn/enterprise-search-plugin": "link:x-pack/solutions/search/plugins/enterprise_search", - "@kbn/entities-data-access-plugin": "link:x-pack/solutions/observability/plugins/observability_solution/entities_data_access", + "@kbn/entities-data-access-plugin": "link:x-pack/solutions/observability/plugins/entities_data_access", "@kbn/entities-schema": "link:x-pack/platform/packages/shared/kbn-entities-schema", "@kbn/entity-manager-fixture-plugin": "link:x-pack/test/api_integration/apis/entity_manager/fixture_plugin", - "@kbn/entityManager-app-plugin": "link:x-pack/solutions/observability/plugins/observability_solution/entity_manager_app", + "@kbn/entityManager-app-plugin": "link:x-pack/solutions/observability/plugins/entity_manager_app", "@kbn/entityManager-plugin": "link:x-pack/platform/plugins/shared/entity_manager", "@kbn/error-boundary-example-plugin": "link:examples/error_boundary", "@kbn/es-errors": "link:src/platform/packages/shared/kbn-es-errors", @@ -715,7 +715,7 @@ "@kbn/osquery-plugin": "link:x-pack/platform/plugins/shared/osquery", "@kbn/paertial-results-example-plugin": "link:examples/partial_results_example", "@kbn/painless-lab-plugin": "link:x-pack/platform/plugins/private/painless_lab", - "@kbn/palettes": "link:packages/kbn-palettes", + "@kbn/palettes": "link:src/platform/packages/shared/kbn-palettes", "@kbn/panel-loader": "link:src/platform/packages/private/kbn-panel-loader", "@kbn/portable-dashboards-example": "link:examples/portable_dashboards_example", "@kbn/preboot-example-plugin": "link:examples/preboot_example", @@ -758,7 +758,7 @@ "@kbn/resizable-layout": "link:src/platform/packages/shared/kbn-resizable-layout", "@kbn/resizable-layout-examples-plugin": "link:examples/resizable_layout_examples", "@kbn/resolver-test-plugin": "link:x-pack/test/plugin_functional/plugins/resolver_test", - "@kbn/response-ops-rule-form": "link:packages/response-ops/rule_form", + "@kbn/response-ops-rule-form": "link:src/platform/packages/shared/response-ops/rule_form", "@kbn/response-ops-rule-params": "link:src/platform/packages/shared/response-ops/rule_params", "@kbn/response-stream-plugin": "link:examples/response_stream", "@kbn/rison": "link:src/platform/packages/shared/kbn-rison", @@ -786,7 +786,7 @@ "@kbn/saved-objects-settings": "link:src/platform/packages/private/kbn-saved-objects-settings", "@kbn/saved-objects-tagging-oss-plugin": "link:src/platform/plugins/shared/saved_objects_tagging_oss", "@kbn/saved-objects-tagging-plugin": "link:x-pack/platform/plugins/shared/saved_objects_tagging", - "@kbn/saved-search-component": "link:packages/kbn-saved-search-component", + "@kbn/saved-search-component": "link:src/platform/packages/shared/kbn-saved-search-component", "@kbn/saved-search-plugin": "link:src/platform/plugins/shared/saved_search", "@kbn/screenshot-mode-example-plugin": "link:examples/screenshot_mode_example", "@kbn/screenshot-mode-plugin": "link:src/platform/plugins/shared/screenshot_mode", @@ -941,7 +941,7 @@ "@kbn/std": "link:src/platform/packages/shared/kbn-std", "@kbn/streams-app-plugin": "link:x-pack/solutions/observability/plugins/streams_app", "@kbn/streams-plugin": "link:x-pack/solutions/observability/plugins/streams", - "@kbn/streams-schema": "link:x-pack/packages/kbn-streams-schema", + "@kbn/streams-schema": "link:x-pack/solutions/observability/packages/kbn-streams-schema", "@kbn/synthetics-plugin": "link:x-pack/solutions/observability/plugins/synthetics", "@kbn/task-manager-fixture-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture", "@kbn/task-manager-performance-plugin": "link:x-pack/test/plugin_api_perf/plugins/task_manager_performance", @@ -994,7 +994,7 @@ "@kbn/url-forwarding-plugin": "link:src/platform/plugins/private/url_forwarding", "@kbn/usage-collection-plugin": "link:src/platform/plugins/shared/usage_collection", "@kbn/usage-collection-test-plugin": "link:test/plugin_functional/plugins/usage_collection", - "@kbn/use-tracked-promise": "link:packages/kbn-use-tracked-promise", + "@kbn/use-tracked-promise": "link:src/platform/packages/shared/kbn-use-tracked-promise", "@kbn/user-profile-components": "link:src/platform/packages/shared/kbn-user-profile-components", "@kbn/user-profile-examples-plugin": "link:examples/user_profile_examples", "@kbn/user-profiles-consumer-plugin": "link:x-pack/test/security_api_integration/plugins/user_profiles_consumer", diff --git a/packages/core/user-settings/core-user-settings-server-internal/README.md b/src/core/packages/user-settings/server-internal/README.md similarity index 100% rename from packages/core/user-settings/core-user-settings-server-internal/README.md rename to src/core/packages/user-settings/server-internal/README.md diff --git a/packages/core/user-settings/core-user-settings-server-internal/index.ts b/src/core/packages/user-settings/server-internal/index.ts similarity index 100% rename from packages/core/user-settings/core-user-settings-server-internal/index.ts rename to src/core/packages/user-settings/server-internal/index.ts diff --git a/packages/kbn-use-tracked-promise/jest.config.js b/src/core/packages/user-settings/server-internal/jest.config.js similarity index 83% rename from packages/kbn-use-tracked-promise/jest.config.js rename to src/core/packages/user-settings/server-internal/jest.config.js index 483e351757a3d..04d29ddfb4e0c 100644 --- a/packages/kbn-use-tracked-promise/jest.config.js +++ b/src/core/packages/user-settings/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-use-tracked-promise'], + rootDir: '../../../../..', + roots: ['/src/core/packages/user-settings/server-internal'], }; diff --git a/packages/core/user-settings/core-user-settings-server-internal/kibana.jsonc b/src/core/packages/user-settings/server-internal/kibana.jsonc similarity index 100% rename from packages/core/user-settings/core-user-settings-server-internal/kibana.jsonc rename to src/core/packages/user-settings/server-internal/kibana.jsonc diff --git a/packages/core/user-settings/core-user-settings-server-internal/package.json b/src/core/packages/user-settings/server-internal/package.json similarity index 100% rename from packages/core/user-settings/core-user-settings-server-internal/package.json rename to src/core/packages/user-settings/server-internal/package.json diff --git a/packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.test.ts b/src/core/packages/user-settings/server-internal/src/user_settings_service.test.ts similarity index 100% rename from packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.test.ts rename to src/core/packages/user-settings/server-internal/src/user_settings_service.test.ts diff --git a/packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.ts b/src/core/packages/user-settings/server-internal/src/user_settings_service.ts similarity index 100% rename from packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.ts rename to src/core/packages/user-settings/server-internal/src/user_settings_service.ts diff --git a/packages/core/user-settings/core-user-settings-server-internal/tsconfig.json b/src/core/packages/user-settings/server-internal/tsconfig.json similarity index 91% rename from packages/core/user-settings/core-user-settings-server-internal/tsconfig.json rename to src/core/packages/user-settings/server-internal/tsconfig.json index 37fbe2fd5cc02..a01b31aa5fd82 100644 --- a/packages/core/user-settings/core-user-settings-server-internal/tsconfig.json +++ b/src/core/packages/user-settings/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/user-settings/core-user-settings-server-mocks/README.md b/src/core/packages/user-settings/server-mocks/README.md similarity index 100% rename from packages/core/user-settings/core-user-settings-server-mocks/README.md rename to src/core/packages/user-settings/server-mocks/README.md diff --git a/packages/core/user-settings/core-user-settings-server-mocks/index.ts b/src/core/packages/user-settings/server-mocks/index.ts similarity index 100% rename from packages/core/user-settings/core-user-settings-server-mocks/index.ts rename to src/core/packages/user-settings/server-mocks/index.ts diff --git a/packages/kbn-calculate-auto/jest.config.js b/src/core/packages/user-settings/server-mocks/jest.config.js similarity index 84% rename from packages/kbn-calculate-auto/jest.config.js rename to src/core/packages/user-settings/server-mocks/jest.config.js index 52cd1e0f6553c..d91eed9f069d4 100644 --- a/packages/kbn-calculate-auto/jest.config.js +++ b/src/core/packages/user-settings/server-mocks/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-calculate-auto'], + rootDir: '../../../../..', + roots: ['/src/core/packages/user-settings/server-mocks'], }; diff --git a/packages/core/user-settings/core-user-settings-server-mocks/kibana.jsonc b/src/core/packages/user-settings/server-mocks/kibana.jsonc similarity index 100% rename from packages/core/user-settings/core-user-settings-server-mocks/kibana.jsonc rename to src/core/packages/user-settings/server-mocks/kibana.jsonc diff --git a/packages/core/user-settings/core-user-settings-server-mocks/package.json b/src/core/packages/user-settings/server-mocks/package.json similarity index 100% rename from packages/core/user-settings/core-user-settings-server-mocks/package.json rename to src/core/packages/user-settings/server-mocks/package.json diff --git a/packages/core/user-settings/core-user-settings-server-mocks/src/user_settings_service.mock.ts b/src/core/packages/user-settings/server-mocks/src/user_settings_service.mock.ts similarity index 100% rename from packages/core/user-settings/core-user-settings-server-mocks/src/user_settings_service.mock.ts rename to src/core/packages/user-settings/server-mocks/src/user_settings_service.mock.ts diff --git a/packages/core/user-settings/core-user-settings-server-mocks/tsconfig.json b/src/core/packages/user-settings/server-mocks/tsconfig.json similarity index 84% rename from packages/core/user-settings/core-user-settings-server-mocks/tsconfig.json rename to src/core/packages/user-settings/server-mocks/tsconfig.json index 09c11388d22c1..cc6f694079c34 100644 --- a/packages/core/user-settings/core-user-settings-server-mocks/tsconfig.json +++ b/src/core/packages/user-settings/server-mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/user-settings/core-user-settings-server/README.md b/src/core/packages/user-settings/server/README.md similarity index 100% rename from packages/core/user-settings/core-user-settings-server/README.md rename to src/core/packages/user-settings/server/README.md diff --git a/packages/core/user-settings/core-user-settings-server/index.ts b/src/core/packages/user-settings/server/index.ts similarity index 100% rename from packages/core/user-settings/core-user-settings-server/index.ts rename to src/core/packages/user-settings/server/index.ts diff --git a/packages/core/user-settings/core-user-settings-server/kibana.jsonc b/src/core/packages/user-settings/server/kibana.jsonc similarity index 100% rename from packages/core/user-settings/core-user-settings-server/kibana.jsonc rename to src/core/packages/user-settings/server/kibana.jsonc diff --git a/packages/core/user-settings/core-user-settings-server/package.json b/src/core/packages/user-settings/server/package.json similarity index 100% rename from packages/core/user-settings/core-user-settings-server/package.json rename to src/core/packages/user-settings/server/package.json diff --git a/packages/core/user-settings/core-user-settings-server/tsconfig.json b/src/core/packages/user-settings/server/tsconfig.json similarity index 79% rename from packages/core/user-settings/core-user-settings-server/tsconfig.json rename to src/core/packages/user-settings/server/tsconfig.json index 931451997d24a..fb05929eb6a5f 100644 --- a/packages/core/user-settings/core-user-settings-server/tsconfig.json +++ b/src/core/packages/user-settings/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/user-settings/core-user-settings-server/types.ts b/src/core/packages/user-settings/server/types.ts similarity index 100% rename from packages/core/user-settings/core-user-settings-server/types.ts rename to src/core/packages/user-settings/server/types.ts diff --git a/packages/kbn-calculate-auto/README.md b/src/platform/packages/shared/kbn-calculate-auto/README.md similarity index 100% rename from packages/kbn-calculate-auto/README.md rename to src/platform/packages/shared/kbn-calculate-auto/README.md diff --git a/packages/kbn-calculate-auto/index.ts b/src/platform/packages/shared/kbn-calculate-auto/index.ts similarity index 100% rename from packages/kbn-calculate-auto/index.ts rename to src/platform/packages/shared/kbn-calculate-auto/index.ts diff --git a/packages/core/user-settings/core-user-settings-server-mocks/jest.config.js b/src/platform/packages/shared/kbn-calculate-auto/jest.config.js similarity index 82% rename from packages/core/user-settings/core-user-settings-server-mocks/jest.config.js rename to src/platform/packages/shared/kbn-calculate-auto/jest.config.js index 9eb21c34a7800..d7a36026adb12 100644 --- a/packages/core/user-settings/core-user-settings-server-mocks/jest.config.js +++ b/src/platform/packages/shared/kbn-calculate-auto/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/user-settings/core-user-settings-server-mocks'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-calculate-auto'], }; diff --git a/packages/kbn-calculate-auto/kibana.jsonc b/src/platform/packages/shared/kbn-calculate-auto/kibana.jsonc similarity index 100% rename from packages/kbn-calculate-auto/kibana.jsonc rename to src/platform/packages/shared/kbn-calculate-auto/kibana.jsonc diff --git a/packages/kbn-calculate-auto/package.json b/src/platform/packages/shared/kbn-calculate-auto/package.json similarity index 100% rename from packages/kbn-calculate-auto/package.json rename to src/platform/packages/shared/kbn-calculate-auto/package.json diff --git a/packages/kbn-calculate-auto/src/calculate_auto.test.ts b/src/platform/packages/shared/kbn-calculate-auto/src/calculate_auto.test.ts similarity index 100% rename from packages/kbn-calculate-auto/src/calculate_auto.test.ts rename to src/platform/packages/shared/kbn-calculate-auto/src/calculate_auto.test.ts diff --git a/packages/kbn-calculate-auto/src/calculate_auto.ts b/src/platform/packages/shared/kbn-calculate-auto/src/calculate_auto.ts similarity index 100% rename from packages/kbn-calculate-auto/src/calculate_auto.ts rename to src/platform/packages/shared/kbn-calculate-auto/src/calculate_auto.ts diff --git a/packages/kbn-calculate-auto/tsconfig.json b/src/platform/packages/shared/kbn-calculate-auto/tsconfig.json similarity index 80% rename from packages/kbn-calculate-auto/tsconfig.json rename to src/platform/packages/shared/kbn-calculate-auto/tsconfig.json index 2f9ddddbeea23..7aba1b1a9378a 100644 --- a/packages/kbn-calculate-auto/tsconfig.json +++ b/src/platform/packages/shared/kbn-calculate-auto/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-charts-theme/README.md b/src/platform/packages/shared/kbn-charts-theme/README.md similarity index 100% rename from packages/kbn-charts-theme/README.md rename to src/platform/packages/shared/kbn-charts-theme/README.md diff --git a/packages/kbn-charts-theme/index.ts b/src/platform/packages/shared/kbn-charts-theme/index.ts similarity index 100% rename from packages/kbn-charts-theme/index.ts rename to src/platform/packages/shared/kbn-charts-theme/index.ts diff --git a/packages/kbn-saved-search-component/jest.config.js b/src/platform/packages/shared/kbn-charts-theme/jest.config.js similarity index 83% rename from packages/kbn-saved-search-component/jest.config.js rename to src/platform/packages/shared/kbn-charts-theme/jest.config.js index dedff3f69781d..2f40c39f3858a 100644 --- a/packages/kbn-saved-search-component/jest.config.js +++ b/src/platform/packages/shared/kbn-charts-theme/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-saved-search-component'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-charts-theme'], }; diff --git a/packages/kbn-charts-theme/kibana.jsonc b/src/platform/packages/shared/kbn-charts-theme/kibana.jsonc similarity index 100% rename from packages/kbn-charts-theme/kibana.jsonc rename to src/platform/packages/shared/kbn-charts-theme/kibana.jsonc diff --git a/packages/kbn-charts-theme/package.json b/src/platform/packages/shared/kbn-charts-theme/package.json similarity index 100% rename from packages/kbn-charts-theme/package.json rename to src/platform/packages/shared/kbn-charts-theme/package.json diff --git a/packages/kbn-charts-theme/tsconfig.json b/src/platform/packages/shared/kbn-charts-theme/tsconfig.json similarity index 82% rename from packages/kbn-charts-theme/tsconfig.json rename to src/platform/packages/shared/kbn-charts-theme/tsconfig.json index 87f865132f4b4..447899d604592 100644 --- a/packages/kbn-charts-theme/tsconfig.json +++ b/src/platform/packages/shared/kbn-charts-theme/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-palettes/README.md b/src/platform/packages/shared/kbn-palettes/README.md similarity index 100% rename from packages/kbn-palettes/README.md rename to src/platform/packages/shared/kbn-palettes/README.md diff --git a/packages/kbn-palettes/classes/categorical_palette.ts b/src/platform/packages/shared/kbn-palettes/classes/categorical_palette.ts similarity index 100% rename from packages/kbn-palettes/classes/categorical_palette.ts rename to src/platform/packages/shared/kbn-palettes/classes/categorical_palette.ts diff --git a/packages/kbn-palettes/classes/color_fn_palette.ts b/src/platform/packages/shared/kbn-palettes/classes/color_fn_palette.ts similarity index 100% rename from packages/kbn-palettes/classes/color_fn_palette.ts rename to src/platform/packages/shared/kbn-palettes/classes/color_fn_palette.ts diff --git a/packages/kbn-palettes/classes/index.ts b/src/platform/packages/shared/kbn-palettes/classes/index.ts similarity index 100% rename from packages/kbn-palettes/classes/index.ts rename to src/platform/packages/shared/kbn-palettes/classes/index.ts diff --git a/packages/kbn-palettes/classes/palette.ts b/src/platform/packages/shared/kbn-palettes/classes/palette.ts similarity index 100% rename from packages/kbn-palettes/classes/palette.ts rename to src/platform/packages/shared/kbn-palettes/classes/palette.ts diff --git a/packages/kbn-palettes/classes/palettes.ts b/src/platform/packages/shared/kbn-palettes/classes/palettes.ts similarity index 100% rename from packages/kbn-palettes/classes/palettes.ts rename to src/platform/packages/shared/kbn-palettes/classes/palettes.ts diff --git a/packages/kbn-palettes/classes/types.ts b/src/platform/packages/shared/kbn-palettes/classes/types.ts similarity index 100% rename from packages/kbn-palettes/classes/types.ts rename to src/platform/packages/shared/kbn-palettes/classes/types.ts diff --git a/packages/kbn-palettes/constants.ts b/src/platform/packages/shared/kbn-palettes/constants.ts similarity index 100% rename from packages/kbn-palettes/constants.ts rename to src/platform/packages/shared/kbn-palettes/constants.ts diff --git a/packages/kbn-palettes/hooks/index.ts b/src/platform/packages/shared/kbn-palettes/hooks/index.ts similarity index 100% rename from packages/kbn-palettes/hooks/index.ts rename to src/platform/packages/shared/kbn-palettes/hooks/index.ts diff --git a/packages/kbn-palettes/hooks/use_kbn_palettes.ts b/src/platform/packages/shared/kbn-palettes/hooks/use_kbn_palettes.ts similarity index 100% rename from packages/kbn-palettes/hooks/use_kbn_palettes.ts rename to src/platform/packages/shared/kbn-palettes/hooks/use_kbn_palettes.ts diff --git a/packages/kbn-palettes/index.ts b/src/platform/packages/shared/kbn-palettes/index.ts similarity index 100% rename from packages/kbn-palettes/index.ts rename to src/platform/packages/shared/kbn-palettes/index.ts diff --git a/packages/kbn-palettes/jest.config.js b/src/platform/packages/shared/kbn-palettes/jest.config.js similarity index 84% rename from packages/kbn-palettes/jest.config.js rename to src/platform/packages/shared/kbn-palettes/jest.config.js index ba851fd1d70fa..5a14fc605e3ff 100644 --- a/packages/kbn-palettes/jest.config.js +++ b/src/platform/packages/shared/kbn-palettes/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-palettes'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-palettes'], }; diff --git a/packages/kbn-palettes/kibana.jsonc b/src/platform/packages/shared/kbn-palettes/kibana.jsonc similarity index 100% rename from packages/kbn-palettes/kibana.jsonc rename to src/platform/packages/shared/kbn-palettes/kibana.jsonc diff --git a/packages/kbn-palettes/package.json b/src/platform/packages/shared/kbn-palettes/package.json similarity index 100% rename from packages/kbn-palettes/package.json rename to src/platform/packages/shared/kbn-palettes/package.json diff --git a/packages/kbn-palettes/palettes/categorical/elastic.ts b/src/platform/packages/shared/kbn-palettes/palettes/categorical/elastic.ts similarity index 100% rename from packages/kbn-palettes/palettes/categorical/elastic.ts rename to src/platform/packages/shared/kbn-palettes/palettes/categorical/elastic.ts diff --git a/packages/kbn-palettes/palettes/categorical/index.ts b/src/platform/packages/shared/kbn-palettes/palettes/categorical/index.ts similarity index 100% rename from packages/kbn-palettes/palettes/categorical/index.ts rename to src/platform/packages/shared/kbn-palettes/palettes/categorical/index.ts diff --git a/packages/kbn-palettes/palettes/categorical/neutral.ts b/src/platform/packages/shared/kbn-palettes/palettes/categorical/neutral.ts similarity index 100% rename from packages/kbn-palettes/palettes/categorical/neutral.ts rename to src/platform/packages/shared/kbn-palettes/palettes/categorical/neutral.ts diff --git a/packages/kbn-palettes/palettes/get_kbn_palettes.ts b/src/platform/packages/shared/kbn-palettes/palettes/get_kbn_palettes.ts similarity index 100% rename from packages/kbn-palettes/palettes/get_kbn_palettes.ts rename to src/platform/packages/shared/kbn-palettes/palettes/get_kbn_palettes.ts diff --git a/packages/kbn-palettes/palettes/gradient/complementary.ts b/src/platform/packages/shared/kbn-palettes/palettes/gradient/complementary.ts similarity index 100% rename from packages/kbn-palettes/palettes/gradient/complementary.ts rename to src/platform/packages/shared/kbn-palettes/palettes/gradient/complementary.ts diff --git a/packages/kbn-palettes/palettes/gradient/cool.ts b/src/platform/packages/shared/kbn-palettes/palettes/gradient/cool.ts similarity index 100% rename from packages/kbn-palettes/palettes/gradient/cool.ts rename to src/platform/packages/shared/kbn-palettes/palettes/gradient/cool.ts diff --git a/packages/kbn-palettes/palettes/gradient/gray.ts b/src/platform/packages/shared/kbn-palettes/palettes/gradient/gray.ts similarity index 100% rename from packages/kbn-palettes/palettes/gradient/gray.ts rename to src/platform/packages/shared/kbn-palettes/palettes/gradient/gray.ts diff --git a/packages/kbn-palettes/palettes/gradient/green.ts b/src/platform/packages/shared/kbn-palettes/palettes/gradient/green.ts similarity index 100% rename from packages/kbn-palettes/palettes/gradient/green.ts rename to src/platform/packages/shared/kbn-palettes/palettes/gradient/green.ts diff --git a/packages/kbn-palettes/palettes/gradient/index.ts b/src/platform/packages/shared/kbn-palettes/palettes/gradient/index.ts similarity index 100% rename from packages/kbn-palettes/palettes/gradient/index.ts rename to src/platform/packages/shared/kbn-palettes/palettes/gradient/index.ts diff --git a/packages/kbn-palettes/palettes/gradient/red.ts b/src/platform/packages/shared/kbn-palettes/palettes/gradient/red.ts similarity index 100% rename from packages/kbn-palettes/palettes/gradient/red.ts rename to src/platform/packages/shared/kbn-palettes/palettes/gradient/red.ts diff --git a/packages/kbn-palettes/palettes/gradient/status.ts b/src/platform/packages/shared/kbn-palettes/palettes/gradient/status.ts similarity index 100% rename from packages/kbn-palettes/palettes/gradient/status.ts rename to src/platform/packages/shared/kbn-palettes/palettes/gradient/status.ts diff --git a/packages/kbn-palettes/palettes/gradient/temperature.ts b/src/platform/packages/shared/kbn-palettes/palettes/gradient/temperature.ts similarity index 100% rename from packages/kbn-palettes/palettes/gradient/temperature.ts rename to src/platform/packages/shared/kbn-palettes/palettes/gradient/temperature.ts diff --git a/packages/kbn-palettes/palettes/gradient/warm.ts b/src/platform/packages/shared/kbn-palettes/palettes/gradient/warm.ts similarity index 100% rename from packages/kbn-palettes/palettes/gradient/warm.ts rename to src/platform/packages/shared/kbn-palettes/palettes/gradient/warm.ts diff --git a/packages/kbn-palettes/palettes/index.ts b/src/platform/packages/shared/kbn-palettes/palettes/index.ts similarity index 100% rename from packages/kbn-palettes/palettes/index.ts rename to src/platform/packages/shared/kbn-palettes/palettes/index.ts diff --git a/packages/kbn-palettes/palettes/legacy/categorical/elastic_classic.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/elastic_classic.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/categorical/elastic_classic.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/elastic_classic.ts diff --git a/packages/kbn-palettes/palettes/legacy/categorical/index.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/index.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/categorical/index.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/index.ts diff --git a/packages/kbn-palettes/palettes/legacy/categorical/kibana_4.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/kibana_4.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/categorical/kibana_4.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/kibana_4.ts diff --git a/packages/kbn-palettes/palettes/legacy/categorical/kibana_7.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/kibana_7.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/categorical/kibana_7.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/kibana_7.ts diff --git a/packages/kbn-palettes/palettes/legacy/categorical/kibana_7_behind_text.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/kibana_7_behind_text.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/categorical/kibana_7_behind_text.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/kibana_7_behind_text.ts diff --git a/packages/kbn-palettes/palettes/legacy/categorical/neutral.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/neutral.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/categorical/neutral.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/categorical/neutral.ts diff --git a/packages/kbn-palettes/palettes/legacy/gradient/complementary.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/complementary.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/gradient/complementary.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/complementary.ts diff --git a/packages/kbn-palettes/palettes/legacy/gradient/cool.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/cool.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/gradient/cool.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/cool.ts diff --git a/packages/kbn-palettes/palettes/legacy/gradient/gray.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/gray.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/gradient/gray.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/gray.ts diff --git a/packages/kbn-palettes/palettes/legacy/gradient/green.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/green.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/gradient/green.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/green.ts diff --git a/packages/kbn-palettes/palettes/legacy/gradient/index.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/index.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/gradient/index.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/index.ts diff --git a/packages/kbn-palettes/palettes/legacy/gradient/red.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/red.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/gradient/red.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/red.ts diff --git a/packages/kbn-palettes/palettes/legacy/gradient/status.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/status.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/gradient/status.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/status.ts diff --git a/packages/kbn-palettes/palettes/legacy/gradient/temperature.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/temperature.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/gradient/temperature.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/temperature.ts diff --git a/packages/kbn-palettes/palettes/legacy/gradient/warm.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/warm.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/gradient/warm.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/gradient/warm.ts diff --git a/packages/kbn-palettes/palettes/legacy/index.ts b/src/platform/packages/shared/kbn-palettes/palettes/legacy/index.ts similarity index 100% rename from packages/kbn-palettes/palettes/legacy/index.ts rename to src/platform/packages/shared/kbn-palettes/palettes/legacy/index.ts diff --git a/packages/kbn-palettes/palettes/semantic/index.ts b/src/platform/packages/shared/kbn-palettes/palettes/semantic/index.ts similarity index 100% rename from packages/kbn-palettes/palettes/semantic/index.ts rename to src/platform/packages/shared/kbn-palettes/palettes/semantic/index.ts diff --git a/packages/kbn-palettes/palettes/semantic/log_level.ts b/src/platform/packages/shared/kbn-palettes/palettes/semantic/log_level.ts similarity index 100% rename from packages/kbn-palettes/palettes/semantic/log_level.ts rename to src/platform/packages/shared/kbn-palettes/palettes/semantic/log_level.ts diff --git a/packages/kbn-palettes/tsconfig.json b/src/platform/packages/shared/kbn-palettes/tsconfig.json similarity index 85% rename from packages/kbn-palettes/tsconfig.json rename to src/platform/packages/shared/kbn-palettes/tsconfig.json index 546dace9495b5..38f95e7b77093 100644 --- a/packages/kbn-palettes/tsconfig.json +++ b/src/platform/packages/shared/kbn-palettes/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-saved-search-component/README.md b/src/platform/packages/shared/kbn-saved-search-component/README.md similarity index 100% rename from packages/kbn-saved-search-component/README.md rename to src/platform/packages/shared/kbn-saved-search-component/README.md diff --git a/packages/kbn-saved-search-component/index.ts b/src/platform/packages/shared/kbn-saved-search-component/index.ts similarity index 100% rename from packages/kbn-saved-search-component/index.ts rename to src/platform/packages/shared/kbn-saved-search-component/index.ts diff --git a/packages/kbn-charts-theme/jest.config.js b/src/platform/packages/shared/kbn-saved-search-component/jest.config.js similarity index 82% rename from packages/kbn-charts-theme/jest.config.js rename to src/platform/packages/shared/kbn-saved-search-component/jest.config.js index 9216db5e10b6b..e05e737057b62 100644 --- a/packages/kbn-charts-theme/jest.config.js +++ b/src/platform/packages/shared/kbn-saved-search-component/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-charts-theme'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-saved-search-component'], }; diff --git a/packages/kbn-saved-search-component/kibana.jsonc b/src/platform/packages/shared/kbn-saved-search-component/kibana.jsonc similarity index 100% rename from packages/kbn-saved-search-component/kibana.jsonc rename to src/platform/packages/shared/kbn-saved-search-component/kibana.jsonc diff --git a/packages/kbn-saved-search-component/package.json b/src/platform/packages/shared/kbn-saved-search-component/package.json similarity index 100% rename from packages/kbn-saved-search-component/package.json rename to src/platform/packages/shared/kbn-saved-search-component/package.json diff --git a/packages/kbn-saved-search-component/src/components/error.tsx b/src/platform/packages/shared/kbn-saved-search-component/src/components/error.tsx similarity index 100% rename from packages/kbn-saved-search-component/src/components/error.tsx rename to src/platform/packages/shared/kbn-saved-search-component/src/components/error.tsx diff --git a/packages/kbn-saved-search-component/src/components/saved_search.tsx b/src/platform/packages/shared/kbn-saved-search-component/src/components/saved_search.tsx similarity index 100% rename from packages/kbn-saved-search-component/src/components/saved_search.tsx rename to src/platform/packages/shared/kbn-saved-search-component/src/components/saved_search.tsx diff --git a/packages/kbn-saved-search-component/src/types.ts b/src/platform/packages/shared/kbn-saved-search-component/src/types.ts similarity index 100% rename from packages/kbn-saved-search-component/src/types.ts rename to src/platform/packages/shared/kbn-saved-search-component/src/types.ts diff --git a/packages/kbn-saved-search-component/tsconfig.json b/src/platform/packages/shared/kbn-saved-search-component/tsconfig.json similarity index 90% rename from packages/kbn-saved-search-component/tsconfig.json rename to src/platform/packages/shared/kbn-saved-search-component/tsconfig.json index 299d561ae4d7b..2fc2b3d2e9b53 100644 --- a/packages/kbn-saved-search-component/tsconfig.json +++ b/src/platform/packages/shared/kbn-saved-search-component/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-use-tracked-promise/README.md b/src/platform/packages/shared/kbn-use-tracked-promise/README.md similarity index 100% rename from packages/kbn-use-tracked-promise/README.md rename to src/platform/packages/shared/kbn-use-tracked-promise/README.md diff --git a/packages/kbn-use-tracked-promise/index.ts b/src/platform/packages/shared/kbn-use-tracked-promise/index.ts similarity index 100% rename from packages/kbn-use-tracked-promise/index.ts rename to src/platform/packages/shared/kbn-use-tracked-promise/index.ts diff --git a/packages/core/user-settings/core-user-settings-server-internal/jest.config.js b/src/platform/packages/shared/kbn-use-tracked-promise/jest.config.js similarity index 82% rename from packages/core/user-settings/core-user-settings-server-internal/jest.config.js rename to src/platform/packages/shared/kbn-use-tracked-promise/jest.config.js index f25dd4e1a7ae7..031c20f262a6a 100644 --- a/packages/core/user-settings/core-user-settings-server-internal/jest.config.js +++ b/src/platform/packages/shared/kbn-use-tracked-promise/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/user-settings/core-user-settings-server-internal'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-use-tracked-promise'], }; diff --git a/packages/kbn-use-tracked-promise/kibana.jsonc b/src/platform/packages/shared/kbn-use-tracked-promise/kibana.jsonc similarity index 100% rename from packages/kbn-use-tracked-promise/kibana.jsonc rename to src/platform/packages/shared/kbn-use-tracked-promise/kibana.jsonc diff --git a/packages/kbn-use-tracked-promise/package.json b/src/platform/packages/shared/kbn-use-tracked-promise/package.json similarity index 100% rename from packages/kbn-use-tracked-promise/package.json rename to src/platform/packages/shared/kbn-use-tracked-promise/package.json diff --git a/packages/kbn-use-tracked-promise/tsconfig.json b/src/platform/packages/shared/kbn-use-tracked-promise/tsconfig.json similarity index 80% rename from packages/kbn-use-tracked-promise/tsconfig.json rename to src/platform/packages/shared/kbn-use-tracked-promise/tsconfig.json index 2f9ddddbeea23..7aba1b1a9378a 100644 --- a/packages/kbn-use-tracked-promise/tsconfig.json +++ b/src/platform/packages/shared/kbn-use-tracked-promise/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-use-tracked-promise/use_tracked_promise.ts b/src/platform/packages/shared/kbn-use-tracked-promise/use_tracked_promise.ts similarity index 100% rename from packages/kbn-use-tracked-promise/use_tracked_promise.ts rename to src/platform/packages/shared/kbn-use-tracked-promise/use_tracked_promise.ts diff --git a/packages/response-ops/rule_form/README.md b/src/platform/packages/shared/response-ops/rule_form/README.md similarity index 100% rename from packages/response-ops/rule_form/README.md rename to src/platform/packages/shared/response-ops/rule_form/README.md diff --git a/packages/response-ops/rule_form/index.ts b/src/platform/packages/shared/response-ops/rule_form/index.ts similarity index 100% rename from packages/response-ops/rule_form/index.ts rename to src/platform/packages/shared/response-ops/rule_form/index.ts diff --git a/packages/response-ops/rule_form/jest.config.js b/src/platform/packages/shared/response-ops/rule_form/jest.config.js similarity index 69% rename from packages/response-ops/rule_form/jest.config.js rename to src/platform/packages/shared/response-ops/rule_form/jest.config.js index babc1df67680c..91e0da8a4f871 100644 --- a/packages/response-ops/rule_form/jest.config.js +++ b/src/platform/packages/shared/response-ops/rule_form/jest.config.js @@ -9,7 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/response-ops/rule_form'], - setupFilesAfterEnv: ['/packages/response-ops/rule_form/setup_tests.ts'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/response-ops/rule_form'], + setupFilesAfterEnv: [ + '/src/platform/packages/shared/response-ops/rule_form/setup_tests.ts', + ], }; diff --git a/packages/response-ops/rule_form/kibana.jsonc b/src/platform/packages/shared/response-ops/rule_form/kibana.jsonc similarity index 100% rename from packages/response-ops/rule_form/kibana.jsonc rename to src/platform/packages/shared/response-ops/rule_form/kibana.jsonc diff --git a/packages/response-ops/rule_form/package.json b/src/platform/packages/shared/response-ops/rule_form/package.json similarity index 100% rename from packages/response-ops/rule_form/package.json rename to src/platform/packages/shared/response-ops/rule_form/package.json diff --git a/packages/response-ops/rule_form/setup_tests.ts b/src/platform/packages/shared/response-ops/rule_form/setup_tests.ts similarity index 100% rename from packages/response-ops/rule_form/setup_tests.ts rename to src/platform/packages/shared/response-ops/rule_form/setup_tests.ts diff --git a/packages/response-ops/rule_form/src/common/apis/create_rule/create_rule.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/create_rule.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/create_rule/create_rule.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/create_rule.test.ts diff --git a/packages/response-ops/rule_form/src/common/apis/create_rule/create_rule.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/create_rule.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/create_rule/create_rule.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/create_rule.ts diff --git a/packages/response-ops/rule_form/src/common/apis/create_rule/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/create_rule/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/index.ts diff --git a/packages/response-ops/rule_form/src/common/apis/create_rule/transform_create_rule_body.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/transform_create_rule_body.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/create_rule/transform_create_rule_body.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/transform_create_rule_body.test.ts diff --git a/packages/response-ops/rule_form/src/common/apis/create_rule/transform_create_rule_body.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/transform_create_rule_body.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/create_rule/transform_create_rule_body.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/transform_create_rule_body.ts diff --git a/packages/response-ops/rule_form/src/common/apis/create_rule/types.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/types.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/create_rule/types.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/create_rule/types.ts diff --git a/packages/response-ops/rule_form/src/common/apis/fetch_rule_types.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/fetch_rule_types.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/fetch_rule_types.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/fetch_rule_types.ts diff --git a/packages/response-ops/rule_form/src/common/apis/fetch_ui_config/fetch_ui_config.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/fetch_ui_config/fetch_ui_config.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/fetch_ui_config/fetch_ui_config.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/fetch_ui_config/fetch_ui_config.test.ts diff --git a/packages/response-ops/rule_form/src/common/apis/fetch_ui_config/fetch_ui_config.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/fetch_ui_config/fetch_ui_config.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/fetch_ui_config/fetch_ui_config.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/fetch_ui_config/fetch_ui_config.ts diff --git a/packages/response-ops/rule_form/src/common/apis/fetch_ui_config/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/fetch_ui_config/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/fetch_ui_config/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/fetch_ui_config/index.ts diff --git a/packages/response-ops/rule_form/src/common/apis/fetch_ui_config/types.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/fetch_ui_config/types.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/fetch_ui_config/types.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/fetch_ui_config/types.ts diff --git a/packages/response-ops/rule_form/src/common/apis/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/index.ts diff --git a/packages/response-ops/rule_form/src/common/apis/resolve_rule/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/resolve_rule/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/resolve_rule/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/resolve_rule/index.ts diff --git a/packages/response-ops/rule_form/src/common/apis/resolve_rule/resolve_rule.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/resolve_rule/resolve_rule.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/resolve_rule/resolve_rule.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/resolve_rule/resolve_rule.test.ts diff --git a/packages/response-ops/rule_form/src/common/apis/resolve_rule/resolve_rule.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/resolve_rule/resolve_rule.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/resolve_rule/resolve_rule.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/resolve_rule/resolve_rule.ts diff --git a/packages/response-ops/rule_form/src/common/apis/update_rule/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/update_rule/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/index.ts diff --git a/packages/response-ops/rule_form/src/common/apis/update_rule/transform_update_rule_body.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/transform_update_rule_body.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/update_rule/transform_update_rule_body.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/transform_update_rule_body.test.ts diff --git a/packages/response-ops/rule_form/src/common/apis/update_rule/transform_update_rule_body.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/transform_update_rule_body.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/update_rule/transform_update_rule_body.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/transform_update_rule_body.ts diff --git a/packages/response-ops/rule_form/src/common/apis/update_rule/types.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/types.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/update_rule/types.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/types.ts diff --git a/packages/response-ops/rule_form/src/common/apis/update_rule/update_rule.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/update_rule.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/update_rule/update_rule.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/update_rule.test.ts diff --git a/packages/response-ops/rule_form/src/common/apis/update_rule/update_rule.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/update_rule.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/apis/update_rule/update_rule.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/apis/update_rule/update_rule.ts diff --git a/packages/response-ops/rule_form/src/common/hooks/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/index.ts diff --git a/packages/response-ops/rule_form/src/common/hooks/use_create_rule.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_create_rule.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_create_rule.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_create_rule.test.tsx diff --git a/packages/response-ops/rule_form/src/common/hooks/use_create_rule.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_create_rule.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_create_rule.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_create_rule.ts diff --git a/packages/response-ops/rule_form/src/common/hooks/use_load_connector_types.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_connector_types.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_load_connector_types.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_connector_types.test.tsx diff --git a/packages/response-ops/rule_form/src/common/hooks/use_load_connector_types.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_connector_types.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_load_connector_types.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_connector_types.ts diff --git a/packages/response-ops/rule_form/src/common/hooks/use_load_connectors.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_connectors.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_load_connectors.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_connectors.test.tsx diff --git a/packages/response-ops/rule_form/src/common/hooks/use_load_connectors.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_connectors.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_load_connectors.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_connectors.ts diff --git a/packages/response-ops/rule_form/src/common/hooks/use_load_rule_type_aad_template_fields.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_rule_type_aad_template_fields.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_load_rule_type_aad_template_fields.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_rule_type_aad_template_fields.test.tsx diff --git a/packages/response-ops/rule_form/src/common/hooks/use_load_rule_type_aad_template_fields.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_rule_type_aad_template_fields.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_load_rule_type_aad_template_fields.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_rule_type_aad_template_fields.ts diff --git a/packages/response-ops/rule_form/src/common/hooks/use_load_ui_config.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_ui_config.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_load_ui_config.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_load_ui_config.ts diff --git a/packages/response-ops/rule_form/src/common/hooks/use_resolve_rule.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_resolve_rule.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_resolve_rule.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_resolve_rule.test.tsx diff --git a/packages/response-ops/rule_form/src/common/hooks/use_resolve_rule.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_resolve_rule.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_resolve_rule.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_resolve_rule.ts diff --git a/packages/response-ops/rule_form/src/common/hooks/use_update_rule.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_update_rule.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_update_rule.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_update_rule.test.tsx diff --git a/packages/response-ops/rule_form/src/common/hooks/use_update_rule.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_update_rule.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/hooks/use_update_rule.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/hooks/use_update_rule.ts diff --git a/packages/response-ops/rule_form/src/common/i18n.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/i18n.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/i18n.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/i18n.ts diff --git a/packages/response-ops/rule_form/src/common/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/index.ts diff --git a/packages/response-ops/rule_form/src/common/test_utils/actions_test_utils.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/test_utils/actions_test_utils.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/test_utils/actions_test_utils.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/test_utils/actions_test_utils.ts diff --git a/packages/response-ops/rule_form/src/common/transformations/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/transformations/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/transformations/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/transformations/index.ts diff --git a/packages/response-ops/rule_form/src/common/transformations/transform_rule.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/transformations/transform_rule.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/transformations/transform_rule.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/transformations/transform_rule.ts diff --git a/packages/response-ops/rule_form/src/common/types/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/common/types/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/common/types/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/common/types/index.ts diff --git a/packages/response-ops/rule_form/src/constants/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/constants/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/constants/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/constants/index.ts diff --git a/packages/response-ops/rule_form/src/constants/routes.ts b/src/platform/packages/shared/response-ops/rule_form/src/constants/routes.ts similarity index 100% rename from packages/response-ops/rule_form/src/constants/routes.ts rename to src/platform/packages/shared/response-ops/rule_form/src/constants/routes.ts diff --git a/packages/response-ops/rule_form/src/constants/rule_flapping.ts b/src/platform/packages/shared/response-ops/rule_form/src/constants/rule_flapping.ts similarity index 100% rename from packages/response-ops/rule_form/src/constants/rule_flapping.ts rename to src/platform/packages/shared/response-ops/rule_form/src/constants/rule_flapping.ts diff --git a/packages/response-ops/rule_form/src/create_rule_form.tsx b/src/platform/packages/shared/response-ops/rule_form/src/create_rule_form.tsx similarity index 100% rename from packages/response-ops/rule_form/src/create_rule_form.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/create_rule_form.tsx diff --git a/packages/response-ops/rule_form/src/edit_rule_form.tsx b/src/platform/packages/shared/response-ops/rule_form/src/edit_rule_form.tsx similarity index 100% rename from packages/response-ops/rule_form/src/edit_rule_form.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/edit_rule_form.tsx diff --git a/packages/response-ops/rule_form/src/hooks/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/hooks/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/hooks/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/hooks/index.ts diff --git a/packages/response-ops/rule_form/src/hooks/use_load_dependencies.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/hooks/use_load_dependencies.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/hooks/use_load_dependencies.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/hooks/use_load_dependencies.test.tsx diff --git a/packages/response-ops/rule_form/src/hooks/use_load_dependencies.ts b/src/platform/packages/shared/response-ops/rule_form/src/hooks/use_load_dependencies.ts similarity index 100% rename from packages/response-ops/rule_form/src/hooks/use_load_dependencies.ts rename to src/platform/packages/shared/response-ops/rule_form/src/hooks/use_load_dependencies.ts diff --git a/packages/response-ops/rule_form/src/hooks/use_rule_form_dispatch.ts b/src/platform/packages/shared/response-ops/rule_form/src/hooks/use_rule_form_dispatch.ts similarity index 100% rename from packages/response-ops/rule_form/src/hooks/use_rule_form_dispatch.ts rename to src/platform/packages/shared/response-ops/rule_form/src/hooks/use_rule_form_dispatch.ts diff --git a/packages/response-ops/rule_form/src/hooks/use_rule_form_state.ts b/src/platform/packages/shared/response-ops/rule_form/src/hooks/use_rule_form_state.ts similarity index 100% rename from packages/response-ops/rule_form/src/hooks/use_rule_form_state.ts rename to src/platform/packages/shared/response-ops/rule_form/src/hooks/use_rule_form_state.ts diff --git a/packages/response-ops/rule_form/src/hooks/use_rule_form_steps.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/hooks/use_rule_form_steps.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/hooks/use_rule_form_steps.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/hooks/use_rule_form_steps.test.tsx diff --git a/packages/response-ops/rule_form/src/hooks/use_rule_form_steps.tsx b/src/platform/packages/shared/response-ops/rule_form/src/hooks/use_rule_form_steps.tsx similarity index 100% rename from packages/response-ops/rule_form/src/hooks/use_rule_form_steps.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/hooks/use_rule_form_steps.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/index.ts diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter_timeframe.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter_timeframe.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter_timeframe.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter_timeframe.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter_timeframe.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter_timeframe.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter_timeframe.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_alerts_filter_timeframe.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_connectors_modal.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_connectors_modal.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_connectors_modal.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_connectors_modal.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_connectors_modal.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_connectors_modal.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_connectors_modal.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_connectors_modal.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_item.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_item.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_item.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_item.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_item.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_item.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_item.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_item.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_message.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_message.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_message.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_message.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_message.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_message.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_message.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_message.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_notify_when.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_notify_when.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_notify_when.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_notify_when.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_notify_when.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_notify_when.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_notify_when.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_notify_when.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_settings.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_settings.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_settings.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_settings.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_settings.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_settings.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_settings.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_settings.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_system_actions_item.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_system_actions_item.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_system_actions_item.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_system_actions_item.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_actions/rule_actions_system_actions_item.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_system_actions_item.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_actions/rule_actions_system_actions_item.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_actions/rule_actions_system_actions_item.tsx diff --git a/packages/response-ops/rule_form/src/rule_definition/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/rule_definition/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/rule_definition/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/rule_definition/index.ts diff --git a/packages/response-ops/rule_form/src/rule_definition/rule_alert_delay.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_alert_delay.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_definition/rule_alert_delay.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_alert_delay.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_definition/rule_alert_delay.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_alert_delay.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_definition/rule_alert_delay.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_alert_delay.tsx diff --git a/packages/response-ops/rule_form/src/rule_definition/rule_consumer_selection.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_consumer_selection.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_definition/rule_consumer_selection.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_consumer_selection.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_definition/rule_consumer_selection.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_consumer_selection.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_definition/rule_consumer_selection.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_consumer_selection.tsx diff --git a/packages/response-ops/rule_form/src/rule_definition/rule_definition.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_definition.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_definition/rule_definition.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_definition.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_definition/rule_definition.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_definition.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_definition/rule_definition.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_definition.tsx diff --git a/packages/response-ops/rule_form/src/rule_definition/rule_schedule.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_schedule.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_definition/rule_schedule.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_schedule.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_definition/rule_schedule.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_schedule.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_definition/rule_schedule.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_definition/rule_schedule.tsx diff --git a/packages/response-ops/rule_form/src/rule_details/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/rule_details/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/rule_details/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/rule_details/index.ts diff --git a/packages/response-ops/rule_form/src/rule_details/rule_details.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_details/rule_details.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_details/rule_details.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_details/rule_details.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_details/rule_details.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_details/rule_details.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_details/rule_details.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_details/rule_details.tsx diff --git a/packages/response-ops/rule_form/src/rule_form.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_errors/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_errors/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/index.ts diff --git a/packages/response-ops/rule_form/src/rule_form_errors/rule_form_action_permission_error.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_action_permission_error.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_errors/rule_form_action_permission_error.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_action_permission_error.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_errors/rule_form_circuit_breaker_error.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_circuit_breaker_error.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_errors/rule_form_circuit_breaker_error.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_circuit_breaker_error.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_errors/rule_form_circuit_breaker_error.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_circuit_breaker_error.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_errors/rule_form_circuit_breaker_error.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_circuit_breaker_error.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_errors/rule_form_error_prompt_wrapper.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_error_prompt_wrapper.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_errors/rule_form_error_prompt_wrapper.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_error_prompt_wrapper.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_errors/rule_form_health_check_error.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_health_check_error.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_errors/rule_form_health_check_error.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_health_check_error.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_errors/rule_form_health_check_error.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_health_check_error.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_errors/rule_form_health_check_error.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_health_check_error.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_errors/rule_form_resolve_rule_error.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_resolve_rule_error.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_errors/rule_form_resolve_rule_error.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_resolve_rule_error.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_errors/rule_form_rule_type_error.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_rule_type_error.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_errors/rule_form_rule_type_error.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_errors/rule_form_rule_type_error.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_state/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_state/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_state/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_state/index.ts diff --git a/packages/response-ops/rule_form/src/rule_form_state/rule_form_state_context.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_state/rule_form_state_context.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_state/rule_form_state_context.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_state/rule_form_state_context.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_state/rule_form_state_provider.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_state/rule_form_state_provider.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_state/rule_form_state_provider.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_state/rule_form_state_provider.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_state/rule_form_state_reducer.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_state/rule_form_state_reducer.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_state/rule_form_state_reducer.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_state/rule_form_state_reducer.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_form_state/rule_form_state_reducer.ts b/src/platform/packages/shared/response-ops/rule_form/src/rule_form_state/rule_form_state_reducer.ts similarity index 100% rename from packages/response-ops/rule_form/src/rule_form_state/rule_form_state_reducer.ts rename to src/platform/packages/shared/response-ops/rule_form/src/rule_form_state/rule_form_state_reducer.ts diff --git a/packages/response-ops/rule_form/src/rule_page/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/rule_page/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/rule_page/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/rule_page/index.ts diff --git a/packages/response-ops/rule_form/src/rule_page/rule_page.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_page/rule_page.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_page/rule_page.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_page/rule_page.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page.tsx diff --git a/packages/response-ops/rule_form/src/rule_page/rule_page_confirm_create_rule.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_confirm_create_rule.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_page/rule_page_confirm_create_rule.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_confirm_create_rule.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_page/rule_page_confirm_create_rule.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_confirm_create_rule.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_page/rule_page_confirm_create_rule.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_confirm_create_rule.tsx diff --git a/packages/response-ops/rule_form/src/rule_page/rule_page_footer.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_footer.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_page/rule_page_footer.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_footer.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_page/rule_page_footer.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_footer.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_page/rule_page_footer.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_footer.tsx diff --git a/packages/response-ops/rule_form/src/rule_page/rule_page_name_input.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_name_input.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_page/rule_page_name_input.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_name_input.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_page/rule_page_name_input.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_name_input.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_page/rule_page_name_input.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_name_input.tsx diff --git a/packages/response-ops/rule_form/src/rule_page/rule_page_show_request_modal.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_show_request_modal.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_page/rule_page_show_request_modal.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_show_request_modal.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_page/rule_page_show_request_modal.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_show_request_modal.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_page/rule_page_show_request_modal.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_page/rule_page_show_request_modal.tsx diff --git a/packages/response-ops/rule_form/src/rule_type_modal/components/helpers/filter_and_count_rule_types.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/helpers/filter_and_count_rule_types.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/rule_type_modal/components/helpers/filter_and_count_rule_types.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/helpers/filter_and_count_rule_types.test.ts diff --git a/packages/response-ops/rule_form/src/rule_type_modal/components/helpers/filter_and_count_rule_types.ts b/src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/helpers/filter_and_count_rule_types.ts similarity index 100% rename from packages/response-ops/rule_form/src/rule_type_modal/components/helpers/filter_and_count_rule_types.ts rename to src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/helpers/filter_and_count_rule_types.ts diff --git a/packages/response-ops/rule_form/src/rule_type_modal/components/index.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/index.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_type_modal/components/index.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/index.tsx diff --git a/packages/response-ops/rule_form/src/rule_type_modal/components/rule_type_list.test.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/rule_type_list.test.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_type_modal/components/rule_type_list.test.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/rule_type_list.test.tsx diff --git a/packages/response-ops/rule_form/src/rule_type_modal/components/rule_type_list.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/rule_type_list.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_type_modal/components/rule_type_list.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/rule_type_list.tsx diff --git a/packages/response-ops/rule_form/src/rule_type_modal/components/rule_type_modal.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/rule_type_modal.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_type_modal/components/rule_type_modal.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/components/rule_type_modal.tsx diff --git a/packages/response-ops/rule_form/src/rule_type_modal/index.tsx b/src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/index.tsx similarity index 100% rename from packages/response-ops/rule_form/src/rule_type_modal/index.tsx rename to src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/index.tsx diff --git a/packages/response-ops/rule_form/src/rule_type_modal/types.ts b/src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/types.ts similarity index 100% rename from packages/response-ops/rule_form/src/rule_type_modal/types.ts rename to src/platform/packages/shared/response-ops/rule_form/src/rule_type_modal/types.ts diff --git a/packages/response-ops/rule_form/src/translations.ts b/src/platform/packages/shared/response-ops/rule_form/src/translations.ts similarity index 100% rename from packages/response-ops/rule_form/src/translations.ts rename to src/platform/packages/shared/response-ops/rule_form/src/translations.ts diff --git a/packages/response-ops/rule_form/src/types.ts b/src/platform/packages/shared/response-ops/rule_form/src/types.ts similarity index 100% rename from packages/response-ops/rule_form/src/types.ts rename to src/platform/packages/shared/response-ops/rule_form/src/types.ts diff --git a/packages/response-ops/rule_form/src/utils/get_authorized_consumers.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/get_authorized_consumers.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/get_authorized_consumers.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/get_authorized_consumers.ts diff --git a/packages/response-ops/rule_form/src/utils/get_authorized_rule_types.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/get_authorized_rule_types.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/get_authorized_rule_types.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/get_authorized_rule_types.ts diff --git a/packages/response-ops/rule_form/src/utils/get_default_params.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/get_default_params.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/get_default_params.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/get_default_params.ts diff --git a/packages/response-ops/rule_form/src/utils/get_initial_consumer.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/get_initial_consumer.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/get_initial_consumer.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/get_initial_consumer.ts diff --git a/packages/response-ops/rule_form/src/utils/get_initial_multi_consumer.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/get_initial_multi_consumer.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/get_initial_multi_consumer.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/get_initial_multi_consumer.ts diff --git a/packages/response-ops/rule_form/src/utils/get_initial_schedule.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/get_initial_schedule.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/get_initial_schedule.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/get_initial_schedule.ts diff --git a/packages/response-ops/rule_form/src/utils/get_selected_action_group.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/get_selected_action_group.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/get_selected_action_group.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/get_selected_action_group.test.ts diff --git a/packages/response-ops/rule_form/src/utils/get_selected_action_group.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/get_selected_action_group.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/get_selected_action_group.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/get_selected_action_group.ts diff --git a/packages/response-ops/rule_form/src/utils/get_time_options.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/get_time_options.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/get_time_options.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/get_time_options.test.ts diff --git a/packages/response-ops/rule_form/src/utils/get_time_options.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/get_time_options.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/get_time_options.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/get_time_options.ts diff --git a/packages/response-ops/rule_form/src/utils/has_fields_for_aad.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/has_fields_for_aad.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/has_fields_for_aad.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/has_fields_for_aad.test.ts diff --git a/packages/response-ops/rule_form/src/utils/has_fields_for_aad.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/has_fields_for_aad.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/has_fields_for_aad.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/has_fields_for_aad.ts diff --git a/packages/response-ops/rule_form/src/utils/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/index.ts diff --git a/packages/response-ops/rule_form/src/utils/parse_duration.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/parse_duration.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/parse_duration.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/parse_duration.test.ts diff --git a/packages/response-ops/rule_form/src/utils/parse_duration.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/parse_duration.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/parse_duration.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/parse_duration.ts diff --git a/packages/response-ops/rule_form/src/utils/parse_rule_circuit_breaker_error_message.ts b/src/platform/packages/shared/response-ops/rule_form/src/utils/parse_rule_circuit_breaker_error_message.ts similarity index 100% rename from packages/response-ops/rule_form/src/utils/parse_rule_circuit_breaker_error_message.ts rename to src/platform/packages/shared/response-ops/rule_form/src/utils/parse_rule_circuit_breaker_error_message.ts diff --git a/packages/response-ops/rule_form/src/validation/index.ts b/src/platform/packages/shared/response-ops/rule_form/src/validation/index.ts similarity index 100% rename from packages/response-ops/rule_form/src/validation/index.ts rename to src/platform/packages/shared/response-ops/rule_form/src/validation/index.ts diff --git a/packages/response-ops/rule_form/src/validation/validate_form.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/validation/validate_form.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/validation/validate_form.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/validation/validate_form.test.ts diff --git a/packages/response-ops/rule_form/src/validation/validate_form.ts b/src/platform/packages/shared/response-ops/rule_form/src/validation/validate_form.ts similarity index 100% rename from packages/response-ops/rule_form/src/validation/validate_form.ts rename to src/platform/packages/shared/response-ops/rule_form/src/validation/validate_form.ts diff --git a/packages/response-ops/rule_form/src/validation/validate_params_for_warnings.test.ts b/src/platform/packages/shared/response-ops/rule_form/src/validation/validate_params_for_warnings.test.ts similarity index 100% rename from packages/response-ops/rule_form/src/validation/validate_params_for_warnings.test.ts rename to src/platform/packages/shared/response-ops/rule_form/src/validation/validate_params_for_warnings.test.ts diff --git a/packages/response-ops/rule_form/src/validation/validate_params_for_warnings.ts b/src/platform/packages/shared/response-ops/rule_form/src/validation/validate_params_for_warnings.ts similarity index 100% rename from packages/response-ops/rule_form/src/validation/validate_params_for_warnings.ts rename to src/platform/packages/shared/response-ops/rule_form/src/validation/validate_params_for_warnings.ts diff --git a/packages/response-ops/rule_form/tsconfig.json b/src/platform/packages/shared/response-ops/rule_form/tsconfig.json similarity index 94% rename from packages/response-ops/rule_form/tsconfig.json rename to src/platform/packages/shared/response-ops/rule_form/tsconfig.json index cea1478df1ef8..b43a362905ecd 100644 --- a/packages/response-ops/rule_form/tsconfig.json +++ b/src/platform/packages/shared/response-ops/rule_form/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index cc0418edae2f0..89ae064330a52 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -114,8 +114,8 @@ "@kbn/banners-plugin/*": ["x-pack/platform/plugins/private/banners/*"], "@kbn/bazel-runner": ["packages/kbn-bazel-runner"], "@kbn/bazel-runner/*": ["packages/kbn-bazel-runner/*"], - "@kbn/calculate-auto": ["packages/kbn-calculate-auto"], - "@kbn/calculate-auto/*": ["packages/kbn-calculate-auto/*"], + "@kbn/calculate-auto": ["src/platform/packages/shared/kbn-calculate-auto"], + "@kbn/calculate-auto/*": ["src/platform/packages/shared/kbn-calculate-auto/*"], "@kbn/calculate-width-from-char-count": ["src/platform/packages/shared/kbn-calculate-width-from-char-count"], "@kbn/calculate-width-from-char-count/*": ["src/platform/packages/shared/kbn-calculate-width-from-char-count/*"], "@kbn/canvas-plugin": ["x-pack/platform/plugins/private/canvas"], @@ -138,8 +138,8 @@ "@kbn/chart-icons/*": ["src/platform/packages/shared/kbn-chart-icons/*"], "@kbn/charts-plugin": ["src/platform/plugins/shared/charts"], "@kbn/charts-plugin/*": ["src/platform/plugins/shared/charts/*"], - "@kbn/charts-theme": ["packages/kbn-charts-theme"], - "@kbn/charts-theme/*": ["packages/kbn-charts-theme/*"], + "@kbn/charts-theme": ["src/platform/packages/shared/kbn-charts-theme"], + "@kbn/charts-theme/*": ["src/platform/packages/shared/kbn-charts-theme/*"], "@kbn/check-mappings-update-cli": ["packages/kbn-check-mappings-update-cli"], "@kbn/check-mappings-update-cli/*": ["packages/kbn-check-mappings-update-cli/*"], "@kbn/check-prod-native-modules-cli": ["packages/kbn-check-prod-native-modules-cli"], @@ -670,12 +670,12 @@ "@kbn/core-user-profile-server-internal/*": ["src/core/packages/user-profile/server-internal/*"], "@kbn/core-user-profile-server-mocks": ["src/core/packages/user-profile/server-mocks"], "@kbn/core-user-profile-server-mocks/*": ["src/core/packages/user-profile/server-mocks/*"], - "@kbn/core-user-settings-server": ["packages/core/user-settings/core-user-settings-server"], - "@kbn/core-user-settings-server/*": ["packages/core/user-settings/core-user-settings-server/*"], - "@kbn/core-user-settings-server-internal": ["packages/core/user-settings/core-user-settings-server-internal"], - "@kbn/core-user-settings-server-internal/*": ["packages/core/user-settings/core-user-settings-server-internal/*"], - "@kbn/core-user-settings-server-mocks": ["packages/core/user-settings/core-user-settings-server-mocks"], - "@kbn/core-user-settings-server-mocks/*": ["packages/core/user-settings/core-user-settings-server-mocks/*"], + "@kbn/core-user-settings-server": ["src/core/packages/user-settings/server"], + "@kbn/core-user-settings-server/*": ["src/core/packages/user-settings/server/*"], + "@kbn/core-user-settings-server-internal": ["src/core/packages/user-settings/server-internal"], + "@kbn/core-user-settings-server-internal/*": ["src/core/packages/user-settings/server-internal/*"], + "@kbn/core-user-settings-server-mocks": ["src/core/packages/user-settings/server-mocks"], + "@kbn/core-user-settings-server-mocks/*": ["src/core/packages/user-settings/server-mocks/*"], "@kbn/cross-cluster-replication-plugin": ["x-pack/platform/plugins/private/cross_cluster_replication"], "@kbn/cross-cluster-replication-plugin/*": ["x-pack/platform/plugins/private/cross_cluster_replication/*"], "@kbn/crypto": ["src/platform/packages/shared/kbn-crypto"], @@ -818,14 +818,14 @@ "@kbn/encrypted-saved-objects-plugin/*": ["x-pack/platform/plugins/shared/encrypted_saved_objects/*"], "@kbn/enterprise-search-plugin": ["x-pack/solutions/search/plugins/enterprise_search"], "@kbn/enterprise-search-plugin/*": ["x-pack/solutions/search/plugins/enterprise_search/*"], - "@kbn/entities-data-access-plugin": ["x-pack/solutions/observability/plugins/observability_solution/entities_data_access"], - "@kbn/entities-data-access-plugin/*": ["x-pack/solutions/observability/plugins/observability_solution/entities_data_access/*"], + "@kbn/entities-data-access-plugin": ["x-pack/solutions/observability/plugins/entities_data_access"], + "@kbn/entities-data-access-plugin/*": ["x-pack/solutions/observability/plugins/entities_data_access/*"], "@kbn/entities-schema": ["x-pack/platform/packages/shared/kbn-entities-schema"], "@kbn/entities-schema/*": ["x-pack/platform/packages/shared/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-app-plugin": ["x-pack/solutions/observability/plugins/observability_solution/entity_manager_app"], - "@kbn/entityManager-app-plugin/*": ["x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/*"], + "@kbn/entityManager-app-plugin": ["x-pack/solutions/observability/plugins/entity_manager_app"], + "@kbn/entityManager-app-plugin/*": ["x-pack/solutions/observability/plugins/entity_manager_app/*"], "@kbn/entityManager-plugin": ["x-pack/platform/plugins/shared/entity_manager"], "@kbn/entityManager-plugin/*": ["x-pack/platform/plugins/shared/entity_manager/*"], "@kbn/error-boundary-example-plugin": ["examples/error_boundary"], @@ -1374,8 +1374,8 @@ "@kbn/paertial-results-example-plugin/*": ["examples/partial_results_example/*"], "@kbn/painless-lab-plugin": ["x-pack/platform/plugins/private/painless_lab"], "@kbn/painless-lab-plugin/*": ["x-pack/platform/plugins/private/painless_lab/*"], - "@kbn/palettes": ["packages/kbn-palettes"], - "@kbn/palettes/*": ["packages/kbn-palettes/*"], + "@kbn/palettes": ["src/platform/packages/shared/kbn-palettes"], + "@kbn/palettes/*": ["src/platform/packages/shared/kbn-palettes/*"], "@kbn/panel-loader": ["src/platform/packages/private/kbn-panel-loader"], "@kbn/panel-loader/*": ["src/platform/packages/private/kbn-panel-loader/*"], "@kbn/peggy": ["packages/kbn-peggy"], @@ -1488,8 +1488,8 @@ "@kbn/resizable-layout-examples-plugin/*": ["examples/resizable_layout_examples/*"], "@kbn/resolver-test-plugin": ["x-pack/test/plugin_functional/plugins/resolver_test"], "@kbn/resolver-test-plugin/*": ["x-pack/test/plugin_functional/plugins/resolver_test/*"], - "@kbn/response-ops-rule-form": ["packages/response-ops/rule_form"], - "@kbn/response-ops-rule-form/*": ["packages/response-ops/rule_form/*"], + "@kbn/response-ops-rule-form": ["src/platform/packages/shared/response-ops/rule_form"], + "@kbn/response-ops-rule-form/*": ["src/platform/packages/shared/response-ops/rule_form/*"], "@kbn/response-ops-rule-params": ["src/platform/packages/shared/response-ops/rule_params"], "@kbn/response-ops-rule-params/*": ["src/platform/packages/shared/response-ops/rule_params/*"], "@kbn/response-stream-plugin": ["examples/response_stream"], @@ -1544,8 +1544,8 @@ "@kbn/saved-objects-tagging-oss-plugin/*": ["src/platform/plugins/shared/saved_objects_tagging_oss/*"], "@kbn/saved-objects-tagging-plugin": ["x-pack/platform/plugins/shared/saved_objects_tagging"], "@kbn/saved-objects-tagging-plugin/*": ["x-pack/platform/plugins/shared/saved_objects_tagging/*"], - "@kbn/saved-search-component": ["packages/kbn-saved-search-component"], - "@kbn/saved-search-component/*": ["packages/kbn-saved-search-component/*"], + "@kbn/saved-search-component": ["src/platform/packages/shared/kbn-saved-search-component"], + "@kbn/saved-search-component/*": ["src/platform/packages/shared/kbn-saved-search-component/*"], "@kbn/saved-search-plugin": ["src/platform/plugins/shared/saved_search"], "@kbn/saved-search-plugin/*": ["src/platform/plugins/shared/saved_search/*"], "@kbn/scout": ["packages/kbn-scout"], @@ -1874,8 +1874,8 @@ "@kbn/streams-app-plugin/*": ["x-pack/solutions/observability/plugins/streams_app/*"], "@kbn/streams-plugin": ["x-pack/solutions/observability/plugins/streams"], "@kbn/streams-plugin/*": ["x-pack/solutions/observability/plugins/streams/*"], - "@kbn/streams-schema": ["x-pack/packages/kbn-streams-schema"], - "@kbn/streams-schema/*": ["x-pack/packages/kbn-streams-schema/*"], + "@kbn/streams-schema": ["x-pack/solutions/observability/packages/kbn-streams-schema"], + "@kbn/streams-schema/*": ["x-pack/solutions/observability/packages/kbn-streams-schema/*"], "@kbn/styled-components-mapping-cli": ["packages/kbn-styled-components-mapping-cli"], "@kbn/styled-components-mapping-cli/*": ["packages/kbn-styled-components-mapping-cli/*"], "@kbn/synthetics-e2e": ["x-pack/solutions/observability/plugins/synthetics/e2e"], @@ -2010,8 +2010,8 @@ "@kbn/usage-collection-plugin/*": ["src/platform/plugins/shared/usage_collection/*"], "@kbn/usage-collection-test-plugin": ["test/plugin_functional/plugins/usage_collection"], "@kbn/usage-collection-test-plugin/*": ["test/plugin_functional/plugins/usage_collection/*"], - "@kbn/use-tracked-promise": ["packages/kbn-use-tracked-promise"], - "@kbn/use-tracked-promise/*": ["packages/kbn-use-tracked-promise/*"], + "@kbn/use-tracked-promise": ["src/platform/packages/shared/kbn-use-tracked-promise"], + "@kbn/use-tracked-promise/*": ["src/platform/packages/shared/kbn-use-tracked-promise/*"], "@kbn/user-profile-components": ["src/platform/packages/shared/kbn-user-profile-components"], "@kbn/user-profile-components/*": ["src/platform/packages/shared/kbn-user-profile-components/*"], "@kbn/user-profile-examples-plugin": ["examples/user_profile_examples"], diff --git a/x-pack/packages/kbn-streams-schema/README.md b/x-pack/solutions/observability/packages/kbn-streams-schema/README.md similarity index 100% rename from x-pack/packages/kbn-streams-schema/README.md rename to x-pack/solutions/observability/packages/kbn-streams-schema/README.md diff --git a/x-pack/packages/kbn-streams-schema/index.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/index.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/index.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/index.ts diff --git a/x-pack/packages/kbn-streams-schema/jest.config.js b/x-pack/solutions/observability/packages/kbn-streams-schema/jest.config.js similarity index 72% rename from x-pack/packages/kbn-streams-schema/jest.config.js rename to x-pack/solutions/observability/packages/kbn-streams-schema/jest.config.js index da4fa0627dfdd..080d412a983d1 100644 --- a/x-pack/packages/kbn-streams-schema/jest.config.js +++ b/x-pack/solutions/observability/packages/kbn-streams-schema/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/packages/kbn-streams-schema'], + rootDir: '../../../../..', + roots: ['/x-pack/solutions/observability/packages/kbn-streams-schema'], }; diff --git a/x-pack/packages/kbn-streams-schema/kibana.jsonc b/x-pack/solutions/observability/packages/kbn-streams-schema/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-streams-schema/kibana.jsonc rename to x-pack/solutions/observability/packages/kbn-streams-schema/kibana.jsonc diff --git a/x-pack/packages/kbn-streams-schema/package.json b/x-pack/solutions/observability/packages/kbn-streams-schema/package.json similarity index 100% rename from x-pack/packages/kbn-streams-schema/package.json rename to x-pack/solutions/observability/packages/kbn-streams-schema/package.json diff --git a/x-pack/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap b/x-pack/solutions/observability/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap diff --git a/x-pack/packages/kbn-streams-schema/src/apis/index.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/apis/index.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/apis/index.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/apis/index.ts diff --git a/x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/apis/list_streams_response.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/apis/list_streams_response.ts diff --git a/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.test.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/apis/read_streams_response.test.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.test.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/apis/read_streams_response.test.ts diff --git a/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/apis/read_streams_response.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/apis/read_streams_response.ts diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_read_stream.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/ingest_read_stream.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/fixtures/ingest_read_stream.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/ingest_read_stream.ts diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/ingest_stream.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/ingest_stream.ts diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream_config.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/ingest_stream_config.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream_config.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/ingest_stream_config.ts diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/read_streams_response.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/read_streams_response.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/fixtures/read_streams_response.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/read_streams_response.ts diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/wired_read_stream.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/wired_read_stream.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/fixtures/wired_read_stream.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/wired_read_stream.ts diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/wired_stream.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/wired_stream.ts diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream_config.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/wired_stream_config.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream_config.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/fixtures/wired_stream_config.ts diff --git a/x-pack/packages/kbn-streams-schema/src/helpers/index.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/helpers/index.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/helpers/index.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/helpers/index.ts diff --git a/x-pack/packages/kbn-streams-schema/src/helpers/processing.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/helpers/processing.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/helpers/processing.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/helpers/processing.ts diff --git a/x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/helpers/type_guards.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/helpers/type_guards.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/common.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/common.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/common.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/common.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/index.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/index.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/index.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/index.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/index.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/index.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/read_streams/index.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/index.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.test.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/read_stream.test.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.test.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/read_stream.test.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/index.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/stream_config/index.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/stream_config/index.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/stream_config/index.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/index.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/streams/index.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/streams/index.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/streams/index.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/streams/stream.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/streams/stream.ts diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts b/x-pack/solutions/observability/packages/kbn-streams-schema/src/models/streams/wired_stream.ts similarity index 100% rename from x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts rename to x-pack/solutions/observability/packages/kbn-streams-schema/src/models/streams/wired_stream.ts diff --git a/x-pack/packages/kbn-streams-schema/tsconfig.json b/x-pack/solutions/observability/packages/kbn-streams-schema/tsconfig.json similarity index 81% rename from x-pack/packages/kbn-streams-schema/tsconfig.json rename to x-pack/solutions/observability/packages/kbn-streams-schema/tsconfig.json index 838f32bc68e74..f6d1c9f44a080 100644 --- a/x-pack/packages/kbn-streams-schema/tsconfig.json +++ b/x-pack/solutions/observability/packages/kbn-streams-schema/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/README.md b/x-pack/solutions/observability/plugins/entities_data_access/README.md similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entities_data_access/README.md rename to x-pack/solutions/observability/plugins/entities_data_access/README.md diff --git a/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js b/x-pack/solutions/observability/plugins/entities_data_access/jest.config.js similarity index 65% rename from x-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js rename to x-pack/solutions/observability/plugins/entities_data_access/jest.config.js index 2676048c712b2..af4e96cf8e48a 100644 --- a/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js +++ b/x-pack/solutions/observability/plugins/entities_data_access/jest.config.js @@ -9,8 +9,6 @@ const path = require('path'); module.exports = { preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../../../../..'), - roots: [ - '/x-pack/solutions/observability/plugins/observability_solution/entities_data_access', - ], + rootDir: path.resolve(__dirname, '../../../../..'), + roots: ['/x-pack/solutions/observability/plugins/entities_data_access'], }; diff --git a/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/kibana.jsonc b/x-pack/solutions/observability/plugins/entities_data_access/kibana.jsonc similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entities_data_access/kibana.jsonc rename to x-pack/solutions/observability/plugins/entities_data_access/kibana.jsonc diff --git a/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/index.ts b/x-pack/solutions/observability/plugins/entities_data_access/server/index.ts similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/index.ts rename to x-pack/solutions/observability/plugins/entities_data_access/server/index.ts diff --git a/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/plugin.ts b/x-pack/solutions/observability/plugins/entities_data_access/server/plugin.ts similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/plugin.ts rename to x-pack/solutions/observability/plugins/entities_data_access/server/plugin.ts diff --git a/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/types.ts b/x-pack/solutions/observability/plugins/entities_data_access/server/types.ts similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/types.ts rename to x-pack/solutions/observability/plugins/entities_data_access/server/types.ts diff --git a/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/tsconfig.json b/x-pack/solutions/observability/plugins/entities_data_access/tsconfig.json similarity index 78% rename from x-pack/solutions/observability/plugins/observability_solution/entities_data_access/tsconfig.json rename to x-pack/solutions/observability/plugins/entities_data_access/tsconfig.json index a2745070f63ef..88f4765b8efaf 100644 --- a/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/tsconfig.json +++ b/x-pack/solutions/observability/plugins/entities_data_access/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/README.md b/x-pack/solutions/observability/plugins/entity_manager_app/README.md similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/README.md rename to x-pack/solutions/observability/plugins/entity_manager_app/README.md diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js b/x-pack/solutions/observability/plugins/entity_manager_app/jest.config.js similarity index 56% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js rename to x-pack/solutions/observability/plugins/entity_manager_app/jest.config.js index 2b49a755b2c59..435c4a5e74d11 100644 --- a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js +++ b/x-pack/solutions/observability/plugins/entity_manager_app/jest.config.js @@ -9,14 +9,12 @@ const path = require('path'); module.exports = { preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../../../../..'), - roots: [ - '/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app', - ], + rootDir: path.resolve(__dirname, '../../../../..'), + roots: ['/x-pack/solutions/observability/plugins/entity_manager_app'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app', + '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/entity_manager_app', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/solutions/observability/plugins/entity_manager_app/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/kibana.jsonc b/x-pack/solutions/observability/plugins/entity_manager_app/kibana.jsonc similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/kibana.jsonc rename to x-pack/solutions/observability/plugins/entity_manager_app/kibana.jsonc diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx b/x-pack/solutions/observability/plugins/entity_manager_app/public/application.tsx similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx rename to x-pack/solutions/observability/plugins/entity_manager_app/public/application.tsx diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/context/plugin_context.ts b/x-pack/solutions/observability/plugins/entity_manager_app/public/context/plugin_context.ts similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/context/plugin_context.ts rename to x-pack/solutions/observability/plugins/entity_manager_app/public/context/plugin_context.ts diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/hooks/use_kibana.ts b/x-pack/solutions/observability/plugins/entity_manager_app/public/hooks/use_kibana.ts similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/hooks/use_kibana.ts rename to x-pack/solutions/observability/plugins/entity_manager_app/public/hooks/use_kibana.ts diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/hooks/use_plugin_context.ts b/x-pack/solutions/observability/plugins/entity_manager_app/public/hooks/use_plugin_context.ts similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/hooks/use_plugin_context.ts rename to x-pack/solutions/observability/plugins/entity_manager_app/public/hooks/use_plugin_context.ts diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/index.ts b/x-pack/solutions/observability/plugins/entity_manager_app/public/index.ts similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/index.ts rename to x-pack/solutions/observability/plugins/entity_manager_app/public/index.ts diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/pages/overview/index.tsx b/x-pack/solutions/observability/plugins/entity_manager_app/public/pages/overview/index.tsx similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/pages/overview/index.tsx rename to x-pack/solutions/observability/plugins/entity_manager_app/public/pages/overview/index.tsx diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/plugin.ts b/x-pack/solutions/observability/plugins/entity_manager_app/public/plugin.ts similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/plugin.ts rename to x-pack/solutions/observability/plugins/entity_manager_app/public/plugin.ts diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/routes.tsx b/x-pack/solutions/observability/plugins/entity_manager_app/public/routes.tsx similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/routes.tsx rename to x-pack/solutions/observability/plugins/entity_manager_app/public/routes.tsx diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/types.ts b/x-pack/solutions/observability/plugins/entity_manager_app/public/types.ts similarity index 100% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/types.ts rename to x-pack/solutions/observability/plugins/entity_manager_app/public/types.ts diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json b/x-pack/solutions/observability/plugins/entity_manager_app/tsconfig.json similarity index 88% rename from x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json rename to x-pack/solutions/observability/plugins/entity_manager_app/tsconfig.json index 0483de43cb42a..27736e74c822c 100644 --- a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json +++ b/x-pack/solutions/observability/plugins/entity_manager_app/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../../../../typings/**/*", + "../../../../../typings/**/*", "common/**/*", "public/**/*", "types/**/*" diff --git a/yarn.lock b/yarn.lock index 8d78482f33f24..6bf3756850f15 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4096,7 +4096,7 @@ version "0.0.0" uid "" -"@kbn/calculate-auto@link:packages/kbn-calculate-auto": +"@kbn/calculate-auto@link:src/platform/packages/shared/kbn-calculate-auto": version "0.0.0" uid "" @@ -4144,7 +4144,7 @@ version "0.0.0" uid "" -"@kbn/charts-theme@link:packages/kbn-charts-theme": +"@kbn/charts-theme@link:src/platform/packages/shared/kbn-charts-theme": version "0.0.0" uid "" @@ -5204,15 +5204,15 @@ version "0.0.0" uid "" -"@kbn/core-user-settings-server-internal@link:packages/core/user-settings/core-user-settings-server-internal": +"@kbn/core-user-settings-server-internal@link:src/core/packages/user-settings/server-internal": version "0.0.0" uid "" -"@kbn/core-user-settings-server-mocks@link:packages/core/user-settings/core-user-settings-server-mocks": +"@kbn/core-user-settings-server-mocks@link:src/core/packages/user-settings/server-mocks": version "0.0.0" uid "" -"@kbn/core-user-settings-server@link:packages/core/user-settings/core-user-settings-server": +"@kbn/core-user-settings-server@link:src/core/packages/user-settings/server": version "0.0.0" uid "" @@ -5504,7 +5504,7 @@ version "0.0.0" uid "" -"@kbn/entities-data-access-plugin@link:x-pack/solutions/observability/plugins/observability_solution/entities_data_access": +"@kbn/entities-data-access-plugin@link:x-pack/solutions/observability/plugins/entities_data_access": version "0.0.0" uid "" @@ -5516,7 +5516,7 @@ version "0.0.0" uid "" -"@kbn/entityManager-app-plugin@link:x-pack/solutions/observability/plugins/observability_solution/entity_manager_app": +"@kbn/entityManager-app-plugin@link:x-pack/solutions/observability/plugins/entity_manager_app": version "0.0.0" uid "" @@ -6616,7 +6616,7 @@ version "0.0.0" uid "" -"@kbn/palettes@link:packages/kbn-palettes": +"@kbn/palettes@link:src/platform/packages/shared/kbn-palettes": version "0.0.0" uid "" @@ -6844,7 +6844,7 @@ version "0.0.0" uid "" -"@kbn/response-ops-rule-form@link:packages/response-ops/rule_form": +"@kbn/response-ops-rule-form@link:src/platform/packages/shared/response-ops/rule_form": version "0.0.0" uid "" @@ -6956,7 +6956,7 @@ version "0.0.0" uid "" -"@kbn/saved-search-component@link:packages/kbn-saved-search-component": +"@kbn/saved-search-component@link:src/platform/packages/shared/kbn-saved-search-component": version "0.0.0" uid "" @@ -7616,7 +7616,7 @@ version "0.0.0" uid "" -"@kbn/streams-schema@link:x-pack/packages/kbn-streams-schema": +"@kbn/streams-schema@link:x-pack/solutions/observability/packages/kbn-streams-schema": version "0.0.0" uid "" @@ -7888,7 +7888,7 @@ version "0.0.0" uid "" -"@kbn/use-tracked-promise@link:packages/kbn-use-tracked-promise": +"@kbn/use-tracked-promise@link:src/platform/packages/shared/kbn-use-tracked-promise": version "0.0.0" uid ""