sdc-be now starts and robot passes healthcheck
----------------------------------------
Basic ASDC Health Check | PASS |
----------------------------------------
Note that I did not verify whether the logging
function is working - priority for this issue
is to get SDC running.
Issue-ID: OOM-359
Change-Id: Ic810109878aa003c54350a6e70a4aeeea9b2f0ea
Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
name: sdc-logs
- mountPath: /var/log/onap
name: sdc-logs-2
- - mountPath: /var/lib/jetty/config/catalog-be/logback.xml
+ - mountPath: /tmp/logback.xml
name: sdc-logback
+ lifecycle:
+ postStart:
+ exec:
+ command: ["/bin/sh", "-c", "export LOG=wait_logback.log; touch $LOG; export SRC=/tmp/logback.xml; export DST=/var/lib/jetty/config/catalog-be/; while [ ! -e $DST ]; do echo 'Waiting for $DST...' >> $LOG; sleep 5; done; sleep 2; /bin/cp -f $SRC $DST; echo 'Done' >> $LOG"]
ports:
- containerPort: 8443
- containerPort: 8080