diff options
author | Krzysztof Gajewski <krzysztof.gajewski@nokia.com> | 2021-02-01 18:14:13 +0100 |
---|---|---|
committer | Krzysztof Gajewski <krzysztof.gajewski@nokia.com> | 2021-02-17 15:04:07 +0000 |
commit | 7646f2ba514a578dbb8e1001c99afae35919f9e7 (patch) | |
tree | ad23b56b404439d389f3f9f2010f66d784393e86 /scripts/dcaegen2-collectors-datafile/dfc-management | |
parent | a680781ff2266be181cad97275514ab5bb6716e4 (diff) |
Add HTTPS to collect files from xNFs
- CSIT tests
Issue-ID: DCAEGEN2-2528
Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>
Change-Id: I248a3866e22ee556c447ed7c7834e83e4ad42b48
Diffstat (limited to 'scripts/dcaegen2-collectors-datafile/dfc-management')
-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')" |