Skip to content

Commit

Permalink
[Console] Generate autocomplete definitions for 8.15 (elastic#187055)
Browse files Browse the repository at this point in the history
## Summary

This PR adds changes from running the script to generate autocomplete
definitions from ES specification repo.

### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces—unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes—Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
  • Loading branch information
yuliacech committed Jun 28, 2024
1 parent 8ba400c commit ce4f17e
Show file tree
Hide file tree
Showing 32 changed files with 404 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"capabilities": {
"methods": [
"GET"
],
"patterns": [
"_capabilities"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/capabilities.html",
"availability": {
"stack": false,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"30s",
"-1",
"0"
],
"cause": ""
]
},
"methods": [
"PUT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"PUT"
],
"patterns": [
"_connector/{connector_id}"
"_connector/{connector_id}",
"_connector"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/create-connector-api.html",
"availability": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"connector.secret_delete": {
"methods": [
"DELETE"
],
"patterns": [
"_connector/_secret/{id}"
],
"documentation": null,
"availability": {
"stack": false,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"connector.secret_get": {
"methods": [
"GET"
],
"patterns": [
"_connector/_secret/{id}"
],
"documentation": null,
"availability": {
"stack": false,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"connector.secret_post": {
"methods": [
"POST"
],
"patterns": [
"_connector/_secret"
],
"documentation": null,
"availability": {
"stack": false,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"connector.secret_put": {
"methods": [
"PUT"
],
"patterns": [
"_connector/_secret/{id}"
],
"documentation": null,
"availability": {
"stack": false,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"connector.sync_job_check_in": {
"methods": [
"PUT"
],
"patterns": [
"_connector/_sync_job/{connector_sync_job_id}/_check_in"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/check-in-connector-sync-job-api.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"connector.sync_job_claim": {
"methods": [
"PUT"
],
"patterns": [
"_connector/_sync_job/{connector_sync_job_id}/_claim"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/claim-connector-sync-job-api.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"connector.sync_job_error": {
"methods": [
"PUT"
],
"patterns": [
"_connector/_sync_job/{connector_sync_job_id}/_error"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/set-connector-sync-job-error-api.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"connector.sync_job_update_stats": {
"methods": [
"PUT"
],
"patterns": [
"_connector/_sync_job/{connector_sync_job_id}/_stats"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/set-connector-sync-job-stats-api.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"connector.update_features": {
"methods": [
"PUT"
],
"patterns": [
"_connector/{connector_id}/_features"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-features-api.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"esql.async_query": {
"methods": [
"POST"
],
"patterns": [
"_query/async"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/esql-async-query-api.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"esql.async_query_get": {
"methods": [
"GET"
],
"patterns": [
"_query/async/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/esql-async-query-get-api.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"inference.delete_model": {
"inference.delete": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__"
"pretty": "__flag__",
"dry_run": "__flag__",
"force": "__flag__"
},
"url_components": {
"task_type": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"inference.get_model": {
"inference.get": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"inference.put_model": {
"inference.put": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"size": [
"100"
],
"tags": ""
"tags": []
},
"methods": [
"GET"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"ml.update_trained_model_deployment": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"number_of_allocations": [
"1"
]
},
"methods": [
"POST"
],
Expand All @@ -9,7 +18,7 @@
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-trained-model-deployment.html",
"availability": {
"stack": true,
"serverless": false
"serverless": true
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"profiling.flamegraph": {
"methods": [
"POST"
],
"patterns": [
"_profiling/flamegraph"
],
"documentation": "https://www.elastic.co/guide/en/observability/current/universal-profiling.html",
"availability": {
"stack": false,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"profiling.stacktraces": {
"methods": [
"POST"
],
"patterns": [
"_profiling/stacktraces"
],
"documentation": "https://www.elastic.co/guide/en/observability/current/universal-profiling.html",
"availability": {
"stack": false,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"profiling.status": {
"methods": [
"GET"
],
"patterns": [
"_profiling/status"
],
"documentation": "https://www.elastic.co/guide/en/observability/current/universal-profiling.html",
"availability": {
"stack": false,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"profiling.topn_functions": {
"methods": [
"POST"
],
"patterns": [
"_profiling/topn/functions"
],
"documentation": "https://www.elastic.co/guide/en/observability/current/universal-profiling.html",
"availability": {
"stack": false,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"query_rule.delete": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__"
},
"methods": [
"DELETE"
],
"patterns": [
"_query_rules/{ruleset_id}/_rule/{rule_id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-query-rule.html",
"availability": {
"stack": true,
"serverless": true
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"query_rule.get": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__"
},
"methods": [
"GET"
],
"patterns": [
"_query_rules/{ruleset_id}/_rule/{rule_id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-query-rule.html",
"availability": {
"stack": true,
"serverless": true
}
}
}
Loading

0 comments on commit ce4f17e

Please sign in to comment.