-
Bug Report
-
Resolution: Done
-
L3 - Default
-
None
-
None
-
Not defined
Problem:
- given:
- I have an engine with several users that have access to Optimize
- Optimize has successfully synced the users and imported the engine data
- I create a collection in Optimize and add several user roles
- when:
- Optimize starts another identity sync
- the request to the engine for fetching the application authorizations returns a response with a status other than 200 OK, e.g. 500 server error
- then:
- all the roles of the collections are being removed from the collections
- expected:
- there are to options that need to be discussed:
- either Optimize does a retry with backoff until it fetches all the application authorizations successfully
- it stops the sync and does another retry when the identity sync is triggered again
- there are to options that need to be discussed:
Hint:
- it might make sense to have a look all the engine failing tests if those are considering both request failures, wrong status code and connection interruptions
- we might want to create a utility class that allows to perform a fetch with retry which we've already implemented in other places, e.g. the import