-
Notifications
You must be signed in to change notification settings - Fork 62
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
feat: add basic policy sample #207
feat: add basic policy sample #207
Conversation
…ncies in libs.versions.toml
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.
'We are always happy to welcome new contributors ❤️ To make things easier for everyone, please - make sure to follow our contribution guidelines, - check if you have already signed the ECA, and - relate this pull request to an existing issue or discussion.'
policy/policy-01-policy-enforcement/resources/contractoffer.json
Outdated
Show resolved
Hide resolved
...unctions/src/main/java/org/eclipse/edc/sample/extension/policy/PolicyFunctionsExtension.java
Outdated
Show resolved
Hide resolved
...ctions/src/main/java/org/eclipse/edc/sample/extension/policy/LocationConstraintFunction.java
Show resolved
Hide resolved
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.
LGTM
What this PR changes/adds
This policy explains the very basics of policy enforcement. It shows the necessary configurations to enable policy evaluation for certain rules as well as an example on how to enforce a policy with a location constraint.
Why it does that
Provide guidance to EDC's policy engine.
Linked Issue(s)
Closes #33
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.