From f73e6d6914368083ccdd55480e661aaf202a5c36 Mon Sep 17 00:00:00 2001 From: jhartmann Date: Tue, 16 Jul 2024 14:15:54 +0200 Subject: [PATCH] chore(testing):[#794] fix policy namespace --- ...X_Testdata_529_compatibility_SingleLevelBomAsBuilt.json | 7 ++----- ...Testdata_529_compatibility_SingleLevelBomAsPlanned.json | 7 ++----- ...Testdata_529_compatibility_SingleLevelUsageAsBuilt.json | 7 ++----- ...stdata_529_compatibility_SingleLevelUsageAsPlanned.json | 7 ++----- local/testing/testdata/CX_Testdata_v.1.7.0_PartType.json | 7 ++----- .../testdata/CX_Testdata_v1.7.0_PartInstance-reduced.json | 7 ++----- local/testing/testdata/ESS_Testdata_v2.0.0-AsPlanned.json | 7 ++----- 7 files changed, 14 insertions(+), 35 deletions(-) diff --git a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json index 854f83289f..8d3988f763 100644 --- a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json +++ b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json @@ -13,19 +13,16 @@ { "odrl:action": "use", "odrl:constraint": { - "@type": "AtomicConstraint", "odrl:and": [ { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:FrameworkAgreement", + "odrl:leftOperand": "https://w3id.org/catenax/policy/FrameworkAgreement", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "traceability:1.0" }, { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:UsagePurpose", + "odrl:leftOperand": "https://w3id.org/catenax/policy/UsagePurpose", "odrl:operator": { "@id": "odrl:eq" }, diff --git a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsPlanned.json b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsPlanned.json index 3d8c29e471..3ca5ffae9c 100644 --- a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsPlanned.json +++ b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsPlanned.json @@ -13,19 +13,16 @@ { "odrl:action": "use", "odrl:constraint": { - "@type": "AtomicConstraint", "odrl:and": [ { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:FrameworkAgreement", + "odrl:leftOperand": "https://w3id.org/catenax/policy/FrameworkAgreement", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "traceability:1.0" }, { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:UsagePurpose", + "odrl:leftOperand": "https://w3id.org/catenax/policy/UsagePurpose", "odrl:operator": { "@id": "odrl:eq" }, diff --git a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsBuilt.json b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsBuilt.json index 502b8e4251..e0ef13bc06 100644 --- a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsBuilt.json +++ b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsBuilt.json @@ -13,19 +13,16 @@ { "odrl:action": "use", "odrl:constraint": { - "@type": "AtomicConstraint", "odrl:and": [ { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:FrameworkAgreement", + "odrl:leftOperand": "https://w3id.org/catenax/policy/FrameworkAgreement", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "traceability:1.0" }, { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:UsagePurpose", + "odrl:leftOperand": "https://w3id.org/catenax/policy/UsagePurpose", "odrl:operator": { "@id": "odrl:eq" }, diff --git a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsPlanned.json b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsPlanned.json index 612199257f..309872cdab 100644 --- a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsPlanned.json +++ b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsPlanned.json @@ -13,19 +13,16 @@ { "odrl:action": "use", "odrl:constraint": { - "@type": "AtomicConstraint", "odrl:and": [ { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:FrameworkAgreement", + "odrl:leftOperand": "https://w3id.org/catenax/policy/FrameworkAgreement", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "traceability:1.0" }, { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:UsagePurpose", + "odrl:leftOperand": "https://w3id.org/catenax/policy/UsagePurpose", "odrl:operator": { "@id": "odrl:eq" }, diff --git a/local/testing/testdata/CX_Testdata_v.1.7.0_PartType.json b/local/testing/testdata/CX_Testdata_v.1.7.0_PartType.json index c3fe01b1fa..239fb584b6 100644 --- a/local/testing/testdata/CX_Testdata_v.1.7.0_PartType.json +++ b/local/testing/testdata/CX_Testdata_v.1.7.0_PartType.json @@ -13,19 +13,16 @@ { "odrl:action": "use", "odrl:constraint": { - "@type": "AtomicConstraint", "odrl:and": [ { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:FrameworkAgreement", + "odrl:leftOperand": "https://w3id.org/catenax/policy/FrameworkAgreement", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "traceability:1.0" }, { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:UsagePurpose", + "odrl:leftOperand": "https://w3id.org/catenax/policy/UsagePurpose", "odrl:operator": { "@id": "odrl:eq" }, diff --git a/local/testing/testdata/CX_Testdata_v1.7.0_PartInstance-reduced.json b/local/testing/testdata/CX_Testdata_v1.7.0_PartInstance-reduced.json index a789d15a9c..a4232476a1 100644 --- a/local/testing/testdata/CX_Testdata_v1.7.0_PartInstance-reduced.json +++ b/local/testing/testdata/CX_Testdata_v1.7.0_PartInstance-reduced.json @@ -13,19 +13,16 @@ { "odrl:action": "use", "odrl:constraint": { - "@type": "AtomicConstraint", "odrl:and": [ { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:FrameworkAgreement", + "odrl:leftOperand": "https://w3id.org/catenax/policy/FrameworkAgreement", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "traceability:1.0" }, { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:UsagePurpose", + "odrl:leftOperand": "https://w3id.org/catenax/policy/UsagePurpose", "odrl:operator": { "@id": "odrl:eq" }, diff --git a/local/testing/testdata/ESS_Testdata_v2.0.0-AsPlanned.json b/local/testing/testdata/ESS_Testdata_v2.0.0-AsPlanned.json index 7fa5039d91..e98c0c80c6 100644 --- a/local/testing/testdata/ESS_Testdata_v2.0.0-AsPlanned.json +++ b/local/testing/testdata/ESS_Testdata_v2.0.0-AsPlanned.json @@ -13,19 +13,16 @@ { "odrl:action": "use", "odrl:constraint": { - "@type": "AtomicConstraint", "odrl:and": [ { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:FrameworkAgreement", + "odrl:leftOperand": "https://w3id.org/catenax/policy/FrameworkAgreement", "odrl:operator": { "@id": "odrl:eq" }, "odrl:rightOperand": "traceability:1.0" }, { - "@type": "Constraint", - "odrl:leftOperand": "cx-policy:UsagePurpose", + "odrl:leftOperand": "https://w3id.org/catenax/policy/UsagePurpose", "odrl:operator": { "@id": "odrl:eq" },