Skip to content

Commit

Permalink
transform.cat should live in the cat namespace. (#54196)
Browse files Browse the repository at this point in the history
* 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

(cherry picked from commit 0a98904)
  • Loading branch information
Mpdreamz committed Mar 25, 2020
1 parent 77da9dd commit 077bf52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"transform.cat_transform":{
"cat.transform":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ teardown:
---
"Test cat transform stats hiding headers":
- do:
transform.cat_transform:
cat.transform:
transform_id: "airline-transform-stats"
- match:
$body: |
Expand All @@ -61,7 +61,7 @@ teardown:
---
"Test cat transform stats with column selection":
- do:
transform.cat_transform:
cat.transform:
transform_id: "airline-transform-stats"
v: true
h: id,version,source_index,dest_index,search_total,index_total,dt,cdtea,indexed_documents_exp_avg
Expand Down Expand Up @@ -90,7 +90,7 @@ teardown:
"description": "description"
}
- do:
transform.cat_transform:
cat.transform:
transform_id: "airline-transform-batch"
v: true
- match:
Expand Down Expand Up @@ -126,7 +126,7 @@ teardown:
}
}
- do:
transform.cat_transform:
cat.transform:
transform_id: "airline-transform-continuous"
v: true
- match:
Expand Down

0 comments on commit 077bf52

Please sign in to comment.