Updated PNF-Sw upgrade CSIT with latest ccsdk-blueprintsprocessor docker image.
[integration/csit.git] / plans / usecases-pnf-sw-upgrade / pnf-sw-upgrade / cds / resources / importCerAndStartService.sh
1 #!/bin/sh
2
3 chmod -R 775 /opt/app/onap/res
4 cp -f /opt/app/onap/res/application.properties /opt/app/onap/config
5 cp -f /opt/app/onap/res/error-messages_en.properties /opt/app/onap/config
6
7 echo "importing aai cert."
8 keytool -import -noprompt -trustcacerts -keystore $JAVA_HOME/lib/security/cacerts -storepass changeit -alias aai-cacert -file /opt/app/onap/res/aai.cert
9
10 echo "starting service."
11 source /opt/app/onap/blueprints-processor/startService.sh