-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Team:APM - DEPRECATEDUse Team:obs-ux-infra_services.Use Team:obs-ux-infra_services.technical debtImprovement of the software architecture and operational architectureImprovement of the software architecture and operational architecture
Description
An exception was made to the ESLint rule preventing imports of public into server. With other plugins, the fixes were pretty straightforward but with APM a lot of organization decisions needed to be made.
For this to be considered completed, the exception needs to be remove from .eslintrc.js
Related to #67149
x-pack/plugins/apm/server/lib/environments/get_all_environments.test.ts
11:8 error Unexpected path "../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/errors/distribution/queries.test.ts
11:8 error Unexpected path "../../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/errors/queries.test.ts
12:8 error Unexpected path "../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/metrics/queries.test.ts
15:8 error Unexpected path "../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/observability_overview/get_transaction_coordinates.ts
12:29 error Unexpected path "../../../../observability/public" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/rum_client/queries.test.ts
10:8 error Unexpected path "../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/service_nodes/queries.test.ts
16:8 error Unexpected path "../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/services/annotations/index.test.ts
10:8 error Unexpected path "../../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/services/queries.test.ts
15:8 error Unexpected path "../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/settings/agent_configuration/queries.test.ts
14:8 error Unexpected path "../../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/settings/custom_link/create_or_update_custom_link.test.ts
8:25 error Unexpected path "../../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/settings/custom_link/get_transaction.test.ts
9:8 error Unexpected path "../../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/settings/custom_link/list_custom_links.test.ts
11:8 error Unexpected path "../../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/traces/queries.test.ts
11:8 error Unexpected path "../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/transaction_groups/queries.test.ts
11:8 error Unexpected path "../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/transactions/queries.test.ts
14:8 error Unexpected path "../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/ui_filters/local_ui_filters/queries.test.ts
11:8 error Unexpected path "../../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
x-pack/plugins/apm/server/lib/ui_filters/queries.test.ts
11:8 error Unexpected path "../../../public/utils/testHelpers" imported in restricted zone. Server code can not import from public, use a common directory @kbn/eslint/no-restricted-paths
✖ 18 problems (18 errors, 0 warnings)
Metadata
Metadata
Assignees
Labels
Team:APM - DEPRECATEDUse Team:obs-ux-infra_services.Use Team:obs-ux-infra_services.technical debtImprovement of the software architecture and operational architectureImprovement of the software architecture and operational architecture