Retrying for connection when postgres is not ready 48/70348/2
authorTomasz Golabek <tomasz.golabek@nokia.com>
Fri, 12 Oct 2018 10:20:36 +0000 (12:20 +0200)
committerTomasz Golabek <tomasz.golabek@nokia.com>
Wed, 17 Oct 2018 09:15:16 +0000 (11:15 +0200)
commit0d01dc7f9cea83d9b70a021ac52749045cfbf6ad
tree631718967879dcf1ffef4fd7b5cf18c3f4d9eae4
parent74d55c254031a25f06f106291e8506eb53bd813d
Retrying for connection when postgres is not ready

Added 5 attempts for establishing connection to the postgres.
Needed when postgres havent start before buscontroller container.

Change-Id: Ie838161d1ecc63acceb5e5068dffb0dd0092440f
Issue-ID: DMAAP-828
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
pom.xml
src/main/java/org/onap/dmaap/dbcapi/database/ConnectionFactory.java
version.properties