-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feat/orchestrator pool validate improvement #678
Conversation
36ba486
to
8f7714c
Compare
8f7714c
to
1a3710f
Compare
There was a problem hiding this 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?
bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/service/TaskEntryBpnMapping.kt
Show resolved
Hide resolved
bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/service/TaskEntryBpnMapping.kt
Show resolved
Hide resolved
bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/service/TaskEntryBpnMapping.kt
Outdated
Show resolved
Hide resolved
bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/service/RequestValidationService.kt
Outdated
Show resolved
Hide resolved
bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/service/RequestValidationService.kt
Outdated
Show resolved
Hide resolved
bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/service/RequestValidationService.kt
Outdated
Show resolved
Hide resolved
bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/service/RequestValidationService.kt
Outdated
Show resolved
Hide resolved
35b7fd4
to
b06626c
Compare
There was a problem hiding this 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! 👍
b06626c
to
b29f7f9
Compare
…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
b29f7f9
to
6ed7859
Compare
Description
Improve the validation for the golden record process so that it: