blob: 46bca153b4a22aa528c8b84adc0dab70de5f7fb6 [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}
sebdet29e3cd12020-02-13 05:49:21 -080029### Settings for HTTPS (this automatically enables the HTTPS on the port 'server.port')
30server.ssl.key-store=classpath:clds/aaf/org.onap.clamp.p12
31server.ssl.key-store-password=enc:WWCxchk4WGBNSvuzLq3MLjMs5ObRybJtts5AI0XD1Vc
32server.ssl.key-password=enc:WWCxchk4WGBNSvuzLq3MLjMs5ObRybJtts5AI0XD1Vc
33server.ssl.key-store-type=PKCS12
34server.ssl.key-alias=clamp@clamp.onap.org
35
36# The key file used to decode the key store and trust store password
37# If not defined, the key store and trust store password will not be decrypted
38clamp.config.keyFile=classpath:clds/aaf/org.onap.clamp.keyfile
39
40## Config part for Client certificates
41server.ssl.client-auth=want
42server.ssl.trust-store=classpath:clds/aaf/truststoreONAPall.jks
43server.ssl.trust-store-password=enc:iDnPBBLq_EMidXlMa1FEuBR8TZzYxrCg66vq_XfLHdJ
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070044
45### In order to be user friendly when HTTPS is enabled,
46### you can add another HTTP port that will be automatically redirected to HTTPS
47### by enabling this parameter (server.http.port) and set it to another port (80 or 8080, 8090, etc ...)
sebdet70efa492018-12-19 17:36:33 +010048server.http-to-https-redirection.port=${clamp.it.tests.http-redirected}
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070049
50### HTTP Example:
51###--------------
52### server.port=8080
53
54### HTTPS Example:
55### --------------
56### server.port=8443
57### server.ssl.key-store=file:/tmp/mykey.jks
58### server.ssl.key-store-password=mypass
59### server.ssl.key-password=mypass
60
61### HTTP (Redirected to HTTPS) and HTTPS Example:
62### --------------------------------------------
63### server.port=8443 <-- The HTTPS port
64### server.ssl.key-store=file:/tmp/mykey.jks
65### server.ssl.key-store-password=mypass
66### server.ssl.key-password=mypass
67### server.http-to-https-redirection.port=8090 <-- The HTTP port
68
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020069server.servlet.context-path=/
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070070#Modified engine-rest applicationpath
sebdet29e3cd12020-02-13 05:49:21 -080071spring.profiles.active=clamp-default, clamp-aaf-authentication,clamp-ssl-config
72
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070073
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070074#clds datasource connection details
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020075spring.datasource.cldsdb.driverClassName=org.mariadb.jdbc.Driver
sebdet29e3cd12020-02-13 05:49:21 -080076spring.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 -070077spring.datasource.cldsdb.username=clds
sebdet29e3cd12020-02-13 05:49:21 -080078spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070079spring.datasource.cldsdb.validationQuery=SELECT 1
80spring.datasource.cldsdb.validationQueryTimeout=20000
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020081spring.datasource.cldsdb.validationInterval=30000
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070082spring.datasource.cldsdb.testWhileIdle = true
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020083spring.datasource.cldsdb.minIdle = 0
84spring.datasource.cldsdb.initialSize=0
Determe, Sebastien (sd378r)f527ac92017-08-29 04:12:52 -070085# Automatically test whether a connection provided is good or not
86spring.datasource.cldsdb.testOnBorrow=true
Determe, Sebastien (sd378r)ff1b2972017-09-13 16:21:38 +020087spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020088
89camel.springboot.consumer-template-cache-size=1000
90camel.springboot.producer-template-cache-size=1000
91# JMX enabled to have Camel Swagger runtime working
92camel.springboot.jmx-enabled=true
93camel.defaultthreadpool.poolsize=10
94camel.defaultthreadpool.maxpoolsize=20
95camel.defaultthreadpool.maxqueuesize=1000
96camel.defaultthreadpool.keepaliveTime=60
97camel.defaultthreadpool.rejectpolicy=CallerRuns
98#camel.springboot.xmlRoutes = false
99camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml
100camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml
101#camel.springboot.typeConversion = false
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +0200102
103#For EELF logback file
104#com.att.eelf.logging.path=
105com.att.eelf.logging.file=logback-default.xml
106#The log folder that will be used in logback.xml file
sebdet29e3cd12020-02-13 05:49:21 -0800107clamp.config.log.path=log
108
109#Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case !
110clamp.config.security.permission.type.cl=org.onap.clamp.clds.cl
111clamp.config.security.permission.type.cl.manage=org.onap.clamp.clds.cl.manage
112clamp.config.security.permission.type.cl.event=org.onap.clamp.clds.cl.event
113clamp.config.security.permission.type.filter.vf=org.onap.clamp.clds.filter.vf
114clamp.config.security.permission.type.template=org.onap.clamp.clds.template
115clamp.config.security.permission.type.tosca=org.onap.clamp.clds.tosca
116#This one indicates the type of instances (dev|prod|perf...), this must be set accordingly in clds-users.properties
117clamp.config.security.permission.instance=dev
118clamp.config.security.authentication.class=org.onap.aaf.cadi.principal.X509Principal
119
120#AAF related parameters
121clamp.config.cadi.cadiLoglevel=DEBUG
122clamp.config.cadi.cadiLatitude=10
123clamp.config.cadi.cadiLongitude=10
124clamp.config.cadi.aafLocateUrl=https://aaf-locate:8095
125clamp.config.cadi.oauthTokenUrl= https://AAF_LOCATE_URL/locate/onap.org.osaaf.aaf.token:2.1/token
126clamp.config.cadi.oauthIntrospectUrll=https://AAF_LOCATE_URL/locate/onap.org.osaaf.aaf.introspect:2.1/introspect
127clamp.config.cadi.aafEnv=DEV
128clamp.config.cadi.aafUrl=https://AAF_LOCATE_URL/onap.org.osaaf.aaf.service:2.1
129clamp.config.cadi.cadiX509Issuers=CN=intermediateCA_1, OU=OSAAF, O=ONAP, C=US:CN=intermediateCA_7, OU=OSAAF, O=ONAP, C=US:CN=intermediateCA_9, OU=OSAAF, O=ONAP, C=US