Skip to content

Commit e62912c

Browse files
author
Mathias Brunkow Moser
committed
chore(test): added another valid policy
1 parent 8a3ffa9 commit e62912c

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

charts/digital-product-pass/values.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ backend:
196196
- action: "USE"
197197
logicalConstraint: "odrl:and"
198198
constraints:
199-
- leftOperand: "Membership"
199+
- leftOperand: "cx-policy:Membership"
200200
operator: "odrl:eq"
201201
rightOperand: "active"
202202
- leftOperand: "cx-policy:FrameworkAgreement"
@@ -207,6 +207,19 @@ backend:
207207
rightOperand: "cx.circular.dpp:1"
208208
prohibition: []
209209
obligation: []
210+
- permission:
211+
- action: "USE"
212+
logicalConstraint: "odrl:and"
213+
constraints:
214+
- leftOperand: "cx-policy:Membership"
215+
operator: "odrl:eq"
216+
rightOperand: "active"
217+
- leftOperand: "cx-policy:FrameworkAgreement"
218+
operator: "odrl:eq"
219+
rightOperand: "circulareconomy:1.0"
220+
prohibition: [ ]
221+
obligation: [ ]
222+
210223
digitalTwinRegistry:
211224
endpoints:
212225
search: "/lookup/shells"

dpp-backend/digitalproductpass/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ configuration:
159159
- action: "USE"
160160
logicalConstraint: "odrl:and"
161161
constraints:
162-
- leftOperand: "Membership"
162+
- leftOperand: "cx-policy:Membership"
163163
operator: "odrl:eq"
164164
rightOperand: "active"
165165
- leftOperand: "cx-policy:FrameworkAgreement"

0 commit comments

Comments
 (0)