Skip to content

Commit 58b4af5

Browse files
committed
Merge branch 'master' of github.com:elastic/kibana into refactor-to-remove-deps
2 parents d68aaab + ffe5166 commit 58b4af5

File tree

1,394 files changed

+26834
-9699
lines changed

Some content is hidden

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

1,394 files changed

+26834
-9699
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: 2 additions & 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
@@ -203,6 +204,7 @@
203204
/x-pack/plugins/snapshot_restore/ @elastic/es-ui
204205
/x-pack/plugins/upgrade_assistant/ @elastic/es-ui
205206
/x-pack/plugins/watcher/ @elastic/es-ui
207+
/x-pack/plugins/ingest_pipelines/ @elastic/es-ui
206208

207209
# Endpoint
208210
/x-pack/plugins/endpoint/ @elastic/endpoint-app-team @elastic/siem

src/cli/cluster/cluster_manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ export class ClusterManager {
266266
fromRoot('src/legacy/server/sass/__tmp__'),
267267
fromRoot('x-pack/legacy/plugins/reporting/.chromium'),
268268
fromRoot('x-pack/plugins/siem/cypress'),
269-
fromRoot('x-pack/legacy/plugins/apm/e2e'),
270-
fromRoot('x-pack/legacy/plugins/apm/scripts'),
269+
fromRoot('x-pack/plugins/apm/e2e'),
270+
fromRoot('x-pack/plugins/apm/scripts'),
271271
fromRoot('x-pack/legacy/plugins/canvas/canvas_plugin_src'), // prevents server from restarting twice for Canvas plugin changes,
272272
'plugins/java_languageserver',
273273
];

src/dev/precommit_hook/casing_check_config.js

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export const IGNORE_FILE_GLOBS = [
3535
'**/Gruntfile.js',
3636
'tasks/config/**/*',
3737
'**/{Dockerfile,docker-compose.yml}',
38-
'x-pack/legacy/plugins/apm/**/*',
3938
'x-pack/legacy/plugins/canvas/tasks/**/*',
4039
'x-pack/legacy/plugins/canvas/canvas_plugin_src/**/*',
40+
'x-pack/plugins/monitoring/public/lib/jquery_flot/**/*',
4141
'**/.*',
4242
'**/{webpackShims,__mocks__}/**/*',
4343
'x-pack/docs/**/*',
@@ -58,6 +58,11 @@ export const IGNORE_FILE_GLOBS = [
5858

5959
// filename required by api-extractor
6060
'api-documenter.json',
61+
62+
// TODO fix file names in APM to remove these
63+
'x-pack/plugins/apm/public/**/*',
64+
'x-pack/plugins/apm/scripts/**/*',
65+
'x-pack/plugins/apm/e2e/**/*',
6166
];
6267

6368
/**
@@ -160,12 +165,11 @@ export const TEMPORARILY_IGNORED_PATHS = [
160165
'webpackShims/ui-bootstrap.js',
161166
'x-pack/legacy/plugins/index_management/public/lib/editSettings.js',
162167
'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',
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',
169173
'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Medium.ttf',
170174
'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Regular.ttf',
171175
'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Italic.ttf',

src/dev/run_check_lockfile_symlinks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ const IGNORE_FILE_GLOBS = [
3535
// fixtures aren't used in production, ignore them
3636
'**/*fixtures*/**/*',
3737
// cypress isn't used in production, ignore it
38-
'x-pack/legacy/plugins/apm/e2e/*',
38+
'x-pack/plugins/apm/e2e/*',
3939
// apm scripts aren't used in production, ignore them
40-
'x-pack/legacy/plugins/apm/scripts/*',
40+
'x-pack/plugins/apm/scripts/*',
4141
];
4242

4343
run(async ({ log }) => {

src/dev/storybook/aliases.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
export const storybookAliases = {
21-
apm: 'x-pack/legacy/plugins/apm/scripts/storybook.js',
21+
apm: 'x-pack/plugins/apm/scripts/storybook.js',
2222
canvas: 'x-pack/legacy/plugins/canvas/scripts/storybook_new.js',
2323
codeeditor: 'src/plugins/kibana_react/public/code_editor/scripts/storybook.ts',
2424
drilldowns: 'x-pack/plugins/drilldowns/scripts/storybook.js',

src/dev/typescript/projects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const PROJECTS = [
3030
new Project(resolve(REPO_ROOT, 'x-pack/plugins/siem/cypress/tsconfig.json'), {
3131
name: 'siem/cypress',
3232
}),
33-
new Project(resolve(REPO_ROOT, 'x-pack/legacy/plugins/apm/e2e/tsconfig.json'), {
33+
new Project(resolve(REPO_ROOT, 'x-pack/plugins/apm/e2e/tsconfig.json'), {
3434
name: 'apm/cypress',
3535
disableTypeCheck: true,
3636
}),

x-pack/.i18nrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"xpack.indexLifecycleMgmt": "plugins/index_lifecycle_management",
2222
"xpack.infra": "plugins/infra",
2323
"xpack.ingestManager": "plugins/ingest_manager",
24+
"xpack.ingestPipelines": "plugins/ingest_pipelines",
2425
"xpack.lens": "plugins/lens",
2526
"xpack.licenseMgmt": "plugins/license_management",
2627
"xpack.licensing": "plugins/licensing",

x-pack/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { reporting } from './legacy/plugins/reporting';
1010
import { security } from './legacy/plugins/security';
1111
import { dashboardMode } from './legacy/plugins/dashboard_mode';
1212
import { beats } from './legacy/plugins/beats_management';
13-
import { apm } from './legacy/plugins/apm';
1413
import { maps } from './legacy/plugins/maps';
1514
import { spaces } from './legacy/plugins/spaces';
1615
import { canvas } from './legacy/plugins/canvas';
@@ -28,7 +27,6 @@ module.exports = function(kibana) {
2827
security(kibana),
2928
dashboardMode(kibana),
3029
beats(kibana),
31-
apm(kibana),
3230
maps(kibana),
3331
canvas(kibana),
3432
infra(kibana),

0 commit comments

Comments
 (0)