Skip to content

Commit

Permalink
feat(irs-api):[#344] Add test case for recursive IRS flow
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-jhartmann committed Jan 30, 2024
1 parent 2964eec commit 505fa27
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"partTypeInformation": {
"manufacturerPartId": "123-0.740-3434-A",
"classification": "product",
"nameAtManufacturer": "Glue"
"nameAtManufacturer": "Cathode"
}
}
22 changes: 22 additions & 0 deletions irs-api/src/test/resources/__files/integrationtesting/batch-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"localIdentifiers": [
{
"value": "BPNL00000000TEST",
"key": "manufacturerId"
},
{
"value": "BID12345678",
"key": "batchId"
}
],
"manufacturingInformation": {
"date": "2022-02-04T14:48:54",
"country": "HUR"
},
"catenaXId": "urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5",
"partTypeInformation": {
"manufacturerPartId": "123-0.740-3434-A",
"classification": "product",
"nameAtManufacturer": "Polyamid"
}
}
22 changes: 22 additions & 0 deletions irs-api/src/test/resources/__files/integrationtesting/batch-3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"localIdentifiers": [
{
"value": "BPNL00000000TEST",
"key": "manufacturerId"
},
{
"value": "BID12345678",
"key": "batchId"
}
],
"manufacturingInformation": {
"date": "2022-02-04T14:48:54",
"country": "HUR"
},
"catenaXId": "urn:uuid:a314ad6b-77ea-417e-ae2d-193b3e249e99",
"partTypeInformation": {
"manufacturerPartId": "123-0.740-3434-A",
"classification": "product",
"nameAtManufacturer": "Generic Chemical"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"catenaXId": "urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5",
"childItems": [
{
"catenaXId": "urn:uuid:a314ad6b-77ea-417e-ae2d-193b3e249e99",
"quantity": {
"quantityNumber": 0.2014,
"measurementUnit": "unit:kilogram"
},
"hasAlternatives": true,
"businessPartner": "BPNL00000000TEST",
"createdOn": "2022-02-03T14:48:54.709Z",
"lastModifiedOn": "2022-02-03T14:48:54.709Z"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"catenaXId": "urn:uuid:a314ad6b-77ea-417e-ae2d-193b3e249e99",
"childItems": []
}

0 comments on commit 505fa27

Please sign in to comment.