Skip to content

Commit d1dcf78

Browse files
authored
Merge pull request #1322 from eclipse-tractusx/bug/xxx-fix-testdata
bug: xxx fix test data set v14
2 parents 2b6b42a + 146e183 commit d1dcf78

File tree

6 files changed

+183
-37
lines changed

6 files changed

+183
-37
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ _**For better traceability add the corresponding GitHub issue number in each cha
1717
- #1328 Fixed semanticDataModel translation and part name within notification detail / edit view.
1818
- #908 Renamed header in notification detail for parts from Supplier Parts to Affected parts
1919
- #1151 Display of null values within contracts in datepicker to be empty if null
20+
- #1318 fix testdata v14 where parts had the wrong bpn
2021

2122
### Removed
2223
- #1227 Removed scrollbar on approval dialog

tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14-ev.json

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,11 +1987,11 @@
19871987
"quantityNumber" : 2.5,
19881988
"measurementUnit" : "unit:litre"
19891989
},
1990-
"businessPartner" : "BPNL000000000UKM",
19911990
"createdOn" : "2022-02-14T14:48:54.709Z",
19921991
"lastModifiedOn" : "2022-02-03T14:48:54.709Z"
19931992
}
19941993
],
1994+
"businessPartner" : "BPNL000000000UKM",
19951995
"catenaXId" : "urn:uuid:07cb071f-8716-45fe-89f1-f2f77a1ce93b"
19961996
}
19971997
]
@@ -2434,7 +2434,7 @@
24342434
"date" : "2022-02-04T14:48:54Z",
24352435
"country" : "HUN"
24362436
},
2437-
"catenaXId" : "urn:uuid:bcfae197-40fa-4be0-821d-5c1873a1b7c2",
2437+
"catenaXId" : "urn:uuid:bcfae197-40fa-4be0-821d-5c1873a1b7c3",
24382438
"partTypeInformation" : {
24392439
"manufacturerPartId" : "5464168-83",
24402440
"customerPartId" : "PRT-12345",
@@ -2522,12 +2522,12 @@
25222522
},
25232523
{
25242524
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f",
2525-
"bpnl" : "BPNL000000000UKM",
2525+
"bpnl" : "BPNL000000000DWF",
25262526
"urn:samm:io.catenax.batch:3.0.0#Batch" : [
25272527
{
25282528
"localIdentifiers" : [
25292529
{
2530-
"value" : "BPNL000000000UKM",
2530+
"value" : "BPNL000000000DWF",
25312531
"key" : "manufacturerId"
25322532
},
25332533
{
@@ -2546,6 +2546,27 @@
25462546
"nameAtManufacturer" : "Sealant"
25472547
}
25482548
}
2549+
],
2550+
"urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [
2551+
{
2552+
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f",
2553+
"customers" : [
2554+
"BPNL000000000UKM"
2555+
],
2556+
"parentItems" : [
2557+
{
2558+
"catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4070e",
2559+
"quantity" : {
2560+
"value" : 1,
2561+
"unit" : "unit:piece"
2562+
},
2563+
"createdOn" : "2023-02-03T14:48:54.709Z",
2564+
"lastModifiedOn" : "2023-02-03T14:48:54.709Z",
2565+
"businessPartner" : "BPNL000000000UKM",
2566+
"isOnlyPotentialParent" : false
2567+
}
2568+
]
2569+
}
25492570
]
25502571
},
25512572
{
@@ -2616,12 +2637,12 @@
26162637
},
26172638
{
26182639
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
2619-
"bpnl" : "BPNL000000000DWF",
2640+
"bpnl" : "BPNL000000000UKM",
26202641
"urn:samm:io.catenax.batch:3.0.0#Batch" : [
26212642
{
26222643
"localIdentifiers" : [
26232644
{
2624-
"value" : "BPNL000000000DWF",
2645+
"value" : "BPNL000000000UKM",
26252646
"key" : "manufacturerId"
26262647
},
26272648
{
@@ -2640,6 +2661,27 @@
26402661
"nameAtManufacturer" : "Sealant"
26412662
}
26422663
}
2664+
],
2665+
"urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [
2666+
{
2667+
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
2668+
"customers" : [
2669+
"BPNL000000000DWF"
2670+
],
2671+
"parentItems" : [
2672+
{
2673+
"catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f",
2674+
"quantity" : {
2675+
"value" : 1,
2676+
"unit" : "unit:piece"
2677+
},
2678+
"createdOn" : "2023-02-03T14:48:54.709Z",
2679+
"lastModifiedOn" : "2023-02-03T14:48:54.709Z",
2680+
"businessPartner" : "BPNL000000000DWF",
2681+
"isOnlyPotentialParent" : false
2682+
}
2683+
]
2684+
}
26432685
]
26442686
}
26452687
]

tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14.json

Lines changed: 49 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,27 +1340,6 @@
13401340
]
13411341
}
13421342
],
1343-
"urn:samm:io.catenax.single_level_bom_as_planned:3.0.0#SingleLevelBomAsPlanned" : [
1344-
{
1345-
"catenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c",
1346-
"childItems" : [
1347-
{
1348-
"validityPeriod" : {
1349-
"validFrom" : "2023-03-21T08:17:29.187+01:00",
1350-
"validTo" : "2024-07-01T16:10:00.000+01:00"
1351-
},
1352-
"catenaXId" : "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca97",
1353-
"quantity" : {
1354-
"value" : 1,
1355-
"unit" : "unit:piece"
1356-
},
1357-
"businessPartner" : "BPNL00000003CML1",
1358-
"createdOn" : "2022-10-03T14:48:54.709Z",
1359-
"lastModifiedOn" : "2022-02-03T14:48:54.709Z"
1360-
}
1361-
]
1362-
}
1363-
],
13641343
"urn:samm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned" : [
13651344
{
13661345
"parentParts" : [
@@ -1987,11 +1966,11 @@
19871966
"quantityNumber" : 2.5,
19881967
"measurementUnit" : "unit:litre"
19891968
},
1990-
"businessPartner" : "BPNL00000003CML1",
19911969
"createdOn" : "2022-02-14T14:48:54.709Z",
19921970
"lastModifiedOn" : "2022-02-03T14:48:54.709Z"
19931971
}
19941972
],
1973+
"businessPartner" : "BPNL00000003CML1",
19951974
"catenaXId" : "urn:uuid:07cb071f-8716-45fe-89f1-f2f77a1ce93b"
19961975
}
19971976
]
@@ -2434,7 +2413,7 @@
24342413
"date" : "2022-02-04T14:48:54Z",
24352414
"country" : "HUN"
24362415
},
2437-
"catenaXId" : "urn:uuid:bcfae197-40fa-4be0-821d-5c1873a1b7c2",
2416+
"catenaXId" : "urn:uuid:bcfae197-40fa-4be0-821d-5c1873a1b7c3",
24382417
"partTypeInformation" : {
24392418
"manufacturerPartId" : "5464168-83",
24402419
"customerPartId" : "PRT-12345",
@@ -2522,12 +2501,12 @@
25222501
},
25232502
{
25242503
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f",
2525-
"bpnl" : "BPNL00000003CML1",
2504+
"bpnl" : "BPNL00000003CNKC",
25262505
"urn:samm:io.catenax.batch:3.0.0#Batch" : [
25272506
{
25282507
"localIdentifiers" : [
25292508
{
2530-
"value" : "BPNL00000003CML1",
2509+
"value" : "BPNL00000003CNKC",
25312510
"key" : "manufacturerId"
25322511
},
25332512
{
@@ -2546,6 +2525,27 @@
25462525
"nameAtManufacturer" : "Sealant"
25472526
}
25482527
}
2528+
],
2529+
"urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [
2530+
{
2531+
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f",
2532+
"customers" : [
2533+
"BPNL00000003CML1"
2534+
],
2535+
"parentItems" : [
2536+
{
2537+
"catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4070e",
2538+
"quantity" : {
2539+
"value" : 1,
2540+
"unit" : "unit:piece"
2541+
},
2542+
"createdOn" : "2023-02-03T14:48:54.709Z",
2543+
"lastModifiedOn" : "2023-02-03T14:48:54.709Z",
2544+
"businessPartner" : "BPNL00000003CML1",
2545+
"isOnlyPotentialParent" : false
2546+
}
2547+
]
2548+
}
25492549
]
25502550
},
25512551
{
@@ -2606,7 +2606,7 @@
26062606
"unit" : "unit:litre"
26072607
},
26082608
"hasAlternatives" : true,
2609-
"businessPartner" : "BPNL00000003CNKC",
2609+
"businessPartner" : "BPNL00000003CML1",
26102610
"createdOn" : "2022-02-03T14:48:54.709Z",
26112611
"lastModifiedOn" : "2022-02-03T14:48:54.709Z"
26122612
}
@@ -2616,12 +2616,12 @@
26162616
},
26172617
{
26182618
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
2619-
"bpnl" : "BPNL00000003CNKC",
2619+
"bpnl" : "BPNL00000003CML1",
26202620
"urn:samm:io.catenax.batch:3.0.0#Batch" : [
26212621
{
26222622
"localIdentifiers" : [
26232623
{
2624-
"value" : "BPNL00000003CNKC",
2624+
"value" : "BPNL00000003CML1",
26252625
"key" : "manufacturerId"
26262626
},
26272627
{
@@ -2640,6 +2640,27 @@
26402640
"nameAtManufacturer" : "Sealant"
26412641
}
26422642
}
2643+
],
2644+
"urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [
2645+
{
2646+
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
2647+
"customers" : [
2648+
"BPNL00000003CNKC"
2649+
],
2650+
"parentItems" : [
2651+
{
2652+
"catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f",
2653+
"quantity" : {
2654+
"value" : 1,
2655+
"unit" : "unit:piece"
2656+
},
2657+
"createdOn" : "2023-02-03T14:48:54.709Z",
2658+
"lastModifiedOn" : "2023-02-03T14:48:54.709Z",
2659+
"businessPartner" : "BPNL00000003CNKC",
2660+
"isOnlyPotentialParent" : false
2661+
}
2662+
]
2663+
}
26432664
]
26442665
}
26452666
]

tx-backend/testdata/import-test-data-0DWF_v0.0.14.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@
10711071
"unit" : "unit:piece"
10721072
},
10731073
"hasAlternatives" : true,
1074-
"businessPartner" : "BPNL000000000DWF",
1074+
"businessPartner" : "BPNL000000000UKM",
10751075
"createdOn" : "2022-02-03T14:48:54.709Z",
10761076
"lastModifiedOn" : "2022-02-03T14:48:54.709Z"
10771077
}

tx-backend/testdata/import-test-data-0UKM_v0.0.14.json

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,28 @@
971971
}
972972
]
973973
}
974+
},
975+
{
976+
"aspectType" : "urn:samm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned",
977+
"payload" : {
978+
"catenaXId" : "urn:uuid:3cdd2826-5df0-4c7b-b540-9eeccecb2301",
979+
"businessPartner" : "BPNL000000000DWF",
980+
"parentParts" : [
981+
{
982+
"validityPeriod" : {
983+
"validFrom" : "2023-03-21T08:17:29.187+01:00",
984+
"validTo" : "2024-07-01T16:10:00.000+01:00"
985+
},
986+
"parentCatenaXId" : "urn:uuid:07cb071f-8716-45fe-89f1-f2f77a1ce93b",
987+
"quantity" : {
988+
"value" : 1,
989+
"unit" : "unit:litre"
990+
},
991+
"createdOn" : "2022-02-13T14:48:54.709Z",
992+
"lastModifiedOn" : "2022-02-03T14:48:54.709Z"
993+
}
994+
]
995+
}
974996
}
975997
]
976998
},
@@ -1211,7 +1233,7 @@
12111233
"date" : "2022-02-04T14:48:54.000Z",
12121234
"country" : "HUN"
12131235
},
1214-
"catenaXId" : "urn:uuid:bcfae197-40fa-4be0-821d-5c1873a1b7c2",
1236+
"catenaXId" : "urn:uuid:bcfae197-40fa-4be0-821d-5c1873a1b7c3",
12151237
"partTypeInformation" : {
12161238
"manufacturerPartId" : "5464168-83",
12171239
"customerPartId" : "PRT-12345",
@@ -1335,6 +1357,66 @@
13351357
}
13361358
}
13371359
]
1360+
},
1361+
{
1362+
"assetMetaInfo" : {
1363+
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f"
1364+
},
1365+
"submodels" : [
1366+
{
1367+
"aspectType" : "urn:samm:io.catenax.batch:3.0.0#Batch",
1368+
"payload" : {
1369+
"localIdentifiers" : [
1370+
{
1371+
"value" : "BPNL000000000UKM",
1372+
"key" : "manufacturerId"
1373+
},
1374+
{
1375+
"value" : "BID12345678",
1376+
"key" : "batchId"
1377+
}
1378+
],
1379+
"manufacturingInformation" : {
1380+
"date" : "2022-02-04T14:48:54.000Z",
1381+
"country" : "HUN"
1382+
},
1383+
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
1384+
"partTypeInformation" : {
1385+
"manufacturerPartId" : "123-0.740-5656-A",
1386+
"partClassification" : [
1387+
{
1388+
"classificationStandard" : "classificationStandard",
1389+
"classificationID" : "classificationID",
1390+
"classificationDescription" : "classificationDescription"
1391+
}
1392+
],
1393+
"nameAtManufacturer" : "Sealant"
1394+
}
1395+
}
1396+
},
1397+
{
1398+
"aspectType" : "urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt",
1399+
"payload" : {
1400+
"catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f",
1401+
"customers" : [
1402+
"BPNL000000000DWF"
1403+
],
1404+
"parentItems" : [
1405+
{
1406+
"catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f",
1407+
"quantity" : {
1408+
"value" : 1,
1409+
"unit" : "unit:piece"
1410+
},
1411+
"createdOn" : "2023-02-03T14:48:54.709Z",
1412+
"lastModifiedOn" : "2023-02-03T14:48:54.709Z",
1413+
"businessPartner" : "BPNL000000000DWF",
1414+
"isOnlyPotentialParent" : false
1415+
}
1416+
]
1417+
}
1418+
}
1419+
]
13381420
}
13391421
]
13401422
}

tx-backend/testdata/import-test-data-CML1_v0.0.14.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@
12201220
"date" : "2022-02-04T14:48:54.000Z",
12211221
"country" : "HUN"
12221222
},
1223-
"catenaXId" : "urn:uuid:bcfae197-40fa-4be0-821d-5c1873a1b7c2",
1223+
"catenaXId" : "urn:uuid:bcfae197-40fa-4be0-821d-5c1873a1b7c3",
12241224
"partTypeInformation" : {
12251225
"manufacturerPartId" : "5464168-83",
12261226
"customerPartId" : "PRT-12345",

0 commit comments

Comments
 (0)