aboutsummaryrefslogtreecommitdiffstats
path: root/deliveries/src
diff options
context:
space:
mode:
authorKrzysztof Kwiecien <krzysztof.kwiecien1@orange.com>2017-07-22 15:48:27 +0200
committerKrzysztof Kwiecien <krzysztof.kwiecien1@orange.com>2017-07-22 16:17:35 +0200
commit7f2f18d14c7341ffc7a5510b21d28ce14c11eba7 (patch)
tree8ff2da8c928392a47c420c083a3eeb93364a2f8f /deliveries/src
parent4c1fe21ede07f377ec0722d3f912038a52263b2f (diff)
add missing information to see VID in Portal
add missign information into properties files, localization scirtp and Dockerfile to solve the problem of accessing VID portal form ONAP Portal Issue: PORTAL-34 PORTAL-38 Change-Id: Ief9c0fcb57aa0d455d943806acb04de698342b8e Signed-off-by: Krzysztof Kwiecien <krzysztof.kwiecien1@orange.com>
Diffstat (limited to 'deliveries/src')
-rwxr-xr-xdeliveries/src/main/docker/docker-files/Dockerfile7
-rwxr-xr-xdeliveries/src/main/scripts/localize_portal.sh1
2 files changed, 6 insertions, 2 deletions
diff --git a/deliveries/src/main/docker/docker-files/Dockerfile b/deliveries/src/main/docker/docker-files/Dockerfile
index 72d37c320..43e472da3 100755
--- a/deliveries/src/main/docker/docker-files/Dockerfile
+++ b/deliveries/src/main/docker/docker-files/Dockerfile
@@ -1,7 +1,10 @@
FROM tomcat:8.0-jre8
-
+# add vim and uncomment alias to speedup troubleshooting purpose
RUN apt-get update && apt-get install -y \
- openjdk-8-jdk
+ openjdk-8-jdk vim
+
+RUN sed -i 's/# alias/alias/g' /root/.bashrc
+
ENV ROOT_DIR /opt/app/vid
diff --git a/deliveries/src/main/scripts/localize_portal.sh b/deliveries/src/main/scripts/localize_portal.sh
index 7d630c56b..f29d485eb 100755
--- a/deliveries/src/main/scripts/localize_portal.sh
+++ b/deliveries/src/main/scripts/localize_portal.sh
@@ -10,6 +10,7 @@ sed -e 's ${VID_WJ_LOGOUT_URL} '${VID_WJ_LOGOUT_URL}' g' \
-e 's ${VID_ECOMP_REST_URL} '${VID_ECOMP_REST_URL}' g' \
-e 's ${VID_UEB_URL_LIST} '${VID_UEB_URL_LIST}' g' \
-e 's ${VID_ECOMP_PORTAL_INBOX_NAME} '${VID_ECOMP_PORTAL_INBOX_NAME}' g' \
+ -e 's ${VID_DECRYPTION_KEY} '${VID_DECRYPTION_KEY}' g' \
-e 's ${VID_UEB_APP_KEY} '${VID_UEB_APP_KEY}' g' \
-e 's ${VID_UEB_APP_SECRET} '${VID_UEB_APP_SECRET}' g' \
-e 's ${VID_UEB_APP_MAILBOX_NAME} '${VID_UEB_APP_MAILBOX_NAME}' g' \