summaryrefslogtreecommitdiffstats
path: root/aai-traversal/src
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-11-27 03:49:58 -0500
committerVenkata Harish K Kajur <vk250x@att.com>2017-11-27 09:54:49 -0500
commite15bd97247800141eb5f0fdbd1fc3f7f03de6d8d (patch)
treeef35518bb4383bee795dd5d31cfef27bd7b6302c /aai-traversal/src
parent556943bfa0674656110be29b4a5777d5273732a9 (diff)
Add v12 api changes for the new release code
Issue-ID: AAI-514 Change-Id: I5216e1d929d9fb2547e47c285dfcd94dfe4fde48 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-traversal/src')
-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
-rw-r--r--aai-traversal/src/test/resources/test_aaiconfig.properties6
3 files changed, 5 insertions, 5 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 8109f7e..b5f2658 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
@@ -68,7 +68,7 @@ import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
-@Path("{version: v9|v1[01]}/query")
+@Path("{version: v9|v1[012]}/query")
public class QueryConsumer extends RESTAPI {
/** The introspector factory type. */
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 23bdaf0..dbc618e 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
@@ -60,7 +60,7 @@ import org.onap.aai.serialization.queryformats.utils.UrlBuilder;
*
*/
-@Path("/{version: v2|v[789]|v1[01]|latest}/search")
+@Path("/{version: v2|v[789]|v1[012]|latest}/search")
public class SearchProvider extends RESTAPI {
protected static String authPolicyFunctionName = "search";
diff --git a/aai-traversal/src/test/resources/test_aaiconfig.properties b/aai-traversal/src/test/resources/test_aaiconfig.properties
index f984761..4f130da 100644
--- a/aai-traversal/src/test/resources/test_aaiconfig.properties
+++ b/aai-traversal/src/test/resources/test_aaiconfig.properties
@@ -43,7 +43,7 @@ aai.auth.cspcookies_on=false
aai.dbmodel.filename=ex5.json
aai.server.url.base=https://localhost:8446/aai/
-aai.server.url=https://localhost:8446/aai/v11/
+aai.server.url=https://localhost:8446/aai/v12/
aai.truststore.filename=aai_keystore
aai.truststore.passwd.x=
@@ -83,7 +83,7 @@ aai.rsync.options.list=-v|-t
aai.rsync.remote.user=aaiadmin
aai.rsync.enabled=y
-aai.notification.current.version=v11
+aai.notification.current.version=v12
aai.notificationEvent.default.status=UNPROCESSED
aai.notificationEvent.default.eventType=AAI-EVENT
aai.notificationEvent.default.domain=devINT1
@@ -94,6 +94,6 @@ aai.notificationEvent.default.version=v9
# This one lets us enable/disable resource-version checking on updates/deletes
aai.resourceversion.enableflag=true
aai.logging.maxStackTraceEntries=10
-aai.default.api.version=v11
+aai.default.api.version=v12