diff options
author | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2021-02-17 17:15:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-02-17 17:15:19 +0000 |
commit | 49679a66c9c84b0cfc2f0d0fbab5109c5dad3730 (patch) | |
tree | 591d36385b082b48aad909831665e91feef41127 /scripts | |
parent | 573c6db18c238c9510bdb980307229c56a40abf8 (diff) | |
parent | 7646f2ba514a578dbb8e1001c99afae35919f9e7 (diff) |
Merge "Add HTTPS to collect files from xNFs - CSIT tests"
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh b/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh index 38b78f2d..b7a595c1 100755 --- a/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh +++ b/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh @@ -26,6 +26,16 @@ DOCKER_SIM_NWNAME="dfcnet" echo "Creating docker network $DOCKER_SIM_NWNAME, if needed" docker network ls | grep $DOCKER_SIM_NWNAME >/dev/null || docker network create $DOCKER_SIM_NWNAME +if [ $HTTP_TYPE = "HTTPS" ] + then + docker run \ + --name oom-certservice-post-processor \ + --env-file $SIMGROUP_ROOT/../certservice/merger/merge-certs.env \ + --mount type=bind,src=$SIMGROUP_ROOT/tls,dst=/opt/app/datafile/etc/cert \ + --mount type=bind,src=$SIMGROUP_ROOT/../certservice/generated-certs/dfc-p12,dst=/opt/app/datafile/etc/ \ + nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:latest +fi + docker-compose up -d DFC_APP="$(docker ps -q --filter='name=dfc_app0')" |