blob: d112738b29d67308e980953e5f94829b5bfe7f3b [file] [log] [blame]
jimmydot3982f4f2017-05-07 14:58:24 -04001FROM tomcat:8.0-jre8
2
3RUN apt-get update && apt-get install -y \
4 openjdk-8-jdk
5
6ENV ROOT_DIR /opt/app/vid
7
8ENV ASDC_CLIENT_TYPE REST
9ENV ASDC_CLIENT_REST_HOST c2.vm1.sdc.simpledemo.openecomp.org
10#old creds 1/9/2017 ENV ASDC_CLIENT_REST_AUTH Basic dmlkOnZpZG9z
11ENV ASDC_CLIENT_REST_AUTH Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
12ENV ASDC_CLIENT_REST_PROTOCOL http
13ENV ASDC_CLIENT_REST_PORT 8080
14ENV ASDC_CLIENT_MODEL_NAMESPACE org.openecomp
15
16ENV CACHE_DIRECTORY $ROOT_DIR/cache
17
18ENV LOG4J_LOGLEVEL INFO
19ENV LOG4J_APPENDER rollingfile
20ENV LOG4J_LOGS_DIRECTORY ${ROOT_DIR}/logs
21
22ENV VID_AAI_HOST aai.api.simpledemo.openecomp.org
23ENV VID_AAI_PORT 8443
24ENV VID_APP_DISPLAY_NAME VID
25ENV VID_ECOMP_SHARED_CONTEXT_REST_URL https://portal.api.simpledemo.openecomp.org:8080/ecompportal/context
26ENV VID_MSO_SERVER_URL http://vm1.mso.simpledemo.openecomp.org:8080
27ENV VID_TRUSTSTORE_FILE ${ROOT_DIR}/etc/vid_keystore.jks
28ENV VID_MYLOGIN_FEED_DIRECTORY /tmp/MyLogins
29ENV VID_TRUSTSTORE_PASS 5c84906b14912dbe96154e09b1e1db90e31f8dedb08e3e6c9f17da3f926cb67b33e4229cc1fe0f59c996d2e38b8ded42
30ENV VID_MSO_USER InfraPortalClient
31ENV VID_MSO_PASS OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz
32ENV MSO_DME2_CLIENT_TIMEOUT 10000
33ENV MSO_DME2_CLIENT_READ_TIMEOUT 10000
34ENV MSO_DME2_SERVER_URL http://localhost:8081
35ENV MSO_DME2_ENABLED false
36ENV MSO_POLLING_INTERVAL_MSECS 10000
37ENV AAI_TRUSTSTORE_FILENAME tomcat_keystore
38ENV AAI_TRUSTSTORE_PASSWD_X OBF:1ks51l8d1o3i1pcc1r2r1e211r391kls1pyj1z7u1njf1lx51go21hnj1y0k1mli1sop1k8o1j651vu91mxw1vun1mze1vv11j8x1k5i1sp11mjc1y161hlr1gm41m111nkj1z781pw31kku1r4p1e391r571pbm1o741l4x1ksp
39ENV AAI_KEYSTORE_FILENAME tomcat_keystore
40ENV AAI_KEYSTORE_PASSWD_X OBF:1ks51l8d1o3i1pcc1r2r1e211r391kls1pyj1z7u1njf1lx51go21hnj1y0k1mli1sop1k8o1j651vu91mxw1vun1mze1vv11j8x1k5i1sp11mjc1y161hlr1gm41m111nkj1z781pw31kku1r4p1e391r571pbm1o741l4x1ksp
41ENV AAI_VID_UID VID
42ENV AAI_VID_PASSWD_X OBF:1jm91i0v1jl9
43ENV AAI_USE_CLIENT_CERT false
44ENV AAI_VNF_PROV_STATUS PREPROV,NVTPROV,PROV,CAPPED
45ENV VID_ECOMP_REDIRECT_URL http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm
46ENV VID_ECOMP_REST_URL http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/auxapi
47ENV VID_ECOMP_SHARED_CONTEXT_REST_URL http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/context
48ENV VID_CONTACT_US_LINK https://todo_contact_us_link.com
49
50ENV VID_DECRYPTION_KEY AGLDdG4D04BKm2IxIWEr8o=
51ENV VID_UEB_URL_LIST vm1-message-router
52ENV VID_UEB_CONSUMER_GROUP VID
53ENV VID_ECOMP_PORTAL_INBOX_NAME ECOMP-PORTAL-INBOX
54ENV VID_UEB_APP_KEY 2Re7Pvdkgw5aeAUD
55ENV VID_UEB_APP_SECRET S31PrbOzGgL4hg4owgtx47Da
56ENV VID_UEB_APP_MAILBOX_NAME ECOMP-PORTAL-OUTBOX-90
57ENV VID_UEB_LISTENERS_ENABLE false
58
59ENV VID_LOG_DIR ${ROOT_DIR}/logs
60ENV VID_LOG_LEVEL INFO
61
62ENV VID_MYSQL_HOST vid-mariadb-docker-instance
63ENV VID_MYSQL_PORT 3306
64ENV VID_MYSQL_DBNAME vid_portal
65ENV VID_MYSQL_USER vidadmin
66ENV VID_MYSQL_MAXCONNECTIONS 5
67ENV VID_MYSQL_PASS Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
68
69ADD maven/scripts/*.sh /tmp/vid/
70ADD maven/artifacts/vid.war /tmp/vid/stage/
71
72RUN chmod +x /tmp/vid/localize.sh
73
74CMD ["/tmp/vid/localize.sh"]