From a655eab6a587a984af7be2f29a93753e63ba68e7 Mon Sep 17 00:00:00 2001 From: mk Date: Fri, 26 Apr 2024 09:06:33 +0200 Subject: [PATCH] fix(cucumber):[#503] fixed cucumber tests TRI-1537 --- .../TRI-1537-expected-submodels.json | 61 +++++++++++-------- 1 file changed, 37 insertions(+), 24 deletions(-) diff --git a/irs-cucumber-tests/src/test/resources/expected-files/TRI-1537-expected-submodels.json b/irs-cucumber-tests/src/test/resources/expected-files/TRI-1537-expected-submodels.json index dc897ab69f..22a8ea4285 100644 --- a/irs-cucumber-tests/src/test/resources/expected-files/TRI-1537-expected-submodels.json +++ b/irs-cucumber-tests/src/test/resources/expected-files/TRI-1537-expected-submodels.json @@ -1,28 +1,41 @@ { - "submodels": [ - { - "identification": "urn:uuid:e336fdab-1c22-4968-ba91-a5b011ed0e9b", - "aspectType": "urn:bamm:io.catenax.just_in_sequence_part:1.0.0#JustInSequencePart", - "payload": { - "localIdentifiers": [ - { - "value": "59144578DSQ", - "key": "jisNumber" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "HUR" - }, - "catenaXId": "urn:uuid:805daf66-3f24-4fa8-9b00-f940fb0b3f19", - "partTypeInformation": { - "manufacturerPartId": "123-0.740-3434-A", - "customerPartId": "PRT-12345", - "classification": "product", - "nameAtManufacturer": "Door Key", - "nameAtCustomer": "Door Key" - } + "submodels": [ + { + "identification": "urn:uuid:52d1ed27-2729-4ff8-bb3f-d10ff0dcaf76", + "aspectType": "urn:samm:io.catenax.just_in_sequence_part:3.0.0#JustInSequencePart", + "contractAgreementId": "NGFkNjljZjctNzRhYy00MzYzLWJkNGUtZjBjYjc5MTFhNDY2:dXJuOnV1aWQ6MTU5MGU0ZDgtNjRiOS00NDUyLThjZGYtZjgyMjFmNGNlNzEz:OTU4MjFhY2QtNmQxMS00MjQ3LTkxZWEtZDk3ODAwMzRkMzIw", + "payload": { + "localIdentifiers": [ + { + "value": "82227044FBE", + "key": "jisNumber" + } + ], + "manufacturingInformation": { + "date": "2022-02-04T14:48:54", + "country": "HUR", + "sites": [ + { + "catenaXsiteId": "BPNS00000000BJTL", + "function": "production" } + ] + }, + "catenaXId": "urn:uuid:c6d2d642-a055-4ddf-87e3-1a3b02c689e3", + "partTypeInformation": { + "manufacturerPartId": "123-0.740-3434-A", + "customerPartId": "PRT-12345", + "partClassification": [ + { + "classificationDescription": "Standard data element types with associated classification scheme for electric components.", + "classificationStandard": "IEC", + "classificationID": "61360- 2:2012 " + } + ], + "nameAtManufacturer": "Mirror left", + "nameAtCustomer": "side element A" } - ] + } + } + ] } \ No newline at end of file