-
Notifications
You must be signed in to change notification settings - Fork 91
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
move protobuf code to cedar-policy #1452
Conversation
Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
I'm confused by the current build failure (which happens while trying to compile code that was generated by |
Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
Build is now passing. CI just reporting that DRT build fails, I will make a separate PR to deal with that (but not merge this until the DRT PR is ready). This PR is ready for review. |
Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…public Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
Ready for review -- cedar-policy/cedar-spec#532 will address the downstream CI failure for DRT. |
Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks reasonable
Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
Description of changes
Moves all protobuf-related code out of
cedar_policy_core
andcedar_policy_validator
and into a new (public) submodule ofcedar_policy
. This should resolve the build issues which resulted from packages having to depend on.proto
files in other crates.This necessitated various changes to the internal APIs of
cedar_policy_core
andcedar_policy_validator
. If someone feels strongly, I can split out those changes into a separate PR.No changes to the public API, other than that the actual Rust structures compiled from protobuf are now public in
cedar_policy
, behind theprotobufs
experimental flag.Issue #, if available
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):
cedar-policy-core
,cedar-validator
, etc.)I confirm that this PR (choose one, and delete the other options):
I confirm that
cedar-spec
(choose one, and delete the other options):cedar-spec
, and how you have tested that your updates are correct.)I confirm that
docs.cedarpolicy.com
(choose one, and delete the other options):