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

Add support for cedar entities validation. #202

Merged

Conversation

amzn-mdamine
Copy link
Contributor

Issue #, if available:

Description of changes:

This PR adds support for cedar-entity-validation.

Refactor Entity json serialization similar to release/4.0.x

  • Add entity validation in rust
  • Add entity validation in java
  • Add unit test in java and rust.

Copy link
Contributor

@khieta khieta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good 🙂

Remember to port this to release/3.4.x, release/4.0.x, and main as well. The first branch should be an easy cherry-pick. The latter two will require a little more effort since we've made changes to the code that this PR touches. I'd recommend putting up another PR for review against release/4.0.x.

CedarJavaFFI/src/interface.rs Outdated Show resolved Hide resolved
CedarJavaFFI/src/interface.rs Outdated Show resolved Hide resolved
Signed-off-by: Mohamed Amine Ouali <mdamine@amazon.com>
@shaobo-he-aws shaobo-he-aws merged commit d75294e into cedar-policy:release/3.3.x Sep 12, 2024
4 checks passed
amzn-mdamine added a commit to amzn-mdamine/cedar-java that referenced this pull request Sep 12, 2024
Signed-off-by: Mohamed Amine Ouali <mdamine@amazon.com>
@amzn-mdamine amzn-mdamine mentioned this pull request Sep 12, 2024
khieta pushed a commit that referenced this pull request Sep 13, 2024
Signed-off-by: Mohamed Amine Ouali <mdamine@amazon.com>
@amzn-mdamine amzn-mdamine mentioned this pull request Sep 17, 2024
shaobo-he-aws pushed a commit that referenced this pull request Sep 18, 2024
Signed-off-by: Mohamed Amine Ouali <mdamine@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants