openBackhaul / RegistryOffice

Apache License 2.0
2 stars 8 forks source link

/v1/regard-updated-approval-status service stuck for non existing application-name #394

Closed PrathibaJee closed 1 year ago

PrathibaJee commented 1 year ago

The service /v1/regard-updated-approval-status is working fine when the application-name and release-number is already registered. But if the application information is not available, then the /v1/regard-updated-approval-status service is getting stuck without providing a response.

Rootcause : null pointer is not checked after getting the HttpClientUuid. This makes the non existing application to fail the execution. Solution : Including check for undefined object after getting the httpClientUuid in updateApprovalStatus

PrathibaJee commented 1 year ago

Problem mentioned in this issue is resolved. But , the response code shall be adopted based on the issue https://github.com/openBackhaul/RegistryOffice/issues/419 . Hence closing this issue to avoid duplication.