summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Forsyth <jf2512@att.com>2018-02-27 15:06:41 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-27 15:06:41 +0000
commit7d81d8c3075e68ffb925366e49e86577155d146c (patch)
treed5d1155a5f4051679f34288c8409046ed06fd5a8
parent6c1e5810c54eaa2a95621e8510023ba3920d5bdc (diff)
parent411bd21e018305fc39512ba5beee77a3fe99814d (diff)
Merge "Update the rest endpoints for v13 version"
-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";