Skip to content

fix opa endpoint config (GONRG-5080)

Rustam Lotsmanenko (EPAM) requested to merge fix-opa-config into master

Type of change

  • Bug Fix

Does this introduce a change in the core logic?

  • [YES]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Does this introduce a breaking change?

  • [NO]

What is the current behavior?

Property configuration of OPA endpoint combined with OPA service not working as it was planned, value does not inject to the service, and during runtime, a NullPointer exception will occur when Storage tries to send request OPA endpoint. And it no follow best practices as it said that configuration should be clean POJO objects. https://www.baeldung.com/configuration-properties-in-spring-boot#simple-properties

What is the new/expected behavior?

Property injects as it should be, via property file or via env variable.

Have you added/updated Unit Tests and Integration Tests?

yes

Any other useful information

This is a minor fix that will not require any changes in CSP configurations.

Edited by Riabokon Stanislav(EPAM)[GCP]

Merge request reports

Loading