Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ESS][Batchprocessing] ESS investigations requested in orders do not deliver correct supplyChainImpacted results #306

Closed
ds-alexander-bulgakov opened this issue Nov 22, 2023 · 1 comment
Assignees
Labels
bug Something isn't working ess ess related topics linked_to_feature Issue is linked to a feature

Comments

@ds-alexander-bulgakov
Copy link
Contributor

ds-alexander-bulgakov commented Nov 22, 2023

Description

ESS-jobs can be requested either separately with /ess/bpn/investigations or in batches with /irs/ess/orders. Both should detect same supplyChainImpacted-results which is currently not the case.

Current behaviour

ESS-jobs requested in orders do not contain correct supplyChainImpacted results, currently the result is always "No".

Expected behavior

ESS-jobs requested in orders are processed correctly and deliver the same results as jobs requested separately. supplyChainImpacted results have to be correct.

Steps to reproduce the Bug

  • Request ESS-job separately (/ess/bpn/investigations)with e.g.:
    { "key": { "globalAssetId": "urn:uuid:1c7a25ea-0490-4944-b9c9-d8c666d47958", "bpn": "BPNL00ARBITRARY4" }, "incidentBPNSs": ["BPNS00ARBITRARY7"], "bomLifecycle": "asPlanned" }
  • Request same ids in ESS-orders (/irs/ess/orders) e.g.:
    { "batchSize": 10, "batchStrategy": "PRESERVE_BATCH_JOB_ORDER", "incidentBPNSs": ["BPNS00ARBITRARY7"], "keys": [ { "globalAssetId": "urn:uuid:1c7a25ea-0490-4944-b9c9-d8c666d47958", "bpn": "BPNL00ARBITRARY4" }, { "globalAssetId": "urn:uuid:2190e4b8-63ee-411d-bf57-6cdc495bc1df", "bpn": "BPNLO0ARBITRARY5" }, { "globalAssetId": "urn:uuid:3d61ada2-1a50-42a0-b411-40a932dd56cc", "bpn": "BPNLO0ARBITRARY6" }, { "globalAssetId": "urn:uuid:52207a60-e541-4bea-8ec4-3172f09e6dbb", "bpn": "BPNLO0ARBITRARY7" } ] }
  • Wait for jobs to COMPLETE and compare results of supplyChainImpacted -> All should be "Yes".
@ds-ext-kmassalski
Copy link
Contributor

Fixed here:
catenax-ng#660

@jzbmw jzbmw closed this as completed Dec 11, 2023
@mkanal mkanal added the linked_to_feature Issue is linked to a feature label Jan 15, 2024
ds-jhartmann added a commit that referenced this issue Feb 22, 2024
chore(charts): Add missing allowed bpn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ess ess related topics linked_to_feature Issue is linked to a feature
Projects
Status: done
Development

No branches or pull requests

4 participants