adobe / aio-lib-java

Adobe I/O - Java SDK
https://opensource.adobe.com/aio-lib-java/
Apache License 2.0
5 stars 17 forks source link

event_mgmt : make registration and provider service more resilient for 409 conflict errors #199

Closed abhupadh closed 6 months ago

abhupadh commented 6 months ago

Expected Behaviour

Conflict errors should be handled gracefully while a registration or provider is being created. In case of conflict the conflicting registration id or providerId should be fetched from the exception response header and used to update that registration or provider

See jira issue https://jira.corp.adobe.com/browse/CI-6365

Actual Behaviour

Conflict Exception is thrown and api terminates without further processing

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

abhupadh commented 6 months ago

Changes are merged - https://github.com/adobe/aio-lib-java/pull/200 https://github.com/adobe/aio-lib-java/pull/201