blob: 3937d8fc2ce30aec5aae4aeba95bf229d5605fbd [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
sebdete65d4572020-03-24 08:51:20 -070076spring.profiles.active=clamp-default,clamp-aaf-authentication,clamp-sdc-controller,clamp-ssl-config,clamp-policy-controller,legacy-operational-policy,default-dictionary-elements
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.
sebdet580141f2020-04-01 00:00:37 +020088camel.springboot.tracing=true
xg353y054f1d12018-07-23 16:02:28 +020089camel.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
xg353y054f1d12018-07-23 16:02:28 +0200146#
147# Configuration Settings for Policy Engine Components
sebdetaf8b7d72019-04-26 16:34:14 +0200148clamp.config.policy.api.url=http4://policy.api.simpledemo.onap.org:6969
149clamp.config.policy.api.userName=healthcheck
150clamp.config.policy.api.password=zb!XztG34
151clamp.config.policy.pap.url=http4://policy.api.simpledemo.onap.org:6969
152clamp.config.policy.pap.userName=healthcheck
153clamp.config.policy.pap.password=zb!XztG34
154
xg353y054f1d12018-07-23 16:02:28 +0200155#
156# Sdc service properties
sebdete65d4572020-03-24 08:51:20 -0700157clamp.config.sdc.csarFolder=/tmp/sdc-controllers
xg353y054f1d12018-07-23 16:02:28 +0200158
159#DCAE Inventory Url Properties
sebdet74303b72019-10-08 17:53:08 +0200160clamp.config.dcae.inventory.url=http4://dcae.api.simpledemo.onap.org:8080
xg353y054f1d12018-07-23 16:02:28 +0200161clamp.config.dcae.intentory.retry.interval=10000
sebdet19ab2332018-09-12 18:52:39 +0200162clamp.config.dcae.intentory.retry.limit=5
xg353y054f1d12018-07-23 16:02:28 +0200163
xg353y39d82de2019-04-26 13:26:25 +0200164#DCAE Deployment Url Properties
165clamp.config.dcae.deployment.url=http4://dcae.api.simpledemo.onap.org:8188
166clamp.config.dcae.deployment.userName=test
167clamp.config.dcae.deployment.password=test
168
xg353y054f1d12018-07-23 16:02:28 +0200169#Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case !
170clamp.config.security.permission.type.cl=org.onap.clamp.clds.cl
171clamp.config.security.permission.type.cl.manage=org.onap.clamp.clds.cl.manage
xg353ya9be95f2019-03-11 13:47:22 +0100172clamp.config.security.permission.type.cl.event=org.onap.clamp.clds.cl.event
xg353y054f1d12018-07-23 16:02:28 +0200173clamp.config.security.permission.type.filter.vf=org.onap.clamp.clds.filter.vf
174clamp.config.security.permission.type.template=org.onap.clamp.clds.template
sebdet86bf8ee2018-09-05 18:07:57 +0200175clamp.config.security.permission.type.tosca=org.onap.clamp.clds.tosca
xg353y054f1d12018-07-23 16:02:28 +0200176#This one indicates the type of instances (dev|prod|perf...), this must be set accordingly in clds-users.properties
177clamp.config.security.permission.instance=dev
sebdet279a9e72018-12-19 17:33:37 +0100178clamp.config.security.authentication.class=org.onap.aaf.cadi.principal.X509Principal
xg353y054f1d12018-07-23 16:02:28 +0200179
180#AAF related parameters
xg353y054f1d12018-07-23 16:02:28 +0200181clamp.config.cadi.cadiLoglevel=DEBUG
ChrisC989f4062019-04-05 16:24:13 +0200182clamp.config.cadi.cadiLatitude=10
183clamp.config.cadi.cadiLongitude=10
sebdetdcc4bdc2019-10-15 14:04:00 +0200184clamp.config.cadi.aafLocateUrl=https://aaf-locate:8095
sebdetdcc4bdc2019-10-15 14:04:00 +0200185clamp.config.cadi.oauthTokenUrl= https://AAF_LOCATE_URL/locate/onap.org.osaaf.aaf.token:2.1/token
186clamp.config.cadi.oauthIntrospectUrll=https://AAF_LOCATE_URL/locate/onap.org.osaaf.aaf.introspect:2.1/introspect
xg353y054f1d12018-07-23 16:02:28 +0200187clamp.config.cadi.aafEnv=DEV
sebdet56f5c142019-08-27 09:20:16 -0700188clamp.config.cadi.aafUrl=https://AAF_LOCATE_URL/onap.org.osaaf.aaf.service:2.1
sebdetdcc4bdc2019-10-15 14:04:00 +0200189clamp.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 +0100190
191## Tosca converter
sebdet723de7f2020-03-12 14:38:07 -0700192clamp.config.tosca.converter.json.schema.templates=classpath:/clds/tosca-converter/templates.json
193clamp.config.tosca.converter.default.datatypes=classpath:/clds/tosca-converter/default-tosca-types.yaml
194clamp.config.tosca.converter.dictionary.support.enabled=true
Vidyashree-Huawei3121b5b2020-03-04 19:22:08 +0530195
196# Configuration settings for CDS
197clamp.config.cds.url=http4://blueprints-processor-http:8080
198clamp.config.cds.userName=ccsdkapps
199clamp.config.cds.password=ccsdkapps