Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for the REST specification #51791

Merged
merged 4 commits into from
Feb 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@
"description": "The throttle for this request in sub-requests per second. -1 means no throttle."
},
"slices": {
"type": "number",
"type": "number|auto",
"default": 1,
"description": "The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks."
"description": "The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks."
}
},
"body":{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"enrich.delete_policy": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-delete-policy.html",
"documentation": {
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html"
},
"stability" : "stable",
"url": {
"paths": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"enrich.execute_policy": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-execute-policy.html",
"documentation": {
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/execute-enrich-policy-api.html"
},
"stability" : "stable",
"url": {
"paths": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"enrich.get_policy": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-get-policy.html",
"documentation": {
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html"
},
"stability" : "stable",
"url": {
"paths": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"enrich.put_policy": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-put-policy.html",
"documentation": {
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/put-enrich-policy-api.html"
},
"stability" : "stable",
"url": {
"paths": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"enrich.stats": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats.html",
"documentation": {
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html"
},
"stability" : "stable",
"url": {
"paths": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"sql.clear_cursor":{
"documentation":{
"url":"Clear SQL cursor"
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-pagination.html",
"description":"Clears the SQL cursor"
},
"stability":"stable",
"url":{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"sql.query":{
"documentation":{
"url":"Execute SQL"
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-rest-overview.html",
"description":"Executes an SQL request"
},
"stability":"stable",
"url":{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"sql.translate":{
"documentation":{
"url":"Translate SQL into Elasticsearch queries"
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate.html",
"description":"Translates SQL into Elasticsearch queries"
},
"stability":"stable",
"url":{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ teardown:

- do:
license.get:
accept_enterprise: "true"
accept_enterprise: true

## a v5 license object has 12 attributes
- length: { license: 12 }
Expand All @@ -41,7 +41,7 @@ teardown:

- do:
license.get:
accept_enterprise: "false"
accept_enterprise: false

## a v4 license object has 11 attributes
- length: { license: 11 }
Expand Down