blob: dbccb32deb6d89ebb202b0b6782647b1e72f90bb [file] [log] [blame]
xg353y7e836e12018-06-06 15:50:33 +02001###
2# ============LICENSE_START=======================================================
3# ONAP CLAMP
4# ================================================================================
sebdet687b8de2019-08-26 14:29:11 -07005# Copyright (C) 2017-2019 AT&T Intellectual Property. All rights
xg353y7e836e12018-06-06 15:50:33 +02006# 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# ===================================================================
21#
22###
23
xg353y7e836e12018-06-06 15:50:33 +020024### 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
28### server.port=8080
29### Settings for HTTPS (this automatically enables the HTTPS on the port 'server.port')
30#server.ssl.key-store=file:/tmp/mykey.jks
31#server.ssl.key-store-password=pass
32#server.ssl.key-password=pass
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=8090
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
sebdet687b8de2019-08-26 14:29:11 -070049server.port=8443
50## Config part for Server certificates
51# Can be a classpath parameter instead of file:/
52server.ssl.key-store=classpath:/clds/aaf/org.onap.clamp.p12
xuegao1ebfe6b2019-11-28 15:13:18 +010053server.ssl.key-store-password=enc:WWCxchk4WGBNSvuzLq3MLjMs5ObRybJtts5AI0XD1Vc
54server.ssl.key-password=enc:WWCxchk4WGBNSvuzLq3MLjMs5ObRybJtts5AI0XD1Vc
sebdet687b8de2019-08-26 14:29:11 -070055server.ssl.key-store-type=PKCS12
56server.ssl.key-alias=clamp@clamp.onap.org
57
58## Config part for Client certificates
59server.ssl.client-auth=want
60server.ssl.trust-store=classpath:/clds/aaf/truststoreONAPall.jks
xuegao1ebfe6b2019-11-28 15:13:18 +010061server.ssl.trust-store-password=enc:iDnPBBLq_EMidXlMa1FEuBR8TZzYxrCg66vq_XfLHdJ
62
63# 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
sebdet687b8de2019-08-26 14:29:11 -070066
67#server.http-to-https-redirection.port=8080
xg353y7e836e12018-06-06 15:50:33 +020068
xg353y054f1d12018-07-23 16:02:28 +020069server.servlet.context-path=/
xg353y7e836e12018-06-06 15:50:33 +020070#Modified engine-rest applicationpath
sebdet897a3e02020-02-28 06:03:51 -080071spring.profiles.active=clamp-default,clamp-default-user,clamp-sdc-controller,clamp-ssl-config,clamp-policy-controller,legacy-operational-policy
sebdetc2bcf2a2019-02-22 08:16:26 +010072spring.http.converters.preferred-json-mapper=gson
xg353y7e836e12018-06-06 15:50:33 +020073
74#The max number of active threads in this pool
75server.tomcat.max-threads=200
76#The minimum number of threads always kept alive
77server.tomcat.min-Spare-Threads=25
78#The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
79server.tomcat.max-idle-time=60000
80
81#Servlet context parameters
82server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
83
84camel.springboot.consumer-template-cache-size=1000
85camel.springboot.producer-template-cache-size=1000
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020086camel.springboot.jmx-enabled=true
xg353y7e836e12018-06-06 15:50:33 +020087camel.defaultthreadpool.poolsize=10
88camel.defaultthreadpool.maxpoolsize=20
89camel.defaultthreadpool.maxqueuesize=1000
90camel.defaultthreadpool.keepaliveTime=60
91camel.defaultthreadpool.rejectpolicy=CallerRuns
92#camel.springboot.xmlRoutes = false
xg353y054f1d12018-07-23 16:02:28 +020093camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml
94camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml
xg353y7e836e12018-06-06 15:50:33 +020095#camel.springboot.typeConversion = false
96
97#clds datasource connection details
98spring.datasource.cldsdb.driverClassName=org.mariadb.jdbc.Driver
xuegao58c7c972019-09-26 13:29:10 +020099spring.datasource.cldsdb.url=jdbc:mariadb:sequential://localhost:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3
xg353y7e836e12018-06-06 15:50:33 +0200100spring.datasource.cldsdb.username=clds
101spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067
102spring.datasource.cldsdb.validationQuery=SELECT 1
103spring.datasource.cldsdb.validationQueryTimeout=20000
104spring.datasource.cldsdb.validationInterval=30000
105spring.datasource.cldsdb.testWhileIdle = true
106spring.datasource.cldsdb.minIdle = 0
107spring.datasource.cldsdb.initialSize=0
108# Automatically test whether a connection provided is good or not
109spring.datasource.cldsdb.testOnBorrow=true
110spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true
sebdetc2bcf2a2019-02-22 08:16:26 +0100111# control the sql db initialization (from schema.sql and data.sql)
112spring.datasource.initialize=false
113
114spring.jpa.properties.javax.persistence.schema-generation.database.action=none
115s#pring.jpa.properties.javax.persistence.schema-generation.create-source=metadata
116#spring.jpa.properties.javax.persistence.schema-generation.scripts.action=create
117#spring.jpa.properties.javax.persistence.schema-generation.scripts.create-target=create.sql
118# disable Hibernate DDL generation because the schema will be generated from a sql script
119spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
120spring.jpa.properties.hibernate.ddl-auto=validate
121spring.jpa.properties.hibernate.hbm2ddl.delimiter=;
122spring.jpa.properties.hibernate.format_sql=true
123spring.jpa.properties.hibernate.use-new-id-generator-mappings=true
124
125# Whether to enable logging of SQL statements.
sebdet7fc07392019-04-10 15:27:46 +0200126#spring.jpa.show-sql=true
xg353y7e836e12018-06-06 15:50:33 +0200127
128#Async Executor default Parameters
129async.core.pool.size=10
130async.max.pool.size=20
131async.queue.capacity=500
132
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +0200133#For EELF logback file
sebdet32946442019-01-14 14:16:51 +0100134#clamp.config.logback.path=
sebdet86bf8ee2018-09-05 18:07:57 +0200135clamp.config.logback.filename=logback-default.xml
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +0200136#The log folder that will be used in logback.xml file
sebdet8ad29212018-12-14 11:56:22 +0100137clamp.config.log.path=/var/log/onap/clamp
xg353y7e836e12018-06-06 15:50:33 +0200138clamp.config.files.systemProperties=classpath:/system.properties
139clamp.config.files.cldsUsers=classpath:/clds/clds-users.json
140clamp.config.files.globalProperties=classpath:/clds/templates/globalProperties.json
141clamp.config.files.sdcController=classpath:/clds/sdc-controllers-config.json
142
sebdet897a3e02020-02-28 06:03:51 -0800143
xg353y7e836e12018-06-06 15:50:33 +0200144#
145# Configuration Settings for Policy Engine Components
xuegao58c7c972019-09-26 13:29:10 +0200146clamp.config.policy.api.url=http4://localhost:8085
sebdetaf8b7d72019-04-26 16:34:14 +0200147clamp.config.policy.api.userName=healthcheck
148clamp.config.policy.api.password=zb!XztG34
xuegao58c7c972019-09-26 13:29:10 +0200149clamp.config.policy.pap.url=http4://localhost:8085
sebdetaf8b7d72019-04-26 16:34:14 +0200150clamp.config.policy.pap.userName=healthcheck
151clamp.config.policy.pap.password=zb!XztG34
sebdet687b8de2019-08-26 14:29:11 -0700152
xg353y7e836e12018-06-06 15:50:33 +0200153#
154# Sdc service properties
xg353y7e836e12018-06-06 15:50:33 +0200155clamp.config.sdc.csarFolder = /tmp/sdc-controllers
xg353y7e836e12018-06-06 15:50:33 +0200156
157#DCAE Inventory Url Properties
sebdet74303b72019-10-08 17:53:08 +0200158clamp.config.dcae.inventory.url=http4://localhost:8085
xg353y7e836e12018-06-06 15:50:33 +0200159clamp.config.dcae.intentory.retry.interval=10000
sebdet19ab2332018-09-12 18:52:39 +0200160clamp.config.dcae.intentory.retry.limit=5
xg353y7e836e12018-06-06 15:50:33 +0200161
xg353y39d82de2019-04-26 13:26:25 +0200162#DCAE Deployment Url Properties
xuegao58c7c972019-09-26 13:29:10 +0200163clamp.config.dcae.deployment.url=http4://localhost:8085
xg353y39d82de2019-04-26 13:26:25 +0200164clamp.config.dcae.deployment.userName=test
165clamp.config.dcae.deployment.password=test
166
xg353y7e836e12018-06-06 15:50:33 +0200167#Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case !
168clamp.config.security.permission.type.cl=org.onap.clamp.clds.cl
169clamp.config.security.permission.type.cl.manage=org.onap.clamp.clds.cl.manage
xg353ya9be95f2019-03-11 13:47:22 +0100170clamp.config.security.permission.type.cl.event=org.onap.clamp.clds.cl.event
xg353y7e836e12018-06-06 15:50:33 +0200171clamp.config.security.permission.type.filter.vf=org.onap.clamp.clds.filter.vf
172clamp.config.security.permission.type.template=org.onap.clamp.clds.template
sebdet86bf8ee2018-09-05 18:07:57 +0200173clamp.config.security.permission.type.tosca=org.onap.clamp.clds.tosca
xg353y7e836e12018-06-06 15:50:33 +0200174#This one indicates the type of instances (dev|prod|perf...), this must be set accordingly in clds-users.properties
175clamp.config.security.permission.instance=dev
sebdet3af93472020-03-09 16:15:19 -0700176clamp.config.security.authentication.class=org.onap.aaf.cadi.principal.X509Principal
177
178## Tosca converter
sebdet723de7f2020-03-12 14:38:07 -0700179clamp.config.tosca.converter.json.schema.templates=classpath:/clds/tosca-converter/templates.json
180clamp.config.tosca.converter.default.datatypes=classpath:/clds/tosca-converter/default-tosca-types.yaml
181clamp.config.tosca.converter.dictionary.support.enabled=true
sebdet8604d372020-03-10 02:44:53 -0700182
183# Configuration settings for CDS
184clamp.config.cds.url=http4://blueprints-processor-http:8080
185clamp.config.cds.userName=ccsdkapps
186clamp.config.cds.password=ccsdkapps