From e15bd97247800141eb5f0fdbd1fc3f7f03de6d8d Mon Sep 17 00:00:00 2001 From: Venkata Harish K Kajur Date: Mon, 27 Nov 2017 03:49:58 -0500 Subject: Add v12 api changes for the new release code Issue-ID: AAI-514 Change-Id: I5216e1d929d9fb2547e47c285dfcd94dfe4fde48 Signed-off-by: Venkata Harish K Kajur --- .../bundleconfig-local/etc/appprops/aaiconfig.properties | 8 ++++---- .../bundleconfig-local/etc/sysprops/sys-props.properties | 2 +- .../bundleconfig-local/etc/sysprops/template.sys-props.properties | 2 +- aai-traversal/pom.xml | 4 ++-- aai-traversal/src/main/java/org/onap/aai/rest/QueryConsumer.java | 2 +- .../src/main/java/org/onap/aai/rest/search/SearchProvider.java | 2 +- aai-traversal/src/test/resources/test_aaiconfig.properties | 6 +++--- 7 files changed, 13 insertions(+), 13 deletions(-) (limited to 'aai-traversal') diff --git a/aai-traversal/bundleconfig-local/etc/appprops/aaiconfig.properties b/aai-traversal/bundleconfig-local/etc/appprops/aaiconfig.properties index 217463d..3943d08 100644 --- a/aai-traversal/bundleconfig-local/etc/appprops/aaiconfig.properties +++ b/aai-traversal/bundleconfig-local/etc/appprops/aaiconfig.properties @@ -48,7 +48,7 @@ aai.tools.username=AAI aai.tools.password=AAI aai.server.url.base=https://localhost:8443/aai/ -aai.server.url=https://localhost:8443/aai/v11/ +aai.server.url=https://localhost:8443/aai/v12/ aai.global.callback.url=https://localhost:8443/aai/ aai.auth.cspcookies_on=false @@ -80,18 +80,18 @@ 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 aai.notificationEvent.default.sourceName=aai aai.notificationEvent.default.sequenceNumber=0 aai.notificationEvent.default.severity=NORMAL -aai.notificationEvent.default.version=v11 +aai.notificationEvent.default.version=v12 # 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 # Used by Model-processing code aai.model.delete.sleep.per.vtx.msec=500 diff --git a/aai-traversal/bundleconfig-local/etc/sysprops/sys-props.properties b/aai-traversal/bundleconfig-local/etc/sysprops/sys-props.properties index 13c97a9..44d58d5 100644 --- a/aai-traversal/bundleconfig-local/etc/sysprops/sys-props.properties +++ b/aai-traversal/bundleconfig-local/etc/sysprops/sys-props.properties @@ -137,4 +137,4 @@ RESTLET_COMPONENT_REUSE_ADDRESS=true #Service System Properties. Please, place any Service related System Properties below. KEY_STORE_PASSWORD=OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 KEY_MANAGER_PASSWORD=OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 -AAI_CORE_VERSION=1.1.0-SNAPSHOT +AAI_CORE_VERSION=1.2.0-SNAPSHOT diff --git a/aai-traversal/bundleconfig-local/etc/sysprops/template.sys-props.properties b/aai-traversal/bundleconfig-local/etc/sysprops/template.sys-props.properties index 778ac62..c9060f9 100644 --- a/aai-traversal/bundleconfig-local/etc/sysprops/template.sys-props.properties +++ b/aai-traversal/bundleconfig-local/etc/sysprops/template.sys-props.properties @@ -112,4 +112,4 @@ AJSC_EXTERNAL_PROPERTIES_FOLDERS=__AJSC_SHARED_CONFIG__|__AJSC_EXTERNAL_PROPERTI KEY_STORE_PASSWORD=__KEY_STORE_PASSWORD__ KEY_MANAGER_PASSWORD=__KEY_MANAGER_PASSWORD__ -AAI_CORE_VERSION=1.1.0-SNAPSHOT +AAI_CORE_VERSION=1.2.0-SNAPSHOT diff --git a/aai-traversal/pom.xml b/aai-traversal/pom.xml index d79e1e7..4daaa3d 100644 --- a/aai-traversal/pom.xml +++ b/aai-traversal/pom.xml @@ -6,12 +6,12 @@ org.onap.aai.traversal traversal - 1.1.0-SNAPSHOT + 1.2.0-SNAPSHOT aai-traversal aai-traversal http://maven.apache.org - 1.1.0-SNAPSHOT + 1.2.0-SNAPSHOT https://nexus.onap.org https://nexus.onap.org 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 -- cgit 1.2.3-korg