blob: 853466e1a3e1985037225c6ee2ff806d897dbee0 [file] [log] [blame]
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -07001###
2# ============LICENSE_START=======================================================
3# ONAP CLAMP
4# ================================================================================
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +01005# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -07006# 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# ===================================================================
Determe, Sebastien (sd378r)e8325de2018-04-24 18:12:22 +020021#
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070022###
23
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070024### 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
28server.port=10443
29### Settings for HTTPS (this automatically enables the HTTPS on the port 'server.port')
30server.ssl.key-store=classpath:https/keystore-test.jks
31server.ssl.key-store-password=testpass
32server.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 ...)
37server.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
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020058server.servlet.context-path=/
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070059#Modified engine-rest applicationpath
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020060spring.profiles.active=clamp-default,clamp-default-user
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070061
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070062#clds datasource connection details
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020063spring.datasource.cldsdb.driverClassName=org.mariadb.jdbc.Driver
Determe, Sebastien (sd378r)434170f2017-10-30 18:50:37 +010064spring.datasource.cldsdb.url=jdbc:mariadb:sequential://localhost:${docker.mariadb.port.host}/cldsdb4?autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070065spring.datasource.cldsdb.username=clds
Determe, Sebastien (sd378r)34400ee2017-11-16 13:22:49 +010066spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070067spring.datasource.cldsdb.validationQuery=SELECT 1
68spring.datasource.cldsdb.validationQueryTimeout=20000
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020069spring.datasource.cldsdb.validationInterval=30000
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070070spring.datasource.cldsdb.testWhileIdle = true
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020071spring.datasource.cldsdb.minIdle = 0
72spring.datasource.cldsdb.initialSize=0
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070073# Automatically test whether a connection provided is good or not
74spring.datasource.cldsdb.testOnBorrow=true
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020075spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020076
77camel.springboot.consumer-template-cache-size=1000
78camel.springboot.producer-template-cache-size=1000
79# JMX enabled to have Camel Swagger runtime working
80camel.springboot.jmx-enabled=true
81camel.defaultthreadpool.poolsize=10
82camel.defaultthreadpool.maxpoolsize=20
83camel.defaultthreadpool.maxqueuesize=1000
84camel.defaultthreadpool.keepaliveTime=60
85camel.defaultthreadpool.rejectpolicy=CallerRuns
86#camel.springboot.xmlRoutes = false
87camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml
88camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml
89#camel.springboot.typeConversion = false