Fix clamp maxReconnects
[clamp.git] / src / main / resources / application.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ONAP CLAMP
4 # ================================================================================
5 # Copyright (C) 2017 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 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 ###
23
24 info.build.artifact=@project.artifactId@
25 info.build.name=@project.name@
26 info.build.description=@project.description@
27 info.build.version=@project.version@
28
29
30 server.contextPath=/
31 #Modified engine-rest applicationpath
32 spring.jersey.application-path=/engine-rest
33 spring.profiles.active=clamp-default,clamp-spring-authentication
34 spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
35
36 #The max number of active threads in this pool
37 server.tomcat.max-threads=200
38 #The minimum number of threads always kept alive
39 server.tomcat.min-Spare-Threads=25
40 #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
41 server.tomcat.max-idle-time=60000
42
43
44 #Add this properties only if you want to change the URL, AJSC Framework interceptors will intercept
45 #com.att.ajsc.common.interceptors.PreInterceptor.url=/**
46 #com.att.ajsc.common.interceptors.PostInterceptor.url=/**
47
48 #Servlet context parameters
49 server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
50
51 camel.springboot.consumer-template-cache-size=1000
52 camel.springboot.producer-template-cache-size=1000
53 camel.springboot.jmx-enabled=true
54 camel.defaultthreadpool.poolsize=10
55 camel.defaultthreadpool.maxpoolsize=20
56 camel.defaultthreadpool.maxqueuesize=1000
57 camel.defaultthreadpool.keepaliveTime=60
58 camel.defaultthreadpool.rejectpolicy=CallerRuns
59
60 kubernetes.namespace=com-att-ajsc
61
62 #server.port=0
63
64 #Camunda Process Engine DataSource connection Details
65 spring.datasource.camunda.url=jdbc:mysql://localhost:${docker.mariadb.port.host}/camundabpm?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100
66 spring.datasource.camunda.username=camunda
67 spring.datasource.camunda.password=ndMSpw4CAM
68 spring.datasource.camunda.driverClassName=com.mysql.jdbc.Driver
69 spring.datasource.camunda.validationQuery=SELECT 1
70 spring.datasource.camunda.validationQueryTimeout=20000
71 spring.datasource.camunda.validationInterval=60000
72 spring.datasource.camunda.testWhileIdle = true
73 # Automatically test whether a connection provided is good or not
74 spring.datasource.camunda.testOnBorrow=true
75
76 #Camunda application properties
77 #Camunda history level
78 camunda.bpm.history-level=auto
79
80 #clds datasource connection details
81 spring.datasource.cldsdb.driver-class-name=com.mysql.jdbc.Driver
82 spring.datasource.cldsdb.url=jdbc:mysql://localhost:${docker.mariadb.port.host}/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100
83 spring.datasource.cldsdb.username=clds
84 spring.datasource.cldsdb.password=sidnnd83K
85 spring.datasource.cldsdb.driverClassName=com.mysql.jdbc.Driver
86 spring.datasource.cldsdb.validationQuery=SELECT 1
87 spring.datasource.cldsdb.validationQueryTimeout=20000
88 spring.datasource.cldsdb.validationInterval=60000
89 spring.datasource.cldsdb.testWhileIdle = true
90 # Automatically test whether a connection provided is good or not
91 spring.datasource.cldsdb.testOnBorrow=true
92
93 #Async Executor default Parameters
94 async.core.pool.size=10
95 async.max.pool.size=20
96 async.queue.capacity=500
97
98 org.onap.clamp.config.dcae.url=http://localhost:9000/closedloop-dcae-services
99
100 #GRM Edge endpoint details
101 service.name=ajsc6camundademo
102 service.version=1.0.0.0
103 routeoffer=TEST
104 #Update with your application name
105 application.name=AJSC6CAMUNDA
106
107 org.onap.clamp.config.files.cldsReference=classpath:/clds/clds-reference.properties
108 org.onap.clamp.config.files.cldsPolicyConfig=classpath:/clds/clds-policy-config.properties
109 org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json
110 org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties
111
112 #Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case !
113 CLDS_PERMISSION_TYPE_CL=permission-type-cl
114 CLDS_PERMISSION_TYPE_CL_MANAGE=permission-type-cl-manage
115 CLDS_PERMISSION_TYPE_CL_EVENT=permission-type-cl-event
116 CLDS_PERMISSION_TYPE_FILTER_VF=permission-type-filter-vf
117 CLDS_PERMISSION_TYPE_TEMPLATE=permission-type-template
118 #This one indicates the type of instances (dev|prod|perf...), this must be set accordingly in clds-users.properties
119 CLDS_PERMISSION_INSTANCE=dev