Skip to content

Commit 0a98904

Browse files
authored
transform.cat should live in the cat namespace. (#54196)
* transform.cat should live in the cat namespace. Similarly to to ml cat API's also living in the `cat` namespace. Clients treat the `cat` namespace differently then other API's (return types, content types). This introduces an exception to this rule. * rename the specification file as well
1 parent 9f6dda9 commit 0a98904

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

x-pack/plugin/src/test/resources/rest-api-spec/api/transform.cat_transform.json renamed to x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transform.json

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

x-pack/plugin/src/test/resources/rest-api-spec/test/transform/transforms_cat_apis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ teardown:
5151
---
5252
"Test cat transform stats hiding headers":
5353
- do:
54-
transform.cat_transform:
54+
cat.transform:
5555
transform_id: "airline-transform-stats"
5656
- match:
5757
$body: |
@@ -61,7 +61,7 @@ teardown:
6161
---
6262
"Test cat transform stats with column selection":
6363
- do:
64-
transform.cat_transform:
64+
cat.transform:
6565
transform_id: "airline-transform-stats"
6666
v: true
6767
h: id,version,source_index,dest_index,search_total,index_total,dt,cdtea,indexed_documents_exp_avg
@@ -90,7 +90,7 @@ teardown:
9090
"description": "description"
9191
}
9292
- do:
93-
transform.cat_transform:
93+
cat.transform:
9494
transform_id: "airline-transform-batch"
9595
v: true
9696
- match:
@@ -126,7 +126,7 @@ teardown:
126126
}
127127
}
128128
- do:
129-
transform.cat_transform:
129+
cat.transform:
130130
transform_id: "airline-transform-continuous"
131131
v: true
132132
- match:

0 commit comments

Comments
 (0)