blob: 695319d5b7bc6279c1b05b2cdc2ddc4c4aea0284 [file] [log] [blame]
xg353y054f1d12018-07-23 16:02:28 +02001###
2# ============LICENSE_START=======================================================
3# ONAP CLAMP
4# ================================================================================
ChrisC76c74f52019-03-26 14:28:39 +01005# Copyright (C) 2017-2019 AT&T Intellectual Property. All rights
xg353y054f1d12018-07-23 16:02:28 +02006# reserved.
7# ================================================================================
Krysiak Adam09db2382019-04-23 16:29:22 +02008# Modifications copyright (c) 2019 Nokia
9# ================================================================================\
xg353y054f1d12018-07-23 16:02:28 +020010# Licensed under the Apache License, Version 2.0 (the "License");
11# you may not use this file except in compliance with the License.
12# You may obtain a copy of the License at
13#
14# http://www.apache.org/licenses/LICENSE-2.0
15#
16# Unless required by applicable law or agreed to in writing, software
17# distributed under the License is distributed on an "AS IS" BASIS,
18# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19# See the License for the specific language governing permissions and
20# limitations under the License.
21# ============LICENSE_END============================================
22# ===================================================================
23#
24###
25
xg353y054f1d12018-07-23 16:02:28 +020026### Set the port for HTTP or HTTPS protocol (Controlled by Spring framework, only one at a time).
27### (See below for the parameter 'server.http.port' if you want to have both enabled)
28### To have only HTTP, keep the lines server.ssl.* commented
29### To have only HTTPS enabled, uncomment the server.ssl.* lines and specify a right keystore location
30### server.port=8080
31### Settings for HTTPS (this automatically enables the HTTPS on the port 'server.port')
32#server.ssl.key-store=file:/tmp/mykey.jks
33#server.ssl.key-store-password=pass
34#server.ssl.key-password=pass
35
36### In order to be user friendly when HTTPS is enabled,
37### you can add another HTTP port that will be automatically redirected to HTTPS
38### by enabling this parameter (server.http.port) and set it to another port (80 or 8080, 8090, etc ...)
39#server.http-to-https-redirection.port=8090
40
41### HTTP Example:
42###--------------
43### server.port=8080
44
45### HTTPS Example:
46### --------------
47### server.port=8443
48### server.ssl.key-store=file:/tmp/mykey.jks
49### server.ssl.key-store-password=mypass
50### server.ssl.key-password=mypass
51
52### HTTP (Redirected to HTTPS) and HTTPS Example:
53### --------------------------------------------
54server.port=8443
Determe, Sebastien (sd378r)e1c2aab2018-08-17 17:41:15 +020055## Config part for Server certificates
56# Can be a classpath parameter instead of file:/
57server.ssl.key-store=classpath:/clds/aaf/org.onap.clamp.p12
xuegao1ebfe6b2019-11-28 15:13:18 +010058server.ssl.key-store-password=enc:WWCxchk4WGBNSvuzLq3MLjMs5ObRybJtts5AI0XD1Vc
59server.ssl.key-password=enc:WWCxchk4WGBNSvuzLq3MLjMs5ObRybJtts5AI0XD1Vc
xg353y054f1d12018-07-23 16:02:28 +020060server.ssl.key-store-type=PKCS12
xg353y054f1d12018-07-23 16:02:28 +020061server.ssl.key-alias=clamp@clamp.onap.org
Determe, Sebastien (sd378r)e1c2aab2018-08-17 17:41:15 +020062
xuegao1ebfe6b2019-11-28 15:13:18 +010063# The key file used to decode the key store and trust store password
64# If not defined, the key store and trust store password will not be decrypted
65clamp.config.keyFile=classpath:/clds/aaf/org.onap.clamp.keyfile
66
Determe, Sebastien (sd378r)e1c2aab2018-08-17 17:41:15 +020067## Config part for Client certificates
sebdetf1177562018-09-03 11:23:13 +020068server.ssl.client-auth=want
Determe, Sebastien (sd378r)e1c2aab2018-08-17 17:41:15 +020069server.ssl.trust-store=classpath:/clds/aaf/truststoreONAPall.jks
xuegao1ebfe6b2019-11-28 15:13:18 +010070server.ssl.trust-store-password=enc:iDnPBBLq_EMidXlMa1FEuBR8TZzYxrCg66vq_XfLHdJ
Determe, Sebastien (sd378r)e1c2aab2018-08-17 17:41:15 +020071
sebdet2d526d72019-04-29 14:45:24 +020072#server.http-to-https-redirection.port=8080
xg353y054f1d12018-07-23 16:02:28 +020073
74server.servlet.context-path=/
75#Modified engine-rest applicationpath
sebdet9b6f5762020-02-10 15:21:47 +010076spring.profiles.active=clamp-default,clamp-aaf-authentication,clamp-sdc-controller,clamp-ssl-config,clamp-policy-controller
Krysiak Adamcdfe48c2019-01-29 15:59:00 +010077spring.http.converters.preferred-json-mapper=gson
xg353y054f1d12018-07-23 16:02:28 +020078
79#The max number of active threads in this pool
80server.tomcat.max-threads=200
81#The minimum number of threads always kept alive
82server.tomcat.min-Spare-Threads=25
83#The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
84server.tomcat.max-idle-time=60000
85
86#Servlet context parameters
87server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
88
89camel.springboot.consumer-template-cache-size=1000
90camel.springboot.producer-template-cache-size=1000
sebdet86bf8ee2018-09-05 18:07:57 +020091camel.springboot.jmx-enabled=true
xg353y054f1d12018-07-23 16:02:28 +020092camel.defaultthreadpool.poolsize=10
93camel.defaultthreadpool.maxpoolsize=20
94camel.defaultthreadpool.maxqueuesize=1000
95camel.defaultthreadpool.keepaliveTime=60
96camel.defaultthreadpool.rejectpolicy=CallerRuns
97#camel.springboot.xmlRoutes = false
98camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml
99camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml
100#camel.springboot.typeConversion = false
101
102#clds datasource connection details
103spring.datasource.cldsdb.driverClassName=org.mariadb.jdbc.Driver
sebdeta6649942018-12-11 12:39:11 +0100104spring.datasource.cldsdb.url=jdbc:mariadb:sequential://localhost:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3
xg353y054f1d12018-07-23 16:02:28 +0200105spring.datasource.cldsdb.username=clds
106spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067
107spring.datasource.cldsdb.validationQuery=SELECT 1
108spring.datasource.cldsdb.validationQueryTimeout=20000
109spring.datasource.cldsdb.validationInterval=30000
110spring.datasource.cldsdb.testWhileIdle = true
111spring.datasource.cldsdb.minIdle = 0
112spring.datasource.cldsdb.initialSize=0
113# Automatically test whether a connection provided is good or not
114spring.datasource.cldsdb.testOnBorrow=true
115spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true
116
sebdetc2bcf2a2019-02-22 08:16:26 +0100117spring.jpa.properties.javax.persistence.schema-generation.database.action=none
118#spring.jpa.properties.javax.persistence.schema-generation.create-source=metadata
119#spring.jpa.properties.javax.persistence.schema-generation.scripts.action=create
120#spring.jpa.properties.javax.persistence.schema-generation.scripts.create-target=create.sql
121# disable Hibernate DDL generation because the schema will be generated from a sql script
122spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
123spring.jpa.properties.hibernate.ddl-auto=validate
124spring.jpa.properties.hibernate.hbm2ddl.delimiter=;
125spring.jpa.properties.hibernate.format_sql=true
126spring.jpa.properties.hibernate.use-new-id-generator-mappings=true
127
128# Whether to enable logging of SQL statements.
sebdet7fc07392019-04-10 15:27:46 +0200129#spring.jpa.show-sql=true
sebdetc2bcf2a2019-02-22 08:16:26 +0100130
xg353y054f1d12018-07-23 16:02:28 +0200131#Async Executor default Parameters
132async.core.pool.size=10
133async.max.pool.size=20
134async.queue.capacity=500
135
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +0200136#For EELF logback file
sebdetf1177562018-09-03 11:23:13 +0200137#clamp.config.logback.path=
138clamp.config.logback.filename=logback-default.xml
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +0200139#The log folder that will be used in logback.xml file
sebdet8ad29212018-12-14 11:56:22 +0100140clamp.config.log.path=/var/log/onap/clamp
xg353y054f1d12018-07-23 16:02:28 +0200141clamp.config.files.systemProperties=classpath:/system.properties
142clamp.config.files.cldsUsers=classpath:/clds/clds-users.json
143clamp.config.files.globalProperties=classpath:/clds/templates/globalProperties.json
144clamp.config.files.sdcController=classpath:/clds/sdc-controllers-config.json
145
146# Properties for Clamp
147# DCAE request build properties
148#
149clamp.config.dcae.template=classpath:/clds/templates/dcae-template.json
xg353y054f1d12018-07-23 16:02:28 +0200150clamp.config.dcae.deployment.template=classpath:/clds/templates/dcae-deployment-template.json
151#
xg353y054f1d12018-07-23 16:02:28 +0200152#
153# Configuration Settings for Policy Engine Components
sebdetaf8b7d72019-04-26 16:34:14 +0200154clamp.config.policy.api.url=http4://policy.api.simpledemo.onap.org:6969
155clamp.config.policy.api.userName=healthcheck
156clamp.config.policy.api.password=zb!XztG34
157clamp.config.policy.pap.url=http4://policy.api.simpledemo.onap.org:6969
158clamp.config.policy.pap.userName=healthcheck
159clamp.config.policy.pap.password=zb!XztG34
160
xg353y054f1d12018-07-23 16:02:28 +0200161# TCA MicroService Policy request build properties
162#
163clamp.config.tca.policyid.prefix=DCAE.Config_
164clamp.config.tca.policy.template=classpath:/clds/templates/tca-policy-template.json
165clamp.config.tca.template=classpath:/clds/templates/tca-template.json
166clamp.config.tca.thresholds.template=classpath:/clds/templates/tca-thresholds-template.json
167
168#
169#
170# Operational Policy request build properties
171#
sebdet19ab2332018-09-12 18:52:39 +0200172clamp.config.op.policyDescription=from CLAMP
xg353y054f1d12018-07-23 16:02:28 +0200173# default
174clamp.config.op.templateName=ClosedLoopControlName
175clamp.config.op.operationTopic=APPC-CL
176clamp.config.op.notificationTopic=POLICY-CL-MGT
177clamp.config.op.controller=amsterdam
178clamp.config.op.policy.appc=APPC
179#
180# Sdc service properties
xg353y054f1d12018-07-23 16:02:28 +0200181clamp.config.sdc.csarFolder = /tmp/sdc-controllers
182clamp.config.sdc.blueprint.parser.mapping = classpath:/clds/blueprint-parser-mapping.json
183#
184clamp.config.ui.location.default=classpath:/clds/templates/ui-location-default.json
xg353y054f1d12018-07-23 16:02:28 +0200185#
186# if action.test.override is true, then any action will be marked as test=true (even if incoming action request had test=false); otherwise, test flag will be unchanged on the action request
187clamp.config.action.test.override=false
188# if action.insert.test.event is true, then insert event even if the action is set to test
189clamp.config.action.insert.test.event=false
190clamp.config.clds.service.cache.invalidate.after.seconds=120
191
192#DCAE Inventory Url Properties
sebdet74303b72019-10-08 17:53:08 +0200193clamp.config.dcae.inventory.url=http4://dcae.api.simpledemo.onap.org:8080
xg353y054f1d12018-07-23 16:02:28 +0200194clamp.config.dcae.intentory.retry.interval=10000
sebdet19ab2332018-09-12 18:52:39 +0200195clamp.config.dcae.intentory.retry.limit=5
xg353y054f1d12018-07-23 16:02:28 +0200196
xg353y39d82de2019-04-26 13:26:25 +0200197#DCAE Deployment Url Properties
198clamp.config.dcae.deployment.url=http4://dcae.api.simpledemo.onap.org:8188
199clamp.config.dcae.deployment.userName=test
200clamp.config.dcae.deployment.password=test
201
xg353y054f1d12018-07-23 16:02:28 +0200202#Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case !
203clamp.config.security.permission.type.cl=org.onap.clamp.clds.cl
204clamp.config.security.permission.type.cl.manage=org.onap.clamp.clds.cl.manage
xg353ya9be95f2019-03-11 13:47:22 +0100205clamp.config.security.permission.type.cl.event=org.onap.clamp.clds.cl.event
xg353y054f1d12018-07-23 16:02:28 +0200206clamp.config.security.permission.type.filter.vf=org.onap.clamp.clds.filter.vf
207clamp.config.security.permission.type.template=org.onap.clamp.clds.template
sebdet86bf8ee2018-09-05 18:07:57 +0200208clamp.config.security.permission.type.tosca=org.onap.clamp.clds.tosca
xg353y054f1d12018-07-23 16:02:28 +0200209#This one indicates the type of instances (dev|prod|perf...), this must be set accordingly in clds-users.properties
210clamp.config.security.permission.instance=dev
sebdet279a9e72018-12-19 17:33:37 +0100211clamp.config.security.authentication.class=org.onap.aaf.cadi.principal.X509Principal
xg353y054f1d12018-07-23 16:02:28 +0200212
213#AAF related parameters
xg353y054f1d12018-07-23 16:02:28 +0200214clamp.config.cadi.cadiLoglevel=DEBUG
ChrisC989f4062019-04-05 16:24:13 +0200215clamp.config.cadi.cadiLatitude=10
216clamp.config.cadi.cadiLongitude=10
sebdetdcc4bdc2019-10-15 14:04:00 +0200217clamp.config.cadi.aafLocateUrl=https://aaf-locate:8095
sebdetdcc4bdc2019-10-15 14:04:00 +0200218clamp.config.cadi.oauthTokenUrl= https://AAF_LOCATE_URL/locate/onap.org.osaaf.aaf.token:2.1/token
219clamp.config.cadi.oauthIntrospectUrll=https://AAF_LOCATE_URL/locate/onap.org.osaaf.aaf.introspect:2.1/introspect
xg353y054f1d12018-07-23 16:02:28 +0200220clamp.config.cadi.aafEnv=DEV
sebdet56f5c142019-08-27 09:20:16 -0700221clamp.config.cadi.aafUrl=https://AAF_LOCATE_URL/onap.org.osaaf.aaf.service:2.1
sebdetdcc4bdc2019-10-15 14:04:00 +0200222clamp.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
WeberLaurentf0a648c2020-02-06 10:23:01 +0100223
224## Tosca converter
225clamp.config.tosca.converter.templates=classpath:/clds/tosca_updates/templates.properties