Details
-
Bug
-
Resolution: Done
-
Major
-
2.1 CR1
-
- Create service
- Immediately after update proxy
- Create App plan, Application
- Try to test the service using the apicast.
Description
When we ran our tests, we discovered race condition. The proxy configuration can be updated before the *service token* is generated.
This will cause that the *Apicast* will return Authentication failed when we provide correct credentials.
Right now we solved this problem by sleep for 2.5 sec, but sleeps are not reliable.
It would be great to have either some way to check, whether the token has been created or to somehow synchronize the API calls.
We already discussed this problem with mikz, so he could provide some more technical information.