Skip to content

Commit

Permalink
fix(test):[#503] update expected outcome of int tests TRI-893
Browse files Browse the repository at this point in the history
  • Loading branch information
mkanal committed Apr 23, 2024
1 parent fbee501 commit e8719d7
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 71 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"quantityNumber": 1.0,
"measurementUnit": {
"datatypeURI": null,
"lexicalValue": "unit:litre"
"lexicalValue": "unit:piece"
}
},
"lifecycleContext": "asPlanned",
Expand All @@ -26,7 +26,7 @@
"quantityNumber": 1.0,
"measurementUnit": {
"datatypeURI": null,
"lexicalValue": "unit:litre"
"lexicalValue": "unit:piece"
}
},
"lifecycleContext": "asPlanned",
Expand All @@ -39,61 +39,61 @@
"bpn": "BPNL50096894aNXY"
},
{
"catenaXId": "urn:uuid:e3e2a4d8-58bc-4ae9-afa2-e8946fda1f77",
"catenaXId": "urn:uuid:e8c48a8e-d2d7-43d9-a867-65c70c85f5b8",
"linkedItem": {
"quantity": {
"quantityNumber": 1.0,
"quantityNumber": 1580.0,
"measurementUnit": {
"datatypeURI": null,
"lexicalValue": "unit:litre"
"lexicalValue": "unit:gram"
}
},
"lifecycleContext": "asPlanned",
"assembledOn": "2022-02-03T14:48:54.709Z",
"lastModifiedOn": "2022-02-03T14:48:54.709Z",
"childCatenaXId": "urn:uuid:3cdd2826-5df0-4c7b-b540-9eeccecb2301",
"childCatenaXId": "urn:uuid:94d086c6-0124-4f2c-86b2-1d419e47499d",
"hasAlternatives": false
},
"aspectType": "SingleLevelBomAsPlanned",
"bpn": "BPNL00000003AXS3"
"bpn": "BPNL50096894aNXY"
},
{
"catenaXId": "urn:uuid:e8c48a8e-d2d7-43d9-a867-65c70c85f5b8",
"catenaXId": "urn:uuid:94d086c6-0124-4f2c-86b2-1d419e47499d",
"linkedItem": {
"quantity": {
"quantityNumber": 1580.0,
"quantityNumber": 1.0,
"measurementUnit": {
"datatypeURI": null,
"lexicalValue": "unit:gram"
"lexicalValue": "unit:piece"
}
},
"lifecycleContext": "asPlanned",
"assembledOn": "2022-02-03T14:48:54.709Z",
"lastModifiedOn": "2022-02-03T14:48:54.709Z",
"childCatenaXId": "urn:uuid:94d086c6-0124-4f2c-86b2-1d419e47499d",
"childCatenaXId": "urn:uuid:b0926d3c-6a8f-4fc7-81a4-88c50817358a",
"hasAlternatives": false
},
"aspectType": "SingleLevelBomAsPlanned",
"bpn": "BPNL50096894aNXY"
},
{
"catenaXId": "urn:uuid:94d086c6-0124-4f2c-86b2-1d419e47499d",
"catenaXId": "urn:uuid:e3e2a4d8-58bc-4ae9-afa2-e8946fda1f77",
"linkedItem": {
"quantity": {
"quantityNumber": 1.0,
"measurementUnit": {
"datatypeURI": null,
"lexicalValue": "unit:litre"
"lexicalValue": "unit:piece"
}
},
"lifecycleContext": "asPlanned",
"assembledOn": "2022-02-03T14:48:54.709Z",
"lastModifiedOn": "2022-02-03T14:48:54.709Z",
"childCatenaXId": "urn:uuid:b0926d3c-6a8f-4fc7-81a4-88c50817358a",
"childCatenaXId": "urn:uuid:3cdd2826-5df0-4c7b-b540-9eeccecb2301",
"hasAlternatives": false
},
"aspectType": "SingleLevelBomAsPlanned",
"bpn": "BPNL50096894aNXY"
"bpn": "BPNL00000003AXS3"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,99 +1,129 @@
{
"submodels": [
{
"identification": "urn:uuid:cd43ab3a-83c3-42a5-9c93-53a82223c7b8",
"aspectType": "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned",
"identification": "urn:uuid:b82ebca3-b462-4ad3-9cfd-d79b3958e580",
"aspectType": "urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned",
"contractAgreementId": "M2U1NzRlNGEtZDhkNS00YmE3LTlhZmQtYWQ2MDBmMmY1ZjZm:dXJuOnV1aWQ6NDllYjUwMmItZTY4Yi00YjhhLTk3MjctN2M4NWRlMjUzODZh:OTA1ZWJlNGYtZTI5OC00YmU1LThiNmMtMzAyYmJiODg2Nzc0",
"payload": {
"validityPeriod": {
"validFrom": "2018-08-15T15:18:04.000Z",
"validTo": "2028-05-14T00:23:55.000Z"
},
"catenaXId": "urn:uuid:65e1554e-e5cd-4560-bac1-1352582122fb",
"partTypeInformation": {
"manufacturerPartId": "XK-34",
"classification": "product",
"nameAtManufacturer": "Vehicle Model C"
}
}
},
{
"identification": "urn:uuid:8d5bcf49-7d09-4d98-a3b6-3e4253f5bb46",
"aspectType": "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned",
"payload": {
"validityPeriod": {
"validFrom": "2018-09-16T00:07:10.000Z",
"validTo": "2032-01-10T15:26:52.000Z"
},
"catenaXId": "urn:uuid:e3e2a4d8-58bc-4ae9-afa2-e8946fda1f77",
"partTypeInformation": {
"manufacturerPartId": "39478586-36",
"classification": "product",
"nameAtManufacturer": "Tier B ECU2"
}
"partSitesInformationAsPlanned": [
{
"functionValidUntil": "2023-12-11T06:14:55.183Z",
"catenaXsiteId": "BPNS1234567890ZZ",
"function": "production",
"functionValidFrom": "2023-12-11T06:14:55.181Z"
}
]
}
},
{
"identification": "urn:uuid:6692c07a-6771-48a2-a729-331d1a488037",
"aspectType": "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned",
"identification": "urn:uuid:724afc8f-240f-40ad-98f0-5fa03d97164e",
"aspectType": "urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned",
"contractAgreementId": "M2U1NzRlNGEtZDhkNS00YmE3LTlhZmQtYWQ2MDBmMmY1ZjZm:dXJuOnV1aWQ6NDllYjUwMmItZTY4Yi00YjhhLTk3MjctN2M4NWRlMjUzODZh:OTA1ZWJlNGYtZTI5OC00YmU1LThiNmMtMzAyYmJiODg2Nzc0",
"payload": {
"validityPeriod": {
"validFrom": "2019-11-02T11:14:15.000Z",
"validTo": "2024-07-17T02:07:07.000Z"
},
"catenaXId": "urn:uuid:e8c48a8e-d2d7-43d9-a867-65c70c85f5b8",
"partTypeInformation": {
"manufacturerPartId": "123564887-01",
"classification": "product",
"nameAtManufacturer": "Tire Model A"
}
},
"partSitesInformationAsPlanned": [
{
"functionValidUntil": "2023-12-11T06:14:55.183Z",
"catenaXsiteId": "BPNS1234567890ZZ",
"function": "production",
"functionValidFrom": "2023-12-11T06:14:55.181Z"
}
]
}
},
{
"identification": "urn:uuid:879aef49-f000-4f1a-b749-def9d4807b22",
"aspectType": "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned",
"identification": "urn:uuid:e1a2222c-6d93-46d5-99d4-b3b396511179",
"aspectType": "urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned",
"contractAgreementId": "MDRmZjRhZmYtZGRlOS00MmRlLWFiMmYtN2U1MzY0NDcxNTUx:dXJuOnV1aWQ6MmJhZDFjNDktNGRjMC00NDE2LWI2ZGEtZTJlODllOWQwYmY0:NDdkNGI0OGEtMGFjZS00ODE5LTk2OWYtYWYzZWU1YTg1ZWQw",
"payload": {
"validityPeriod": {
"validFrom": "2019-08-17T14:14:30.000Z",
"validTo": "2032-08-30T04:32:28.000Z"
},
"catenaXId": "urn:uuid:3cdd2826-5df0-4c7b-b540-9eeccecb2301",
"catenaXId": "urn:uuid:94d086c6-0124-4f2c-86b2-1d419e47499d",
"partTypeInformation": {
"manufacturerPartId": "6775244-06",
"manufacturerPartId": "9953421-03",
"classification": "product",
"nameAtManufacturer": "Sub Tier B Glue"
}
"nameAtManufacturer": "Natural Rubber Product(40KG blocks)"
},
"partSitesInformationAsPlanned": [
{
"functionValidUntil": "2023-12-11T06:14:55.183Z",
"catenaXsiteId": "BPNS1234567890ZZ",
"function": "production",
"functionValidFrom": "2023-12-11T06:14:55.181Z"
}
]
}
},
{
"identification": "urn:uuid:bcfeab97-b97b-47c4-8fae-9f88e83d4579",
"aspectType": "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned",
"identification": "urn:uuid:26f72cc4-5a15-4b26-b3b7-323093c57a53",
"aspectType": "urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned",
"contractAgreementId": "M2U1NzRlNGEtZDhkNS00YmE3LTlhZmQtYWQ2MDBmMmY1ZjZm:dXJuOnV1aWQ6NDllYjUwMmItZTY4Yi00YjhhLTk3MjctN2M4NWRlMjUzODZh:OTA1ZWJlNGYtZTI5OC00YmU1LThiNmMtMzAyYmJiODg2Nzc0",
"payload": {
"validityPeriod": {
"validFrom": "2017-04-29T01:48:37.000Z",
"validTo": "2029-08-26T00:42:55.000Z"
},
"catenaXId": "urn:uuid:94d086c6-0124-4f2c-86b2-1d419e47499d",
"catenaXId": "urn:uuid:e3e2a4d8-58bc-4ae9-afa2-e8946fda1f77",
"partTypeInformation": {
"manufacturerPartId": "9953421-03",
"manufacturerPartId": "39478586-36",
"classification": "product",
"nameAtManufacturer": "Natural Rubber Product(40KG blocks)"
}
"nameAtManufacturer": "Tier B ECU2"
},
"partSitesInformationAsPlanned": [
{
"functionValidUntil": "2023-12-11T06:14:55.183Z",
"catenaXsiteId": "BPNS1234567890ZZ",
"function": "production",
"functionValidFrom": "2023-12-11T06:14:55.181Z"
}
]
}
},
{
"identification": "urn:uuid:374b82cd-8038-4feb-8ae8-f9907c082623",
"aspectType": "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned",
"identification": "urn:uuid:e16c4427-512d-455e-8baa-6cc3a7d0602c",
"aspectType": "urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned",
"contractAgreementId": "ZWIxNmYxNDItMTUxMC00MDQyLTkyZTgtOTE5OTAwYzY5ODVj:dXJuOnV1aWQ6NDk1MGQ0ZmMtOTA5ZC00ZGNmLTg0OTYtMzg0NWQ1YmQ2Zjc2:NWI2NTdkOWQtNTIyOS00NmY2LWFkNDctZTBiZmYyMmQ2OGMw",
"payload": {
"validityPeriod": {
"validFrom": "2014-02-07T16:56:02.000Z",
"validTo": "2029-08-26T11:05:18.000Z"
},
"catenaXId": "urn:uuid:b0926d3c-6a8f-4fc7-81a4-88c50817358a",
"partTypeInformation": {
"manufacturerPartId": "A26581-11",
"classification": "product",
"nameAtManufacturer": "Natural Rubber"
}
},
"partSitesInformationAsPlanned": [
{
"functionValidUntil": "2023-12-11T06:14:55.183Z",
"catenaXsiteId": "BPNS1234567890ZZ",
"function": "production",
"functionValidFrom": "2023-12-11T06:14:55.181Z"
}
]
}
},
{
"identification": "urn:uuid:176135ea-f47f-49f1-a077-997bf1d44c89",
"aspectType": "urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned",
"contractAgreementId": "ZWIxNmYxNDItMTUxMC00MDQyLTkyZTgtOTE5OTAwYzY5ODVj:dXJuOnV1aWQ6NDk1MGQ0ZmMtOTA5ZC00ZGNmLTg0OTYtMzg0NWQ1YmQ2Zjc2:NWI2NTdkOWQtNTIyOS00NmY2LWFkNDctZTBiZmYyMmQ2OGMw",
"payload": {
"catenaXId": "urn:uuid:3cdd2826-5df0-4c7b-b540-9eeccecb2301",
"partTypeInformation": {
"manufacturerPartId": "6775244-06",
"classification": "product",
"nameAtManufacturer": "Sub Tier B Glue"
},
"partSitesInformationAsPlanned": [
{
"functionValidUntil": "2023-12-11T06:14:55.183Z",
"catenaXsiteId": "BPNS1234567890ZZ",
"function": "production",
"functionValidFrom": "2023-12-11T06:14:55.181Z"
}
]
}
}
]
Expand Down

0 comments on commit e8719d7

Please sign in to comment.