summaryrefslogtreecommitdiffstats
path: root/deliveries/src/main
diff options
context:
space:
mode:
authorbiniek <lukasz.biniek@nokia.com>2018-11-05 15:21:51 +0100
committerbiniek <lukasz.biniek@nokia.com>2018-11-14 14:12:01 +0100
commit6d50f6aff069772e8302ee626ab19db2d60c9e6c (patch)
treea4356c3c144fa8da03b00714223eb97149b46b8d /deliveries/src/main
parent8c66bb19548227c0d24b41fa931a5956bc445cac (diff)
Change template properties for AAI
Change-Id: I5412a152e6df701d94c8dffbc2a22d70e282008c Issue-ID: VID-343 Signed-off-by: biniek <lukasz.biniek@nokia.com>
Diffstat (limited to 'deliveries/src/main')
-rwxr-xr-xdeliveries/src/main/docker/docker-files/Dockerfile3
-rwxr-xr-xdeliveries/src/main/scripts/localize_system.sh3
2 files changed, 2 insertions, 4 deletions
diff --git a/deliveries/src/main/docker/docker-files/Dockerfile b/deliveries/src/main/docker/docker-files/Dockerfile
index 8cd2bc7aa..33c3ac1a1 100755
--- a/deliveries/src/main/docker/docker-files/Dockerfile
+++ b/deliveries/src/main/docker/docker-files/Dockerfile
@@ -25,8 +25,7 @@ ENV LOG4J_LOGLEVEL INFO
ENV LOG4J_APPENDER rollingfile
ENV LOG4J_LOGS_DIRECTORY ${ROOT_DIR}/logs
-ENV VID_AAI_HOST aai.api.simpledemo.onap.org
-ENV VID_AAI_PORT 8443
+ENV VID_AAI_URL https://aai.api.simpledemo.onap.org:8443
ENV VID_APP_DISPLAY_NAME VID
ENV VID_ECOMP_SHARED_CONTEXT_REST_URL https://portal.api.simpledemo.onap.org:8080/onapportal/context
ENV VID_MSO_SERVER_URL http://vm1.mso.simpledemo.onap.org:8080/onap/so/infra
diff --git a/deliveries/src/main/scripts/localize_system.sh b/deliveries/src/main/scripts/localize_system.sh
index 0947d49ea..a7e6cd3ba 100755
--- a/deliveries/src/main/scripts/localize_system.sh
+++ b/deliveries/src/main/scripts/localize_system.sh
@@ -13,8 +13,7 @@ sed -e 's/${VID_MYSQL_HOST}/'${VID_MYSQL_HOST}'/g' \
-e 's/${VID_MYSQL_DBNAME}/'${VID_MYSQL_DBNAME}'/g' \
-e 's/${VID_MYSQL_USER}/'${VID_MYSQL_USER}'/g' \
-e 's/${VID_MYSQL_PASS}/'${VID_MYSQL_PASS}'/g' \
- -e 's/${VID_AAI_HOST}/'${VID_AAI_HOST}'/g' \
- -e 's/${VID_AAI_PORT}/'${VID_AAI_PORT}'/g' \
+ -e 's ${VID_AAI_URL} '${VID_AAI_URL}' g' \
-e 's/${AAI_USE_CLIENT_CERT}/'${AAI_USE_CLIENT_CERT}'/g' \
-e 's/${AAI_VID_UID}/'${AAI_VID_UID}'/g' \
-e 's/${AAI_VID_PASSWD_X}/'${AAI_VID_PASSWD_X}'/g' \