summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2018-02-27 09:40:29 -0500
committerVenkata Harish K Kajur <vk250x@att.com>2018-02-27 09:40:36 -0500
commit411bd21e018305fc39512ba5beee77a3fe99814d (patch)
tree476eef998e9833b95265d8cfa533ca7962d7b09d
parent11ce21200a43bbbe189261c3002215b1b1ca2989 (diff)
Update the rest endpoints for v13 version
Issue-ID: AAI-536 Change-Id: Ib040a8e135ff60594dca6804cfd7920647f3ee77 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r--aai-traversal/src/main/java/org/onap/aai/rest/QueryConsumer.java2
-rw-r--r--aai-traversal/src/main/java/org/onap/aai/rest/search/SearchProvider.java2
2 files changed, 2 insertions, 2 deletions
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";