Merge "Validate ids"
[clamp.git] / src / test / resources / https / https-test.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ONAP CLAMP
4 # ================================================================================
5 # Copyright (C) 2017-2018 AT&T Intellectual Property. All rights
6 #                             reserved.
7 # ================================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11 #
12 # http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END============================================
20 # ===================================================================
21 #
22 ###
23
24 ### Set the port for HTTP or HTTPS protocol (Controlled by Spring framework, only one at a time).
25 ### (See below for the parameter 'server.http.port' if you want to have both enabled) 
26 ### To have only HTTP, keep the lines server.ssl.* commented
27 ### To have only HTTPS enabled, uncomment the server.ssl.* lines and specify a right keystore location
28 server.port=${clamp.it.tests.https}
29 ### Settings for HTTPS (this automatically enables the HTTPS on the port 'server.port') 
30 server.ssl.key-store=classpath:https/keystore-test.jks
31 server.ssl.key-store-password=testpass
32 server.ssl.key-password=testpass
33 server.ssl.key-store-type=JKS
34
35 ### In order to be user friendly when HTTPS is enabled, 
36 ### you can add another HTTP port that will be automatically redirected to HTTPS
37 ### by enabling this parameter (server.http.port) and set it to another port (80 or 8080, 8090, etc ...)
38 server.http-to-https-redirection.port=${clamp.it.tests.http-redirected}
39
40 ### HTTP Example:
41 ###--------------
42 ### server.port=8080
43
44 ### HTTPS Example:
45 ### --------------
46 ### server.port=8443
47 ### server.ssl.key-store=file:/tmp/mykey.jks
48 ### server.ssl.key-store-password=mypass
49 ### server.ssl.key-password=mypass
50
51 ### HTTP (Redirected to HTTPS) and HTTPS Example:
52 ### --------------------------------------------
53 ### server.port=8443           <-- The HTTPS port
54 ### server.ssl.key-store=file:/tmp/mykey.jks
55 ### server.ssl.key-store-password=mypass
56 ### server.ssl.key-password=mypass
57 ### server.http-to-https-redirection.port=8090  <-- The HTTP port
58
59 server.servlet.context-path=/
60 #Modified engine-rest applicationpath
61 spring.profiles.active=clamp-default,clamp-default-user
62
63 #clds datasource connection details
64 spring.datasource.cldsdb.driverClassName=org.mariadb.jdbc.Driver
65 spring.datasource.cldsdb.url=jdbc:mariadb:sequential://localhost:${docker.mariadb.port.host}/cldsdb4?autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647\r
66 spring.datasource.cldsdb.username=clds
67 spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067\r
68 spring.datasource.cldsdb.validationQuery=SELECT 1
69 spring.datasource.cldsdb.validationQueryTimeout=20000
70 spring.datasource.cldsdb.validationInterval=30000
71 spring.datasource.cldsdb.testWhileIdle = true
72 spring.datasource.cldsdb.minIdle = 0
73 spring.datasource.cldsdb.initialSize=0
74 # Automatically test whether a connection provided is good or not
75 spring.datasource.cldsdb.testOnBorrow=true
76 spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true
77
78 camel.springboot.consumer-template-cache-size=1000
79 camel.springboot.producer-template-cache-size=1000
80 # JMX enabled to have Camel Swagger runtime working
81 camel.springboot.jmx-enabled=true
82 camel.defaultthreadpool.poolsize=10
83 camel.defaultthreadpool.maxpoolsize=20
84 camel.defaultthreadpool.maxqueuesize=1000
85 camel.defaultthreadpool.keepaliveTime=60
86 camel.defaultthreadpool.rejectpolicy=CallerRuns
87 #camel.springboot.xmlRoutes = false
88 camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml
89 camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml
90 #camel.springboot.typeConversion = false
91
92 #For EELF logback file
93 #com.att.eelf.logging.path=
94 com.att.eelf.logging.file=logback-default.xml
95 #The log folder that will be used in logback.xml file
96 clamp.config.log.path=log