Skip to content

Commit 01d1154

Browse files
author
Hendrik Muhs
committed
update rest specs
1 parent b20f2e1 commit 01d1154

9 files changed

+17
-17
lines changed

client/rest-high-level/src/test/java/org/elasticsearch/client/RestHighLevelClientTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ public void testApiNamingConventions() throws Exception {
837837
apiName.startsWith("security.") == false &&
838838
apiName.startsWith("index_lifecycle.") == false &&
839839
apiName.startsWith("ccr.") == false &&
840-
apiName.startsWith("data_frame") == false &&
840+
apiName.startsWith("transform.") == false &&
841841
apiName.endsWith("freeze") == false &&
842842
apiName.endsWith("reload_analyzers") == false &&
843843
// IndicesClientIT.getIndexTemplate should be renamed "getTemplate" in version 8.0 when we

x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.delete_data_frame_transform.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"data_frame.delete_data_frame_transform":{
2+
"transform.delete_transform":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html"
55
},

x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.get_data_frame_transform.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"data_frame.get_data_frame_transform":{
2+
"transform.get_transform":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html"
55
},
@@ -40,7 +40,7 @@
4040
"allow_no_match":{
4141
"type":"boolean",
4242
"required":false,
43-
"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)"
43+
"description":"Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)"
4444
}
4545
}
4646
}

x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.get_data_frame_transform_stats.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"data_frame.get_data_frame_transform_stats":{
2+
"transform.get_transform_stats":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html"
55
},
@@ -34,7 +34,7 @@
3434
"allow_no_match":{
3535
"type":"boolean",
3636
"required":false,
37-
"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)"
37+
"description":"Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)"
3838
}
3939
}
4040
}

x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.preview_data_frame_transform.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"data_frame.preview_data_frame_transform":{
2+
"transform.preview_transform":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html"
55
},
@@ -15,7 +15,7 @@
1515
]
1616
},
1717
"body":{
18-
"description":"The definition for the data_frame transform to preview",
18+
"description":"The definition for the transform to preview",
1919
"required":true
2020
}
2121
}

x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.put_data_frame_transform.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"data_frame.put_data_frame_transform":{
2+
"transform.put_transform":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html"
55
},
@@ -24,11 +24,11 @@
2424
"defer_validation": {
2525
"type": "boolean",
2626
"required": false,
27-
"description": "If validations should be deferred until data frame transform starts, defaults to false."
27+
"description": "If validations should be deferred until transform starts, defaults to false."
2828
}
2929
},
3030
"body":{
31-
"description":"The data frame transform definition",
31+
"description":"The transform definition",
3232
"required":true
3333
}
3434
}

x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.start_data_frame_transform.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"data_frame.start_data_frame_transform":{
2+
"transform.start_transform":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html"
55
},

x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.stop_data_frame_transform.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"data_frame.stop_data_frame_transform":{
2+
"transform.stop_transform":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html"
55
},
@@ -34,7 +34,7 @@
3434
"allow_no_match":{
3535
"type":"boolean",
3636
"required":false,
37-
"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)"
37+
"description":"Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)"
3838
}
3939
}
4040
}

x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.update_data_frame_transform.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"data_frame.update_data_frame_transform": {
2+
"transform.update_transform": {
33
"documentation": {
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html"
55
},
@@ -23,11 +23,11 @@
2323
"defer_validation": {
2424
"type": "boolean",
2525
"required": false,
26-
"description": "If validations should be deferred until data frame transform starts, defaults to false."
26+
"description": "If validations should be deferred until transform starts, defaults to false."
2727
}
2828
},
2929
"body": {
30-
"description" : "The update data frame transform definition",
30+
"description" : "The update transform definition",
3131
"required": true
3232
}
3333
}

0 commit comments

Comments
 (0)