Skip to content

Commit

Permalink
update rest specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrik Muhs committed Sep 23, 2019
1 parent b20f2e1 commit 01d1154
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ public void testApiNamingConventions() throws Exception {
apiName.startsWith("security.") == false &&
apiName.startsWith("index_lifecycle.") == false &&
apiName.startsWith("ccr.") == false &&
apiName.startsWith("data_frame") == false &&
apiName.startsWith("transform.") == false &&
apiName.endsWith("freeze") == false &&
apiName.endsWith("reload_analyzers") == false &&
// IndicesClientIT.getIndexTemplate should be renamed "getTemplate" in version 8.0 when we
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.delete_data_frame_transform":{
"transform.delete_transform":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.get_data_frame_transform":{
"transform.get_transform":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html"
},
Expand Down Expand Up @@ -40,7 +40,7 @@
"allow_no_match":{
"type":"boolean",
"required":false,
"description":"Whether to ignore if a wildcard expression matches no data frame transforms. (This includes `_all` string or when no data frame transforms have been specified)"
"description":"Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.get_data_frame_transform_stats":{
"transform.get_transform_stats":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html"
},
Expand Down Expand Up @@ -34,7 +34,7 @@
"allow_no_match":{
"type":"boolean",
"required":false,
"description":"Whether to ignore if a wildcard expression matches no data frame transforms. (This includes `_all` string or when no data frame transforms have been specified)"
"description":"Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.preview_data_frame_transform":{
"transform.preview_transform":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html"
},
Expand All @@ -15,7 +15,7 @@
]
},
"body":{
"description":"The definition for the data_frame transform to preview",
"description":"The definition for the transform to preview",
"required":true
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.put_data_frame_transform":{
"transform.put_transform":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html"
},
Expand All @@ -24,11 +24,11 @@
"defer_validation": {
"type": "boolean",
"required": false,
"description": "If validations should be deferred until data frame transform starts, defaults to false."
"description": "If validations should be deferred until transform starts, defaults to false."
}
},
"body":{
"description":"The data frame transform definition",
"description":"The transform definition",
"required":true
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.start_data_frame_transform":{
"transform.start_transform":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.stop_data_frame_transform":{
"transform.stop_transform":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html"
},
Expand Down Expand Up @@ -34,7 +34,7 @@
"allow_no_match":{
"type":"boolean",
"required":false,
"description":"Whether to ignore if a wildcard expression matches no data frame transforms. (This includes `_all` string or when no data frame transforms have been specified)"
"description":"Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.update_data_frame_transform": {
"transform.update_transform": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html"
},
Expand All @@ -23,11 +23,11 @@
"defer_validation": {
"type": "boolean",
"required": false,
"description": "If validations should be deferred until data frame transform starts, defaults to false."
"description": "If validations should be deferred until transform starts, defaults to false."
}
},
"body": {
"description" : "The update data frame transform definition",
"description" : "The update transform definition",
"required": true
}
}
Expand Down

0 comments on commit 01d1154

Please sign in to comment.