Skip to content

Commit c6f6d12

Browse files
committed
feat: add agreements for serial part and part type information in backend configuration
1 parent 5bf6b50 commit c6f6d12

File tree

2 files changed

+106
-106
lines changed

2 files changed

+106
-106
lines changed

charts/industry-core-hub/values-int-manufacturer.yaml

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,59 @@ frontend:
236236
prohibition: []
237237
obligation: []
238238
backend:
239+
agreements:
240+
- semanticid: urn:samm:io.catenax.serial_part:3.0.0#SerialPart
241+
usage:
242+
context:
243+
odrl: http://www.w3.org/ns/odrl/2/
244+
cx-policy: https://w3id.org/catenax/policy/
245+
permission:
246+
- action: odrl:use
247+
LogicalConstraint: odrl:and
248+
constraints:
249+
- leftOperand: cx-policy:UsagePurpose
250+
operator: odrl:eq
251+
rightOperand: cx.core.industrycore:1
252+
prohibition: []
253+
obligation: []
254+
access:
255+
context:
256+
odrl: http://www.w3.org/ns/odrl/2/
257+
cx-policy: https://w3id.org/catenax/policy/
258+
permission:
259+
- action: odrl:use
260+
constraints:
261+
- leftOperand: cx-policy:Membership
262+
operator: odrl:eq
263+
rightOperand: active
264+
prohibition: []
265+
obligation: []
266+
- semanticid: "urn:samm:io.catenax.part_type_information:1.0.0#PartTypeInformation"
267+
usage:
268+
context:
269+
odrl: http://www.w3.org/ns/odrl/2/
270+
cx-policy: https://w3id.org/catenax/policy/
271+
permission:
272+
- action: odrl:use
273+
LogicalConstraint: odrl:and
274+
constraints:
275+
- leftOperand: cx-policy:UsagePurpose
276+
operator: odrl:eq
277+
rightOperand: cx.core.industrycore:1
278+
prohibition: []
279+
obligation: []
280+
access:
281+
context:
282+
odrl: http://www.w3.org/ns/odrl/2/
283+
cx-policy: https://w3id.org/catenax/policy/
284+
permission:
285+
- action: odrl:use
286+
constraints:
287+
- leftOperand: cx-policy:Membership
288+
operator: odrl:eq
289+
rightOperand: active
290+
prohibition: []
291+
obligation: []
239292
apiVersion: v1
240293
name: "manufacturer-ichub-backend"
241294
nameOverride: "manufacturer-ichub-backend"
@@ -358,59 +411,6 @@ backend:
358411
rightOperand: active
359412
prohibition: []
360413
obligation: []
361-
agreements:
362-
- semanticid: urn:samm:io.catenax.serial_part:3.0.0#SerialPart
363-
usage:
364-
context:
365-
odrl: http://www.w3.org/ns/odrl/2/
366-
cx-policy: https://w3id.org/catenax/policy/
367-
permission:
368-
- action: odrl:use
369-
LogicalConstraint: odrl:and
370-
constraints:
371-
- leftOperand: cx-policy:UsagePurpose
372-
operator: odrl:eq
373-
rightOperand: cx.core.industrycore:1
374-
prohibition: []
375-
obligation: []
376-
access:
377-
context:
378-
odrl: http://www.w3.org/ns/odrl/2/
379-
cx-policy: https://w3id.org/catenax/policy/
380-
permission:
381-
- action: odrl:use
382-
constraints:
383-
- leftOperand: cx-policy:Membership
384-
operator: odrl:eq
385-
rightOperand: active
386-
prohibition: []
387-
obligation: []
388-
- semanticid: "urn:samm:io.catenax.part_type_information:1.0.0#PartTypeInformation"
389-
usage:
390-
context:
391-
odrl: http://www.w3.org/ns/odrl/2/
392-
cx-policy: https://w3id.org/catenax/policy/
393-
permission:
394-
- action: odrl:use
395-
LogicalConstraint: odrl:and
396-
constraints:
397-
- leftOperand: cx-policy:UsagePurpose
398-
operator: odrl:eq
399-
rightOperand: cx.core.industrycore:1
400-
prohibition: []
401-
obligation: []
402-
access:
403-
context:
404-
odrl: http://www.w3.org/ns/odrl/2/
405-
cx-policy: https://w3id.org/catenax/policy/
406-
permission:
407-
- action: odrl:use
408-
constraints:
409-
- leftOperand: cx-policy:Membership
410-
operator: odrl:eq
411-
rightOperand: active
412-
prohibition: []
413-
obligation: []
414414
submodel_dispatcher:
415415
path: "/industry-core-hub/data/submodels"
416416
apiPath: "/submodel-dispatcher"

charts/industry-core-hub/values-int.yaml

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,59 @@ frontend:
209209
prohibition: []
210210
obligation: []
211211
backend:
212+
agreements:
213+
- semanticid: urn:samm:io.catenax.serial_part:3.0.0#SerialPart
214+
usage:
215+
context:
216+
odrl: http://www.w3.org/ns/odrl/2/
217+
cx-policy: https://w3id.org/catenax/policy/
218+
permission:
219+
- action: odrl:use
220+
LogicalConstraint: odrl:and
221+
constraints:
222+
- leftOperand: cx-policy:UsagePurpose
223+
operator: odrl:eq
224+
rightOperand: cx.core.industrycore:1
225+
prohibition: []
226+
obligation: []
227+
access:
228+
context:
229+
odrl: http://www.w3.org/ns/odrl/2/
230+
cx-policy: https://w3id.org/catenax/policy/
231+
permission:
232+
- action: odrl:use
233+
constraints:
234+
- leftOperand: cx-policy:Membership
235+
operator: odrl:eq
236+
rightOperand: active
237+
prohibition: []
238+
obligation: []
239+
- semanticid: "urn:samm:io.catenax.part_type_information:1.0.0#PartTypeInformation"
240+
usage:
241+
context:
242+
odrl: http://www.w3.org/ns/odrl/2/
243+
cx-policy: https://w3id.org/catenax/policy/
244+
permission:
245+
- action: odrl:use
246+
LogicalConstraint: odrl:and
247+
constraints:
248+
- leftOperand: cx-policy:UsagePurpose
249+
operator: odrl:eq
250+
rightOperand: cx.core.industrycore:1
251+
prohibition: []
252+
obligation: []
253+
access:
254+
context:
255+
odrl: http://www.w3.org/ns/odrl/2/
256+
cx-policy: https://w3id.org/catenax/policy/
257+
permission:
258+
- action: odrl:use
259+
constraints:
260+
- leftOperand: cx-policy:Membership
261+
operator: odrl:eq
262+
rightOperand: active
263+
prohibition: []
264+
obligation: []
212265
apiVersion: v1
213266
cors:
214267
enabled: true
@@ -327,59 +380,6 @@ backend:
327380
rightOperand: active
328381
prohibition: []
329382
obligation: []
330-
agreements:
331-
- semanticid: urn:samm:io.catenax.serial_part:3.0.0#SerialPart
332-
usage:
333-
context:
334-
odrl: http://www.w3.org/ns/odrl/2/
335-
cx-policy: https://w3id.org/catenax/policy/
336-
permission:
337-
- action: odrl:use
338-
LogicalConstraint: odrl:and
339-
constraints:
340-
- leftOperand: cx-policy:UsagePurpose
341-
operator: odrl:eq
342-
rightOperand: cx.core.industrycore:1
343-
prohibition: []
344-
obligation: []
345-
access:
346-
context:
347-
odrl: http://www.w3.org/ns/odrl/2/
348-
cx-policy: https://w3id.org/catenax/policy/
349-
permission:
350-
- action: odrl:use
351-
constraints:
352-
- leftOperand: cx-policy:Membership
353-
operator: odrl:eq
354-
rightOperand: active
355-
prohibition: []
356-
obligation: []
357-
- semanticid: "urn:samm:io.catenax.part_type_information:1.0.0#PartTypeInformation"
358-
usage:
359-
context:
360-
odrl: http://www.w3.org/ns/odrl/2/
361-
cx-policy: https://w3id.org/catenax/policy/
362-
permission:
363-
- action: odrl:use
364-
LogicalConstraint: odrl:and
365-
constraints:
366-
- leftOperand: cx-policy:UsagePurpose
367-
operator: odrl:eq
368-
rightOperand: cx.core.industrycore:1
369-
prohibition: []
370-
obligation: []
371-
access:
372-
context:
373-
odrl: http://www.w3.org/ns/odrl/2/
374-
cx-policy: https://w3id.org/catenax/policy/
375-
permission:
376-
- action: odrl:use
377-
constraints:
378-
- leftOperand: cx-policy:Membership
379-
operator: odrl:eq
380-
rightOperand: active
381-
prohibition: []
382-
obligation: []
383383
submodel_dispatcher:
384384
path: "/industry-core-hub/data/submodels"
385385
apiPath: "/submodel-dispatcher"

0 commit comments

Comments
 (0)