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

Feat/orchestrator pool validate improvement #678

Conversation

rainer-exxcellent
Copy link
Contributor

Description

Improve the validation for the golden record process so that it:

  • validats duplicates over all addresses and all legal entities
  • if the BPN request identifier is known to the pool, the task has to be considered as update

@rainer-exxcellent rainer-exxcellent force-pushed the feat/orchestrator_pool_validate_improvement branch from 36ba486 to 8f7714c Compare December 11, 2023 08:23
@rainer-exxcellent rainer-exxcellent marked this pull request as ready for review December 11, 2023 08:24
@rainer-exxcellent rainer-exxcellent force-pushed the feat/orchestrator_pool_validate_improvement branch from 8f7714c to 1a3710f Compare December 12, 2023 06:30
Copy link
Contributor

@martinfkaeser martinfkaeser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from some minor remarks my main point is about the validateAddressesFromOrchestrator method and its sub-methods. I find the logic there quite confusing. Could you maybe have a look at it again and add some comments about the different cases?
And could you make sure you set the reformat option before commit because there are some weird spaces and indentations?

@rainer-exxcellent rainer-exxcellent force-pushed the feat/orchestrator_pool_validate_improvement branch 4 times, most recently from 35b7fd4 to b06626c Compare December 20, 2023 05:38
Copy link
Contributor

@martinfkaeser martinfkaeser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This validation logic is inherently rather complex, but I think now we have reached, relative to that, quite an elegant solution! 👍

@rainer-exxcellent rainer-exxcellent force-pushed the feat/orchestrator_pool_validate_improvement branch from b06626c to b29f7f9 Compare December 22, 2023 05:40
…PN request identifier is known to the pool, the task has to be considered as update,

- validate duplicates over all addresses and all legal entities
- move function to create and compare business partner in own files
@nicoprow nicoprow force-pushed the feat/orchestrator_pool_validate_improvement branch from b29f7f9 to 6ed7859 Compare January 11, 2024 05:02
@nicoprow nicoprow merged commit 8e805a5 into eclipse-tractusx:main Jan 11, 2024
9 checks passed
@nicoprow nicoprow deleted the feat/orchestrator_pool_validate_improvement branch January 11, 2024 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants