Introduce choice between secure and non secure com
The DMaaP Mediator producer now uses secure communication towards any
address configured to use the https scheme. If its own callback is
configured to the https scheme, it will only listen to an https port,
otherwise it will only use an http port.
Also moved the certificate and key files to a separate folder.
Issue-ID: NONRTRIC-633
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Id3bb18e83d40d26740b71be7901911c9a41502e3
diff --git a/dmaap-mediator-producer/Dockerfile b/dmaap-mediator-producer/Dockerfile
index ffc1794..bc09fdc 100644
--- a/dmaap-mediator-producer/Dockerfile
+++ b/dmaap-mediator-producer/Dockerfile
@@ -35,5 +35,6 @@
## Copy from "build" stage
COPY --from=build /dmaapmediatorproducer .
COPY --from=build /app/configs/* /configs/
+COPY --from=build /app/security/* /security/
USER nonroot:nonroot
ENTRYPOINT ["/dmaapmediatorproducer"]