Fix clamp maxReconnects 11/7811/1
authoreh552t <eh552t@att.com>
Thu, 17 Aug 2017 10:10:40 +0000 (12:10 +0200)
committereh552t <eh552t@intl.att.com>
Thu, 17 Aug 2017 10:20:08 +0000 (12:20 +0200)
Increase maxReconnects from default value 3 to 100

Change-Id: Iab8ee1e1a43f03a6442c051e11e44236c07ed6b9
Signed-off-by: eh552t <eh552t@intl.att.com>
Issue-Id: CLAMP-42

extra/docker/clamp/clamp.env
src/main/resources/application.properties

index 842afd6..bac8fd3 100644 (file)
@@ -1 +1 @@
-SPRING_APPLICATION_JSON={"spring.datasource.camunda.url":"jdbc:mysql://db:3306/camundabpm?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true","spring.datasource.cldsdb.url":"jdbc:mysql://db:3306/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true"}
\ No newline at end of file
+SPRING_APPLICATION_JSON={"spring.datasource.camunda.url":"jdbc:mysql://db:3306/camundabpm?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100","spring.datasource.cldsdb.url":"jdbc:mysql://db:3306/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100"}
\ No newline at end of file
index fd908c8..ce4158b 100644 (file)
@@ -5,16 +5,16 @@
 # Copyright (C) 2017 AT&T Intellectual Property. All rights
 #                             reserved.
 # ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License"); 
-# you may not use this file except in compliance with the License. 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
-# 
+#
 # http://www.apache.org/licenses/LICENSE-2.0
-# 
-# Unless required by applicable law or agreed to in writing, software 
-# distributed under the License is distributed on an "AS IS" BASIS, 
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
-# See the License for the specific language governing permissions and 
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
 # limitations under the License.
 # ============LICENSE_END============================================
 # ===================================================================
@@ -62,7 +62,7 @@ kubernetes.namespace=com-att-ajsc
 #server.port=0
 
 #Camunda Process Engine DataSource connection Details
-spring.datasource.camunda.url=jdbc:mysql://localhost:${docker.mariadb.port.host}/camundabpm?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true
+spring.datasource.camunda.url=jdbc:mysql://localhost:${docker.mariadb.port.host}/camundabpm?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100
 spring.datasource.camunda.username=camunda
 spring.datasource.camunda.password=ndMSpw4CAM
 spring.datasource.camunda.driverClassName=com.mysql.jdbc.Driver
@@ -79,7 +79,7 @@ camunda.bpm.history-level=auto
 
 #clds datasource connection details
 spring.datasource.cldsdb.driver-class-name=com.mysql.jdbc.Driver
-spring.datasource.cldsdb.url=jdbc:mysql://localhost:${docker.mariadb.port.host}/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true
+spring.datasource.cldsdb.url=jdbc:mysql://localhost:${docker.mariadb.port.host}/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100
 spring.datasource.cldsdb.username=clds
 spring.datasource.cldsdb.password=sidnnd83K
 spring.datasource.cldsdb.driverClassName=com.mysql.jdbc.Driver
@@ -109,7 +109,7 @@ org.onap.clamp.config.files.cldsPolicyConfig=classpath:/clds/clds-policy-config.
 org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json
 org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties
 
-#Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case ! 
+#Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case !
 CLDS_PERMISSION_TYPE_CL=permission-type-cl
 CLDS_PERMISSION_TYPE_CL_MANAGE=permission-type-cl-manage
 CLDS_PERMISSION_TYPE_CL_EVENT=permission-type-cl-event