Closed jzbmw closed 5 months ago
Remove status "BLOCKED" as new R24.5 state of dDTR is present
Planning 2:
both PRs approved and merged
Done - Version for R24.05 is integrated in the IRS Done - IRS job is running successfully Done - Asset Adminstration Shell v3.1 s fully supported
Newest registry service deployed on DEV: https://github.com/catenax-ng/tx-item-relationship-service/blob/catena-x-environments/charts/connector/aasregistry/Chart.yaml Release: https://github.com/eclipse-tractusx/sldt-digital-twin-registry/releases/tag/digital-twin-registry-0.4.9
Registered a job for existing params: globalAssetId": "urn:uuid:334cce52-1f52-4bc9-9dd1-410bbe497bbc", "bpn": "BPNL00000003B2OM" Job completed and Shells successfully retrieved:
Import Insomnia Collection https://github.com/catenax-ng/tx-item-relationship-service/blob/main/local/testing/request-collection/IRS_Request_Collection.json
Environment DEV
globalAssetId": "urn:uuid:334cce52-1f52-4bc9-9dd1-410bbe497bbc", "bpn": "BPNL00000003B2OM"
@mkanal submodelDescriptors depends also on Aspects from request body.
I registered a Job for same parameters with "aspects": ["urn:bamm:io.catenax.serial_part:1.0.1#SerialPart", "urn:samm:io.catenax.batch:2.0.0#Batch"] and submodel-descriptors are there:
Full response body:
{
"job": {
"id": "d278e5d4-3c91-4bc1-b6c4-88d6d70bafdf",
"globalAssetId": "urn:uuid:334cce52-1f52-4bc9-9dd1-410bbe497bbc",
"state": "COMPLETED",
"exception": null,
"createdOn": "2024-03-29T13:04:21.596715325Z",
"startedOn": "2024-03-29T13:04:21.596859527Z",
"lastModifiedOn": "2024-03-29T13:06:00.689174247Z",
"completedOn": "2024-03-29T13:06:00.689175947Z",
"summary": {
"asyncFetchedItems": {
"running": 0,
"completed": 5,
"failed": 4
},
"bpnLookups": {
"completed": 4,
"failed": 0
}
},
"parameter": {
"bomLifecycle": "asBuilt",
"aspects": [
"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart",
"urn:samm:io.catenax.batch:2.0.0#Batch"
],
"depth": 10,
"bpn": "BPNL00000003B2OM",
"direction": "downward",
"collectAspects": true,
"lookupBPNs": true,
"auditContractNegotiation": true,
"callbackUrl": null
}
},
"relationships": [
{
"catenaXId": "urn:uuid:334cce52-1f52-4bc9-9dd1-410bbe497bbc",
"linkedItem": {
"quantity": {
"quantityNumber": 0.2014,
"measurementUnit": {
"datatypeURI": null,
"lexicalValue": "unit:kilogram"
}
},
"lifecycleContext": "asBuilt",
"assembledOn": "2022-02-03T14:48:54.709Z",
"lastModifiedOn": "2022-02-03T14:48:54.709Z",
"childCatenaXId": "urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5",
"hasAlternatives": true
},
"aspectType": "SingleLevelBomAsBuilt",
"bpn": "BPNL00000003AYRE"
},
{
"catenaXId": "urn:uuid:334cce52-1f52-4bc9-9dd1-410bbe497bbc",
"linkedItem": {
"quantity": {
"quantityNumber": 0.2341,
"measurementUnit": {
"datatypeURI": null,
"lexicalValue": "unit:kilogram"
}
},
"lifecycleContext": "asBuilt",
"assembledOn": "2022-02-03T14:48:54.709Z",
"lastModifiedOn": "2022-02-03T14:48:54.709Z",
"childCatenaXId": "urn:uuid:e0390640-5d3f-4e30-bfb8-05e7e802fcb0",
"hasAlternatives": true
},
"aspectType": "SingleLevelBomAsBuilt",
"bpn": "BPNL00000003AZQP"
},
{
"catenaXId": "urn:uuid:334cce52-1f52-4bc9-9dd1-410bbe497bbc",
"linkedItem": {
"quantity": {
"quantityNumber": 2.5,
"measurementUnit": {
"datatypeURI": null,
"lexicalValue": "unit:litre"
}
},
"lifecycleContext": "asBuilt",
"assembledOn": "2022-02-03T14:48:54.709Z",
"lastModifiedOn": "2022-02-03T14:48:54.709Z",
"childCatenaXId": "urn:uuid:e47f0639-8e20-4ae5-bd4a-6a07e2f106d9",
"hasAlternatives": true
},
"aspectType": "SingleLevelBomAsBuilt",
"bpn": "BPNL00000003B3NX"
},
{
"catenaXId": "urn:uuid:e47f0639-8e20-4ae5-bd4a-6a07e2f106d9",
"linkedItem": {
"quantity": {
"quantityNumber": 0.1908,
"measurementUnit": {
"datatypeURI": null,
"lexicalValue": "unit:kilogram"
}
},
"lifecycleContext": "asBuilt",
"assembledOn": "2022-02-03T14:48:54.709Z",
"lastModifiedOn": "2022-02-03T14:48:54.709Z",
"childCatenaXId": "urn:uuid:f3964e8b-dd90-4748-bfeb-53f523b03052",
"hasAlternatives": true
},
"aspectType": "SingleLevelBomAsBuilt",
"bpn": "BPNL00000003B0Q0"
}
],
"shells": [
{
"contractAgreementId": "MTc3ZGIyMjUtYzZjNy00N2I0LWEzOWQtZGU3NTljNmJiMzk5:cmVnaXN0cnktYXNzZXQ=:MDhjNzE3NWEtNzRlNy00NTNlLTgxZGMtODBhZjYwNTQ0M2E2",
"payload": {
"administration": null,
"description": [],
"globalAssetId": "urn:uuid:334cce52-1f52-4bc9-9dd1-410bbe497bbc",
"idShort": "Transmission",
"id": "urn:uuid:8b594417-360f-48ea-a8ef-3653b6756760",
"specificAssetIds": [
{
"name": "partInstanceId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "NO-223043329736843650243373",
"semanticId": null
},
{
"name": "manufacturerId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "BPNL00000003B2OM",
"semanticId": null
},
{
"name": "brand",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "Brand 2",
"semanticId": null
},
{
"name": "manufacturerPartId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
},
{
"value": "PUBLIC_READABLE",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "1O222E8-43",
"semanticId": null
},
{
"name": "company",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "Company 2",
"semanticId": null
}
],
"submodelDescriptors": [
{
"administration": null,
"description": [],
"idShort": "SerialPart",
"id": "urn:uuid:c2d1fac7-a1bb-43c9-8d64-176ae669a1fc",
"semanticId": {
"keys": [
{
"value": "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"endpoints": [
{
"protocolInformation": {
"href": "https://irs-provider-dataplane.dev.demo.catena-x.net/api/public/data/urn:uuid:c2d1fac7-a1bb-43c9-8d64-176ae669a1fc",
"endpointProtocol": "HTTP",
"endpointProtocolVersion": [
"1.1"
],
"subprotocol": "DSP",
"subprotocolBody": "id=urn:uuid:f45278f9-1620-480c-b5c1-98ec822d869b;dspEndpoint=https://irs-provider-controlplane.dev.demo.catena-x.net",
"subprotocolBodyEncoding": "plain",
"securityAttributes": [
{
"type": "NONE",
"key": "NONE",
"value": "NONE"
}
]
},
"interface": "SUBMODEL-3.0"
}
]
}
]
}
},
{
"contractAgreementId": "MTc3ZGIyMjUtYzZjNy00N2I0LWEzOWQtZGU3NTljNmJiMzk5:cmVnaXN0cnktYXNzZXQ=:NDhiNjJmMTUtYTg3MC00MmJjLWExZGYtOGIxM2JiOTZmYTY3",
"payload": {
"administration": null,
"description": [],
"globalAssetId": "urn:uuid:e47f0639-8e20-4ae5-bd4a-6a07e2f106d9",
"idShort": "Sensor",
"id": "urn:uuid:0055f731-19d0-4dc1-8202-b3801fbf7ab8",
"specificAssetIds": [
{
"name": "partInstanceId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "NO-550767244022562000296953",
"semanticId": null
},
{
"name": "manufacturerId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "BPNL00000003B3NX",
"semanticId": null
},
{
"name": "manufacturerPartId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "PUBLIC_READABLE",
"type": "GlobalReference"
},
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "74470K4-08",
"semanticId": null
}
],
"submodelDescriptors": [
{
"administration": null,
"description": [],
"idShort": "SerialPart",
"id": "urn:uuid:a8bb1ba4-151a-4ed9-a4f9-91d8cec91f6a",
"semanticId": {
"keys": [
{
"value": "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"endpoints": [
{
"protocolInformation": {
"href": "https://irs-provider-dataplane.dev.demo.catena-x.net/api/public/data/urn:uuid:a8bb1ba4-151a-4ed9-a4f9-91d8cec91f6a",
"endpointProtocol": "HTTP",
"endpointProtocolVersion": [
"1.1"
],
"subprotocol": "DSP",
"subprotocolBody": "id=urn:uuid:f45278f9-1620-480c-b5c1-98ec822d869b;dspEndpoint=https://irs-provider-controlplane.dev.demo.catena-x.net",
"subprotocolBodyEncoding": "plain",
"securityAttributes": [
{
"type": "NONE",
"key": "NONE",
"value": "NONE"
}
]
},
"interface": "SUBMODEL-3.0"
}
]
}
]
}
},
{
"contractAgreementId": "MmZhZjVkMGItYThiZS00ZjMzLThiM2MtMTNmNWNkYTYwZDJm:cmVnaXN0cnktYXNzZXQ=:MzUwZGM4MjAtZTIxZi00MDM4LTkwMzctMDY0YjQyOGNhMjU0",
"payload": {
"administration": null,
"description": [],
"globalAssetId": "urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5",
"idShort": "EngineeringPlasticst",
"id": "urn:uuid:c51f0bd6-6d73-46e8-89cb-7e3ad27be8dc",
"specificAssetIds": [
{
"name": "manufacturerId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "BPNL00000003B0Q0",
"semanticId": null
},
{
"name": "batchId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "BID12345678",
"semanticId": null
}
],
"submodelDescriptors": [
{
"administration": null,
"description": [],
"idShort": "Batch",
"id": "urn:uuid:24bc6b5f-5f8f-4533-959c-7d2c498c7cd8",
"semanticId": {
"keys": [
{
"value": "urn:samm:io.catenax.batch:2.0.0#Batch",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"endpoints": [
{
"protocolInformation": {
"href": "https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:24bc6b5f-5f8f-4533-959c-7d2c498c7cd8",
"endpointProtocol": "HTTP",
"endpointProtocolVersion": [
"1.1"
],
"subprotocol": "DSP",
"subprotocolBody": "id=urn:uuid:c46d9f4c-0aa8-43ef-b8d4-97a2e2695624;dspEndpoint=https://irs-provider-controlplane3.dev.demo.catena-x.net",
"subprotocolBodyEncoding": "plain",
"securityAttributes": [
{
"type": "NONE",
"key": "NONE",
"value": "NONE"
}
]
},
"interface": "SUBMODEL-3.0"
}
]
}
]
}
},
{
"contractAgreementId": "MmZhZjVkMGItYThiZS00ZjMzLThiM2MtMTNmNWNkYTYwZDJm:cmVnaXN0cnktYXNzZXQ=:Y2E5ZDE2Y2UtNjMyYy00MjQ5LThiMjctMGYwNjIxZTM2OGRm",
"payload": {
"administration": null,
"description": [],
"globalAssetId": "urn:uuid:f3964e8b-dd90-4748-bfeb-53f523b03052",
"idShort": "NTIERProduct",
"id": "urn:uuid:dd0e6498-eb5e-4924-add9-152be8f7bdaa",
"specificAssetIds": [
{
"name": "manufacturerId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "BPNL00000003B0Q0",
"semanticId": null
},
{
"name": "batchId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "BID12345678",
"semanticId": null
}
],
"submodelDescriptors": [
{
"administration": null,
"description": [],
"idShort": "Batch",
"id": "urn:uuid:d7a33dfb-3c8c-41cc-b156-086263778794",
"semanticId": {
"keys": [
{
"value": "urn:samm:io.catenax.batch:2.0.0#Batch",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"endpoints": [
{
"protocolInformation": {
"href": "https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:d7a33dfb-3c8c-41cc-b156-086263778794",
"endpointProtocol": "HTTP",
"endpointProtocolVersion": [
"1.1"
],
"subprotocol": "DSP",
"subprotocolBody": "id=urn:uuid:c46d9f4c-0aa8-43ef-b8d4-97a2e2695624;dspEndpoint=https://irs-provider-controlplane3.dev.demo.catena-x.net",
"subprotocolBodyEncoding": "plain",
"securityAttributes": [
{
"type": "NONE",
"key": "NONE",
"value": "NONE"
}
]
},
"interface": "SUBMODEL-3.0"
}
]
}
]
}
},
{
"contractAgreementId": "MTc3ZGIyMjUtYzZjNy00N2I0LWEzOWQtZGU3NTljNmJiMzk5:cmVnaXN0cnktYXNzZXQ=:MmY5ZTI0N2MtOGU2MC00ZTViLWE5NWEtY2Y0ZDJlOTBiMGUz",
"payload": {
"administration": null,
"description": [],
"globalAssetId": "urn:uuid:e0390640-5d3f-4e30-bfb8-05e7e802fcb0",
"idShort": "Glue",
"id": "urn:uuid:762bff55-019c-44f2-b2dc-debd93ea5a41",
"specificAssetIds": [
{
"name": "manufacturerId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "BPNL00000003AXS3",
"semanticId": null
},
{
"name": "batchId",
"subjectId": null,
"externalSubjectId": {
"keys": [
{
"value": "BPNL00000001CRHK",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"value": "BID12345678",
"semanticId": null
}
],
"submodelDescriptors": [
{
"administration": null,
"description": [],
"idShort": "Batch",
"id": "urn:uuid:db5a901e-93d9-40a6-bf85-6768ee3a558d",
"semanticId": {
"keys": [
{
"value": "urn:samm:io.catenax.batch:2.0.0#Batch",
"type": "GlobalReference"
}
],
"type": "ExternalReference"
},
"endpoints": [
{
"protocolInformation": {
"href": "https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:db5a901e-93d9-40a6-bf85-6768ee3a558d",
"endpointProtocol": "HTTP",
"endpointProtocolVersion": [
"1.1"
],
"subprotocol": "DSP",
"subprotocolBody": "id=urn:uuid:c46d9f4c-0aa8-43ef-b8d4-97a2e2695624;dspEndpoint=https://irs-provider-controlplane3.dev.demo.catena-x.net",
"subprotocolBodyEncoding": "plain",
"securityAttributes": [
{
"type": "NONE",
"key": "NONE",
"value": "NONE"
}
]
},
"interface": "SUBMODEL-3.0"
}
]
}
]
}
}
],
"tombstones": [
{
"catenaXId": "urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5",
"endpointURL": "https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:24bc6b5f-5f8f-4533-959c-7d2c498c7cd8",
"businessPartnerNumber": null,
"processingError": {
"processStep": "SubmodelRequest",
"errorDetail": "java.util.NoSuchElementException: No value present",
"lastAttempt": "2024-03-29T13:05:30.281862217Z",
"retryCounter": 0
},
"policy": null
},
{
"catenaXId": "urn:uuid:f3964e8b-dd90-4748-bfeb-53f523b03052",
"endpointURL": "https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:d7a33dfb-3c8c-41cc-b156-086263778794",
"businessPartnerNumber": null,
"processingError": {
"processStep": "SubmodelRequest",
"errorDetail": "java.util.NoSuchElementException: No value present",
"lastAttempt": "2024-03-29T13:05:42.028431545Z",
"retryCounter": 0
},
"policy": null
},
{
"catenaXId": "urn:uuid:e0390640-5d3f-4e30-bfb8-05e7e802fcb0",
"endpointURL": "https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:1844c552-4aea-465b-a712-80c44cb5380f",
"businessPartnerNumber": null,
"processingError": {
"processStep": "SubmodelRequest",
"errorDetail": "java.util.NoSuchElementException: No value present",
"lastAttempt": "2024-03-29T13:05:30.300269789Z",
"retryCounter": 0
},
"policy": null
},
{
"catenaXId": "urn:uuid:e0390640-5d3f-4e30-bfb8-05e7e802fcb0",
"endpointURL": "https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:db5a901e-93d9-40a6-bf85-6768ee3a558d",
"businessPartnerNumber": null,
"processingError": {
"processStep": "SubmodelRequest",
"errorDetail": "java.util.NoSuchElementException: No value present",
"lastAttempt": "2024-03-29T13:06:00.54960737Z",
"retryCounter": 0
},
"policy": null
}
],
"submodels": [
{
"identification": "urn:uuid:c2d1fac7-a1bb-43c9-8d64-176ae669a1fc",
"aspectType": "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart",
"contractAgreementId": "NzU5NGY3NGMtODgzZi00MzY4LTg2YTUtNzU3ZDJkMDJkMmI2:dXJuOnV1aWQ6ZjQ1Mjc4ZjktMTYyMC00ODBjLWI1YzEtOThlYzgyMmQ4Njli:MGMxM2ExN2QtMjkyMS00YWU3LTkzZjctYTllZTUyYzViZjU0",
"payload": {
"localIdentifiers": [
{
"value": "BPNL00000003B2OM",
"key": "manufacturerId"
},
{
"value": "1O222E8-43",
"key": "manufacturerPartId"
},
{
"value": "NO-223043329736843650243373",
"key": "partInstanceId"
},
{
"value": "Company 2",
"key": "company"
},
{
"value": "Brand 2",
"key": "brand"
}
],
"manufacturingInformation": {
"date": "2022-02-04T14:48:54",
"country": "DEU"
},
"catenaXId": "urn:uuid:334cce52-1f52-4bc9-9dd1-410bbe497bbc",
"partTypeInformation": {
"manufacturerPartId": "1O222E8-43",
"customerPartId": "1O222E8-43",
"classification": "component",
"nameAtManufacturer": "Transmission",
"nameAtCustomer": "Transmission"
}
}
},
{
"identification": "urn:uuid:a8bb1ba4-151a-4ed9-a4f9-91d8cec91f6a",
"aspectType": "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart",
"contractAgreementId": "NzU5NGY3NGMtODgzZi00MzY4LTg2YTUtNzU3ZDJkMDJkMmI2:dXJuOnV1aWQ6ZjQ1Mjc4ZjktMTYyMC00ODBjLWI1YzEtOThlYzgyMmQ4Njli:MGMxM2ExN2QtMjkyMS00YWU3LTkzZjctYTllZTUyYzViZjU0",
"payload": {
"localIdentifiers": [
{
"value": "BPNL00000003B3NX",
"key": "manufacturerId"
},
{
"value": "74470K4-08",
"key": "manufacturerPartId"
},
{
"value": "NO-550767244022562000296953",
"key": "partInstanceId"
}
],
"manufacturingInformation": {
"date": "2022-02-04T14:48:54",
"country": "DEU"
},
"catenaXId": "urn:uuid:e47f0639-8e20-4ae5-bd4a-6a07e2f106d9",
"partTypeInformation": {
"manufacturerPartId": "74470K4-08",
"customerPartId": "74470K4-08",
"classification": "component",
"nameAtManufacturer": "Sensor",
"nameAtCustomer": "Sensor"
}
}
}
],
"bpns": [
{
"manufacturerId": "BPNL00000003AZQP",
"manufacturerName": "OEM C"
},
{
"manufacturerId": "BPNL00000003B3NX",
"manufacturerName": "Sub Tier A"
},
{
"manufacturerId": "BPNL00000003B0Q0",
"manufacturerName": "N-Tier A"
},
{
"manufacturerId": "BPNL00000003AYRE",
"manufacturerName": "OEM A"
}
]
}
@ds-ext-kmassalski it is incomprehensible to me that the submodel descriptors are dependent on the added aspects. This does not seem to be implemented correctly.
@jzbmw For missing aas standard conformity, I have created a new issue https://github.com/eclipse-tractusx/item-relationship-service/issues/510 The functionality is implemented as expected. Ready for PO acceptance.
As everyone, I want to update the Registry to the R24.05 state, so that a working System exists.
Link
Hints / Details
Outcome / Acceptance Criteria
Acceptance Criteria
Out of Scope