Skip to content

Commit 3e43f6a

Browse files
committed
[Monitoring] NP Migration complete client cutover (elastic#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 # Conflicts: # .github/CODEOWNERS # x-pack/legacy/plugins/monitoring/public/components/license/index.js # x-pack/plugins/monitoring/public/components/beats/listing/listing.js
1 parent 4be8446 commit 3e43f6a

File tree

568 files changed

+11416
-2962
lines changed

Some content is hidden

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

568 files changed

+11416
-2962
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
@@ -967,6 +967,12 @@ module.exports = {
967967
jquery: true,
968968
},
969969
},
970+
{
971+
files: ['x-pack/plugins/monitoring/public/lib/jquery_flot/**/*.js'],
972+
env: {
973+
jquery: true,
974+
},
975+
},
970976

971977
/**
972978
* TSVB overrides

src/dev/precommit_hook/casing_check_config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const IGNORE_FILE_GLOBS = [
3737
'**/{Dockerfile,docker-compose.yml}',
3838
'x-pack/legacy/plugins/canvas/tasks/**/*',
3939
'x-pack/legacy/plugins/canvas/canvas_plugin_src/**/*',
40+
'x-pack/plugins/monitoring/public/lib/jquery_flot/**/*',
4041
'**/.*',
4142
'**/{webpackShims,__mocks__}/**/*',
4243
'x-pack/docs/**/*',
@@ -164,12 +165,11 @@ export const TEMPORARILY_IGNORED_PATHS = [
164165
'webpackShims/ui-bootstrap.js',
165166
'x-pack/legacy/plugins/index_management/public/lib/editSettings.js',
166167
'x-pack/legacy/plugins/license_management/public/store/reducers/licenseManagement.js',
167-
'x-pack/legacy/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js',
168-
'x-pack/legacy/plugins/monitoring/public/icons/alert-blue.svg',
169-
'x-pack/legacy/plugins/monitoring/public/icons/health-gray.svg',
170-
'x-pack/legacy/plugins/monitoring/public/icons/health-green.svg',
171-
'x-pack/legacy/plugins/monitoring/public/icons/health-red.svg',
172-
'x-pack/legacy/plugins/monitoring/public/icons/health-yellow.svg',
168+
'x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js',
169+
'x-pack/plugins/monitoring/public/icons/health-gray.svg',
170+
'x-pack/plugins/monitoring/public/icons/health-green.svg',
171+
'x-pack/plugins/monitoring/public/icons/health-red.svg',
172+
'x-pack/plugins/monitoring/public/icons/health-yellow.svg',
173173
'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Medium.ttf',
174174
'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Regular.ttf',
175175
'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)