Skip to content

Commit 1cdadac

Browse files
Merge branch 'master' into migrate_top_nav_test_plugin_to_np
2 parents 96816b8 + 66b5efd commit 1cdadac

File tree

2,304 files changed

+70211
-25120
lines changed

Some content is hidden

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

2,304 files changed

+70211
-25120
lines changed

.eslintrc.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ module.exports = {
6969
'jsx-a11y/no-onchange': 'off',
7070
},
7171
},
72-
{
73-
files: ['src/legacy/core_plugins/data/**/*.{js,ts,tsx}'],
74-
rules: {
75-
'react-hooks/exhaustive-deps': 'off',
76-
},
77-
},
7872
{
7973
files: ['src/legacy/core_plugins/expressions/**/*.{js,ts,tsx}'],
8074
rules: {

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# For more info, see https://help.github.com/articles/about-codeowners/
44

55
# App
6+
/x-pack/legacy/plugins/dashboard_enhanced/ @elastic/kibana-app
67
/x-pack/legacy/plugins/lens/ @elastic/kibana-app
78
/x-pack/legacy/plugins/graph/ @elastic/kibana-app
89
/src/legacy/server/url_shortening/ @elastic/kibana-app
@@ -181,6 +182,7 @@
181182
/x-pack/plugins/remote_clusters/ @elastic/es-ui
182183
/x-pack/legacy/plugins/rollup/ @elastic/es-ui
183184
/x-pack/plugins/searchprofiler/ @elastic/es-ui
185+
/x-pack/plugins/painless_lab/ @elastic/es-ui
184186
/x-pack/legacy/plugins/snapshot_restore/ @elastic/es-ui
185187
/x-pack/legacy/plugins/upgrade_assistant/ @elastic/es-ui
186188
/x-pack/plugins/upgrade_assistant/ @elastic/es-ui

.i18nrc.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
"common.ui": "src/legacy/ui",
44
"console": "src/plugins/console",
55
"core": "src/core",
6+
"discover": "src/plugins/discover",
67
"dashboard": "src/plugins/dashboard",
7-
"data": [
8-
"src/legacy/core_plugins/data",
9-
"src/plugins/data"
10-
],
8+
"data": "src/plugins/data",
119
"embeddableApi": "src/plugins/embeddable",
1210
"embeddableExamples": "examples/embeddable_examples",
1311
"share": "src/plugins/share",
@@ -38,8 +36,8 @@
3836
"server": "src/legacy/server",
3937
"statusPage": "src/legacy/core_plugins/status_page",
4038
"telemetry": [
41-
"src/legacy/core_plugins/telemetry",
42-
"src/plugins/telemetry"
39+
"src/plugins/telemetry",
40+
"src/plugins/telemetry_management_section"
4341
],
4442
"tileMap": "src/legacy/core_plugins/tile_map",
4543
"timelion": ["src/legacy/core_plugins/timelion", "src/legacy/core_plugins/vis_type_timelion", "src/plugins/timelion"],

.sass-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ files:
77
- 'x-pack/legacy/plugins/rollup/**/*.s+(a|c)ss'
88
- 'x-pack/legacy/plugins/security/**/*.s+(a|c)ss'
99
- 'x-pack/legacy/plugins/canvas/**/*.s+(a|c)ss'
10+
- 'x-pack/plugins/triggers_actions_ui/**/*.s+(a|c)ss'
1011
ignore:
1112
- 'x-pack/legacy/plugins/canvas/shareable_runtime/**/*.s+(a|c)ss'
1213
- 'x-pack/legacy/plugins/lens/**/*.s+(a|c)ss'

Jenkinsfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ kibanaPipeline(timeoutMinutes: 135, checkPrChanges: true) {
4040
'xpack-ciGroup9': kibanaPipeline.xpackCiGroupProcess(9),
4141
'xpack-ciGroup10': kibanaPipeline.xpackCiGroupProcess(10),
4242
'xpack-accessibility': kibanaPipeline.functionalTestProcess('xpack-accessibility', './test/scripts/jenkins_xpack_accessibility.sh'),
43-
'xpack-siemCypress': kibanaPipeline.functionalTestProcess('xpack-siemCypress', './test/scripts/jenkins_siem_cypress.sh'),
43+
'xpack-siemCypress': { processNumber ->
44+
whenChanged(['x-pack/legacy/plugins/siem/', 'x-pack/test/siem_cypress/']) {
45+
kibanaPipeline.functionalTestProcess('xpack-siemCypress', './test/scripts/jenkins_siem_cypress.sh')(processNumber)
46+
}
47+
},
48+
4449
// 'xpack-visualRegression': kibanaPipeline.functionalTestProcess('xpack-visualRegression', './test/scripts/jenkins_xpack_visual_regression.sh'),
4550
]),
4651
])

docs/api/dashboard/export-dashboard.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ experimental[] Export dashboards and corresponding saved objects.
99
[[dashboard-api-export-request]]
1010
==== Request
1111

12-
`GET /api/kibana/dashboards/export`
12+
`GET <kibana host>:<port>/api/kibana/dashboards/export`
1313

1414
[[dashboard-api-export-params]]
1515
==== Query parameters
@@ -20,9 +20,9 @@ experimental[] Export dashboards and corresponding saved objects.
2020
[[dashboard-api-export-response-body]]
2121
==== Response body
2222

23-
`objects`::
23+
`objects`::
2424
(array) A top level property that includes the saved objects. The order of the objects is not guaranteed. Use the exact response body as the request body for the corresponding <<dashboard-import-api, Import dashboard API>>.
25-
25+
2626
[[dashboard-api-export-codes]]
2727
==== Response code
2828

@@ -33,10 +33,10 @@ experimental[] Export dashboards and corresponding saved objects.
3333
[[dashboard-api-export-example]]
3434
==== Example
3535

36-
[source,js]
36+
[source,sh]
3737
--------------------------------------------------
38-
GET api/kibana/dashboards/export?dashboard=942dcef0-b2cd-11e8-ad8e-85441f0c2e5c <1>
38+
$ curl -X GET "localhost:5601/api/kibana/dashboards/export?dashboard=942dcef0-b2cd-11e8-ad8e-85441f0c2e5c" <1>
3939
--------------------------------------------------
4040
// KIBANA
4141

42-
<1> The dashboard ID is `942dcef0-b2cd-11e8-ad8e-85441f0c2e5c`.
42+
<1> The dashboard ID is `942dcef0-b2cd-11e8-ad8e-85441f0c2e5c`.

docs/api/dashboard/import-dashboard.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ experimental[] Import dashboards and corresponding saved objects.
99
[[dashboard-api-import-request]]
1010
==== Request
1111

12-
`POST /api/kibana/dashboards/import`
12+
`POST <kibana host>:<port>/api/kibana/dashboards/import`
1313

1414
[[dashboard-api-import-params]]
1515
==== Query parameters
@@ -40,9 +40,9 @@ Use the complete response body from the <<dashboard-api-export, Export dashboard
4040
[[dashboard-api-import-example]]
4141
==== Example
4242

43-
[source,js]
43+
[source,sh]
4444
--------------------------------------------------
45-
POST api/kibana/dashboards/import?exclude=index-pattern
45+
$ curl -X POST "localhost:5601/api/kibana/dashboards/import?exclude=index-pattern"
4646
{
4747
"objects": [
4848
{

docs/api/features.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ experimental[] Retrieves all {kib} features. Features are used by spaces and sec
88
[[features-api-get-request]]
99
=== Request
1010

11-
`GET /api/features`
11+
`GET <kibana host>:<port>/api/features`
1212

1313
[float]
1414
[[features-api-get-codes]]
@@ -23,7 +23,7 @@ experimental[] Retrieves all {kib} features. Features are used by spaces and sec
2323

2424
The API returns the following:
2525

26-
[source,js]
26+
[source,sh]
2727
--------------------------------------------------
2828
{
2929
"id": "discover",

docs/api/logstash-configuration-management.asciidoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
[[logstash-configuration-management-api]]
33
== Logstash configuration management APIs
44

5-
Programmatically integrate with the Logstash configuration management feature.
5+
Programmatically integrate with Logstash configuration management.
66

7-
WARNING: Do not directly access the `.logstash` index. The structure of the `.logstash` index is subject to change, which could cause your integration to break. Instead, use the Logstash configuration management APIs.
7+
WARNING: Do not directly access the `.logstash` index. The structure of the `.logstash` index is subject to change, which could cause your integration to break. Instead, use the Logstash configuration management APIs.
88

99
The following Logstash configuration management APIs are available:
1010

@@ -20,5 +20,3 @@ include::logstash-configuration-management/delete-pipeline.asciidoc[]
2020
include::logstash-configuration-management/list-pipeline.asciidoc[]
2121
include::logstash-configuration-management/create-logstash.asciidoc[]
2222
include::logstash-configuration-management/retrieve-pipeline.asciidoc[]
23-
24-

docs/api/logstash-configuration-management/create-logstash.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ experimental[] Create a centrally-managed Logstash pipeline, or update an existi
99
[[logstash-configuration-management-api-create-request]]
1010
==== Request
1111

12-
`PUT /api/logstash/pipeline/<id>`
12+
`PUT <kibana host>:<port>/api/logstash/pipeline/<id>`
1313

1414
[[logstash-configuration-management-api-create-params]]
1515
==== Path parameters
@@ -39,9 +39,9 @@ experimental[] Create a centrally-managed Logstash pipeline, or update an existi
3939
[[logstash-configuration-management-api-create-example]]
4040
==== Example
4141

42-
[source,js]
42+
[source,sh]
4343
--------------------------------------------------
44-
PUT api/logstash/pipeline/hello-world
44+
$ curl -X PUT "localhost:5601/api/logstash/pipeline/hello-world"
4545
{
4646
"pipeline": "input { stdin {} } output { stdout {} }",
4747
"settings": {

0 commit comments

Comments
 (0)