Skip to content

Commit 59315bc

Browse files
authored
[Monitoring] NP Migration complete client cutover (#62908)
* Final phase before the complete cutover * NP migration * lint fix * More NP stuff * Moved Stack Monitoring client plugin outside legacy and fixed all tests * ... * Removed unused files * Fix for main links * Fixed more tests * Fixed redirect when clicking on SM icon again * Code review feedback * Addressed code review feedback * Fixed return value
1 parent 6e3791e commit 59315bc

File tree

569 files changed

+11410
-2967
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

569 files changed

+11410
-2967
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ target
3030
/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts
3131
/x-pack/legacy/plugins/canvas/shareable_runtime/build
3232
/x-pack/legacy/plugins/canvas/storybook
33+
/x-pack/plugins/monitoring/public/lib/jquery_flot
3334
/x-pack/legacy/plugins/infra/common/graphql/types.ts
3435
/x-pack/legacy/plugins/infra/public/graphql/types.ts
3536
/x-pack/legacy/plugins/infra/server/graphql/types.ts

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,12 @@ module.exports = {
963963
jquery: true,
964964
},
965965
},
966+
{
967+
files: ['x-pack/plugins/monitoring/public/lib/jquery_flot/**/*.js'],
968+
env: {
969+
jquery: true,
970+
},
971+
},
966972

967973
/**
968974
* TSVB overrides

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
/x-pack/legacy/plugins/ingest_manager/ @elastic/ingest-management
8585
/x-pack/plugins/observability/ @elastic/logs-metrics-ui @elastic/apm-ui @elastic/uptime @elastic/ingest-management
8686
/x-pack/legacy/plugins/monitoring/ @elastic/stack-monitoring-ui
87+
/x-pack/plugins/monitoring/ @elastic/stack-monitoring-ui
8788
/x-pack/plugins/uptime @elastic/uptime
8889

8990
# Machine Learning

src/dev/precommit_hook/casing_check_config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export const IGNORE_FILE_GLOBS = [
3838
'x-pack/legacy/plugins/apm/**/*',
3939
'x-pack/legacy/plugins/canvas/tasks/**/*',
4040
'x-pack/legacy/plugins/canvas/canvas_plugin_src/**/*',
41+
'x-pack/plugins/monitoring/public/lib/jquery_flot/**/*',
4142
'**/.*',
4243
'**/{webpackShims,__mocks__}/**/*',
4344
'x-pack/docs/**/*',
@@ -160,12 +161,11 @@ export const TEMPORARILY_IGNORED_PATHS = [
160161
'webpackShims/ui-bootstrap.js',
161162
'x-pack/legacy/plugins/index_management/public/lib/editSettings.js',
162163
'x-pack/legacy/plugins/license_management/public/store/reducers/licenseManagement.js',
163-
'x-pack/legacy/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js',
164-
'x-pack/legacy/plugins/monitoring/public/icons/alert-blue.svg',
165-
'x-pack/legacy/plugins/monitoring/public/icons/health-gray.svg',
166-
'x-pack/legacy/plugins/monitoring/public/icons/health-green.svg',
167-
'x-pack/legacy/plugins/monitoring/public/icons/health-red.svg',
168-
'x-pack/legacy/plugins/monitoring/public/icons/health-yellow.svg',
164+
'x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js',
165+
'x-pack/plugins/monitoring/public/icons/health-gray.svg',
166+
'x-pack/plugins/monitoring/public/icons/health-green.svg',
167+
'x-pack/plugins/monitoring/public/icons/health-red.svg',
168+
'x-pack/plugins/monitoring/public/icons/health-yellow.svg',
169169
'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Medium.ttf',
170170
'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Regular.ttf',
171171
'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Italic.ttf',

x-pack/legacy/plugins/monitoring/.agignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

x-pack/legacy/plugins/monitoring/common/__tests__/format_timestamp_to_duration.js

Lines changed: 0 additions & 128 deletions
This file was deleted.

x-pack/legacy/plugins/monitoring/common/cancel_promise.ts

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)