Add healthchecks for JCentral-dev, dependencies between containers and wait function for CreateLDAP.sh
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 tosleep
for 2 seconds. However, sometimes, this does not work since the LDAP services takes more time to start. Thus, I've replace thesleep 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