Andrea Cosentino created CAMEL-26838:
----------------------------------------

             Summary: camel-opa - support bundle-aware server readiness checks
                 Key: CAMEL-26838
                 URL: https://issues.apache.org/jira/browse/CAMEL-26838
             Project: Camel
          Issue Type: Improvement
            Reporter: Andrea Cosentino
            Assignee: Andrea Cosentino


h2. Problem / motivation
The readiness probe requests /health without bundle activation requirements. 
For an OPA server downloading bundles after startup, basic server health can 
precede policy readiness.

h2. Proposed scope
Expose opt-in readiness requirements using supported OPA health query 
parameters, including bundle activation where appropriate. Apply them 
consistently to producer and security-policy checks; keep existing basic health 
behavior compatible.

h2. Acceptance criteria / validation
* Cover reachable server before bundle activation, successful activation and 
failure states.
* Bound requests and preserve TLS/authentication settings.
* Document initial activation versus ongoing policy freshness; do not claim a 
health check guarantees current business authorization.

h2. References
* 
https://github.com/apache/camel/blob/5686684cb418/components/camel-opa/src/main/java/org/apache/camel/component/opa/OpaHealthProbe.java#L91
* https://www.openpolicyagent.org/docs/operations

Source: read-only component audit at 5686684cb418. Recheck current main before 
implementing; historical references identify the audited code.

_AI-generated by Codex on behalf of oscerd (JIRA: acosentino)._



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to