Remove the clds-reference.properties
[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 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
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=10443
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
34 ### In order to be user friendly when HTTPS is enabled, 
35 ### you can add another HTTP port that will be automatically redirected to HTTPS
36 ### by enabling this parameter (server.http.port) and set it to another port (80 or 8080, 8090, etc ...)
37 server.http-to-https-redirection.port=10080
38
39 ### HTTP Example:
40 ###--------------
41 ### server.port=8080
42
43 ### HTTPS Example:
44 ### --------------
45 ### server.port=8443
46 ### server.ssl.key-store=file:/tmp/mykey.jks
47 ### server.ssl.key-store-password=mypass
48 ### server.ssl.key-password=mypass
49
50 ### HTTP (Redirected to HTTPS) and HTTPS Example:
51 ### --------------------------------------------
52 ### server.port=8443           <-- The HTTPS port
53 ### server.ssl.key-store=file:/tmp/mykey.jks
54 ### server.ssl.key-store-password=mypass
55 ### server.ssl.key-password=mypass
56 ### server.http-to-https-redirection.port=8090  <-- The HTTP port
57
58 server.contextPath=/
59 #Modified engine-rest applicationpath
60 spring.profiles.active=clamp-default,clamp-spring-authentication
61
62 #clds datasource connection details
63 spring.datasource.cldsdb.driverClassName=org.mariadb.jdbc.Driver
64 spring.datasource.cldsdb.url=jdbc:mariadb:sequential://localhost:${docker.mariadb.port.host}/cldsdb4?autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647\r
65 spring.datasource.cldsdb.username=clds
66 spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067\r
67 spring.datasource.cldsdb.validationQuery=SELECT 1
68 spring.datasource.cldsdb.validationQueryTimeout=20000
69 spring.datasource.cldsdb.validationInterval=30000
70 spring.datasource.cldsdb.testWhileIdle = true
71 spring.datasource.cldsdb.minIdle = 0
72 spring.datasource.cldsdb.initialSize=0
73 # Automatically test whether a connection provided is good or not
74 spring.datasource.cldsdb.testOnBorrow=true
75 spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true