Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to Elasticsearch filter example to utilize the new SDK functionality #159

Closed
wants to merge 11 commits into from

Conversation

kroekle
Copy link

@kroekle kroekle commented Jan 18, 2022

This PR is dependent on open-policy-agent/opa#4240

Updating the Elasticsearch example to use the new functionality in the SDK that will allow for partial evaluation. This should allow for utilizing the OPA configuration (i.e. bundle, decisions, etc) when using partial evaluation.

@ashutosh-narkar
Copy link
Member

@kroekle thanks for the contribution. Can you please sign-off the commit and add a comment once open-policy-agent/opa#4240 is merged. Thanks.

Signed-off-by: Kurt Roekle <kroekle@gmail.com>
kroekle and others added 10 commits February 4, 2022 13:46
changed resolver term to mapper
added additional function to mapper for changing to json
added test for mapper
changed resolver term to mapper
added additional function to mapper for changing to json
added test for mapper

Signed-off-by: Kurt Roekle <kroekle@gmail.com>
… sdk_partial

Signed-off-by: Kurt Roekle <kroekle@gmail.com>
… sdk_partial

Signed-off-by: Kurt Roekle <kroekle@gmail.com>
Signed-off-by: Matthieu FRONTON <m@tthieu.fr>
Signed-off-by: Kurt Roekle <kroekle@gmail.com>
Signed-off-by: Umesh Moghariya <um3shpm@gmail.com>
Signed-off-by: Kurt Roekle <kroekle@gmail.com>
Signed-off-by: Kurt Roekle <kroekle@gmail.com>
changed resolver term to mapper
added additional function to mapper for changing to json
added test for mapper

Signed-off-by: Kurt Roekle <kroekle@gmail.com>
@anderseknert
Copy link
Member

Is this still needed with #164 merged? If so we'll need to have this rebased from the latest main.

@kroekle
Copy link
Author

kroekle commented Mar 30, 2022 via email

@anderseknert
Copy link
Member

Sounds good @kroekle 👍

@kroekle
Copy link
Author

kroekle commented Mar 30, 2022

Due to all the recent changes to both the elasticsearch example to OPA SDK itself, I will close this and open another one later.

@kroekle kroekle closed this Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants