Closed ds-ext-sceronik closed 9 months ago
After overview and analysis I've had a meeting with @ds-ext-sceronik in which I explained why the above job does have empty BPNS list. Also explanation below:
The included dataset does not have the SingleLevelBomAsBuilt aspect (asBuilt&downward) that was requested for globalAssetId: "urn:uuid:4a5e9ff6-2d5c-4510-a90e-d55af3ba502f". Thats why job's response doesnt have any relationships, and since it does not have a relationship, there is no BPN id for which we could build a list - we are retrieving bpn's from relationship aspects as entry point (eg. SingleLevelBomAsBuilt#2.0.0 has businessPartner field). Taking above into account, if there would be a relationship in the job, bpn/or tombstone would also be there.
@jzbmw Ready for PO review. Thank you very much.
Description
bpns list in job response is empty for some jobs
Current behaviour
Using uploaded test data -> https://github.com/eclipse-tractusx/traceability-foss/blob/main/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.12.json
when creating job with following request ->
we get no bpns result in job response after completion of job
Expected behavior
Steps to reproduce the Bug
For reproducing issues please contact @ds-ext-sceronik @ds-mwesener we can simulate it on running deployment