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

Mandatory fields at Gate and Pool are not in sync #1166

Open
StWeisshaar opened this issue Dec 18, 2024 · 3 comments
Open

Mandatory fields at Gate and Pool are not in sync #1166

StWeisshaar opened this issue Dec 18, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@StWeisshaar
Copy link

Current Behavior

When posting results to the BPDM Orchestator with a confidenceCriteria object(lastConfidenceCheckAt and nextConfidenceCheckAt) equal to NULL - the task still successfully passes through the BPDM Orchestrator and reaches PoolSync Success. Since these fields are mandatory at the BPDM Gate the task is running into an SharingProcessError.

image

image

This is not reproducible using the Cleaning Service Dummy, since the dummy service populates all confidence criteria fields by default.

Thanks to @bhautik-sakhiya for finding this issue!

Expected Behavior

The mandatory fields should align between BPDM Orchestrator and BPDM Gate. Tasks with missing mandatory fields are expected to fail at the BPDM Orchestrator. Missing mandatory fields are specified within the error message.

Steps To Reproduce

  1. Create a new task
  2. Post step results for CleanAndSync without lastConfidenceCheckAt and nextConfidenceCheckAt
  3. Check the sharing state type for the created task
@StWeisshaar StWeisshaar added the bug Something isn't working label Dec 18, 2024
@nicoprow nicoprow moved this to New in BPDM Kanban Dec 20, 2024
@nicoprow nicoprow moved this from New to 🔖 Refined in BPDM Kanban Dec 20, 2024
@nicoprow nicoprow moved this from 🔖 Refined to 🏗 In progress in BPDM Kanban Dec 20, 2024
@StWeisshaar StWeisshaar changed the title Mandatory fields at Gate and Orchestrator are not in sync Mandatory fields at Gate and Pool are not in sync Dec 20, 2024
@SujitMBRDI
Copy link
Contributor

Hello @arjmohanty,

We tried to reproduce the issue and realised that this behaviour is as expected.
At present, the Orchestrator is not designed to provide errors immediately. However, if there is a requirement to change the Orchestrator’s behaviour, we would need to revise the data model accordingly. Additionally, we would need to strategise carefully, as there are several other attributes in the Orchestrator that are nullable but are defined as non-nullable in the Gate and Pool components.
Cc: @nicoprow

@arjmohanty
Copy link

Hello @SujitMBRDI
Thank you for your comments regarding the Orchestrator’s current behavior and its design. This sync serves to confirm our alignment. Since revising the data model is required, we will proceed with initiating further discussions during the upcoming sprints.
We appreciate your input and will keep you updated on the progress.

@jupakajo

@maximilianong maximilianong moved this from 🏗 In progress to 🔖 Refined in BPDM Kanban Jan 20, 2025
@maximilianong maximilianong moved this from 🔖 Refined to 📋 Backlog in BPDM Kanban Jan 20, 2025
@maximilianong
Copy link

@jupakajo we would need a final statement from your side - for us in open source it works as expected. That's why we moved it again to backlog for the clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

5 participants