eclipse-edc / DataDashboard

DataDashboard
Apache License 2.0
15 stars 80 forks source link

feat: connector client: switch PolicyService #90

Closed janpmeyer closed 1 year ago

janpmeyer commented 1 year ago

What this PR changes/adds

Use EDC-connector-client for `ContractDefinition

Why it does that

Briefly state why the change was necessary.

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 #58 and Closese #65

janpmeyer commented 1 year ago

At the current state on creating a new Policy the values are not used given in the Dialog.

Also i have the question about the assignee and assigner of a policy. Does the still exist? Because i don't see this fields in the management-Api Documentation. Or i just did not see it? @ndr-brt

ndr-brt commented 1 year ago

@janpmeyer they are part of the ODRL model, but they are not used by the EDC, so they can be avoided

janpmeyer commented 1 year ago

@ndr-brt fixed now the id of an policyDefiniton and also the permission field of the policy. But the fields prohibition and obligation are not working yet

janpmeyer commented 1 year ago

With the new EDC-Connector-Client Beta-6 obligations and prohibitions are also working.