Use versioning, zusammen and session libs from sdc-common-be
[sdc/sdc-workflow-designer.git] / workflow-designer-be / src / main / resources / application.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:}
22 server.ssl.key-store-password=${SERVER_SSL_KEY_PASSWORD:}
23 server.ssl.key-store=${SERVER_SSL_KEYSTORE_PATH:}
24 server.ssl.key-store-type=${SERVER_SSL_KEYSTORE_TYPE:}
25 server.ssl.trust-store-password=${SERVER_SSL_TRUST_PASSWORD:}
26 server.ssl.trust-store=${SERVER_SSL_TRUSTSTORE_PATH:}
27 server.ssl.trust-store-type=${SERVER_SSL_TRUSTSTORE_TYPE:}
28 #server.ssl.protocol=${SERVER_SSL_PROTOCOL:TLS}
29 #server.ssl.enabled-protocols=${SERVER_SSL_ENABLED_PROTOCOL:TLSv1.2}
30
31
32 sdc.be.protocol=${SDC_PROTOCOL:}
33 sdc.be.endpoint=${SDC_ENDPOINT:}
34 sdc.be.external.user=${SDC_USER:}
35 sdc.be.external.password=${SDC_PASSWORD:}
36
37 #CASSANDRA
38 spring.data.cassandra.contact-points=${CS_HOSTS}
39 spring.data.cassandra.keyspace-name=workflow
40 spring.data.cassandra.port=${CS_PORT:9042}
41 spring.data.cassandra.username=${CS_USER:}
42 spring.data.cassandra.password=${CS_PASSWORD:}
43 zusammen.cassandra.isAuthenticate=${CS_AUTHENTICATE:false}
44 spring.data.cassandra.ssl=${CS_SSL_ENABLED:false}
45 zusammen.cassandra.trustStorePath=${CS_TRUST_STORE_PATH:}
46 zusammen.cassandra.trustStorePassword=${CS_TRUST_STORE_PASSWORD:}
47 spring.data.cassandra.jmx-enabled=false
48
49 #Actuators
50 management.endpoint.health.show-details=always
51
52 #Headers are comma separated list
53 onap.logging.requestIdHeader=X-ECOMP-RequestID,X-ONAP-RequestID
54 onap.logging.partnerNameHeader=USER_ID
55
56 logging.level.org.springframework=INFO
57 logging.level.org.onap.sdc.workflow=INFO
58
59 #output to a temp_folder/file
60 logging.file=${java.io.tmpdir}/application.log
61
62 # Logging pattern for the console
63 logging.pattern.console= %d{yyyy-MM-dd HH:mm:ss} - %msg%n
64
65 # Logging pattern for file
66 logging.pattern.file= %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%