blob: 0e453535cf960ae7bb2c439406e63a3913dc9c5d [file] [log] [blame]
xg353ya2f90ab2019-05-09 13:14:40 +02001###
2# ============LICENSE_START=======================================================
3# ONAP CLAMP
4# ================================================================================
5# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights
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# ===================================================================
21#
22###
23
xg353ya2f90ab2019-05-09 13:14:40 +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
28server.port=${clamp.it.tests.http}
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
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
58server.servlet.context-path=/
59#Modified engine-rest applicationpath
60spring.profiles.active=clamp-default,clamp-default-user
61spring.http.converters.preferred-json-mapper=gson
62
63#The max number of active threads in this pool
64server.tomcat.max-threads=200
65#The minimum number of threads always kept alive
66server.tomcat.min-Spare-Threads=25
67#The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
68server.tomcat.max-idle-time=60000
69
70#Servlet context parameters
71server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
72
73camel.springboot.consumer-template-cache-size=1000
74camel.springboot.producer-template-cache-size=1000
75# JMX enabled to have Camel Swagger runtime working
76camel.springboot.jmx-enabled=true
77camel.defaultthreadpool.poolsize=10
78camel.defaultthreadpool.maxpoolsize=20
79camel.defaultthreadpool.maxqueuesize=1000
80camel.defaultthreadpool.keepaliveTime=60
81camel.defaultthreadpool.rejectpolicy=CallerRuns
82#camel.springboot.xmlRoutes = false
83camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml
84camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml
85#camel.springboot.typeConversion = false
86
87#clds datasource connection details
88spring.datasource.cldsdb.driverClassName=org.mariadb.jdbc.Driver
89spring.datasource.cldsdb.url=jdbc:mariadb:sequential://localhost:3306,localhost:${docker.mariadb.port.host}/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3
90spring.datasource.cldsdb.username=clds
91spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067
92spring.datasource.cldsdb.validationQuery=SELECT 1
93spring.datasource.cldsdb.validationQueryTimeout=20000
94spring.datasource.cldsdb.validationInterval=30000
95spring.datasource.cldsdb.testWhileIdle = true
96spring.datasource.cldsdb.minIdle = 0
97spring.datasource.cldsdb.initialSize=0
98# Automatically test whether a connection provided is good or not
99spring.datasource.cldsdb.testOnBorrow=true
100spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true
101
sebdetfdfde212019-09-12 10:59:15 +0200102spring.jpa.properties.javax.persistence.schema-generation.database.action=none
sebdetc2bcf2a2019-02-22 08:16:26 +0100103#spring.jpa.properties.javax.persistence.schema-generation.create-source=metadata
104#spring.jpa.properties.javax.persistence.schema-generation.scripts.action=create
105#spring.jpa.properties.javax.persistence.schema-generation.scripts.create-target=create.sql
106# disable Hibernate DDL generation because the schema will be generated from a sql script
107spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
108spring.jpa.properties.hibernate.ddl-auto=validate
109spring.jpa.properties.hibernate.hbm2ddl.delimiter=;
110spring.jpa.properties.hibernate.format_sql=true
111spring.jpa.properties.hibernate.use-new-id-generator-mappings=true
112
113# Whether to enable logging of SQL statements.
sebdet5d03e8b2020-02-03 20:27:59 +0100114#spring.jpa.show-sql=true
sebdetc2bcf2a2019-02-22 08:16:26 +0100115
xg353ya2f90ab2019-05-09 13:14:40 +0200116#Async Executor default Parameters
117async.core.pool.size=10
118async.max.pool.size=20
119async.queue.capacity=500
120
121#For EELF logback file
122#com.att.eelf.logging.path=
123clamp.config.logback.filename=logback-default.xml
124#The log folder that will be used in logback.xml file
125clamp.config.log.path=log
126clamp.config.files.systemProperties=classpath:/system.properties
127clamp.config.files.cldsUsers=classpath:/clds/clds-users.json
128clamp.config.files.globalProperties=classpath:/clds/templates/globalProperties.json
129clamp.config.files.sdcController=classpath:/clds/sdc-controllers-config.json
130
xg353ya2f90ab2019-05-09 13:14:40 +0200131#
132# Configuration Settings for Policy Engine Components
133clamp.config.policy.api.url=http4://localhost:${docker.http-cache.port.host}
134clamp.config.policy.api.userName=healthcheck
135clamp.config.policy.api.password=zb!XztG34
136clamp.config.policy.pap.url=http4://localhost:${docker.http-cache.port.host}
137clamp.config.policy.pap.userName=healthcheck
138clamp.config.policy.pap.password=zb!XztG34
139
xg353ya2f90ab2019-05-09 13:14:40 +0200140# Sdc service properties
141#
142clamp.config.sdc.csarFolder = ${project.build.directory}/sdc-tests
xg353ya2f90ab2019-05-09 13:14:40 +0200143
144#DCAE Inventory Url Properties
sebdet74303b72019-10-08 17:53:08 +0200145clamp.config.dcae.inventory.url=http4://localhost:${docker.http-cache.port.host}
xg353ya2f90ab2019-05-09 13:14:40 +0200146clamp.config.dcae.intentory.retry.interval=100
147clamp.config.dcae.intentory.retry.limit=1
148
xg353ya2f90ab2019-05-09 13:14:40 +0200149#DCAE Deployment Url Properties
150clamp.config.dcae.deployment.url=http4://localhost:${docker.http-cache.port.host}
151clamp.config.dcae.deployment.userName=test
152clamp.config.dcae.deployment.password=test
153
154#Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case !
155clamp.config.security.permission.type.cl=permission-type-cl
156clamp.config.security.permission.type.cl.manage=permission-type-cl-manage
157clamp.config.security.permission.type.cl.event=permission-type-cl-event
158clamp.config.security.permission.type.filter.vf=permission-type-filter-vf
159clamp.config.security.permission.type.template=permission-type-template
160clamp.config.security.permission.type.tosca=permission-type-tosca
161#This one indicates the type of instances (dev|prod|perf...), this must be set accordingly in clds-users.properties
162clamp.config.security.permission.instance=dev
Vidyashree-Huawei3121b5b2020-03-04 19:22:08 +0530163clamp.config.security.authentication.class=org.onap.aaf.cadi.principal.X509Principal
164
165# Configuration settings for CDS
166clamp.config.cds.url=http4://localhost:${docker.http-cache.port.host}
167clamp.config.cds.userName=ccsdkapps
sebdet3af93472020-03-09 16:15:19 -0700168clamp.config.cds.password=ccsdkapps
169
170## Tosca converter
171clamp.config.tosca.converter.templates=classpath:/clds/tosca_updates/templates.json