-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cucumber):[#357] Adjust to latest testdata version
- Loading branch information
1 parent
df41ca3
commit 88d5ea9
Showing
4 changed files
with
118 additions
and
78 deletions.
There are no files selected for viewing
70 changes: 35 additions & 35 deletions
70
irs-cucumber-tests/src/test/resources/expected-files/TRI-1913-expected-submodels.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
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
84 changes: 54 additions & 30 deletions
84
irs-cucumber-tests/src/test/resources/expected-files/TRI-1915-expected-submodels.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,39 +1,63 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"catenaXId": "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c", | ||
"childItems": [ | ||
{ | ||
"validityPeriod": { | ||
"validFrom": "2023-03-21T08:17:29.187+01:00", | ||
"validTo": "2024-07-01T16:10:00.000+01:00" | ||
"identification": "urn:uuid:716429d0-3108-46fd-869f-b6c86d32cc08", | ||
"aspectType": "urn:samm:io.catenax.single_level_bom_as_planned:3.0.0#SingleLevelBomAsPlanned", | ||
"contractAgreementId": "NGYzNjdkMGMtZmMyOC00Y2U5LWJkYTQtYjAwZGFjMGFkYWZh:dXJuOnV1aWQ6Njc0NzU2NjItNjFmMy00NTY4LWJlMGItYWVlNDJjNGFlZjM5:MjdmMWI0YWQtZDhjNS00NzQxLWFkOWUtYjA1OTViYjQwYzcw", | ||
"payload": { | ||
"catenaXId": "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca97", | ||
"childItems": [ | ||
{ | ||
"validityPeriod": { | ||
"validFrom": "2023-03-21T08:17:29.187+01:00", | ||
"validTo": "2024-07-01T16:10:00.000+01:00" | ||
}, | ||
"catenaXId": "urn:uuid:c7a2b803-f8fe-4b79-b6fc-967ce847c9a9", | ||
"quantity": { | ||
"unit": "unit:piece", | ||
"value": 10 | ||
}, | ||
"businessPartner": "BPNL00000003AYRE", | ||
"createdOn": "2022-02-03T14:48:54.709Z", | ||
"lastModifiedOn": "2022-02-03T14:48:54.709Z" | ||
}, | ||
"catenaXId": "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca97", | ||
"quantity": { | ||
"unit": "unit:piece", | ||
"value": 6 | ||
}, | ||
"businessPartner": "BPNL00000003AYRE", | ||
"createdOn": "2022-02-03T14:48:54.709Z", | ||
"lastModifiedOn": "2022-02-03T14:48:54.709Z" | ||
} | ||
] | ||
{ | ||
"validityPeriod": { | ||
"validFrom": "2023-03-21T08:17:29.187+01:00", | ||
"validTo": "2024-07-01T16:10:00.000+01:00" | ||
}, | ||
"catenaXId": "urn:uuid:15d2fcc8-6439-4d1e-904b-e62b4d3bf323", | ||
"quantity": { | ||
"unit": "unit:kilogram", | ||
"value": 0.11 | ||
}, | ||
"businessPartner": "BPNL00000003AXS3", | ||
"createdOn": "2022-02-03T14:48:54.709Z", | ||
"lastModifiedOn": "2022-02-03T14:48:54.709Z" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"catenaXId": "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c", | ||
"partTypeInformation": { | ||
"manufacturerPartId": "38049661-08", | ||
"classification": "product", | ||
"nameAtManufacturer": "OEM A High Voltage Battery" | ||
}, | ||
"partSitesInformationAsPlanned": [ | ||
{ | ||
"functionValidUntil": "2023-12-11T06:14:55.183Z", | ||
"catenaXsiteId": "BPNS1234567890ZZ", | ||
"function": "production", | ||
"functionValidFrom": "2023-12-11T06:14:55.181Z" | ||
} | ||
] | ||
"identification": "urn:uuid:2e8ea560-693d-4755-83b6-03e111975f71", | ||
"aspectType": "urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned", | ||
"contractAgreementId": "ZmM1MmY1ODItOTQyYy00NzQwLTljOWUtNjZlM2Q0ZTc5Y2Qx:dXJuOnV1aWQ6Nzg0ZWZkMDYtZWY1Zi00ZDUyLWJmZTgtODVkNDQ4OWRlNzBm:MzVmNWEwYWItOGVlNy00MzlhLWIxM2UtMjQyYWI2NzUzMmU1", | ||
"payload": { | ||
"catenaXId": "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca97", | ||
"partTypeInformation": { | ||
"manufacturerPartId": "8840838-04", | ||
"classification": "product", | ||
"nameAtManufacturer": "HV Modul" | ||
}, | ||
"partSitesInformationAsPlanned": [ | ||
{ | ||
"functionValidUntil": "2023-12-11T06:14:55.183Z", | ||
"catenaXsiteId": "BPNS1234567890ZZ", | ||
"function": "production", | ||
"functionValidFrom": "2023-12-11T06:14:55.181Z" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
irs-cucumber-tests/src/test/resources/expected-files/TRI-1918-expected-submodels.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"identification": "urn:uuid:91f0050f-7aea-4f84-828e-899b17cc56be", | ||
"aspectType": "urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt", | ||
"contractAgreementId": "MmVjYjQ1YzEtN2QxNy00NTMxLWFlMmItNDhiYjQwYzA5MTcw:dXJuOnV1aWQ6MjIwZGI2NmQtM2VmMi00Yzg1LWFiYzgtZDlhNDhkMDZiMDNh:YzQzYzUyY2MtNjA4ZC00M2E0LTliNWYtMjcxZDE0NDMwOTUw", | ||
"payload": { | ||
"catenaXId": "urn:uuid:1ad0892a-59c1-4118-8b52-601540973f31", | ||
"childItems": [ | ||
{ | ||
"catenaXId": "urn:uuid:c6d2d642-a055-4ddf-87e3-1a3b02c689e3", | ||
"quantity": { | ||
"unit": "unit:piece", | ||
"value": 20 | ||
}, | ||
"hasAlternatives": false, | ||
"businessPartner": "BPNL00000000BJTL", | ||
"createdOn": "2022-02-03T14:48:54.709Z", | ||
"lastModifiedOn": "2022-02-03T14:48:54.709Z" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |