eclipse-edc / MinimumViableDataspace

Guidance on documentation, scripts and integration steps on using the EDC project results
Apache License 2.0
58 stars 167 forks source link

fix: use factory method to create policy eval functions #363

Closed paullatzelsperger closed 2 weeks ago

paullatzelsperger commented 2 weeks ago

What this PR changes/adds

use static factory methods to instantiate policy evaluation functions.

Why it does that

with the advent of the ParticipantAgentPolicyContext this became possible to simplify things

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes # <-- insert Issue number if one exists

_Please be sure to take a look at the contributing guidelines and our etiquette for pull requests._