From 2669a287b3f9ef795cf5fa837d2b13f11c1a71f7 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Mon, 30 Mar 2020 18:22:52 +0200 Subject: [PATCH] also rename the api in the spec and tests --- .../test/resources/rest-api-spec/api/cat.transforms.json | 2 +- .../rest-api-spec/test/transform/transforms_cat_apis.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json index 66b55d9a4bbcc..ad22e646f21bf 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json @@ -1,5 +1,5 @@ { - "cat.transform":{ + "cat.transforms":{ "documentation":{ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html", "description": "Gets configuration and usage information about transforms." diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/transforms_cat_apis.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/transforms_cat_apis.yml index bf5d5311c27b4..68f1f68b02e14 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/transforms_cat_apis.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/transforms_cat_apis.yml @@ -51,7 +51,7 @@ teardown: --- "Test cat transform stats hiding headers": - do: - cat.transform: + cat.transforms: transform_id: "airline-transform-stats" - match: $body: | @@ -61,7 +61,7 @@ teardown: --- "Test cat transform stats with column selection": - do: - cat.transform: + cat.transforms: transform_id: "airline-transform-stats" v: true h: id,version,source_index,dest_index,search_total,index_total,docp,cdtea,indexed_documents_exp_avg @@ -90,7 +90,7 @@ teardown: "description": "description" } - do: - cat.transform: + cat.transforms: transform_id: "airline-transform-batch" v: true - match: @@ -126,7 +126,7 @@ teardown: } } - do: - cat.transform: + cat.transforms: transform_id: "airline-transform-continuous" v: true - match: