Changes for backend to support SSL
[sdc/sdc-workflow-designer.git] / workflow-designer-be / src / main / resources / application-dev.properties
1 #/
2 # Copyright � 2016-2018 European Support Limited
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #   http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #/
16 server.servlet.context-path=/
17 http.port=${HTTP_PORT:8080}
18
19 server.port=${SERVER_PORT:8443}
20 server.ssl.enabled=${SERVER_SSL_ENABLED:true}
21 server.ssl.key-password=${SERVER_SSL_KEY_PASSWORD:!ppJ.JvWn0hGh)oVF]([Kv)^}
22 server.ssl.key-store=${SERVER_SSL_KEYSTORE_PATH:/etc/server-https-keystore/org.onap.sdc.p12}
23 server.ssl.key-store-type=${SERVER_SSL_KEYSTORE_TYPE:PKCS12}
24
25 sdc.be.protocol=${SDC_PROTOCOL:https}
26 sdc.be.endpoint=${SDC_ENDPOINT:}
27 sdc.be.external.user=${SDC_USER:}
28 sdc.be.external.password=${SDC_PASSWORD:}
29
30 #CASSANDRA
31 spring.data.cassandra.contact-points=${CS_HOSTS:localhost}
32 spring.data.cassandra.keyspace-name=workflow
33 spring.data.cassandra.port=${CS_PORT:9042}
34 spring.data.cassandra.username=${CS_USER:}
35 spring.data.cassandra.password=${CS_PASSWORD:}
36 zusammen.cassandra.isAuthenticate=${CS_AUTHENTICATE:false}
37 spring.data.cassandra.ssl=${CS_SSL_ENABLED:false}
38 zusammen.cassandra.trustStorePath=${CS_TRUST_STORE_PATH:}
39 zusammen.cassandra.trustStorePassword=${CS_TRUST_STORE_PASSWORD:}
40
41 #Actuators
42 management.endpoint.health.show-details=always
43
44 #Headers are comma separated list
45 onap.logging.requestIdHeader=X-ECOMP-RequestID,X-ONAP-RequestID
46 onap.logging.partnerNameHeader=USER_ID
47
48 logging.level.org.springframework=INFO
49 logging.level.org.onap.sdc.workflow=INFO
50
51 #output to a temp_folder/file
52 logging.file=${java.io.tmpdir}/application.log
53
54 # Logging pattern for the console
55 logging.pattern.console= %d{yyyy-MM-dd HH:mm:ss} - %msg%n
56
57 # Logging pattern for file
58 logging.pattern.file= %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%