From b1d5b805baa8f9a11df161bd1643164806249306 Mon Sep 17 00:00:00 2001 From: Maximilian Wesener Date: Tue, 30 Jul 2024 09:15:31 +0200 Subject: [PATCH 1/4] chore(release): 1252 - Updated test data of irs response. --- CHANGELOG.md | 2 + .../introduction-goals/requirements.adoc | 5 +- .../common/support/IrsApiSupport.java | 3 +- .../stubs/irs/get/jobs/id/response_200.json | 2226 +++-------------- .../get/jobs/id/running_job_response_200.json | 2 +- 5 files changed, 372 insertions(+), 1866 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c624592a8..a1ad283867 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,11 @@ _**For better traceability add the corresponding GitHub issue number in each cha ### Changed - #1122 fix editing notification sendTo attribute +- #1252 adapt IRS example response for integration tests to reflect current state ## [13.0.1 - 26.07.2024] + ### Added - #511 Added installation guide for local frontend with umbrella chart - #XXXX added tests for notification-detail.facade.ts diff --git a/docs/src/docs/arc42/introduction-goals/requirements.adoc b/docs/src/docs/arc42/introduction-goals/requirements.adoc index 3d57204589..0f797f4b9d 100644 --- a/docs/src/docs/arc42/introduction-goals/requirements.adoc +++ b/docs/src/docs/arc42/introduction-goals/requirements.adoc @@ -12,8 +12,9 @@ * List, view and publish planned parts based on BoM AsPlanned * Filter and search functionality on part views * Show detailed information on manufactured parts from AAS description assets and aspects -* Uses submodels SerialPart, AssemblyPartRelationship and Batch -* List and view supplier parts (AssemblyPartRelationship) based on BoM AsBuild lifecycle +* Uses submodels SerialPart, Batch, JustInSequence and PartAsPlanned +* List and view supplier parts (SingleLevelBomAsBuilt) based on BoM AsBuilt lifecycle +* List and view customer parts (SingleLevelUsageAsBuilt) based on BoM AsBuilt lifecycle * View parts and parts relations in a visualized parts tree * Send and receive top-down notifications (quality investigations) along the supply chain * Compliance with Catena-X guidelines diff --git a/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/common/support/IrsApiSupport.java b/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/common/support/IrsApiSupport.java index 0811055f40..5df2251a0d 100644 --- a/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/common/support/IrsApiSupport.java +++ b/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/common/support/IrsApiSupport.java @@ -97,8 +97,7 @@ public void irsJobDetailsApiFailed() { ) .then( status(HttpStatus.INTERNAL_SERVER_ERROR_500), - header("Content-Type", "application/json"), - restitoProvider.jsonResponseFromFile("./stubs/irs/get/jobs/id/response_200.json") + header("Content-Type", "application/json") ); } diff --git a/tx-backend/src/test/resources/stubs/irs/get/jobs/id/response_200.json b/tx-backend/src/test/resources/stubs/irs/get/jobs/id/response_200.json index 1b6defa38f..b0d0c36330 100644 --- a/tx-backend/src/test/resources/stubs/irs/get/jobs/id/response_200.json +++ b/tx-backend/src/test/resources/stubs/irs/get/jobs/id/response_200.json @@ -1,426 +1,176 @@ { - "job" : { - "id" : "ff51b6b2-c3b5-43b8-befd-ae0a011f604b", - "globalAssetId" : "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", - "state" : "COMPLETED", - "exception" : null, - "createdOn" : "2022-09-01T10:49:30.099898402Z", - "startedOn" : "2022-09-01T10:49:30.100119699Z", - "lastModifiedOn" : "2022-09-01T10:53:12.845021701Z", - "completedOn" : "2022-09-01T10:53:12.845072801Z", - "owner" : "sa-cl6-cx-9", - "summary" : { - "asyncFetchedItems" : { - "running" : 0, - "completed" : 13, - "failed" : 0 - } - }, - "parameter" : { - "bomLifecycle" : "asBuilt", - "aspects" : [ - "SingleLevelBomAsBuilt", - "SerialPart", - "Batch" + "job": { + "id": "173e576a-d155-41ce-b2d5-71f470ebb15c", + "globalAssetId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99", + "state": "COMPLETED", + "exception": null, + "createdOn": "2024-05-29T07:55:10.835923974Z", + "startedOn": "2024-05-29T07:55:11.901328358Z", + "lastModifiedOn": "2024-05-29T07:56:04.716571602Z", + "completedOn": "2024-05-29T07:56:04.716574102Z", + "summary": { + "asyncFetchedItems": { + "running": 0, + "completed": 2, + "failed": 1 + } + }, + "parameter": { + "bomLifecycle": "asBuilt", + "aspects": [ + "urn:samm:io.catenax.batch:3.0.0#Batch", + "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", + "urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt", + "urn:samm:io.catenax.just_in_sequence_part:3.0.0#JustInSequencePart", + "urn:samm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode" ], - "depth" : 10, - "direction" : "downward", - "collectAspects" : true + "depth": 2, + "bpn": "BPNL00000003CML1", + "direction": "downward", + "collectAspects": true, + "lookupBPNs": true, + "auditContractNegotiation": true, + "callbackUrl": "https://traceability-int-a.int.demo.catena-x.net/api/irs/job/callback?id={id}&state={state}" } }, - "relationships" : [ - { - "catenaXId" : "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 1.0, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue" : "piece" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:587cfb38-7149-4f06-b1e0-0e9b6e98be2a" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 1.0, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue" : "piece" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 1.0, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue" : "piece" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 1.0, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue" : "piece" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:1ae94880-e6b0-4bf3-ab74-8148b63c0640" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 0.2001, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue" : "kilogram" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:8b59e2ec-d76a-49a7-a795-c4bea4a02d87" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 0.3301, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue" : "kilogram" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:b931e9e8-614d-494c-a8e6-548ee8b6ef34" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 0.2014, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue" : "kilogram" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:16bb1a7e-8ed8-48ca-a839-5f38b704fcae" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 0.2014, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue" : "kilogram" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:580d3adf-1981-44a0-a214-13d6ceed9379" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 1.0, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue" : "piece" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:580d3adf-1981-44a0-a214-13d6ceed6841" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 1.0, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue" : "piece" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:8eea5f45-0823-48ce-a4fc-c3bf1cdfa4c2" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 0.2341, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue" : "kilogram" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:0ce83951-bc18-4e8f-892d-48bad4eb67ef" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:587cfb38-7149-4f06-b1e0-0e9b6e98be2a", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 1.0, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue" : "piece" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:fe99da3d-b0de-4e80-81da-882aebcca978" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, - { - "catenaXId" : "urn:uuid:1ae94880-e6b0-4bf3-ab74-8148b63c0640", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 0.1908, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue" : "kilogram" - } - }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:186359fb-4584-40e4-a59b-ed842d3d80d9" - }, - "aspectType" : "SingleLevelBomAsBuilt" - }, + "relationships": [ { - "catenaXId" : "urn:uuid:8eea5f45-0823-48ce-a4fc-c3bf1cdfa4c2", - "linkedItem" : { - "quantity" : { - "quantityNumber" : 0.1908, - "measurementUnit" : { - "datatypeURI" : "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue" : "kilogram" + "catenaXId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99", + "linkedItem": { + "quantity": { + "quantityNumber": 1.0, + "measurementUnit": { + "datatypeURI": null, + "lexicalValue": "unit:piece" } }, - "lifecycleContext" : "asBuilt", - "assembledOn" : "2022-02-03T14:48:54.709Z", - "lastModifiedOn" : "2022-02-03T14:48:54.709Z", - "childCatenaXId" : "urn:uuid:f7cf62fe-9e25-472b-9148-66ebcc291f31" + "lifecycleContext": "asBuilt", + "assembledOn": "2022-02-03T14:48:54.709Z", + "lastModifiedOn": "2022-02-03T14:48:54.709Z", + "childCatenaXId": "urn:uuid:b978ad2d-be06-47ea-a578-580d9b2eca77", + "hasAlternatives": true }, - "aspectType" : "SingleLevelBomAsBuilt" + "aspectType": "SingleLevelBomAsBuilt", + "bpn": "BPNL00000007QNOK" } ], - "shells" : [ + "shells": [ { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "Vehicle Hybrid" - } - ], - "globalAssetId" : "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", - "idShort" : "vehicle_hybrid_v2.asm", - "identification" : "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", - "specificAssetIds" : [ - { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "OMA-TGFAYUHXFLHHUQQMPLTE", - "semanticId" : null - }, - { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "KR-09", - "semanticId" : null - } - ], - "submodelDescriptors" : [ - { - "administration" : null, - "description" : [], - "idShort" : "serial-part", - "identification" : "urn:uuid:781dabcb-93e7-442d-bc38-8ba1451c0218", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] - }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb-urn:uuid:781dabcb-93e7-442d-bc38-8ba1451c0218/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null + "contractAgreementId": "f8973b54-28aa-4591-bb54-5f93380d7297", + "payload": { + "administration": null, + "description": [], + "globalAssetId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99", + "idShort": null, + "id": "654ecd34-3a1e-46e1-be32-eef70b670db6", + "specificAssetIds": [ + { + "name": "manufacturerPartId", + "subjectId": null, + "externalSubjectId": { + "keys": [ + { + "value": "BPNL00000003CML1", + "type": "GlobalReference" }, - "interface" : "https://BPNL00000003B2OM.connector" - } - ] - }, - { - "administration" : null, - "description" : [], - "idShort" : "assembly-part-relationship", - "identification" : "urn:uuid:50de024d-60b3-49cd-ac74-37d81ce4bb7b", - "semanticId" : { - "value" : [ - "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship" - ] + { + "value": "PUBLIC_READABLE", + "type": "GlobalReference" + } + ], + "type": "ExternalReference" }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb-urn:uuid:50de024d-60b3-49cd-ac74-37d81ce4bb7b/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003AYRE.connector" - } - ] - } - ] - } - }, - { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "ECU" - } - ], - "globalAssetId" : "urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc", - "idShort" : "ecu.asm", - "identification" : "urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc", - "specificAssetIds" : [ - { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "83238F4-36", - "semanticId" : null + "value": "3500076-05", + "semanticId": null }, { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-354879221683258717359442", - "semanticId" : null + "name": "manufacturerId", + "subjectId": null, + "externalSubjectId": { + "keys": [ + { + "value": "BPNL00000003CML1", + "type": "GlobalReference" + } + ], + "type": "ExternalReference" + }, + "value": "BPNL00000003CML1", + "semanticId": null } ], - "submodelDescriptors" : [ + "submodelDescriptors": [ { - "administration" : null, - "description" : [], - "idShort" : "serial-part", - "identification" : "urn:uuid:ff82a14d-8730-488f-b965-89eeb2010991", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] + "administration": null, + "description": [], + "idShort": "SingleLevelBomAsBuilt", + "id": "8d459b32-7c6a-4779-94af-7ad3cc987a84", + "semanticId": { + "keys": [ + { + "value": "urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt", + "type": "GlobalReference" + } + ], + "type": "ExternalReference" }, - "endpoints" : [ + "endpoints": [ { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc-urn:uuid:ff82a14d-8730-488f-b965-89eeb2010991/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null + "protocolInformation": { + "href": "https://trace-x-edc-int-a-dataplane.int.demo.catena-x.net/api/public/8d459b32-7c6a-4779-94af-7ad3cc987a84", + "endpointProtocol": "HTTP", + "endpointProtocolVersion": [ + "1.1" + ], + "subprotocol": "DSP", + "subprotocolBody": "id=urn:uuid:575d1a0b-5d59-4810-b8bf-01f897b49681;dspEndpoint=https://trace-x-edc-int-a.int.demo.catena-x.net", + "subprotocolBodyEncoding": "plain", + "securityAttributes": [ + { + "type": "NONE", + "key": "NONE", + "value": "NONE" + } + ] }, - "interface" : "https://BPNL00000003B2OM.connector" + "interface": "SUBMODEL-3.0" } ] }, { - "administration" : null, - "description" : [], - "idShort" : "assembly-part-relationship", - "identification" : "urn:uuid:25d34082-c07f-4850-969a-6c923abea43a", - "semanticId" : { - "value" : [ - "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship" - ] + "administration": null, + "description": [], + "idShort": "SerialPart", + "id": "92afb7eb-a7d3-40db-8df8-7901fcfe8a58", + "semanticId": { + "keys": [ + { + "value": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", + "type": "GlobalReference" + } + ], + "type": "ExternalReference" }, - "endpoints" : [ + "endpoints": [ { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc-urn:uuid:25d34082-c07f-4850-969a-6c923abea43a/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null + "protocolInformation": { + "href": "https://trace-x-edc-int-a-dataplane.int.demo.catena-x.net/api/public/92afb7eb-a7d3-40db-8df8-7901fcfe8a58", + "endpointProtocol": "HTTP", + "endpointProtocolVersion": [ + "1.1" + ], + "subprotocol": "DSP", + "subprotocolBody": "id=urn:uuid:575d1a0b-5d59-4810-b8bf-01f897b49681;dspEndpoint=https://trace-x-edc-int-a.int.demo.catena-x.net", + "subprotocolBodyEncoding": "plain", + "securityAttributes": [ + { + "type": "NONE", + "key": "NONE", + "value": "NONE" + } + ] }, - "interface" : "https://BPNL00000003B5MJ.connector" + "interface": "SUBMODEL-3.0" } ] } @@ -428,1528 +178,282 @@ } }, { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "Transmission" - } - ], - "globalAssetId" : "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562", - "idShort" : "transmission.asm", - "identification" : "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562", - "specificAssetIds" : [ - { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "1O222E8-43", - "semanticId" : null - }, + "contractAgreementId": "581e4aea-d8c4-4d5e-a39e-dcc13ad5b5bd", + "payload": { + "administration": null, + "description": [ { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-733616531805581150452604", - "semanticId" : null + "language": "en", + "text": "DT for Serial Part" } ], - "submodelDescriptors" : [ + "globalAssetId": "urn:uuid:b978ad2d-be06-47ea-a578-580d9b2eca77", + "idShort": "urn:uuid:1eb03c3c-f412-4ea5-8520-f0046b398094", + "id": "urn:uuid:1eb03c3c-f412-4ea5-8520-f0046b398094", + "specificAssetIds": [ { - "administration" : null, - "description" : [], - "idShort" : "serial-part", - "identification" : "urn:uuid:82b89a4c-0e98-499e-ba21-c2a5aa38d70b", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] + "name": "partInstanceId", + "subjectId": null, + "externalSubjectId": { + "keys": [ + { + "value": "BPNL00000003CML1", + "type": "GlobalReference" + } + ], + "type": "ExternalReference" }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562-urn:uuid:82b89a4c-0e98-499e-ba21-c2a5aa38d70b/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B2OM.connector" - } - ] + "value": "HM001", + "semanticId": null }, { - "administration" : null, - "description" : [], - "idShort" : "assembly-part-relationship", - "identification" : "urn:uuid:e605d785-601f-4249-bd99-6a795ae489c6", - "semanticId" : { - "value" : [ - "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship" - ] + "name": "digitalTwinType", + "subjectId": null, + "externalSubjectId": { + "keys": [ + { + "value": "BPNL00000003CML1", + "type": "GlobalReference" + } + ], + "type": "ExternalReference" }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562-urn:uuid:e605d785-601f-4249-bd99-6a795ae489c6/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B2OM.connector" - } - ] - } - ] - } - }, - { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "Battery" - } - ], - "globalAssetId" : "urn:uuid:587cfb38-7149-4f06-b1e0-0e9b6e98be2a", - "idShort" : "battery.asm", - "identification" : "urn:uuid:587cfb38-7149-4f06-b1e0-0e9b6e98be2a", - "specificAssetIds" : [ - { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-369202025208677072946181", - "semanticId" : null + "value": "PartInstance", + "semanticId": null }, { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "95657362-83", - "semanticId" : null - } - ], - "submodelDescriptors" : [ - { - "administration" : null, - "description" : [], - "idShort" : "assembly-part-relationship", - "identification" : "urn:uuid:34a455a5-20aa-4039-af7e-e9b3420077fc", - "semanticId" : { - "value" : [ - "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship" - ] + "name": "manufacturerId", + "subjectId": null, + "externalSubjectId": { + "keys": [ + { + "value": "BPNL00000003CML1", + "type": "GlobalReference" + } + ], + "type": "ExternalReference" }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:587cfb38-7149-4f06-b1e0-0e9b6e98be2a-urn:uuid:34a455a5-20aa-4039-af7e-e9b3420077fc/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003AYRE.connector" - } - ] + "value": "BPNL00000007QNOK", + "semanticId": null }, { - "administration" : null, - "description" : [], - "idShort" : "serial-part", - "identification" : "urn:uuid:20c37755-2cb1-4eaf-be09-b44c9b9031fe", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] + "name": "manufacturerPartId", + "subjectId": null, + "externalSubjectId": { + "keys": [ + { + "value": "BPNL00000003CML1", + "type": "GlobalReference" + } + ], + "type": "ExternalReference" }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:587cfb38-7149-4f06-b1e0-0e9b6e98be2a-urn:uuid:20c37755-2cb1-4eaf-be09-b44c9b9031fe/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B2OM.connector" - } - ] - } - ] - } - }, - { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "Engineering Plastics" - } - ], - "globalAssetId" : "urn:uuid:8b59e2ec-d76a-49a7-a795-c4bea4a02d87", - "idShort" : "engineering_plastics.asm", - "identification" : "urn:uuid:8b59e2ec-d76a-49a7-a795-c4bea4a02d87", - "specificAssetIds" : [ - { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-340460948192054950891951", - "semanticId" : null + "value": "HV_Module001", + "semanticId": null }, { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "55269I8-71", - "semanticId" : null - } - ], - "submodelDescriptors" : [ - { - "administration" : null, - "description" : [], - "idShort" : "serial-part", - "identification" : "urn:uuid:2f11ec59-b8e8-4494-b3d8-0bbb7d1517b5", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] + "name": "intrinsicId", + "subjectId": null, + "externalSubjectId": { + "keys": [ + { + "value": "BPNL00000003CML1", + "type": "GlobalReference" + } + ], + "type": "ExternalReference" }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:8b59e2ec-d76a-49a7-a795-c4bea4a02d87-urn:uuid:2f11ec59-b8e8-4494-b3d8-0bbb7d1517b5/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B2OM.connector" - } - ] - } - ] - } - }, - { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "Glue" - } - ], - "globalAssetId" : "urn:uuid:b931e9e8-614d-494c-a8e6-548ee8b6ef34", - "idShort" : "glue.asm", - "identification" : "urn:uuid:b931e9e8-614d-494c-a8e6-548ee8b6ef34", - "specificAssetIds" : [ - { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "91471Z0-84", - "semanticId" : null + "value": "HM001", + "semanticId": null }, { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-182660425740222655242543", - "semanticId" : null + "name": "customerPartId", + "subjectId": null, + "externalSubjectId": { + "keys": [ + { + "value": "BPNL00000003CML1", + "type": "GlobalReference" + } + ], + "type": "ExternalReference" + }, + "value": "HV_Module001", + "semanticId": null } ], - "submodelDescriptors" : [ + "submodelDescriptors": [ { - "administration" : null, - "description" : [], - "idShort" : "serial-part", - "identification" : "urn:uuid:985ae9ac-e810-4b69-b3c1-23dfb1f057b6", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] + "administration": null, + "description": [ + { + "language": "en", + "text": "Submodel SerialPart" + } + ], + "idShort": "serialPart", + "id": "urn:uuid:18ac1b2c-801f-41d4-b454-530fb326e700", + "semanticId": { + "keys": [ + { + "value": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", + "type": "Submodel" + } + ], + "type": "ExternalReference" }, - "endpoints" : [ + "endpoints": [ { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:b931e9e8-614d-494c-a8e6-548ee8b6ef34-urn:uuid:985ae9ac-e810-4b69-b3c1-23dfb1f057b6/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null + "protocolInformation": { + "href": "https://customer-edc.apps.dev.aws.alm.oncite.io/public/submodel", + "endpointProtocol": "HTTP", + "endpointProtocolVersion": [ + "1.1" + ], + "subprotocol": "DSP", + "subprotocolBody": "id=urn:uuid:b978ad2d-be06-47ea-a578-580d9b2eca77-urn:uuid:18ac1b2c-801f-41d4-b454-530fb326e700;dspEndpoint=https://customer-edc.apps.dev.aws.alm.oncite.io/api/v1/dsp", + "subprotocolBodyEncoding": "plain", + "securityAttributes": [ + { + "type": "NONE", + "key": "NONE", + "value": "NONE" + } + ] }, - "interface" : "https://BPNL00000003B2OM.connector" + "interface": "SUBMODEL-3.0" } ] - } - ] - } - }, - { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "Engineering Plastics" - } - ], - "globalAssetId" : "urn:uuid:16bb1a7e-8ed8-48ca-a839-5f38b704fcae", - "idShort" : "engineering_plastics.asm", - "identification" : "urn:uuid:16bb1a7e-8ed8-48ca-a839-5f38b704fcae", - "specificAssetIds" : [ - { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-947880349904267845729159", - "semanticId" : null }, { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "01697F7-65", - "semanticId" : null - } - ], - "submodelDescriptors" : [ - { - "administration" : null, - "description" : [], - "idShort" : "serial_part", - "identification" : "urn:uuid:bc51058d-fc37-42e8-b7ce-3be50754124f", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] + "administration": null, + "description": [ + { + "language": "en", + "text": "Submodel SingleLevelBomAsBuilt" + } + ], + "idShort": "singleLevelBomAsBuilt", + "id": "urn:uuid:fef78833-5994-4a39-8164-2ea1c4336340", + "semanticId": { + "keys": [ + { + "value": "urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt", + "type": "Submodel" + } + ], + "type": "ExternalReference" }, - "endpoints" : [ + "endpoints": [ { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:16bb1a7e-8ed8-48ca-a839-5f38b704fcae-urn:uuid:bc51058d-fc37-42e8-b7ce-3be50754124f/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null + "protocolInformation": { + "href": "https://customer-edc.apps.dev.aws.alm.oncite.io/public/submodel", + "endpointProtocol": "HTTP", + "endpointProtocolVersion": [ + "1.1" + ], + "subprotocol": "DSP", + "subprotocolBody": "id=urn:uuid:b978ad2d-be06-47ea-a578-580d9b2eca77-urn:uuid:fef78833-5994-4a39-8164-2ea1c4336340;dspEndpoint=https://customer-edc.apps.dev.aws.alm.oncite.io/api/v1/dsp", + "subprotocolBodyEncoding": "plain", + "securityAttributes": [ + { + "type": "NONE", + "key": "NONE", + "value": "NONE" + } + ] }, - "interface" : "https://BPNL00000003B2OM.connector" + "interface": "SUBMODEL-3.0" } ] } ] } - }, + } + ], + "tombstones": [ + { + "catenaXId": "urn:uuid:b978ad2d-be06-47ea-a578-580d9b2eca77", + "endpointURL": "https://customer-edc.apps.dev.aws.alm.oncite.io/public/submodel", + "businessPartnerNumber": null, + "processingError": { + "processStep": "SchemaValidation", + "errorDetail": "Submodel payload validation failed. $.manufacturingInformation.country: does not match the regex pattern ^[A-Z][A-Z][A-Z]$", + "lastAttempt": "2024-05-29T07:55:58.561578726Z", + "retryCounter": 0 + }, + "policy": null + } + ], + "submodels": [ { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "Sensor" - } - ], - "globalAssetId" : "urn:uuid:1ae94880-e6b0-4bf3-ab74-8148b63c0640", - "idShort" : "sensor.asm", - "identification" : "urn:uuid:1ae94880-e6b0-4bf3-ab74-8148b63c0640", - "specificAssetIds" : [ - { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "65847F9-69", - "semanticId" : null - }, - { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-628797496367807957077265", - "semanticId" : null - } - ], - "submodelDescriptors" : [ - { - "administration" : null, - "description" : [], - "idShort" : "assembly-part-relationship", - "identification" : "urn:uuid:6901be6e-88e0-4754-b53b-4ccc9942cdbe", - "semanticId" : { - "value" : [ - "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship" - ] - }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:1ae94880-e6b0-4bf3-ab74-8148b63c0640-urn:uuid:6901be6e-88e0-4754-b53b-4ccc9942cdbe/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B3NX.connector" - } - ] - }, + "identification": "8d459b32-7c6a-4779-94af-7ad3cc987a84", + "aspectType": "urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt", + "contractAgreementId": "76e6d1ea-5642-4594-923b-25c0cbd7cc5a", + "payload": { + "catenaXId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99", + "childItems": [ { - "administration" : null, - "description" : [], - "idShort" : "serial_part", - "identification" : "urn:uuid:cbc837f1-d369-4ff8-9539-42e7bd249204", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] + "createdOn": "2022-02-03T14:48:54.709Z", + "quantity": { + "value": 1.0, + "unit": "unit:piece" }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:1ae94880-e6b0-4bf3-ab74-8148b63c0640-urn:uuid:cbc837f1-d369-4ff8-9539-42e7bd249204/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B2OM.connector" - } - ] + "lastModifiedOn": "2022-02-03T14:48:54.709Z", + "businessPartner": "BPNL00000007QNOK", + "hasAlternatives": true, + "catenaXId": "urn:uuid:b978ad2d-be06-47ea-a578-580d9b2eca77" } ] } }, { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "Glue" - } - ], - "globalAssetId" : "urn:uuid:0ce83951-bc18-4e8f-892d-48bad4eb67ef", - "idShort" : "glue.asm", - "identification" : "urn:uuid:0ce83951-bc18-4e8f-892d-48bad4eb67ef", - "specificAssetIds" : [ + "identification": "92afb7eb-a7d3-40db-8df8-7901fcfe8a58", + "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", + "contractAgreementId": "76e6d1ea-5642-4594-923b-25c0cbd7cc5a", + "payload": { + "catenaXId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99", + "localIdentifiers": [ { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-825423826078402432465664", - "semanticId" : null + "key": "manufacturerId", + "value": "BPNL00000003CML1" }, { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "31008B0-49", - "semanticId" : null - } - ], - "submodelDescriptors" : [ - { - "administration" : null, - "description" : [], - "idShort" : "assembly-part-relationship", - "identification" : "urn:uuid:aaebab0d-fe28-4d2b-af8f-c7680b62342f", - "semanticId" : { - "value" : [ - "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship" - ] - }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:0ce83951-bc18-4e8f-892d-48bad4eb67ef-urn:uuid:aaebab0d-fe28-4d2b-af8f-c7680b62342f/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003AXS3.connector" - } - ] + "key": "partInstanceId", + "value": "OMAOYGBDTSRCMYSCX" }, { - "administration" : null, - "description" : [], - "idShort" : "serial_part", - "identification" : "urn:uuid:162535e9-7baa-47b4-b778-17bc45427546", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] - }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:0ce83951-bc18-4e8f-892d-48bad4eb67ef-urn:uuid:162535e9-7baa-47b4-b778-17bc45427546/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B2OM.connector" - } - ] + "key": "van", + "value": "OMAOYGBDTSRCMYSCX" } - ] + ], + "manufacturingInformation": { + "date": "2018-09-28T04:15:57.000Z", + "country": "DEU", + "sites": [] + }, + "partTypeInformation": { + "manufacturerPartId": "3500076-05", + "nameAtManufacturer": "a/dev Vehicle Hybrid", + "partClassification": [ + { + "classificationStandard": "classificationStandard", + "classificationID": "classificationID", + "classificationDescription": "classificationDescription" + } + ] + } } }, { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "Sensor" - } - ], - "globalAssetId" : "urn:uuid:8eea5f45-0823-48ce-a4fc-c3bf1cdfa4c2", - "idShort" : "sensor.asm", - "identification" : "urn:uuid:8eea5f45-0823-48ce-a4fc-c3bf1cdfa4c2", - "specificAssetIds" : [ - { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-159040131155901488695376", - "semanticId" : null - }, - { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "37754B7-76", - "semanticId" : null - } - ], - "submodelDescriptors" : [ - { - "administration" : null, - "description" : [], - "idShort" : "serial_part", - "identification" : "urn:uuid:9aeaac21-7d98-44cc-813c-8ba8a6618564", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] - }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:8eea5f45-0823-48ce-a4fc-c3bf1cdfa4c2-urn:uuid:9aeaac21-7d98-44cc-813c-8ba8a6618564/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B2OM.connector" - } - ] - }, - { - "administration" : null, - "description" : [], - "idShort" : "assembly-part-relationship", - "identification" : "urn:uuid:0502c185-0a58-4f01-81c3-b54260e820ae", - "semanticId" : { - "value" : [ - "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship" - ] - }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:8eea5f45-0823-48ce-a4fc-c3bf1cdfa4c2-urn:uuid:0502c185-0a58-4f01-81c3-b54260e820ae/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B3NX.connector" - } - ] - } - ] - } - }, - { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "HV MODUL" - } - ], - "globalAssetId" : "urn:uuid:fe99da3d-b0de-4e80-81da-882aebcca978", - "idShort" : "hv_modul.asm", - "identification" : "urn:uuid:fe99da3d-b0de-4e80-81da-882aebcca978", - "specificAssetIds" : [ - { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-397646649734958738335866", - "semanticId" : null - }, - { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "8840838-04", - "semanticId" : null - } - ], - "submodelDescriptors" : [ - { - "administration" : null, - "description" : [], - "idShort" : "assembly-part-relationship", - "identification" : "urn:uuid:8f2fb5a9-eae9-4dd5-8fb8-02d2e10cc4e7", - "semanticId" : { - "value" : [ - "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship" - ] - }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:fe99da3d-b0de-4e80-81da-882aebcca978-urn:uuid:8f2fb5a9-eae9-4dd5-8fb8-02d2e10cc4e7/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003AYRE.connector" - } - ] - }, - { - "administration" : null, - "description" : [], - "idShort" : "serial_part", - "identification" : "urn:uuid:326acfa7-07d3-4ad0-bc91-67330c56071e", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] - }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:fe99da3d-b0de-4e80-81da-882aebcca978-urn:uuid:326acfa7-07d3-4ad0-bc91-67330c56071e/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B2OM.connector" - } - ] - } - ] - } - }, - { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "Engineering Plastics" - } - ], - "globalAssetId" : "urn:uuid:186359fb-4584-40e4-a59b-ed842d3d80d9", - "idShort" : "engineering_plastics.asm", - "identification" : "urn:uuid:186359fb-4584-40e4-a59b-ed842d3d80d9", - "specificAssetIds" : [ - { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "74268H5-13", - "semanticId" : null - }, - { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-565359302028822441908953", - "semanticId" : null - } - ], - "submodelDescriptors" : [ - { - "administration" : null, - "description" : [], - "idShort" : "serial_part", - "identification" : "urn:uuid:140e0654-765e-4136-ba36-7b1d85832377", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] - }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:186359fb-4584-40e4-a59b-ed842d3d80d9-urn:uuid:140e0654-765e-4136-ba36-7b1d85832377/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B2OM.connector" - } - ] - } - ] - } - }, - { - "contractAgreementId" : "abc", - "payload" : { - "administration" : null, - "description" : [ - { - "language" : "en", - "text" : "NTIER Product" - } - ], - "globalAssetId" : "urn:uuid:f7cf62fe-9e25-472b-9148-66ebcc291f31", - "idShort" : "ntier_product.asm", - "identification" : "urn:uuid:f7cf62fe-9e25-472b-9148-66ebcc291f31", - "specificAssetIds" : [ - { - "key" : "urn:VR:wt.part.WTPart#", - "subjectId" : null, - "value" : "98801V5-17", - "semanticId" : null - }, - { - "key" : "http://pwc.t-systems.com/datamodel/common", - "subjectId" : null, - "value" : "NO-056604022229087145032390", - "semanticId" : null - } - ], - "submodelDescriptors" : [ - { - "administration" : null, - "description" : [], - "idShort" : "serial_part", - "identification" : "urn:uuid:263e254d-8b7c-4911-b46a-d8bef28970f7", - "semanticId" : { - "value" : [ - "urn:samm:io.catenax.serial_part:3.0.0#SerialPart" - ] - }, - "endpoints" : [ - { - "protocolInformation" : { - "endpointAddress" : "http://irs-provider-controlplane:8282/urn:uuid:f7cf62fe-9e25-472b-9148-66ebcc291f31-urn:uuid:263e254d-8b7c-4911-b46a-d8bef28970f7/submodel?content=value&extent=withBlobValue", - "endpointProtocol" : "AAS/SUBMODEL", - "endpointProtocolVersion" : "1.0RC02", - "subprotocol" : null, - "subprotocolBody" : null, - "subprotocolBodyEncoding" : null - }, - "interface" : "https://BPNL00000003B2OM.connector" - } - ] - } - ] - } - } - ], - "tombstones" : [ - { - "catenaXId" : "urn:uuid:5205f736-8fc2-4585-b869-6bf36842369a", - "endpointURL" : "https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:5205f736-8fc2-4585-b869-6bf36842369a", - "processingError" : { - "processStep" : "SubmodelRequest", - "errorDetail" : "org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : \"{\"errors\":[]}\"", - "lastAttempt" : "2024-02-07T12:06:34.400493282Z", - "retryCounter" : 0 - }, - "policy" : null - } - ], - "submodels": [ - { - "identification" : "urn:uuid:318f4d45-7856-4467-8238-4959b56e6841", - "aspectType" : "urn:samm:io.catenax.just_in_sequence_part:3.0.0#JustInSequencePart", - "payload" : { - "localIdentifiers" : [ - { - "value" : "BPNL00000003AYRE", - "key" : "ManufacturerID" - }, - { - "value" : "12345678ABC", - "key" : "jisNumber" - } - ], - "manufacturingInformation" : { - "date" : "2022-02-04T14:48:54Z", - "country" : "HUR" - }, - "catenaXId" : "urn:uuid:580d3adf-1981-44a0-a214-13d6ceed6841", - "partTypeInformation" : { - "manufacturerPartId" : "123-0.740-3434-A", - "customerPartId" : "PRT-12345", - "classification" : "product", - "nameAtManufacturer" : "Mirror left", - "nameAtCustomer" : "side element A" - } - } - }, - { - "identification" : "urn:uuid:318f4d45-7856-4467-8238-4959b56e8912", - "aspectType" : "urn:samm:io.catenax.batch:3.0.0#Batch", - "payload" : { - "localIdentifiers" : [ - { - "value" : "BID000000004", - "key" : "batchId" - }, - { - "value" : "BPNABC", - "key" : "manufacturerId" - } - ], - "manufacturingInformation" : { - "date" : "2022-02-04T14:48:54", - "country" : "HUR" - }, - "catenaXId": "urn:uuid:580d3adf-1981-44a0-a214-13d6ceed9379", - "partTypeInformation": { - "manufacturerPartId": "123-0.740-3434-A", - "customerPartId": "PRT-12345", - "classification": "product", - "nameAtManufacturer": "PA66-GF30", - "nameAtCustomer": "Polyamide" - } - } - }, - { - "identification": "urn:uuid:781dabcb-93e7-442d-bc38-8ba1451c0218", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003AYRE", - "key": "ManufacturerID" - }, - { - "value": "KR-09", - "key": "manufacturerPartID" - }, - { - "value": "OMA-TGFAYUHXFLHHUQQMPLTE", - "key": "PartInstanceID" - }, - { - "value": "OMA-TGFAYUHXFLHHUQQMPLTE", - "key": "VAN" - } - ], - "manufacturingInformation": { - "date": "2014-11-18T09:23:55.000Z", - "country": "DEU" - }, - "catenaXId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", - "partTypeInformation": { - "manufacturerPartID": "KR-09", - "classification": "product", - "nameAtManufacturer": "Vehicle Hybrid" - } - } - }, - { - "identification": "urn:uuid:50de024d-60b3-49cd-ac74-37d81ce4bb7b", - "aspectType": "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship", - "payload": { - "catenaXId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", - "childParts": [ - { - "quantity": { - "quantityNumber": 1, - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue": "piece" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562" - }, - { - "quantity": { - "quantityNumber": 1, - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue": "piece" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc" - }, - { - "quantity": { - "quantityNumber": 1, - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue": "piece" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:587cfb38-7149-4f06-b1e0-0e9b6e98be2a" - } - ] - } - }, - { - "identification": "urn:uuid:ff82a14d-8730-488f-b965-89eeb2010991", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003B5MJ", - "key": "ManufacturerID" - }, - { - "value": "83238F4-36", - "key": "ManufacturerPartID" - }, - { - "value": "NO-354879221683258717359442", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc", - "partTypeInformation": { - "manufacturerPartID": "83238F4-36", - "customerPartId": "83238F4-36", - "classification": "component", - "nameAtManufacturer": "ECU", - "nameAtCustomer": "ECU" - } - } - }, - { - "identification": "urn:uuid:25d34082-c07f-4850-969a-6c923abea43a", - "aspectType": "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship", - "payload": { - "catenaXId": "urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc", - "childParts": [ - { - "quantity": { - "quantityNumber": "0.3301", - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue": "kilogram" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:b931e9e8-614d-494c-a8e6-548ee8b6ef34" - }, - { - "quantity": { - "quantityNumber": 1, - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue": "piece" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:1ae94880-e6b0-4bf3-ab74-8148b63c0640" - }, - { - "quantity": { - "quantityNumber": "0.2001", - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue": "kilogram" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:8b59e2ec-d76a-49a7-a795-c4bea4a02d87" - } - ] - } - }, - { - "identification": "urn:uuid:82b89a4c-0e98-499e-ba21-c2a5aa38d70b", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003B2OM", - "key": "ManufacturerID" - }, - { - "value": "1O222E8-43", - "key": "ManufacturerPartID" - }, - { - "value": "NO-733616531805581150452604", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562", - "partTypeInformation": { - "manufacturerPartID": "1O222E8-43", - "customerPartId": "1O222E8-43", - "classification": "component", - "nameAtManufacturer": "Transmission", - "nameAtCustomer": "Transmission" - } - } - }, - { - "identification": "urn:uuid:e605d785-601f-4249-bd99-6a795ae489c6", - "aspectType": "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship", + "identification": "urn:uuid:fef78833-5994-4a39-8164-2ea1c4336340", + "aspectType": "urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt", + "contractAgreementId": "8ff08b1e-4d78-4bec-acaf-60c3fc579cb5", "payload": { - "catenaXId": "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562", - "childParts": [ - { - "quantity": { - "quantityNumber": "0.2014", - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue": "kilogram" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:16bb1a7e-8ed8-48ca-a839-5f38b704fcae" - }, - { - "catenaXId": "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562", - "linkedItem": { - "quantity": { - "quantityNumber": 0.2014, - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue": "kilogram" - } - }, - "lifecycleContext": "asBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:580d3adf-1981-44a0-a214-13d6ceed9379" - }, - "aspectType": "SingleLevelBomAsBuilt" - }, - { - "catenaXId": "urn:uuid:7fa65f10-9dc1-49fe-818a-09c7313a4562", - "linkedItem": { - "quantity": { - "quantityNumber": 1.0, - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue": "piece" - } - }, - "lifecycleContext": "asBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:580d3adf-1981-44a0-a214-13d6ceed6841" - }, - "aspectType": "SingleLevelBomAsBuilt" - }, - { - "quantity": { - "quantityNumber": 1, - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue": "piece" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:8eea5f45-0823-48ce-a4fc-c3bf1cdfa4c2" - }, - { - "quantity": { - "quantityNumber": "0.2341", - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue": "kilogram" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:0ce83951-bc18-4e8f-892d-48bad4eb67ef" - } - ] - } - }, - { - "identification": "urn:uuid:34a455a5-20aa-4039-af7e-e9b3420077fc", - "aspectType": "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship", - "payload": { - "catenaXId": "urn:uuid:587cfb38-7149-4f06-b1e0-0e9b6e98be2a", - "childParts": [ - { - "quantity": { - "quantityNumber": 1, - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#piece", - "lexicalValue": "piece" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:fe99da3d-b0de-4e80-81da-882aebcca978" - } - ] - } - }, - { - "identification": "urn:uuid:20c37755-2cb1-4eaf-be09-b44c9b9031fe", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003AYRE", - "key": "ManufacturerID" - }, - { - "value": "95657362-83", - "key": "ManufacturerPartID" - }, - { - "value": "NO-369202025208677072946181", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:587cfb38-7149-4f06-b1e0-0e9b6e98be2a", - "partTypeInformation": { - "manufacturerPartID": "95657362-83", - "customerPartId": "95657362-83", - "classification": "component", - "nameAtManufacturer": "Battery", - "nameAtCustomer": "Battery" - } - } - }, - { - "identification": "urn:uuid:2f11ec59-b8e8-4494-b3d8-0bbb7d1517b5", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003B0Q0", - "key": "ManufacturerID" - }, - { - "value": "55269I8-71", - "key": "ManufacturerPartID" - }, - { - "value": "NO-340460948192054950891951", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:8b59e2ec-d76a-49a7-a795-c4bea4a02d87", - "partTypeInformation": { - "manufacturerPartID": "55269I8-71", - "customerPartId": "55269I8-71", - "classification": "component", - "nameAtManufacturer": "Engineering Plastics", - "nameAtCustomer": "Engineering Plastics" - } - } - }, - { - "identification": "urn:uuid:985ae9ac-e810-4b69-b3c1-23dfb1f057b6", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003AXS3", - "key": "ManufacturerID" - }, - { - "value": "91471Z0-84", - "key": "ManufacturerPartID" - }, - { - "value": "NO-182660425740222655242543", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:b931e9e8-614d-494c-a8e6-548ee8b6ef34", - "partTypeInformation": { - "manufacturerPartID": "91471Z0-84", - "customerPartId": "91471Z0-84", - "classification": "component", - "nameAtManufacturer": "Glue", - "nameAtCustomer": "Glue" - } - } - }, - { - "identification": "urn:uuid:bc51058d-fc37-42e8-b7ce-3be50754124f", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003B0Q0", - "key": "ManufacturerID" - }, - { - "value": "01697F7-65", - "key": "ManufacturerPartID" - }, - { - "value": "NO-947880349904267845729159", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:16bb1a7e-8ed8-48ca-a839-5f38b704fcae", - "partTypeInformation": { - "manufacturerPartID": "01697F7-65", - "customerPartId": "01697F7-65", - "classification": "component", - "nameAtManufacturer": "Engineering Plastics", - "nameAtCustomer": "Engineering Plastics" - } - } - }, - { - "identification": "urn:uuid:6901be6e-88e0-4754-b53b-4ccc9942cdbe", - "aspectType": "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship", - "payload": { - "catenaXId": "urn:uuid:1ae94880-e6b0-4bf3-ab74-8148b63c0640", - "childParts": [ - { - "quantity": { - "quantityNumber": "0.1908", - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue": "kilogram" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:186359fb-4584-40e4-a59b-ed842d3d80d9" - } - ] - } - }, - { - "identification": "urn:uuid:cbc837f1-d369-4ff8-9539-42e7bd249204", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003B3NX", - "key": "ManufacturerID" - }, - { - "value": "65847F9-69", - "key": "ManufacturerPartID" - }, - { - "value": "NO-628797496367807957077265", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:1ae94880-e6b0-4bf3-ab74-8148b63c0640", - "partTypeInformation": { - "manufacturerPartID": "65847F9-69", - "customerPartId": "65847F9-69", - "classification": "component", - "nameAtManufacturer": "Sensor", - "nameAtCustomer": "Sensor" - } - } - }, - { - "identification": "urn:uuid:aaebab0d-fe28-4d2b-af8f-c7680b62342f", - "aspectType": "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship", - "payload": { - "catenaXId": "urn:uuid:0ce83951-bc18-4e8f-892d-48bad4eb67ef", - "childParts": [] - } - }, - { - "identification": "urn:uuid:162535e9-7baa-47b4-b778-17bc45427546", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003AXS3", - "key": "ManufacturerID" - }, - { - "value": "31008B0-49", - "key": "ManufacturerPartID" - }, - { - "value": "NO-825423826078402432465664", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:0ce83951-bc18-4e8f-892d-48bad4eb67ef", - "partTypeInformation": { - "manufacturerPartID": "31008B0-49", - "customerPartId": "31008B0-49", - "classification": "component", - "nameAtManufacturer": "Glue", - "nameAtCustomer": "Glue" - } - } - }, - { - "identification": "urn:uuid:9aeaac21-7d98-44cc-813c-8ba8a6618564", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003B3NX", - "key": "ManufacturerID" - }, - { - "value": "37754B7-76", - "key": "ManufacturerPartID" - }, - { - "value": "NO-159040131155901488695376", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:8eea5f45-0823-48ce-a4fc-c3bf1cdfa4c2", - "partTypeInformation": { - "manufacturerPartID": "37754B7-76", - "customerPartId": "37754B7-76", - "classification": "component", - "nameAtManufacturer": "Sensor", - "nameAtCustomer": "Sensor" - } - } - }, - { - "identification": "urn:uuid:0502c185-0a58-4f01-81c3-b54260e820ae", - "aspectType": "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship", - "payload": { - "catenaXId": "urn:uuid:8eea5f45-0823-48ce-a4fc-c3bf1cdfa4c2", - "childParts": [ - { - "quantity": { - "quantityNumber": "0.1908", - "measurementUnit": { - "datatypeURI": "urn:bamm:io.openmanufacturing:meta-model:1.0.0#kilogram", - "lexicalValue": "kilogram" - } - }, - "lifecycleContext": "AsBuilt", - "assembledOn": "2022-02-03T14:48:54.709Z", - "lastModifiedOn": "2022-02-03T14:48:54.709Z", - "childCatenaXId": "urn:uuid:f7cf62fe-9e25-472b-9148-66ebcc291f31" - } - ] - } - }, - { - "identification": "urn:uuid:8f2fb5a9-eae9-4dd5-8fb8-02d2e10cc4e7", - "aspectType": "urn:bamm:com.catenax.assembly_part_relationship:1.0.0#AssemblyPartRelationship", - "payload": { - "catenaXId": "urn:uuid:fe99da3d-b0de-4e80-81da-882aebcca978", - "childParts": [] - } - }, - { - "identification": "urn:uuid:326acfa7-07d3-4ad0-bc91-67330c56071e", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003AYRE", - "key": "ManufacturerID" - }, - { - "value": "8840838-04", - "key": "ManufacturerPartID" - }, - { - "value": "NO-397646649734958738335866", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:fe99da3d-b0de-4e80-81da-882aebcca978", - "partTypeInformation": { - "manufacturerPartID": "8840838-04", - "customerPartId": "8840838-04", - "classification": "component", - "nameAtManufacturer": "HV MODUL", - "nameAtCustomer": "HV MODUL" - } - } - }, - { - "identification": "urn:uuid:140e0654-765e-4136-ba36-7b1d85832377", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003B0Q0", - "key": "ManufacturerID" - }, - { - "value": "74268H5-13", - "key": "ManufacturerPartID" - }, - { - "value": "NO-565359302028822441908953", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:186359fb-4584-40e4-a59b-ed842d3d80d9", - "partTypeInformation": { - "manufacturerPartID": "74268H5-13", - "customerPartId": "74268H5-13", - "classification": "component", - "nameAtManufacturer": "Engineering Plastics", - "nameAtCustomer": "Engineering Plastics" - } - } - }, - { - "identification": "urn:uuid:263e254d-8b7c-4911-b46a-d8bef28970f7", - "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", - "payload": { - "localIdentifiers": [ - { - "value": "BPNL00000003B0Q0", - "key": "ManufacturerID" - }, - { - "value": "98801V5-17", - "key": "ManufacturerPartID" - }, - { - "value": "NO-056604022229087145032390", - "key": "PartInstanceID" - } - ], - "manufacturingInformation": { - "date": "2022-02-04T14:48:54", - "country": "DEU" - }, - "catenaXId": "urn:uuid:f7cf62fe-9e25-472b-9148-66ebcc291f31", - "partTypeInformation": { - "manufacturerPartID": "98801V5-17", - "customerPartId": "98801V5-17", - "classification": "component", - "nameAtManufacturer": "NTIER Product", - "nameAtCustomer": "NTIER Product" - } + "catenaXId": "urn:uuid:b978ad2d-be06-47ea-a578-580d9b2eca77", + "childItems": [] } } ], - "bpns": [ - { - "manufacturerId": "BPNL00000003AYRE", - "manufacturerName": "Manufacturer Name 1" - }, - { - "manufacturerId": "BPNL00000003B5MJ", - "manufacturerName": "Manufacturer Name 2" - }, - { - "manufacturerId": "BPNL00000003B2OM", - "manufacturerName": "Manufacturer Name 3" - }, - { - "manufacturerId": "BPNL00000003B0Q0", - "manufacturerName": "Manufacturer Name 4" - }, - { - "manufacturerId": "BPNL00000003AXS3", - "manufacturerName": "Manufacturer Name 5" - }, - { - "manufacturerId": "BPNL00000003B3NX", - "manufacturerName": "Manufacturer Name 6" - } - ] + "bpns": [] } diff --git a/tx-backend/src/test/resources/stubs/irs/get/jobs/id/running_job_response_200.json b/tx-backend/src/test/resources/stubs/irs/get/jobs/id/running_job_response_200.json index 7f781e4f73..938b98234d 100644 --- a/tx-backend/src/test/resources/stubs/irs/get/jobs/id/running_job_response_200.json +++ b/tx-backend/src/test/resources/stubs/irs/get/jobs/id/running_job_response_200.json @@ -20,7 +20,7 @@ "bomLifecycle" : "asBuilt", "aspects" : [ "SerialPart", - "AssemblyPartRelationship" + "SingleLevelUsageAsBuilt" ], "depth" : 100, "direction" : "downward", From 386427282177109af499072ed87b54fe2073cf01 Mon Sep 17 00:00:00 2001 From: Maximilian Wesener Date: Tue, 30 Jul 2024 10:40:23 +0200 Subject: [PATCH 2/4] chore(release): 1252 - Updated test data of irs response. --- CHANGELOG.md | 1 - .../infrastructure/base/IrsCallbackControllerIT.java | 8 ++++---- .../resources/stubs/irs/get/jobs/id/response_200.json | 10 +++++----- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1ad283867..d6e13cce0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,6 @@ _**For better traceability add the corresponding GitHub issue number in each cha ## [13.0.1 - 26.07.2024] - ### Added - #511 Added installation guide for local frontend with umbrella chart - #XXXX added tests for notification-detail.facade.ts diff --git a/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java b/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java index 29324ed997..28253d4394 100644 --- a/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java +++ b/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java @@ -80,7 +80,7 @@ void givenAssets_whenCallbackReceived_thenSaveThemAndStoreContractAgreementId() // then assertThat(bpnSupportRepository.findAll()).hasSize(1); - assetsSupport.assertAssetAsBuiltSize(16); + assetsSupport.assertAssetAsBuiltSize(2); assetsSupport.assertAssetAsPlannedSize(0); // Make the API call and store the response @@ -173,7 +173,7 @@ void givenAssetExist_whenCallbackReceived_thenUpdateIt() { // then assertThat(bpnSupportRepository.findAll()).hasSize(1); - assetsSupport.assertAssetAsBuiltSize(16); + assetsSupport.assertAssetAsBuiltSize(14); assetsSupport.assertAssetAsPlannedSize(0); String updatedIdShort = assetsSupport.findById("urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb").getIdShort(); assertThat(updatedIdShort).isEqualTo("vehicle_hybrid_v2.asm"); @@ -228,7 +228,7 @@ void givenSuccessImportJob_whenCallbackReceivedWithTombsones_thenUpdateAsBuiltAs .statusCode(200) .extract().path("tombstone"); - assertThat(tombstoneAsBuilt).isNotEmpty(); + assertThat(tombstoneAsBuilt).isEmpty(); } @@ -304,7 +304,7 @@ void givenNoAssets_whenCallbackReceived_thenSaveThem_withoutManufacturerName() t .statusCode(200); // then - assetsSupport.assertAssetAsBuiltSize(16); + assetsSupport.assertAssetAsBuiltSize(2); assetsSupport.assertAssetAsPlannedSize(0); String manufacturerName = given() .header(oAuth2Support.jwtAuthorization(JwtRole.ADMIN)) diff --git a/tx-backend/src/test/resources/stubs/irs/get/jobs/id/response_200.json b/tx-backend/src/test/resources/stubs/irs/get/jobs/id/response_200.json index b0d0c36330..46d1fcd284 100644 --- a/tx-backend/src/test/resources/stubs/irs/get/jobs/id/response_200.json +++ b/tx-backend/src/test/resources/stubs/irs/get/jobs/id/response_200.json @@ -1,7 +1,7 @@ { "job": { "id": "173e576a-d155-41ce-b2d5-71f470ebb15c", - "globalAssetId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99", + "globalAssetId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", "state": "COMPLETED", "exception": null, "createdOn": "2024-05-29T07:55:10.835923974Z", @@ -35,7 +35,7 @@ }, "relationships": [ { - "catenaXId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99", + "catenaXId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", "linkedItem": { "quantity": { "quantityNumber": 1.0, @@ -60,7 +60,7 @@ "payload": { "administration": null, "description": [], - "globalAssetId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99", + "globalAssetId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", "idShort": null, "id": "654ecd34-3a1e-46e1-be32-eef70b670db6", "specificAssetIds": [ @@ -391,7 +391,7 @@ "aspectType": "urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt", "contractAgreementId": "76e6d1ea-5642-4594-923b-25c0cbd7cc5a", "payload": { - "catenaXId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99", + "catenaXId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", "childItems": [ { "createdOn": "2022-02-03T14:48:54.709Z", @@ -412,7 +412,7 @@ "aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart", "contractAgreementId": "76e6d1ea-5642-4594-923b-25c0cbd7cc5a", "payload": { - "catenaXId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99", + "catenaXId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb", "localIdentifiers": [ { "key": "manufacturerId", From 09d9922a446b010e8ad6a79bfcaac9cf81afbb63 Mon Sep 17 00:00:00 2001 From: Maximilian Wesener Date: Tue, 30 Jul 2024 10:51:09 +0200 Subject: [PATCH 3/4] chore(release): 1252 - Updated test data of irs response. --- .../assets/infrastructure/base/IrsCallbackControllerIT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java b/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java index 28253d4394..75e2609317 100644 --- a/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java +++ b/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java @@ -55,7 +55,6 @@ class IrsCallbackControllerIT extends IntegrationTestSpecification { AssetAsBuiltSupportRepository assetAsBuiltSupportRepository; - @Test void givenAssets_whenCallbackReceived_thenSaveThemAndStoreContractAgreementId() throws JoseException { // given @@ -171,12 +170,13 @@ void givenAssetExist_whenCallbackReceived_thenUpdateIt() { .log().all() .statusCode(200); + // then assertThat(bpnSupportRepository.findAll()).hasSize(1); assetsSupport.assertAssetAsBuiltSize(14); assetsSupport.assertAssetAsPlannedSize(0); - String updatedIdShort = assetsSupport.findById("urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb").getIdShort(); - assertThat(updatedIdShort).isEqualTo("vehicle_hybrid_v2.asm"); + String updatedIdShort = assetsSupport.findById("urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc").getIdShort(); + assertThat(updatedIdShort).isEqualTo("ecu.asm"); //urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb //vehicle_hybrid_v2.asm } From 9fa859e0c01e072b4c2094a1cfc6c1ab87a27bf6 Mon Sep 17 00:00:00 2001 From: Maximilian Wesener Date: Tue, 30 Jul 2024 10:59:09 +0200 Subject: [PATCH 4/4] chore(release): 1252 - Updated test data of irs response. --- .../assets/infrastructure/base/IrsCallbackControllerIT.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java b/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java index 75e2609317..ab89ed7621 100644 --- a/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java +++ b/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/assets/infrastructure/base/IrsCallbackControllerIT.java @@ -21,6 +21,7 @@ import assets.importpoc.ImportResponse; import io.restassured.http.ContentType; +import org.eclipse.tractusx.traceability.assets.domain.base.model.AssetBase; import org.eclipse.tractusx.traceability.common.security.JwtRole; import org.eclipse.tractusx.traceability.integration.IntegrationTestSpecification; import org.eclipse.tractusx.traceability.integration.common.support.AssetsSupport; @@ -33,6 +34,7 @@ import org.springframework.beans.factory.annotation.Autowired; import java.io.File; +import java.util.List; import static io.restassured.RestAssured.given; import static org.assertj.core.api.Assertions.assertThat; @@ -221,14 +223,14 @@ void givenSuccessImportJob_whenCallbackReceivedWithTombsones_thenUpdateAsBuiltAs .contentType(ContentType.JSON) .log().all() .when() - .pathParam("assetId", "urn:uuid:5205f736-8fc2-4585-b869-6bf36842369a") + .pathParam("assetId", "urn:uuid:b978ad2d-be06-47ea-a578-580d9b2eca77") .get("/api/assets/as-built/{assetId}") .then() .log().all() .statusCode(200) .extract().path("tombstone"); - assertThat(tombstoneAsBuilt).isEmpty(); + assertThat(tombstoneAsBuilt).isNotEmpty(); }