From b3dd89c2e82b24ce67e3ab170c456d4634c13900 Mon Sep 17 00:00:00 2001 From: delvedor Date: Mon, 18 Nov 2019 11:32:32 +0100 Subject: [PATCH] Added missing methods to enrich and slm endpoints --- .../resources/rest-api-spec/api/enrich.execute_policy.json | 2 +- .../resources/rest-api-spec/api/slm.execute_lifecycle.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json index b49486a062036..c41d0e57262ac 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json @@ -6,7 +6,7 @@ "paths": [ { "path": "/_enrich/policy/{name}/_execute", - "methods": [ "PUT" ], + "methods": [ "PUT", "POST" ], "parts": { "name": { "type" : "string", diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json index 6353fac6391fa..a57a4513edfa9 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json @@ -9,7 +9,8 @@ { "path":"/_slm/policy/{policy_id}/_execute", "methods":[ - "PUT" + "PUT", + "POST" ], "parts":{ "policy_id":{