Skip to content

Commit 3eda666

Browse files
Merge branch 'main' into toolbar-package
2 parents e56c646 + ee6318a commit 3eda666

File tree

1,263 files changed

+25748
-8268
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,263 files changed

+25748
-8268
lines changed

.buildkite/pipelines/on_merge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ steps:
135135
label: 'Populate local dev bazel cache (Linux)'
136136
agents:
137137
queue: n2-4-spot
138-
timeout_in_minutes: 15
138+
timeout_in_minutes: 30
139139
retry:
140140
automatic:
141141
- exit_status: '-1'

.buildkite/pipelines/performance/daily.yml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ steps:
1111
agents:
1212
queue: c2-16
1313
key: build
14+
if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''"
1415

1516
- label: ':muscle: Performance Tests with Playwright config'
1617
command: .buildkite/scripts/steps/functional/performance_playwright.sh

.buildkite/scripts/steps/cloud/build_and_deploy.sh

+1
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,4 @@ cat << EOF | buildkite-agent annotate --style "info" --context cloud
134134
EOF
135135

136136
buildkite-agent meta-data set pr_comment:deploy_cloud:head "* [Cloud Deployment](${CLOUD_DEPLOYMENT_KIBANA_URL})"
137+
buildkite-agent meta-data set pr_comment:early_comment_job_id "$BUILDKITE_JOB_ID"

.buildkite/scripts/steps/functional/scalability_dataset_extraction.sh

+24-11
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ source .buildkite/scripts/common/util.sh
77
USER_FROM_VAULT="$(retry 5 5 vault read -field=username secret/kibana-issues/dev/apm_parser_performance)"
88
PASS_FROM_VAULT="$(retry 5 5 vault read -field=password secret/kibana-issues/dev/apm_parser_performance)"
99
ES_SERVER_URL="https://kibana-ops-e2e-perf.es.us-central1.gcp.cloud.es.io:9243"
10-
BUILD_ID=${BUILDKITE_BUILD_ID}
10+
BUILD_ID="${BUILDKITE_BUILD_ID}"
1111
GCS_BUCKET="gs://kibana-performance/scalability-tests"
12+
OUTPUT_REL="target/scalability_tests/${BUILD_ID}"
13+
OUTPUT_DIR="${KIBANA_DIR}/${OUTPUT_REL}"
1214

1315
.buildkite/scripts/bootstrap.sh
1416

@@ -28,16 +30,27 @@ for i in "${scalabilityJourneys[@]}"; do
2830
--without-static-resources
2931
done
3032

31-
echo "--- Upload Kibana build, plugins and scalability traces to the public bucket"
32-
mkdir "${BUILD_ID}"
33-
# Archive json files with traces and upload as build artifacts
34-
tar -czf "${BUILD_ID}/scalability_traces.tar.gz" -C target scalability_traces
35-
buildkite-agent artifact upload "${BUILD_ID}/scalability_traces.tar.gz"
36-
# Upload Kibana build, plugins, commit sha and traces to the bucket
37-
download_artifact kibana-default.tar.gz ./"${BUILD_ID}"
38-
download_artifact kibana-default-plugins.tar.gz ./"${BUILD_ID}"
39-
echo "${BUILDKITE_COMMIT}" > "${BUILD_ID}/KIBANA_COMMIT_HASH"
33+
echo "--- Creating scalability dataset in ${OUTPUT_REL}"
34+
mkdir -p "${OUTPUT_DIR}"
35+
36+
echo "--- Archiving scalability trace and uploading as build artifact"
37+
tar -czf "${OUTPUT_DIR}/scalability_traces.tar.gz" -C target scalability_traces
38+
buildkite-agent artifact upload "${OUTPUT_DIR}/scalability_traces.tar.gz"
39+
40+
echo "--- Downloading Kibana artifacts used in tests"
41+
download_artifact kibana-default.tar.gz "${OUTPUT_DIR}/" --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"
42+
download_artifact kibana-default-plugins.tar.gz "${OUTPUT_DIR}/" --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"
43+
44+
echo "--- Adding commit info"
45+
echo "${BUILDKITE_COMMIT}" > "${OUTPUT_DIR}/KIBANA_COMMIT_HASH"
46+
47+
echo "--- Uploading ${OUTPUT_REL} dir to ${GCS_BUCKET}"
48+
cd "${OUTPUT_DIR}/.."
4049
gsutil -m cp -r "${BUILD_ID}" "${GCS_BUCKET}"
41-
echo "--- Update reference to the latest CI build"
50+
cd -
51+
52+
echo "--- Promoting '${BUILD_ID}' dataset to LATEST"
53+
cd "${OUTPUT_DIR}/.."
4254
echo "${BUILD_ID}" > LATEST
4355
gsutil cp LATEST "${GCS_BUCKET}"
56+
cd -

.buildkite/scripts/steps/storybooks/build_and_upload.ts

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const STORYBOOKS = [
3131
'expression_reveal_image',
3232
'expression_shape',
3333
'expression_tagcloud',
34+
'files',
3435
'fleet',
3536
'home',
3637
'infra',

api_docs/actions.devdocs.json

+71
Original file line numberDiff line numberDiff line change
@@ -2570,6 +2570,37 @@
25702570
"returnComment": [],
25712571
"initialIsOpen": false
25722572
},
2573+
{
2574+
"parentPluginId": "actions",
2575+
"id": "def-common.getConnectorCompatibility",
2576+
"type": "Function",
2577+
"tags": [],
2578+
"label": "getConnectorCompatibility",
2579+
"description": [],
2580+
"signature": [
2581+
"(featureIds: string[] | undefined) => string[]"
2582+
],
2583+
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
2584+
"deprecated": false,
2585+
"children": [
2586+
{
2587+
"parentPluginId": "actions",
2588+
"id": "def-common.getConnectorCompatibility.$1",
2589+
"type": "Array",
2590+
"tags": [],
2591+
"label": "featureIds",
2592+
"description": [],
2593+
"signature": [
2594+
"string[] | undefined"
2595+
],
2596+
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
2597+
"deprecated": false,
2598+
"isRequired": false
2599+
}
2600+
],
2601+
"returnComment": [],
2602+
"initialIsOpen": false
2603+
},
25732604
{
25742605
"parentPluginId": "actions",
25752606
"id": "def-common.getConnectorFeatureName",
@@ -3751,6 +3782,16 @@
37513782
"description": [],
37523783
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
37533784
"deprecated": false
3785+
},
3786+
{
3787+
"parentPluginId": "actions",
3788+
"id": "def-common.AlertingConnectorFeature.compatibility",
3789+
"type": "string",
3790+
"tags": [],
3791+
"label": "compatibility",
3792+
"description": [],
3793+
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
3794+
"deprecated": false
37543795
}
37553796
],
37563797
"initialIsOpen": false
@@ -3784,6 +3825,16 @@
37843825
"description": [],
37853826
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
37863827
"deprecated": false
3828+
},
3829+
{
3830+
"parentPluginId": "actions",
3831+
"id": "def-common.CasesConnectorFeature.compatibility",
3832+
"type": "string",
3833+
"tags": [],
3834+
"label": "compatibility",
3835+
"description": [],
3836+
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
3837+
"deprecated": false
37873838
}
37883839
],
37893840
"initialIsOpen": false
@@ -3831,6 +3882,16 @@
38313882
"description": [],
38323883
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
38333884
"deprecated": false
3885+
},
3886+
{
3887+
"parentPluginId": "actions",
3888+
"id": "def-common.SecuritySolutionFeature.compatibility",
3889+
"type": "string",
3890+
"tags": [],
3891+
"label": "compatibility",
3892+
"description": [],
3893+
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
3894+
"deprecated": false
38343895
}
38353896
],
38363897
"initialIsOpen": false
@@ -4092,6 +4153,16 @@
40924153
"description": [],
40934154
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
40944155
"deprecated": false
4156+
},
4157+
{
4158+
"parentPluginId": "actions",
4159+
"id": "def-common.UptimeConnectorFeature.compatibility",
4160+
"type": "string",
4161+
"tags": [],
4162+
"label": "compatibility",
4163+
"description": [],
4164+
"path": "x-pack/plugins/actions/common/connector_feature_config.ts",
4165+
"deprecated": false
40954166
}
40964167
],
40974168
"initialIsOpen": false

api_docs/actions.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions
88
title: "actions"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the actions plugin
11-
date: 2022-08-25
11+
date: 2022-08-29
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
1313
---
1414
import actionsObj from './actions.devdocs.json';
@@ -21,7 +21,7 @@ Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for q
2121

2222
| Public API count | Any count | Items lacking comments | Missing exports |
2323
|-------------------|-----------|------------------------|-----------------|
24-
| 266 | 0 | 261 | 19 |
24+
| 272 | 0 | 267 | 19 |
2525

2626
## Client
2727

api_docs/advanced_settings.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings
88
title: "advancedSettings"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the advancedSettings plugin
11-
date: 2022-08-25
11+
date: 2022-08-29
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
1313
---
1414
import advancedSettingsObj from './advanced_settings.devdocs.json';

api_docs/aiops.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops
88
title: "aiops"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the aiops plugin
11-
date: 2022-08-25
11+
date: 2022-08-29
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops']
1313
---
1414
import aiopsObj from './aiops.devdocs.json';

api_docs/alerting.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting
88
title: "alerting"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the alerting plugin
11-
date: 2022-08-25
11+
date: 2022-08-29
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting']
1313
---
1414
import alertingObj from './alerting.devdocs.json';

api_docs/apm.devdocs.json

-4
Original file line numberDiff line numberDiff line change
@@ -1050,10 +1050,6 @@
10501050
"LiteralC",
10511051
"<",
10521052
"PrivilegeType",
1053-
".SOURCEMAP>, ",
1054-
"LiteralC",
1055-
"<",
1056-
"PrivilegeType",
10571053
".EVENT>, ",
10581054
"LiteralC",
10591055
"<",

api_docs/apm.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm
88
title: "apm"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the apm plugin
11-
date: 2022-08-25
11+
date: 2022-08-29
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm']
1313
---
1414
import apmObj from './apm.devdocs.json';

api_docs/banners.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners
88
title: "banners"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the banners plugin
11-
date: 2022-08-25
11+
date: 2022-08-29
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners']
1313
---
1414
import bannersObj from './banners.devdocs.json';

api_docs/bfetch.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch
88
title: "bfetch"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the bfetch plugin
11-
date: 2022-08-25
11+
date: 2022-08-29
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch']
1313
---
1414
import bfetchObj from './bfetch.devdocs.json';

api_docs/canvas.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas
88
title: "canvas"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the canvas plugin
11-
date: 2022-08-25
11+
date: 2022-08-29
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas']
1313
---
1414
import canvasObj from './canvas.devdocs.json';

api_docs/cases.devdocs.json

+46-3
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,13 @@
9898
"<object, unknown>, plugins: ",
9999
"CasesPluginSetup",
100100
") => ",
101-
"CasesUiSetup"
101+
{
102+
"pluginId": "cases",
103+
"scope": "public",
104+
"docId": "kibCasesPluginApi",
105+
"section": "def-public.CasesUiSetup",
106+
"text": "CasesUiSetup"
107+
}
102108
],
103109
"path": "x-pack/plugins/cases/public/plugin.ts",
104110
"deprecated": false,
@@ -442,7 +448,34 @@
442448
"initialIsOpen": false
443449
}
444450
],
445-
"interfaces": [],
451+
"interfaces": [
452+
{
453+
"parentPluginId": "cases",
454+
"id": "def-public.CasesUiSetup",
455+
"type": "Interface",
456+
"tags": [],
457+
"label": "CasesUiSetup",
458+
"description": [],
459+
"path": "x-pack/plugins/cases/public/types.ts",
460+
"deprecated": false,
461+
"children": [
462+
{
463+
"parentPluginId": "cases",
464+
"id": "def-public.CasesUiSetup.attachmentFramework",
465+
"type": "Object",
466+
"tags": [],
467+
"label": "attachmentFramework",
468+
"description": [],
469+
"signature": [
470+
"AttachmentFramework"
471+
],
472+
"path": "x-pack/plugins/cases/public/types.ts",
473+
"deprecated": false
474+
}
475+
],
476+
"initialIsOpen": false
477+
}
478+
],
446479
"enums": [],
447480
"misc": [
448481
{
@@ -689,7 +722,17 @@
689722
"section": "def-common.CommentType",
690723
"text": "CommentType"
691724
},
692-
".alert; alertId: string | string[]; index: string | string[]; rule: { id: string | null; name: string | null; }; owner: string; }"
725+
".alert; alertId: string | string[]; index: string | string[]; rule: { id: string | null; name: string | null; }; owner: string; } | { type: ",
726+
{
727+
"pluginId": "cases",
728+
"scope": "common",
729+
"docId": "kibCasesPluginApi",
730+
"section": "def-common.CommentType",
731+
"text": "CommentType"
732+
},
733+
".persistableState; owner: string; persistableStateAttachmentTypeId: string; persistableStateAttachmentState: { [x: string]: ",
734+
"JsonValue",
735+
"; }; }"
693736
],
694737
"path": "x-pack/plugins/cases/public/types.ts",
695738
"deprecated": false,

api_docs/cases.mdx

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases
88
title: "cases"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the cases plugin
11-
date: 2022-08-25
11+
date: 2022-08-29
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases']
1313
---
1414
import casesObj from './cases.devdocs.json';
@@ -21,7 +21,7 @@ Contact [ResponseOps](https://github.com/orgs/elastic/teams/response-ops) for qu
2121

2222
| Public API count | Any count | Items lacking comments | Missing exports |
2323
|-------------------|-----------|------------------------|-----------------|
24-
| 82 | 0 | 66 | 29 |
24+
| 84 | 0 | 68 | 29 |
2525

2626
## Client
2727

@@ -37,6 +37,9 @@ Contact [ResponseOps](https://github.com/orgs/elastic/teams/response-ops) for qu
3737
### Classes
3838
<DocDefinitionList data={casesObj.client.classes}/>
3939

40+
### Interfaces
41+
<DocDefinitionList data={casesObj.client.interfaces}/>
42+
4043
### Consts, variables and types
4144
<DocDefinitionList data={casesObj.client.misc}/>
4245

api_docs/charts.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts
88
title: "charts"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the charts plugin
11-
date: 2022-08-25
11+
date: 2022-08-29
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts']
1313
---
1414
import chartsObj from './charts.devdocs.json';

api_docs/cloud.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud
88
title: "cloud"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the cloud plugin
11-
date: 2022-08-25
11+
date: 2022-08-29
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud']
1313
---
1414
import cloudObj from './cloud.devdocs.json';

0 commit comments

Comments
 (0)