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/add validation to golden record process in pool #621

Conversation

rainer-exxcellent
Copy link
Contributor

@rainer-exxcellent rainer-exxcellent commented Nov 15, 2023

Description

Upsert Business Partners from Cleaning Result - implement validation for legel entities, sites and addresses
add validation to the golden record process
fix validation of address identifiers
Tests are moved to the next step
Solves: #556

@rainer-exxcellent rainer-exxcellent changed the title Feat/orchestrator pool validate bos Feat/orchestrator pool validate bo's - add legal enitty tests Nov 16, 2023
@rainer-exxcellent rainer-exxcellent force-pushed the feat/orchestrator_pool_validate_bos branch from 1a712a8 to 42dbe24 Compare November 23, 2023 07:41
@rainer-exxcellent rainer-exxcellent changed the title Feat/orchestrator pool validate bo's - add legal enitty tests Feat/add validation to golden record process in pool Nov 23, 2023
@rainer-exxcellent rainer-exxcellent marked this pull request as ready for review November 23, 2023 08:41
@rainer-exxcellent rainer-exxcellent force-pushed the feat/orchestrator_pool_validate_bos branch 2 times, most recently from 5f146b9 to a9c744b Compare November 27, 2023 07:26
Copy link
Contributor

@nicoprow nicoprow left a comment

Choose a reason for hiding this comment

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

just found a naming mistake

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.

Looks good now besides the minor comments!

* Merge Maps with collections as values.
* The collections with the same key in the different maps are concatenated
*/
fun <KEY, VALUE> mergeMapsWithCollectionInValue(
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe name it mergeMultiMaps?
https://en.wikipedia.org/wiki/Multimap

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The core of the functionality is that the collections in the value part of the map are concatenated.
This should be expressed in the name.

@nicoprow
Copy link
Contributor

nicoprow commented Dec 6, 2023

@martinfkaeser from your prerspective are there still open points that need to be addressed in this pull request?

@nicoprow nicoprow merged commit 7dfd498 into eclipse-tractusx:main Dec 7, 2023
9 checks passed
@nicoprow nicoprow deleted the feat/orchestrator_pool_validate_bos branch December 7, 2023 10:14
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.

None yet

3 participants