From 3bdf1cc6f018ebcbe46f333e88dca260b17d8c60 Mon Sep 17 00:00:00 2001 From: Bharathwaj G Date: Wed, 10 Aug 2022 14:35:06 +0530 Subject: [PATCH] Marking APIs stable Signed-off-by: Bharathwaj G --- .../src/main/resources/rest-api-spec/api/create_pit.json | 2 +- .../src/main/resources/rest-api-spec/api/delete_all_pits.json | 2 +- .../src/main/resources/rest-api-spec/api/delete_pit.json | 2 +- .../src/main/resources/rest-api-spec/test/pit/10_basic.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/create_pit.json b/rest-api-spec/src/main/resources/rest-api-spec/api/create_pit.json index aebaed6941aa6..d3a2104c01bc0 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/create_pit.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/create_pit.json @@ -5,7 +5,7 @@ "url":"https://opensearch.org/docs/latest/opensearch/rest-api/point_in_time/", "description":"Creates point in time context." }, - "stability":"experimental", + "stability":"stable", "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_all_pits.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_all_pits.json index e031042073e67..5ff01aa746df9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_all_pits.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_all_pits.json @@ -4,7 +4,7 @@ "url":"https://opensearch.org/docs/latest/opensearch/rest-api/point_in_time/", "description":"Deletes all active point in time searches." }, - "stability":"experimental", + "stability":"stable", "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_pit.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_pit.json index 513217f7bf9f9..b54d9f76204f4 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_pit.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_pit.json @@ -4,7 +4,7 @@ "url":"https://opensearch.org/docs/latest/opensearch/rest-api/point_in_time/", "description":"Deletes one or more point in time searches based on the IDs passed." }, - "stability":"experimental", + "stability":"stable", "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/pit/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/pit/10_basic.yml index 58f019e788968..cbc1501cd6339 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/pit/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/pit/10_basic.yml @@ -87,7 +87,7 @@ "pit_id": [$pit_id] - match: {pits.0.pitId: $pit_id} - - match: {pits.0.succeeded: true } + - match: {pits.0.successful: true } --- "Delete all": @@ -127,7 +127,7 @@ delete_all_pits: {} - match: {pits.0.pitId: $pit_id} - - match: {pits.0.succeeded: true } + - match: {pits.0.successful: true } - do: catch: missing