From 411bd21e018305fc39512ba5beee77a3fe99814d Mon Sep 17 00:00:00 2001 From: Venkata Harish K Kajur Date: Tue, 27 Feb 2018 09:40:29 -0500 Subject: Update the rest endpoints for v13 version Issue-ID: AAI-536 Change-Id: Ib040a8e135ff60594dca6804cfd7920647f3ee77 Signed-off-by: Venkata Harish K Kajur --- aai-traversal/src/main/java/org/onap/aai/rest/QueryConsumer.java | 2 +- .../src/main/java/org/onap/aai/rest/search/SearchProvider.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'aai-traversal/src') diff --git a/aai-traversal/src/main/java/org/onap/aai/rest/QueryConsumer.java b/aai-traversal/src/main/java/org/onap/aai/rest/QueryConsumer.java index 57e4188..6c439d1 100644 --- a/aai-traversal/src/main/java/org/onap/aai/rest/QueryConsumer.java +++ b/aai-traversal/src/main/java/org/onap/aai/rest/QueryConsumer.java @@ -79,7 +79,7 @@ import com.google.gson.JsonObject; import com.google.gson.JsonParser; import org.onap.aai.util.AAIConstants; -@Path("{version: v9|v1[012]}/query") +@Path("{version: v9|v1[0123]}/query") public class QueryConsumer extends RESTAPI { private static final String DEPTH = "depth"; diff --git a/aai-traversal/src/main/java/org/onap/aai/rest/search/SearchProvider.java b/aai-traversal/src/main/java/org/onap/aai/rest/search/SearchProvider.java index 501e019..7b41f52 100644 --- a/aai-traversal/src/main/java/org/onap/aai/rest/search/SearchProvider.java +++ b/aai-traversal/src/main/java/org/onap/aai/rest/search/SearchProvider.java @@ -70,7 +70,7 @@ import com.att.eelf.configuration.EELFManager; * */ -@Path("/{version: v[789]|v1[012]|latest}/search") +@Path("/{version: v[789]|v1[0123]|latest}/search") public class SearchProvider extends RESTAPI { protected static String authPolicyFunctionName = "search"; -- cgit 1.2.3-korg