Skip to content
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

Check if keycloak app is already deployed and available before invoking kcadm.sh #15

Open
arso opened this issue Mar 18, 2022 · 0 comments

Comments

@arso
Copy link
Contributor

arso commented Mar 18, 2022

In current implementation there is an ugly sleep(30) used to makes sure the setup code is not trying to run kcadm.sh before keycloak rest api is up and running.
In order to get rig of this hardcode we can think of a better solution ie. search for some 'healthcheck' type of endpoint we could ping in short intervals ... or if that's not the case implement proper (and simple) re-try mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant