Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 1 | ### |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # ONAP CLAMP |
| 4 | # ================================================================================ |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 5 | # Copyright (C) 2017-2018 AT&T Intellectual Property. All rights |
Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 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 | # =================================================================== |
Determe, Sebastien (sd378r) | e8325de | 2018-04-24 18:12:22 +0200 | [diff] [blame] | 21 | # |
Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 22 | ### |
| 23 | |
Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 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 |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame^] | 28 | server.port=${clamp.it.tests.https} |
Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 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 | |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 58 | server.servlet.context-path=/ |
Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 59 | #Modified engine-rest applicationpath |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 60 | spring.profiles.active=clamp-default,clamp-default-user |
Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 61 | |
Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 62 | #clds datasource connection details |
Determe, Sebastien (sd378r) | ff1b297 | 2017-09-13 16:21:38 +0200 | [diff] [blame] | 63 | spring.datasource.cldsdb.driverClassName=org.mariadb.jdbc.Driver |
Determe, Sebastien (sd378r) | 434170f | 2017-10-30 18:50:37 +0100 | [diff] [blame] | 64 | spring.datasource.cldsdb.url=jdbc:mariadb:sequential://localhost:${docker.mariadb.port.host}/cldsdb4?autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647
|
Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 65 | spring.datasource.cldsdb.username=clds |
Determe, Sebastien (sd378r) | 34400ee | 2017-11-16 13:22:49 +0100 | [diff] [blame] | 66 | spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067
|
Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 67 | spring.datasource.cldsdb.validationQuery=SELECT 1 |
| 68 | spring.datasource.cldsdb.validationQueryTimeout=20000 |
Determe, Sebastien (sd378r) | ff1b297 | 2017-09-13 16:21:38 +0200 | [diff] [blame] | 69 | spring.datasource.cldsdb.validationInterval=30000 |
Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 70 | spring.datasource.cldsdb.testWhileIdle = true |
Determe, Sebastien (sd378r) | ff1b297 | 2017-09-13 16:21:38 +0200 | [diff] [blame] | 71 | spring.datasource.cldsdb.minIdle = 0 |
| 72 | spring.datasource.cldsdb.initialSize=0 |
Determe, Sebastien (sd378r) | f527ac9 | 2017-08-29 04:12:52 -0700 | [diff] [blame] | 73 | # Automatically test whether a connection provided is good or not |
| 74 | spring.datasource.cldsdb.testOnBorrow=true |
Determe, Sebastien (sd378r) | ff1b297 | 2017-09-13 16:21:38 +0200 | [diff] [blame] | 75 | spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 76 | |
| 77 | camel.springboot.consumer-template-cache-size=1000 |
| 78 | camel.springboot.producer-template-cache-size=1000 |
| 79 | # JMX enabled to have Camel Swagger runtime working |
| 80 | camel.springboot.jmx-enabled=true |
| 81 | camel.defaultthreadpool.poolsize=10 |
| 82 | camel.defaultthreadpool.maxpoolsize=20 |
| 83 | camel.defaultthreadpool.maxqueuesize=1000 |
| 84 | camel.defaultthreadpool.keepaliveTime=60 |
| 85 | camel.defaultthreadpool.rejectpolicy=CallerRuns |
| 86 | #camel.springboot.xmlRoutes = false |
| 87 | camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml |
| 88 | camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml |
| 89 | #camel.springboot.typeConversion = false |
Determe, Sebastien (sd378r) | 499e4e8 | 2018-08-09 17:14:09 +0200 | [diff] [blame] | 90 | |
| 91 | #For EELF logback file |
| 92 | #com.att.eelf.logging.path= |
| 93 | com.att.eelf.logging.file=logback-default.xml |
| 94 | #The log folder that will be used in logback.xml file |
| 95 | clamp.config.log.path=log |