Skip to content

Add healthchecks for JCentral-dev, dependencies between containers and wait function for CreateLDAP.sh

Maria-Elena Mihailescu requested to merge mariaele/jalien-setup:docker_pr into master

This PR adds the following:

  • health checks for JCentral: check if mySQL and LDAP started
  • dependencies between containers: CE and SE does not start until JCentral is considered healthy
  • wait function in bash-setup/CreateLDAP.sh: the previous way of waiting for the LDAP service to fully start is to sleep for 2 seconds. However, sometimes, this does not work since the LDAP services takes more time to start. Thus, I've replace the sleep 2 command with a function that waits until LDAP is fully functional before continuing the setup.

Signed-off-by: Elena Mihailescu maria-elena.mihailescu@cern.ch

Merge request reports