From ee0b26c61e4eb9251fb3a2fcc31fb276dcae7865 Mon Sep 17 00:00:00 2001 From: Priyanshu Date: Wed, 27 Feb 2019 08:36:28 +0530 Subject: HTTPS support for workflow 1. Added support for both http and https on BE. 2. By default the HTTPS is not enabled. 3. Added some logging properties. 4. updated ReadMe. Change-Id: I5337b19d6fe5eeaf7ded47019dc6bd3fbdcca309 Issue-ID: SDC-2136 Signed-off-by: priyanshu --- .../src/main/resources/application.properties | 23 ++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'workflow-designer-be/src/main/resources/application.properties') diff --git a/workflow-designer-be/src/main/resources/application.properties b/workflow-designer-be/src/main/resources/application.properties index 5fa56d82..1ff8311a 100644 --- a/workflow-designer-be/src/main/resources/application.properties +++ b/workflow-designer-be/src/main/resources/application.properties @@ -14,7 +14,14 @@ # limitations under the License. #/ server.servlet.context-path=/ -server.port=${SERVER_PORT:8080} +http.port=${HTTP_PORT:8080} + +server.port=${SERVER_PORT:8443} +server.ssl.enabled=${SSL_ENABLED:false} +server.ssl.key-password=${SSL_KEY_PASSWORD:} +server.ssl.key-store=${SSL_KEYSTORE_PATH:} +server.ssl.key-store-type=${SSL_KEYSTORE_TYPE:} + sdc.be.protocol=${SDC_PROTOCOL:} sdc.be.endpoint=${SDC_ENDPOINT:} sdc.be.external.user=${SDC_USER:} @@ -33,4 +40,16 @@ management.endpoint.health.show-details=always #Headers are comma separated list onap.logging.requestIdHeader=X-ECOMP-RequestID,X-ONAP-RequestID -onap.logging.partnerNameHeader=USER_ID \ No newline at end of file +onap.logging.partnerNameHeader=USER_ID + +logging.level.org.springframework=INFO +logging.level.org.onap.sdc.workflow=INFO + +#output to a temp_folder/file +logging.file=${java.io.tmpdir}/application.log + +# Logging pattern for the console +logging.pattern.console= %d{yyyy-MM-dd HH:mm:ss} - %msg%n + +# Logging pattern for file +logging.pattern.file= %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg% \ No newline at end of file -- cgit 1.2.3-korg