-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #145 from catenax-ng/release/v1.3.0-register-testdata
[6°] - Release/v1.3.0 register testdata: update dpp/irs test data and script
- Loading branch information
Showing
18 changed files
with
710 additions
and
585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 8 additions & 11 deletions
19
deployment/infrastructure/resources/irs/assets/DT-BAT-XYZ789.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
{ | ||
"@context": { | ||
"dct": "https://purl.org/dc/terms/", | ||
"tx": "https://w3id.org/tractusx/v0.0.1/ns/", | ||
"edc": "https://w3id.org/edc/v0.0.1/ns/", | ||
"dcat": "https://www.w3.org/ns/dcat/", | ||
"odrl": "http://www.w3.org/ns/odrl/2/", | ||
"dspace": "https://w3id.org/dspace/v0.8/" | ||
}, | ||
"@context": {}, | ||
"asset": { | ||
"@type": "Asset", | ||
"@id": "urn:uuid:3e4a5957-f226-478a-ab18-79ced49d6195", | ||
"@id": "urn:uuid:3e4a5957-f226-478a-ab18-79ced49d6195", | ||
"properties": { | ||
"description": "DPP EDC Test Asset" | ||
"description": "IRS EDC Test Asset" | ||
} | ||
}, | ||
"dataAddress": { | ||
"@type": "DataAddress", | ||
"type": "HttpData", | ||
"baseUrl": "https://materialpass.int.demo.catena-x.net/provider_backend/data/urn:uuid:3e4a5957-f226-478a-ab18-79ced49d6195" | ||
"baseUrl": "https://materialpass.int.demo.catena-x.net/provider_backend", | ||
"proxyPath": "true", | ||
"proxyBody": "false", | ||
"proxyMethod": "false", | ||
"proxyQueryParams": "false" | ||
} | ||
} |
11 changes: 2 additions & 9 deletions
11
deployment/infrastructure/resources/irs/assets/digital-twin-registry.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 3 additions & 10 deletions
13
deployment/infrastructure/resources/irs/contractdefinitions/DT-BAT-XYZ789.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 1 addition & 8 deletions
9
deployment/infrastructure/resources/irs/contractdefinitions/digital-twin-registry.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 19 additions & 17 deletions
36
deployment/infrastructure/resources/irs/contractpolicies/DT-BAT-XYZ789.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
{ | ||
"@context": { | ||
"odrl": "http://www.w3.org/ns/odrl/2/leftOperand" | ||
"odrl": "http://www.w3.org/ns/odrl/2/" | ||
}, | ||
"@type": "PolicyDefinitionRequestDto", | ||
"@id": "e3ffbbcb-1e6c-406c-91e8-cf0bf191b807", | ||
"@id": "id-3.0-trace", | ||
"policy": { | ||
"@type": "Policy", | ||
"odrl:permission" : [{ | ||
"odrl:action": "USE", | ||
"odrl:constraint": { | ||
"odrl:constraint": { | ||
"@type": "LogicalConstraint", | ||
"odrl:or": [ | ||
"@type": "Policy", | ||
"odrl:permission": [ | ||
{ | ||
"@type": "Contraint", | ||
"odrl:leftOperand": "BusinessPartnerNumber", | ||
"odrl:operator": "EQ", | ||
"odrl:rightOperand": "BPNL00000000CBA5" | ||
"odrl:action": "USE", | ||
"odrl:constraint": { | ||
"@type": "AtomicConstraint", | ||
"odrl:or": [ | ||
{ | ||
"@type": "Constraint", | ||
"odrl:leftOperand": "PURPOSE", | ||
"odrl:operator": { | ||
"@id": "odrl:eq" | ||
}, | ||
"odrl:rightOperand": "ID 3.0 Trace" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}] | ||
] | ||
} | ||
} |
21 changes: 3 additions & 18 deletions
21
deployment/infrastructure/resources/irs/contractpolicies/digital-twin-registry.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,11 @@ | ||
{ | ||
"@context": { | ||
"odrl": "http://www.w3.org/ns/odrl/2/leftOperand" | ||
"odrl": "http://www.w3.org/ns/odrl/2/" | ||
}, | ||
"@type": "PolicyDefinitionRequestDto", | ||
"@id": "4b480f48-79a0-4851-a56c-6ef71e19ebc4", | ||
"policy": { | ||
"@type": "Policy", | ||
"odrl:permission" : [{ | ||
"odrl:action": "USE", | ||
"odrl:constraint": { | ||
"odrl:constraint": { | ||
"@type": "LogicalConstraint", | ||
"odrl:or": [ | ||
{ | ||
"@type": "Contraint", | ||
"odrl:leftOperand": "BusinessPartnerNumber", | ||
"odrl:operator": "EQ", | ||
"odrl:rightOperand": "BPNL00000000CBA5" | ||
} | ||
] | ||
} | ||
} | ||
}] | ||
"@type": "Policy", | ||
"odrl:permission": [] | ||
} | ||
} |
Oops, something went wrong.