Juhan Aasaru created FINCN-196:
----------------------------------
Summary: Check infrastructure availablility before micro service
startup
Key: FINCN-196
URL: https://issues.apache.org/jira/browse/FINCN-196
Project: Fineract Cloud Native
Issue Type: Improvement
Reporter: Juhan Aasaru
For each micro service
# create
[entrypoint.sh|https://github.com/apache/fineract-cn-identity/compare/develop...fintecheando:develop#diff-b958f585a04af5ee2087610ea7180f34]
and make it call "java -jar microservice.jar" but before that check that
Postgres and Cassandra (and Eureka and ActiveMq) are running
# make the Dockerfile call entripoint.sh instead of directly starting the jar.
Example:
[https://github.com/apache/fineract-cn-identity/commit/5db1578b88348ad448d0e07607b32bc3b94798bc]
This idea was proposed by [~Fintecheando] here:
https://issues.apache.org/jira/browse/FINCN-189?focusedCommentId=17007232&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17007232
(part one)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)