Skip to content

Commit

Permalink
bug: xxx fix test data set v14
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-lcapellino committed Jul 31, 2024
1 parent d2d6504 commit 3189a12
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 10 deletions.
50 changes: 46 additions & 4 deletions tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14-ev.json
Original file line number Diff line number Diff line change
Expand Up @@ -2522,12 +2522,12 @@
},
{
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f",
"bpnl" : "BPNL000000000UKM",
"bpnl" : "BPNL000000000DWF",
"urn:samm:io.catenax.batch:3.0.0#Batch" : [
{
"localIdentifiers" : [
{
"value" : "BPNL000000000UKM",
"value" : "BPNL000000000DWF",
"key" : "manufacturerId"
},
{
Expand All @@ -2546,6 +2546,27 @@
"nameAtManufacturer" : "Sealant"
}
}
],
"urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [
{
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f",
"customers" : [
"BPNL000000000UKM"
],
"parentItems" : [
{
"catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4070e",
"quantity" : {
"value" : 1,
"unit" : "unit:piece"
},
"createdOn" : "2023-02-03T14:48:54.709Z",
"lastModifiedOn" : "2023-02-03T14:48:54.709Z",
"businessPartner" : "BPNL000000000UKM",
"isOnlyPotentialParent" : false
}
]
}
]
},
{
Expand Down Expand Up @@ -2616,12 +2637,12 @@
},
{
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
"bpnl" : "BPNL000000000DWF",
"bpnl" : "BPNL000000000UKM",
"urn:samm:io.catenax.batch:3.0.0#Batch" : [
{
"localIdentifiers" : [
{
"value" : "BPNL000000000DWF",
"value" : "BPNL000000000UKM",
"key" : "manufacturerId"
},
{
Expand All @@ -2640,6 +2661,27 @@
"nameAtManufacturer" : "Sealant"
}
}
],
"urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [
{
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
"customers" : [
"BPNL000000000DWF"
],
"parentItems" : [
{
"catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f",
"quantity" : {
"value" : 1,
"unit" : "unit:piece"
},
"createdOn" : "2023-02-03T14:48:54.709Z",
"lastModifiedOn" : "2023-02-03T14:48:54.709Z",
"businessPartner" : "BPNL000000000DWF",
"isOnlyPotentialParent" : false
}
]
}
]
}
]
Expand Down
52 changes: 47 additions & 5 deletions tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14.json
Original file line number Diff line number Diff line change
Expand Up @@ -2522,12 +2522,12 @@
},
{
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f",
"bpnl" : "BPNL00000003CML1",
"bpnl" : "BPNL00000003CNKC",
"urn:samm:io.catenax.batch:3.0.0#Batch" : [
{
"localIdentifiers" : [
{
"value" : "BPNL00000003CML1",
"value" : "BPNL00000003CNKC",
"key" : "manufacturerId"
},
{
Expand All @@ -2546,6 +2546,27 @@
"nameAtManufacturer" : "Sealant"
}
}
],
"urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [
{
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f",
"customers" : [
"BPNL00000003CML1"
],
"parentItems" : [
{
"catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4070e",
"quantity" : {
"value" : 1,
"unit" : "unit:piece"
},
"createdOn" : "2023-02-03T14:48:54.709Z",
"lastModifiedOn" : "2023-02-03T14:48:54.709Z",
"businessPartner" : "BPNL00000003CML1",
"isOnlyPotentialParent" : false
}
]
}
]
},
{
Expand Down Expand Up @@ -2606,7 +2627,7 @@
"unit" : "unit:litre"
},
"hasAlternatives" : true,
"businessPartner" : "BPNL00000003CNKC",
"businessPartner" : "BPNL00000003CML1",
"createdOn" : "2022-02-03T14:48:54.709Z",
"lastModifiedOn" : "2022-02-03T14:48:54.709Z"
}
Expand All @@ -2616,12 +2637,12 @@
},
{
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
"bpnl" : "BPNL00000003CNKC",
"bpnl" : "BPNL00000003CML1",
"urn:samm:io.catenax.batch:3.0.0#Batch" : [
{
"localIdentifiers" : [
{
"value" : "BPNL00000003CNKC",
"value" : "BPNL00000003CML1",
"key" : "manufacturerId"
},
{
Expand All @@ -2640,6 +2661,27 @@
"nameAtManufacturer" : "Sealant"
}
}
],
"urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [
{
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
"customers" : [
"BPNL00000003CNKC"
],
"parentItems" : [
{
"catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f",
"quantity" : {
"value" : 1,
"unit" : "unit:piece"
},
"createdOn" : "2023-02-03T14:48:54.709Z",
"lastModifiedOn" : "2023-02-03T14:48:54.709Z",
"businessPartner" : "BPNL00000003CNKC",
"isOnlyPotentialParent" : false
}
]
}
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion tx-backend/testdata/import-test-data-0DWF_v0.0.14.json
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@
"unit" : "unit:piece"
},
"hasAlternatives" : true,
"businessPartner" : "BPNL000000000DWF",
"businessPartner" : "BPNL000000000UKM",
"createdOn" : "2022-02-03T14:48:54.709Z",
"lastModifiedOn" : "2022-02-03T14:48:54.709Z"
}
Expand Down
60 changes: 60 additions & 0 deletions tx-backend/testdata/import-test-data-0UKM_v0.0.14.json
Original file line number Diff line number Diff line change
Expand Up @@ -1335,6 +1335,66 @@
}
}
]
},
{
"assetMetaInfo" : {
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f"
},
"submodels" : [
{
"aspectType" : "urn:samm:io.catenax.batch:3.0.0#Batch",
"payload" : {
"localIdentifiers" : [
{
"value" : "BPNL000000000UKM",
"key" : "manufacturerId"
},
{
"value" : "BID12345678",
"key" : "batchId"
}
],
"manufacturingInformation" : {
"date" : "2022-02-04T14:48:54.000Z",
"country" : "HUN"
},
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
"partTypeInformation" : {
"manufacturerPartId" : "123-0.740-5656-A",
"partClassification" : [
{
"classificationStandard" : "classificationStandard",
"classificationID" : "classificationID",
"classificationDescription" : "classificationDescription"
}
],
"nameAtManufacturer" : "Sealant"
}
}
},
{
"aspectType" : "urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt",
"payload" : {
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
"customers" : [
"BPNL000000000DWF"
],
"parentItems" : [
{
"catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f",
"quantity" : {
"value" : 1,
"unit" : "unit:piece"
},
"createdOn" : "2023-02-03T14:48:54.709Z",
"lastModifiedOn" : "2023-02-03T14:48:54.709Z",
"businessPartner" : "BPNL000000000DWF",
"isOnlyPotentialParent" : false
}
]
}
}
]
}
]
}

0 comments on commit 3189a12

Please sign in to comment.