Skip to content

Added policy error message (GONRG-6457)

Yurii Ruban [EPAM / GCP] requested to merge add-policy-error-message into master

Description:

Added error handling for policy service response. Issue: osdu/platform/system/search-service#120 (closed) .

The bug reason: in the case of receiving an error from the service policy, the error was not handled and the program continued to execute the next steps of the request.

Solution: handle the error from the policy service. Also, the error message was added.

How to test:

  1. Execute get policy request to policy service with the wrong policy name or policy id.
  2. Get a response with an error.
  3. Check error message in response and logs.

Changes include:

  • Bugfix (a non-breaking change that solves an issue).

Changes in:

  • GCP
  • Azure
  • AWS
  • IBM
Edited by Riabokon Stanislav(EPAM)[GCP]

Merge request reports