summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-11-02 13:19:53 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-11-02 13:19:59 -0400
commitd8e386bac38e19fbd71a2167e70af08dbe9ebef6 (patch)
treec3df4c7b7a895c90c348a23c02ee6c99b6747f84 /aai-resources/src/main
parent1bc54212d1b8cb30f945086adb8f822a74493d8a (diff)
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: I639e56da3584bccbfcecc511f77999ba73548080 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-resources/src/main')
-rw-r--r--aai-resources/src/main/resources/docker/docker-entrypoint.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/aai-resources/src/main/resources/docker/docker-entrypoint.sh b/aai-resources/src/main/resources/docker/docker-entrypoint.sh
index 6621745..a132b9b 100644
--- a/aai-resources/src/main/resources/docker/docker-entrypoint.sh
+++ b/aai-resources/src/main/resources/docker/docker-entrypoint.sh
@@ -48,6 +48,8 @@ gosu aaiadmin ./init-chef.sh || {
httpPort=8087;
httpsPort=8447;
+AAI_CORE_JAR=$(ls ${APP_HOME}/extJars/aai-core*.jar);
+
cd ${APP_HOME};
CP=${COMMONLIBS_HOME}/*;
@@ -55,7 +57,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