diff options
author | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-02-21 15:10:40 +0100 |
---|---|---|
committer | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-02-21 15:10:40 +0100 |
commit | 445a2a432b3c15fd7e4bbf0e112df39466db29a9 (patch) | |
tree | b9738d9b710c806f8f439965fb4a2d954cdc539b /extra | |
parent | 373a9273031147e4034dfd0e530b3657ca709b5a (diff) |
Rework DB connection URL
Add timeout parameters to the DB URL
Issue-ID: CLAMP-85
Change-Id: I4cb3f2b4f8744bc240a49440f720b11328927dd6
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'extra')
-rw-r--r-- | extra/docker/clamp/clamp.env | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/docker/clamp/clamp.env b/extra/docker/clamp/clamp.env index 9c724740..47ec08f6 100644 --- a/extra/docker/clamp/clamp.env +++ b/extra/docker/clamp/clamp.env @@ -1 +1,2 @@ -SPRING_APPLICATION_JSON={"spring.datasource.cldsdb.url":"jdbc:mariadb:sequential://db:3306/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647","org.onap.clamp.config.files.cldsPolicyConfig":"classpath:/clds/clds-policy-config.properties","org.onap.clamp.config.files.cldsReference":"classpath:/clds/clds-reference.properties"}
\ No newline at end of file +### Be careful, this must be in one line only ### +SPRING_APPLICATION_JSON={"spring.datasource.cldsdb.url":"jdbc:mariadb:sequential://db:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3","org.onap.clamp.config.files.cldsPolicyConfig":"classpath:/clds/clds-policy-config.properties","org.onap.clamp.config.files.cldsReference":"classpath:/clds/clds-reference.properties"}
\ No newline at end of file |