Skip to content

Commit

Permalink
Merge branch 'master' into share-capable
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Oct 1, 2021
2 parents f3997d7 + a565eaa commit 5832e9f
Show file tree
Hide file tree
Showing 501 changed files with 19,612 additions and 6,632 deletions.
8 changes: 0 additions & 8 deletions .buildkite/pipelines/es_snapshots/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,5 @@ steps:
- wait: ~
continue_on_failure: true

- plugins:
- junit-annotate#v1.9.0:
artifacts: target/junit/**/*.xml
job-uuid-file-pattern: '-bk__(.*).xml'

- wait: ~
continue_on_failure: true

- command: .buildkite/scripts/lifecycle/post_build.sh
label: Post-Build
8 changes: 0 additions & 8 deletions .buildkite/pipelines/hourly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,5 @@ steps:
- wait: ~
continue_on_failure: true

- plugins:
- junit-annotate#v1.9.0:
artifacts: target/junit/**/*.xml
job-uuid-file-pattern: '-bk__(.*).xml'

- wait: ~
continue_on_failure: true

- command: .buildkite/scripts/lifecycle/post_build.sh
label: Post-Build
14 changes: 14 additions & 0 deletions .buildkite/scripts/lifecycle/annotate_test_failures.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const { TestFailures } = require('kibana-buildkite-library');

(async () => {
try {
await TestFailures.annotateTestFailures();
} catch (ex) {
console.error('Annotate test failures error', ex.message);
if (ex.response) {
console.error('HTTP Error Response Status', ex.response.status);
console.error('HTTP Error Response Body', ex.response.data);
}
process.exit(1);
}
})();
5 changes: 5 additions & 0 deletions .buildkite/scripts/lifecycle/post_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ if [[ "$IS_TEST_EXECUTION_STEP" == "true" ]]; then
buildkite-agent artifact upload '.es/**/*.hprof'

node scripts/report_failed_tests --build-url="${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}" 'target/junit/**/*.xml'

if [[ -d 'target/test_failures' ]]; then
buildkite-agent artifact upload 'target/test_failures/**/*'
node .buildkite/scripts/lifecycle/annotate_test_failures.js
fi
fi
154 changes: 91 additions & 63 deletions api_docs/apm.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api_docs/apm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Contact [APM UI](https://github.com/orgs/elastic/teams/apm-ui) for questions reg

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 42 | 0 | 42 | 30 |
| 42 | 0 | 42 | 36 |

## Client

Expand Down
28 changes: 14 additions & 14 deletions api_docs/cases.json
Original file line number Diff line number Diff line change
Expand Up @@ -2935,7 +2935,7 @@
"label": "actionField",
"description": [],
"signature": [
"(\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]"
"(\"status\" | \"title\" | \"description\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]"
],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false
Expand Down Expand Up @@ -4143,7 +4143,7 @@
"label": "updateKey",
"description": [],
"signature": [
"\"status\" | \"description\" | \"title\" | \"tags\" | \"settings\" | \"connector\""
"\"status\" | \"title\" | \"description\" | \"tags\" | \"settings\" | \"connector\""
],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false
Expand Down Expand Up @@ -5112,7 +5112,7 @@
"label": "CaseField",
"description": [],
"signature": [
"\"description\" | \"title\" | \"comments\""
"\"title\" | \"description\" | \"comments\""
],
"path": "x-pack/plugins/cases/common/api/connectors/mappings.ts",
"deprecated": false,
Expand Down Expand Up @@ -5848,7 +5848,7 @@
"section": "def-common.ConnectorTypes",
"text": "ConnectorTypes"
},
".swimlane; fields: { caseId: string | null; } | null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; } & { owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; } & { mappings: { action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"description\" | \"title\" | \"comments\"; target: string; }[]; owner: string; } & { id: string; version: string; error: string | null; owner: string; })[]"
".swimlane; fields: { caseId: string | null; } | null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; } & { owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; } & { mappings: { action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"title\" | \"description\" | \"comments\"; target: string; }[]; owner: string; } & { id: string; version: string; error: string | null; owner: string; })[]"
],
"path": "x-pack/plugins/cases/common/api/cases/configure.ts",
"deprecated": false,
Expand Down Expand Up @@ -6158,7 +6158,7 @@
"section": "def-common.ConnectorTypes",
"text": "ConnectorTypes"
},
".swimlane; fields: { caseId: string | null; } | null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; } & { owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; } & { mappings: { action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"description\" | \"title\" | \"comments\"; target: string; }[]; owner: string; } & { id: string; version: string; error: string | null; owner: string; }"
".swimlane; fields: { caseId: string | null; } | null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; } & { owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; } & { mappings: { action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"title\" | \"description\" | \"comments\"; target: string; }[]; owner: string; } & { id: string; version: string; error: string | null; owner: string; }"
],
"path": "x-pack/plugins/cases/common/api/cases/configure.ts",
"deprecated": false,
Expand Down Expand Up @@ -6776,7 +6776,7 @@
"label": "CaseUserActionAttributes",
"description": [],
"signature": [
"{ action_field: (\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; }"
"{ action_field: (\"status\" | \"title\" | \"description\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; }"
],
"path": "x-pack/plugins/cases/common/api/cases/user_actions.ts",
"deprecated": false,
Expand Down Expand Up @@ -6852,7 +6852,7 @@
"label": "CaseUserActionResponse",
"description": [],
"signature": [
"{ action_field: (\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; } & { action_id: string; case_id: string; comment_id: string | null; new_val_connector_id: string | null; old_val_connector_id: string | null; } & { sub_case_id?: string | undefined; }"
"{ action_field: (\"status\" | \"title\" | \"description\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; } & { action_id: string; case_id: string; comment_id: string | null; new_val_connector_id: string | null; old_val_connector_id: string | null; } & { sub_case_id?: string | undefined; }"
],
"path": "x-pack/plugins/cases/common/api/cases/user_actions.ts",
"deprecated": false,
Expand All @@ -6866,7 +6866,7 @@
"label": "CaseUserActionsResponse",
"description": [],
"signature": [
"({ action_field: (\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; } & { action_id: string; case_id: string; comment_id: string | null; new_val_connector_id: string | null; old_val_connector_id: string | null; } & { sub_case_id?: string | undefined; })[]"
"({ action_field: (\"status\" | \"title\" | \"description\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; } & { action_id: string; case_id: string; comment_id: string | null; new_val_connector_id: string | null; old_val_connector_id: string | null; } & { sub_case_id?: string | undefined; })[]"
],
"path": "x-pack/plugins/cases/common/api/cases/user_actions.ts",
"deprecated": false,
Expand Down Expand Up @@ -7568,7 +7568,7 @@
"label": "ConnectorMappings",
"description": [],
"signature": [
"{ mappings: { action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"description\" | \"title\" | \"comments\"; target: string; }[]; owner: string; }"
"{ mappings: { action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"title\" | \"description\" | \"comments\"; target: string; }[]; owner: string; }"
],
"path": "x-pack/plugins/cases/common/api/connectors/mappings.ts",
"deprecated": false,
Expand All @@ -7582,7 +7582,7 @@
"label": "ConnectorMappingsAttributes",
"description": [],
"signature": [
"{ action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"description\" | \"title\" | \"comments\"; target: string; }"
"{ action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"title\" | \"description\" | \"comments\"; target: string; }"
],
"path": "x-pack/plugins/cases/common/api/connectors/mappings.ts",
"deprecated": false,
Expand Down Expand Up @@ -7878,7 +7878,7 @@
"label": "GetDefaultMappingsResponse",
"description": [],
"signature": [
"{ action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"description\" | \"title\" | \"comments\"; target: string; }[]"
"{ action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"title\" | \"description\" | \"comments\"; target: string; }[]"
],
"path": "x-pack/plugins/cases/common/api/connectors/mappings.ts",
"deprecated": false,
Expand Down Expand Up @@ -8545,7 +8545,7 @@
"label": "UpdateKey",
"description": [],
"signature": [
"\"status\" | \"description\" | \"title\" | \"tags\" | \"settings\" | \"connector\""
"\"status\" | \"title\" | \"description\" | \"tags\" | \"settings\" | \"connector\""
],
"path": "x-pack/plugins/cases/common/ui/types.ts",
"deprecated": false,
Expand Down Expand Up @@ -8587,7 +8587,7 @@
"label": "UserActionField",
"description": [],
"signature": [
"(\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]"
"(\"status\" | \"title\" | \"description\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]"
],
"path": "x-pack/plugins/cases/common/api/cases/user_actions.ts",
"deprecated": false,
Expand All @@ -8601,7 +8601,7 @@
"label": "UserActionFieldType",
"description": [],
"signature": [
"\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\""
"\"status\" | \"title\" | \"description\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\""
],
"path": "x-pack/plugins/cases/common/api/cases/user_actions.ts",
"deprecated": false,
Expand Down
Loading

0 comments on commit 5832e9f

Please sign in to comment.