Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Develop a Go application that seamlessly integrates with Open Policy Agent (OPA), leveraging the OPA Rego language, and incorporates Kafka for event-driven communication.

    • Use the OPA Rego library Go SDK to integrate OPA into the Go application.

    • Establish a secure communication channel between the Go application and OPA.

    • Develop a clear and concise mechanism for defining policies using the OPA Rego language within the Go application.

    • Implement logic for evaluating policies using the OPA Rego engine.

    • Enable the Go application to dynamically load and update policies from OPA for real-time adjustments.

    • Implement Kafka producers to publish policy-related events when policy decisions are made.

    • Implement Kafka consumers to listen for policy-related events and trigger appropriate actions.

...

Info

https://www.openpolicyagent.org/docs/latest/#5-try-opa-as-a-go-library


Notes/Considerations from the policy weekly discussion:

Re-implement the PAP interaction with PDPs?

Convert ONAP policies to be OPA compatible? 

Convert OPA policies to be ONAP compatible?

Others?