blob: 0be9e298ae84d8558f656403b9bd13a3325267e0 [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
sebdeta6649942018-12-11 12:39:11 +010028server.port=${clamp.it.tests.https}
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070029### 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
sebdet09bc8452019-05-23 17:34:07 +020033server.ssl.key-store-type=JKS
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070034
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 ...)
sebdet70efa492018-12-19 17:36:33 +010038server.http-to-https-redirection.port=${clamp.it.tests.http-redirected}
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070039
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
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020059server.servlet.context-path=/
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070060#Modified engine-rest applicationpath
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020061spring.profiles.active=clamp-default,clamp-default-user
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070062
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070063#clds datasource connection details
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020064spring.datasource.cldsdb.driverClassName=org.mariadb.jdbc.Driver
Determe, Sebastien (sd378r)434170f2017-10-30 18:50:37 +010065spring.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 -070066spring.datasource.cldsdb.username=clds
Determe, Sebastien (sd378r)34400ee2017-11-16 13:22:49 +010067spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070068spring.datasource.cldsdb.validationQuery=SELECT 1
69spring.datasource.cldsdb.validationQueryTimeout=20000
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020070spring.datasource.cldsdb.validationInterval=30000
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070071spring.datasource.cldsdb.testWhileIdle = true
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020072spring.datasource.cldsdb.minIdle = 0
73spring.datasource.cldsdb.initialSize=0
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070074# Automatically test whether a connection provided is good or not
75spring.datasource.cldsdb.testOnBorrow=true
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020076spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020077
78camel.springboot.consumer-template-cache-size=1000
79camel.springboot.producer-template-cache-size=1000
80# JMX enabled to have Camel Swagger runtime working
81camel.springboot.jmx-enabled=true
82camel.defaultthreadpool.poolsize=10
83camel.defaultthreadpool.maxpoolsize=20
84camel.defaultthreadpool.maxqueuesize=1000
85camel.defaultthreadpool.keepaliveTime=60
86camel.defaultthreadpool.rejectpolicy=CallerRuns
87#camel.springboot.xmlRoutes = false
88camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml
89camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml
90#camel.springboot.typeConversion = false
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +020091
92#For EELF logback file
93#com.att.eelf.logging.path=
94com.att.eelf.logging.file=logback-default.xml
95#The log folder that will be used in logback.xml file
96clamp.config.log.path=log