This seems to have gotten out of sync with opa-client, notably the fact that OpenPolicyAgentClient is no longer a struct but now a trait. This PR brings in new changes from opa-client.
Note 1: The opa-client dependency should not be pinned to my branch, but to the main branch. I will update this if the corresponding PR is merged.
Note 2: I placed a dummy struct in PolicyEngine::evaluate() just as a placeholder to have a parameter for the new query() function signature. This should become something more reasonable and I can update it if there are any suggestions.
This seems to have gotten out of sync with
opa-client
, notably the fact thatOpenPolicyAgentClient
is no longer a struct but now a trait. This PR brings in new changes fromopa-client
.Note 1: The
opa-client
dependency should not be pinned to my branch, but to the main branch. I will update this if the corresponding PR is merged.Note 2: I placed a
dummy
struct inPolicyEngine::evaluate()
just as a placeholder to have a parameter for the newquery()
function signature. This should become something more reasonable and I can update it if there are any suggestions.