Skip to content

Commit

Permalink
Merge branch 'main' of github.com:elastic/kibana into 198996-migrate-…
Browse files Browse the repository at this point in the history
…traces-tests
  • Loading branch information
crespocarlos committed Nov 18, 2024
2 parents 5a6d9b8 + ebd3f0d commit a5df223
Show file tree
Hide file tree
Showing 146 changed files with 1,460 additions and 1,182 deletions.
55 changes: 49 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@ x-pack/test_serverless/api_integration/test_suites/common/platform_security @ela
src/plugins/discover/public/context_awareness/profile_providers/security @elastic/kibana-data-discovery @elastic/security-threat-hunting-investigations

# Platform Docs
/x-pack/test/functional/services/sample_data @elastic/platform-docs
/x-pack/test_serverless/functional/test_suites/security/screenshot_creation/index.ts @elastic/platform-docs
/x-pack/test_serverless/functional/test_suites/security/config.screenshots.ts @elastic/platform-docs
/x-pack/test/screenshot_creation @elastic/platform-docs
Expand Down Expand Up @@ -1202,6 +1203,10 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
## This should allow the infra team to work without dependencies on the @elastic/obs-ux-logs-team, which will maintain ownership of the Logs UI code only.

## infra/{common,docs,public,server}/{sub-folders}/ -> @elastic/obs-ux-infra_services-team
# obs-ux-infra_services-team
/x-pack/test/functional/page_objects/asset_details.ts @elastic/obs-ux-infra_services-team # Assigned per https://github.com/elastic/kibana/pull/200157/files/c83fae62151fe634342c498aca69b686b739fe45#r1842202022
/x-pack/test/functional/page_objects/infra_* @elastic/obs-ux-infra_services-team
/x-pack/test/functional/es_archives/infra @elastic/obs-ux-infra_services-team
/test/common/plugins/otel_metrics @elastic/obs-ux-infra_services-team
/x-pack/plugins/observability_solution/infra/common @elastic/obs-ux-infra_services-team
/x-pack/plugins/observability_solution/infra/docs @elastic/obs-ux-infra_services-team
Expand All @@ -1223,10 +1228,10 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
/x-pack/plugins/observability_solution/infra/server/services @elastic/obs-ux-infra_services-team
/x-pack/plugins/observability_solution/infra/server/usage @elastic/obs-ux-infra_services-team
/x-pack/plugins/observability_solution/infra/server/utils @elastic/obs-ux-infra_services-team
/x-pack/test/api_integration/deployment_agnostic/apis/observability/infra @elastic/obs-ux-logs-team
/x-pack/test/api_integration/deployment_agnostic/apis/observability/apm @elastic/obs-ux-logs-team
/x-pack/test/api_integration/services/infraops_source_configuration.ts @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team # Assigned per https://github.com/elastic/kibana/pull/34916

## Logs UI code exceptions -> @elastic/obs-ux-logs-team
/x-pack/test/upgrade/apps/logs @elastic/obs-ux-logs-team
/x-pack/test_serverless/functional/page_objects/svl_oblt_onboarding_stream_log_file.ts @elastic/obs-ux-logs-team
/x-pack/test_serverless/functional/page_objects/svl_oblt_onboarding_page.ts @elastic/obs-ux-logs-team
/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts @elastic/obs-ux-logs-team
Expand All @@ -1248,12 +1253,20 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
/x-pack/plugins/observability_solution/infra/server/routes/log_alerts @elastic/obs-ux-logs-team
/x-pack/plugins/observability_solution/infra/server/routes/log_analysis @elastic/obs-ux-logs-team
/x-pack/plugins/observability_solution/infra/server/services/rules @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team
/x-pack/test/common/utils/synthtrace @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team # Assigned per https://github.com/elastic/kibana/blob/main/packages/kbn-apm-synthtrace/kibana.jsonc#L5

# Infra Monitoring tests
/x-pack/test/api_integration/apis/infra @elastic/obs-ux-infra_services-team
/x-pack/test/functional/apps/infra @elastic/obs-ux-infra_services-team
/x-pack/test/functional/apps/infra/logs @elastic/obs-ux-logs-team

# Observability UX management team
/x-pack/test/api_integration/services/data_view_api.ts @elastic/obs-ux-management-team
/x-pack/test/api_integration/services/slo.ts @elastic/obs-ux-management-team
/x-pack/test/functional/services/slo @elastic/obs-ux-management-team
/x-pack/test/functional/apps/slo @elastic/obs-ux-management-team
/x-pack/test/observability_api_integration @elastic/obs-ux-management-team # Assigned per https://github.com/elastic/kibana/pull/182243
/x-pack/test/functional/services/observability @elastic/obs-ux-management-team
/x-pack/test/api_integration/apis/slos @elastic/obs-ux-management-team
/x-pack/test/accessibility/apps/group1/uptime.ts @elastic/obs-ux-management-team
/x-pack/test/accessibility/apps/group3/observability.ts @elastic/obs-ux-management-team
Expand All @@ -1264,12 +1277,15 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
/x-pack/test_serverless/**/test_suites/observability/custom_threshold_rule/ @elastic/obs-ux-management-team
/x-pack/test_serverless/**/test_suites/observability/slos/ @elastic/obs-ux-management-team
/x-pack/test_serverless/api_integration/test_suites/observability/es_query_rule @elastic/obs-ux-management-team
/x-pack/test/api_integration/deployment_agnostic/apis/observability/alerting @elastic/obs-ux-management-team
/x-pack/test/api_integration/deployment_agnostic/apis/observability/alerting/burn_rate_rule @elastic/obs-ux-management-team
/x-pack/test/api_integration/deployment_agnostic/services/alerting_api @elastic/obs-ux-management-team
/x-pack/test/api_integration/deployment_agnostic/services/slo_api @elastic/obs-ux-management-team
/x-pack/test_serverless/**/test_suites/observability/infra/ @elastic/obs-ux-infra_services-team

# Elastic Stack Monitoring
/x-pack/test/monitoring_api_integration @elastic/stack-monitoring
/x-pack/test/functional/page_objects/monitoring_page.ts @elastic/stack-monitoring
/x-pack/test/functional/es_archives/monitoring @elastic/stack-monitoring
/x-pack/test/functional/services/monitoring @elastic/stack-monitoring
/x-pack/test/functional/apps/monitoring @elastic/stack-monitoring
/x-pack/test/api_integration/apis/monitoring @elastic/stack-monitoring
Expand All @@ -1289,7 +1305,10 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
/x-pack/test_serverless/**/test_suites/**/fleet/ @elastic/fleet

# APM
/x-pack/test/functional/apps/apm/ @elastic/obs-ux-infra_services-team
/x-pack/test/stack_functional_integration/apps/apm @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team
/x-pack/test/common/services/apm_synthtrace_kibana_client.ts @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team
/test/api_integration/apis/ui_metric/*.ts @elastic/obs-ux-infra_services-team
/x-pack/test/functional/apps/apm/ @elastic/obs-ux-infra_services-team
/x-pack/test/apm_api_integration/ @elastic/obs-ux-infra_services-team
/src/apm.js @elastic/kibana-core @vigneshshanmugam
/packages/kbn-utility-types/src/dot.ts @dgieselaar
Expand All @@ -1299,6 +1318,7 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
#CC# /x-pack/plugins/observability_solution/observability/ @elastic/apm-ui

# Uptime
/x-pack/test/functional/page_objects/uptime_page.ts @elastic/obs-ux-management-team
/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/ @elastic/obs-ux-management-team
/x-pack/test/functional/apps/uptime @elastic/obs-ux-management-team
/x-pack/test/functional/es_archives/uptime @elastic/obs-ux-management-team
Expand All @@ -1310,6 +1330,16 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
/x-pack/test_serverless/api_integration/test_suites/observability/synthetics @elastic/obs-ux-management-team

# obs-ux-logs-team
/x-pack/test_serverless/functional/test_suites/observability/config.* @elastic/obs-ux-logs-team
/x-pack/test_serverless/functional/test_suites/observability/landing_page.ts @elastic/obs-ux-logs-team
/x-pack/test_serverless/functional/test_suites/observability/navigation.ts @elastic/obs-ux-logs-team
/x-pack/test/functional/page_objects/dataset_quality.ts @elastic/obs-ux-logs-team
/x-pack/test_serverless/functional/test_suites/observability/index* @elastic/obs-ux-logs-team
/x-pack/test_serverless/functional/test_suites/observability/cypress @elastic/obs-ux-logs-team
/x-pack/test/functional/services/infra_source_configuration_form.ts @elastic/obs-ux-logs-team
/x-pack/test/functional/services/logs_ui @elastic/obs-ux-logs-team
/x-pack/test/functional/page_objects/observability_logs_explorer.ts @elastic/obs-ux-logs-team
/test/functional/services/selectable.ts @elastic/obs-ux-logs-team
/x-pack/test/observability_onboarding_api_integration @elastic/obs-ux-logs-team
/x-pack/test_serverless/api_integration/test_suites/observability/index.feature_flags.ts @elastic/obs-ux-logs-team
/x-pack/test/api_integration/apis/logs_ui @elastic/obs-ux-logs-team
Expand All @@ -1319,11 +1349,16 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer @elastic/obs-ux-logs-team
/x-pack/test/functional/apps/dataset_quality @elastic/obs-ux-logs-team
/x-pack/test_serverless/functional/test_suites/observability/dataset_quality @elastic/obs-ux-logs-team
/x-pack/test_serverless/functional/test_suites/observability/ @elastic/obs-ux-logs-team
/x-pack/test_serverless/functional/test_suites/observability/discover @elastic/obs-ux-logs-team @elastic/kibana-data-discovery
/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview @elastic/obs-ux-logs-team
/x-pack/test/api_integration/apis/logs_shared @elastic/obs-ux-logs-team

# Observability-ui
/x-pack/test_serverless/api_integration/test_suites/observability/index.ts @elastic/observability-ui
/x-pack/test/functional_solution_sidenav/tests/observability_sidenav.ts @elastic/observability-ui
/x-pack/test/functional/page_objects/observability_page.ts @elastic/observability-ui
/x-pack/test_serverless/**/test_suites/observability/config.ts @elastic/observability-ui

# Observability onboarding tour
/x-pack/plugins/observability_solution/observability_shared/public/components/tour @elastic/appex-sharedux
/x-pack/test/functional/apps/infra/tour.ts @elastic/appex-sharedux
Expand All @@ -1350,15 +1385,19 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
#CC# /src/plugins/kibana_react/public/code_editor/ @elastic/kibana-presentation

# Machine Learning
/x-pack/test/stack_functional_integration/apps/ml @elastic/ml-ui
/x-pack/test/functional/fixtures/kbn_archiver/ml @elastic/ml-ui
/x-pack/test/api_integration/apis/file_upload @elastic/ml-ui
/x-pack/test/accessibility/apps/group2/ml.ts @elastic/ml-ui
/x-pack/test/accessibility/apps/group2/ml_* @elastic/ml-ui
/x-pack/test/accessibility/apps/group3/ml_embeddables_in_dashboard.ts @elastic/ml-ui
/x-pack/test/api_integration/apis/ml/ @elastic/ml-ui
/x-pack/test/api_integration_basic/apis/ml/ @elastic/ml-ui
/x-pack/test/functional/apps/ml/ @elastic/ml-ui
/x-pack/test/functional/es_archives/ml/ @elastic/ml-ui
/x-pack/test/functional/services/ml/ @elastic/ml-ui
/x-pack/test/functional_basic/apps/ml/ @elastic/ml-ui
/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/config.ts @elastic/ml-ui
/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/ml/ @elastic/ml-ui
/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/ml_rule_types/ @elastic/ml-ui
/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/ @elastic/ml-ui
Expand All @@ -1369,7 +1408,7 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
/x-pack/test/api_integration/services/ml.ts @elastic/ml-ui

# Additional plugins and packages maintained by the ML team.
/test/examples/response_stream @elastic/ml-ui
/test/examples/response_stream/*.ts @elastic/ml-ui
/x-pack/test/accessibility/apps/group2/transform.ts @elastic/ml-ui
/x-pack/test/api_integration/apis/aiops/ @elastic/ml-ui
/x-pack/test/api_integration/apis/transform/ @elastic/ml-ui
Expand All @@ -1380,6 +1419,7 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
/x-pack/test/functional/apps/aiops @elastic/ml-ui
/x-pack/test/functional/apps/transform/ @elastic/ml-ui
/x-pack/test/functional/services/transform/ @elastic/ml-ui
/x-pack/test/functional/services/aiops @elastic/ml-ui
/x-pack/test/functional_basic/apps/transform/ @elastic/ml-ui

# Maps
Expand All @@ -1392,6 +1432,9 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
#CC# /x-pack/plugins/file_upload @elastic/kibana-gis

# Operations
/test/package @elastic/kibana-operations
/test/package/roles @elastic/kibana-operations
/test/common/fixtures/plugins/coverage/kibana.json @elastic/kibana-operations
/src/dev/license_checker/config.ts @elastic/kibana-operations
/src/dev/ @elastic/kibana-operations
/src/setup_node_env/ @elastic/kibana-operations
Expand Down
35 changes: 35 additions & 0 deletions packages/core/base/core-base-common/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")

SRCS = glob(
[
"**/*.ts",
"**/*.tsx",
],
exclude = [
"**/test_helpers.ts",
"**/*.config.js",
"**/*.mock.*",
"**/*.test.*",
"**/*.stories.*",
"**/__snapshots__/**",
"**/integration_tests/**",
"**/mocks/**",
"**/scripts/**",
"**/storybook/**",
"**/test_fixtures/**",
"**/test_helpers/**",
],
)

DEPS = [
"@npm//react",
"@npm//tslib",
]

js_library(
name = "core-base-common",
package_name = "@kbn/core-base-common",
srcs = ["package.json"] + SRCS,
deps = DEPS,
visibility = ["//visibility:public"],
)
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const createSetupContractMock = () => {
setupContract.getPlugins.mockReturnValue([]);
setupContract.getTheme.mockReturnValue({
darkMode: false,
name: 'amsterdam',
version: 'v8',
stylesheetPaths: {
default: ['light-1.css'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export interface InjectedMetadataExternalUrlPolicy {
/** @internal */
export interface InjectedMetadataTheme {
darkMode: DarkModeValue;
name: string;
version: ThemeVersion;
stylesheetPaths: {
default: string[];
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a5df223

Please sign in to comment.