From 9e7e61ae6b9e86fb611cf5a736620405916a668b Mon Sep 17 00:00:00 2001 From: Venkata Harish K Kajur Date: Mon, 2 Oct 2017 14:53:23 -0400 Subject: Fix the update query tool to work properly The update query tool is supposed to be getting the url from aai config and that is supposed to have the /aai/v11 which was missing during a previous change Issue-ID: AAI-408 Change-Id: I3c4e2ac9712ea4b7bf6846b9516a5ce7ce12398f Signed-off-by: Venkata Harish K Kajur --- aai-traversal/src/main/resources/docker/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aai-traversal/src') diff --git a/aai-traversal/src/main/resources/docker/docker-entrypoint.sh b/aai-traversal/src/main/resources/docker/docker-entrypoint.sh index 0310b24..64b7277 100644 --- a/aai-traversal/src/main/resources/docker/docker-entrypoint.sh +++ b/aai-traversal/src/main/resources/docker/docker-entrypoint.sh @@ -71,7 +71,7 @@ if [ -z ${DISABLE_UPDATE_QUERY} ]; then if [ ! -f ${UPDATE_QUERY_RAN_FILE} ]; then OLD_RESOURCES_URL=$(grep -o "^aai.server.url=.*" ${AAICONFIG_FILE} | cut -d"=" -f2-); - TEMP_RESOURCES_URL=https://${RESOURCES_HOSTNAME}:${RESOURCES_PORT}; + TEMP_RESOURCES_URL=https://${RESOURCES_HOSTNAME}:${RESOURCES_PORT}/aai/v11/; sed -i "s%^aai.server.url=.*$%aai.server.url=${TEMP_RESOURCES_URL}%g" ${AAICONFIG_FILE}; gosu aaiadmin /opt/app/aai-traversal/bin/install/updateQueryData.sh touch ${UPDATE_QUERY_RAN_FILE}; -- cgit 1.2.3-korg