aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/src
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-10-02 14:53:23 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-10-02 14:53:28 -0400
commit9e7e61ae6b9e86fb611cf5a736620405916a668b (patch)
tree32971eb43f05d717198034b184e507ce99c20267 /aai-traversal/src
parent78014e1e11a5fb33c68e1792ccb2b521f2f5dac4 (diff)
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 <vk250x@att.com>
Diffstat (limited to 'aai-traversal/src')
-rw-r--r--aai-traversal/src/main/resources/docker/docker-entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
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};