-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wait-for-it / handle several databases if needed (primary/secondary/etc) #278
wait-for-it / handle several databases if needed (primary/secondary/etc) #278
Conversation
Hi @nesies, Thank you for your pull request. My colleague @yanavasileva will look into it after the summer break. Stay tuned! Best, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the implementation looks good to me. I added suggestions for the wording in the run script, please consider them for all of the three scripts.
Meantime, I would ask for a second reviewer in case I overlooked something.
@tasso94, could you please have a look at this feature request contribution in case I overlooked some aspect. |
thanks, i made the changes |
@yanavasileva, I had a brief look, and here is my input:
|
@nesies, thank you for applying the review hints so far. |
f6e8830
to
8e1aada
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @nesies,
The current implementation is failing and I think a few components are missing:
- ensure the correct name is passed for the "common-lib"
- ensure the file is present when a docker image is created
- test the docker image with the following scenarios:
- the WAIT_FOR argument not passed
- WAIT_FOR argument given with one db connection
- WAIT_FOR argument given with two or more db connections
8e1aada
to
90e7d29
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes camunda/camunda-bpm-platform#3555
If you specify several database in your JDBC_URL, you might want to start if at latest on of them is responding.
camunda/camunda-bpm-platform#3555