From: Bartosz Gardziejewski Date: Mon, 11 May 2020 08:16:40 +0000 (+0200) Subject: Add default values for client and store passwords X-Git-Tag: 6.0.0-ONAP~4 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7d8c7040c86c2aaf84e0e9f6de495e347f92bdae;p=integration%2Fsimulators%2Fpnf-simulator.git Add default values for client and store passwords When running PNF simulator locally (with no AAF connected) password environment variables were empty Issue-ID: INT-1533 Signed-off-by: Bartosz Gardziejewski Change-Id: I4135f93c6428317e6ef3769e81133e852c1adc63 --- diff --git a/pnfsimulator/src/main/resources/application.properties b/pnfsimulator/src/main/resources/application.properties index 5c573b3..6c9ed42 100644 --- a/pnfsimulator/src/main/resources/application.properties +++ b/pnfsimulator/src/main/resources/application.properties @@ -12,6 +12,6 @@ management.endpoints.web.exposure.include=refresh,health ssl.clientCertificateEnabled=true ssl.clientCertificateDir=/app/store/cert.p12 -ssl.clientCertificatePassword=${CLIENT_CERT_PASS} +ssl.clientCertificatePassword=${CLIENT_CERT_PASS:collector} ssl.trustStoreDir=/app/store/trust.jks -ssl.trustStorePassword=${TRUST_CERT_PASS} +ssl.trustStorePassword=${TRUST_CERT_PASS:collector} diff --git a/pnfsimulator/store/client.p12 b/pnfsimulator/store/cert.p12 similarity index 100% rename from pnfsimulator/store/client.p12 rename to pnfsimulator/store/cert.p12 diff --git a/pnfsimulator/store/trustStore b/pnfsimulator/store/trust.jks similarity index 100% rename from pnfsimulator/store/trustStore rename to pnfsimulator/store/trust.jks