You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From examples I can see EDC uses policy permissions with this:
"odrl:action": {
"odrl:type": "USE"
},
In the DSP specs I could not find examples like that.
There I found examples like:
"odrl:action": {
"@id": "odrl:use"
},
or simply
"action": "use"
I used the latter one to interact with EDC /negotiations/{process_id}/agreement and receive EDC error messages like:
java.lang.NullPointerException: Cannot invoke "org.eclipse.edc.policy.model.Action.getType()" because "action" is null
edc-dev-env-consumer-control-plane-1 | at org.eclipse.edc.jsonld.transformer.from.JsonObjectFromPolicyTransformer$Visitor.visitAction(JsonObjectFromPolicyTransformer.java:225)
It seems to me, EDC would expect this in a different format that I can find in DSP examples. I hope this is not some fancy Jsonld formatting issue again ;-)
I tried to find any information about this odrl:action / odrl:type thing, but no luck.
Any thoughts?
--
Matthias Binzer
The text was updated successfully, but these errors were encountered:
From examples I can see EDC uses policy permissions with this:
In the DSP specs I could not find examples like that.
There I found examples like:
or simply
I used the latter one to interact with EDC
/negotiations/{process_id}/agreement
and receive EDC error messages like:It seems to me, EDC would expect this in a different format that I can find in DSP examples. I hope this is not some fancy Jsonld formatting issue again ;-)
I tried to find any information about this
odrl:action
/odrl:type
thing, but no luck.Any thoughts?
--
Matthias Binzer
The text was updated successfully, but these errors were encountered: