Closed jzbmw closed 7 months ago
built uppon json-ld
@ds-alexander-bulgakov ready for QA
@ds-psosnowski as already discussed could you please adjust the insomnia-collection with new JSON-body for the POST-Request?
Creation and update of policy with new structure is working as expected. IRS-jobs are can be requested and are working as expected with new created policy. Tested with creation of this policy:
{ "validUntil": "2025-02-06T23:59:59.999Z", "payload": { "@context": { "odrl": "http://www.w3.org/ns/odrl/2/" }, "@id": "policy-test-AB_2", "policy": { "odrl:permission": [ { "odrl:action": "USE", "odrl:constraint": { "odrl:and": [ { "odrl:leftOperand": "PURPOSE", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "ID 3.0 Trace" }, { "odrl:leftOperand": "PURPOSE", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "ID 3.1 Trace" }, { "odrl:leftOperand": "PURPOSE", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "R2_Traceability" }, { "odrl:leftOperand": "PURPOSE", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "active" }, { "odrl:leftOperand": "Membership", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "active" } ], "odrl:or": [ { "odrl:leftOperand": "Membership", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "active" }, { "odrl:leftOperand": "PURPOSE", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "ID 3.0 Trace" }, { "odrl:leftOperand": "PURPOSE", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "R2_Traceability" }, { "odrl:leftOperand": "PURPOSE", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "ID 3.1 Trace" }, { "odrl:leftOperand": "FrameworkAgreement.traceability", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "active" } ] } } ] } } }
The createdOn information for created police is not given however. Could you please check this as well?
Thank you!
Insomnia collection has been extended and previously described issue with missing createdOn has been fixed, see e.g.:
Ticket is done and was accepted in PO-review already.
As IRS Consumer, I want to add policies the same way as EDC handles those , so that there is no structural change within the overall architecture of where the Services acts.
LOP
Hints / Details
Example:
Example:
Outcome / Acceptance Criteria
Outcome
Acceptance Criteria
Out of Scope