From: Venkata Harish K Kajur Date: Thu, 2 Nov 2017 17:27:12 +0000 (-0400) Subject: Update the dependency from snapshot X-Git-Tag: v1.1.0~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F21923%2F1;p=aai%2Ftraversal.git Update the dependency from snapshot to using the release version and remove the dependency in the docker file that is tied to the 1.1.0 since we are upgrading it will not always be the same and always depend on the project version as it will be updatable from the versions:set command Issue-ID: AAI-448 Change-Id: Id80162d227a133a51c36b986ac8a8e6952eac2f7 Signed-off-by: Venkata Harish K Kajur --- diff --git a/aai-traversal/pom.xml b/aai-traversal/pom.xml index 724b2dbd..d79e1e78 100644 --- a/aai-traversal/pom.xml +++ b/aai-traversal/pom.xml @@ -19,8 +19,6 @@ ${basedir}/target/swm/package/nix/dist_files/ yyyyMMdd'T'HHmmss 1.0.0 - 1.1.0-SNAPSHOT - 1.1.0-SNAPSHOT 1.0.2 java jacoco @@ -33,12 +31,12 @@ org.onap.aai.aai-common aai-schema - ${aai-schema.version} + ${project.version} org.onap.aai.aai-common aai-core - ${aai-core.version} + ${project.version} @@ -458,7 +456,7 @@ org.onap.aai.aai-common aai-schema - ${aai-schema.version} + ${project.version} bundleconfig-local/etc oxm/*.xml diff --git a/aai-traversal/src/main/resources/docker/docker-entrypoint.sh b/aai-traversal/src/main/resources/docker/docker-entrypoint.sh index 64b7277d..d1231f21 100644 --- a/aai-traversal/src/main/resources/docker/docker-entrypoint.sh +++ b/aai-traversal/src/main/resources/docker/docker-entrypoint.sh @@ -51,6 +51,8 @@ gosu aaiadmin ./init-chef.sh || { httpPort=8086; httpsPort=8446; +AAI_CORE_JAR=$(ls ${APP_HOME}/extJars/aai-core*.jar); + cd ${APP_HOME}; # If the variable DISABLE_UPDATE_QUERY is empty @@ -84,7 +86,7 @@ CP="$CP":${APP_HOME}/etc; CP="$CP":${APP_HOME}/lib/*; CP="$CP":${APP_HOME}/extJars/logback-access-1.1.7.jar; CP="$CP":${APP_HOME}/extJars/logback-core-1.1.7.jar; -CP="$CP":${APP_HOME}/extJars/aai-core-${AAI_CORE_VERSION}.jar; +CP="$CP":${AAI_CORE_JAR}; # You can add additional jvm options by adding environment variable JVM_PRE_OPTS # If you need to add more jvm options at the end then you can use JVM_POST_OPTS diff --git a/pom.xml b/pom.xml index 55559c1a..41799e6f 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,6 @@ ActiveAndAvailableInventory-Traversal v1 2.1.0 - 1.1.0-SNAPSHOT 1.1.0 1.1 @@ -59,7 +58,6 @@ 3.0.4 0.0.1 int1-data.graphson - 1.1.0-SNAPSHOT @@ -140,7 +138,7 @@ ${runAjscHome}/extJars/logback-core-1.1.7.jar - ${runAjscHome}/extJars/aai-core-${aai-core.version}.jar + ${runAjscHome}/extJars/aai-core-${project.version}.jar @@ -212,7 +210,7 @@ aai-core.version - ${aai-core.version} + ${project.version}