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

feat: Implement Trust Framework policies extension and default Gaia-X configuration #3

Merged

Conversation

bscholtes1A
Copy link
Contributor

@bscholtes1A bscholtes1A commented Nov 3, 2022

What this PR changes/adds

This PR introduces a new extension enabling to register evaluation function into the PolicyEngine based on a config file loaded from the file system. If no configuration is provided, then it defaults to a configuration registering the evaluation rules required to evaluate the Self-Description Verifiable Credential defined as part of the Gaia-X Trust Framework ontology.

Why it does that

Comply with Trust Framework rules without having to create dedicated extension,

Further notes

Latest version (22.10) of Gaia-X ontology for data exchange implemented in the default configuration: https://gaia-x.gitlab.io/technical-committee/federation-services/data-exchange/dewg/#ontologies-for-data-exchange.

Linked Issue(s)

Closes #2

Checklist

  • added appropriate tests?
  • performed checkstyle check locally?
  • added/updated copyright headers?
  • documented public classes/methods?
  • added/updated relevant documentation?
  • assigned appropriate label? (exclude from changelog with label no-changelog)
  • formatted title correctly? (take a look at the CONTRIBUTING and Etiquette for pull requests for details)

@bscholtes1A bscholtes1A added the enhancement New feature or request label Nov 3, 2022
@bscholtes1A bscholtes1A requested a review from ndr-brt November 7, 2022 11:01
@bscholtes1A bscholtes1A force-pushed the feature/2-trust_framework_policies branch from b402c0d to dde4dc8 Compare November 7, 2022 11:01
Copy link
Member

@paullatzelsperger paullatzelsperger left a comment

Choose a reason for hiding this comment

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

A few general comments:

  • the execute flag of the gradlew and gradlew.bat files is not set, so the bundled gradle distribution cannot be used: image.
  • eventually, we'll need a NOTICE file. Nothing to do now, but to keep in mind.
  • IMO you should add yourself as a CODEOWNER for all directories. That way, you'll get a review request when someone changes something.
  • The actions/setup-java@v2 is deprecated, as it uses the EOL'd Node 12. Pls upgrade to @v3

@bscholtes1A bscholtes1A force-pushed the feature/2-trust_framework_policies branch from dde4dc8 to 7019bef Compare November 7, 2022 13:30
@bscholtes1A
Copy link
Contributor Author

A few general comments:

  • the execute flag of the gradlew and gradlew.bat files is not set, so the bundled gradle distribution cannot be used: image.
  • eventually, we'll need a NOTICE file. Nothing to do now, but to keep in mind.
  • IMO you should add yourself as a CODEOWNER for all directories. That way, you'll get a review request when someone changes something.
  • The actions/setup-java@v2 is deprecated, as it uses the EOL'd Node 12. Pls upgrade to @v3

All done (except NOTICE file which will come later)

@bscholtes1A bscholtes1A merged commit 34b9b28 into eclipse-edc:main Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants