-
Notifications
You must be signed in to change notification settings - Fork 9
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/improve samm mapping #52
Feat/improve samm mapping #52
Conversation
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.
Great effort. Please incorporate reviews + merge / rebase to main branch + rerun dependencies check for both, frontend and backend.
...main/java/org/eclipse/tractusx/puris/backend/stock/logic/adapter/ProductStockSammMapper.java
Outdated
Show resolved
Hide resolved
...main/java/org/eclipse/tractusx/puris/backend/stock/logic/adapter/ProductStockSammMapper.java
Outdated
Show resolved
Hide resolved
@eschrewe plese merge the conflicts for the backend dependencies with the main branch |
# Conflicts: # DEPENDENCIES_BACKEND # backend/DEPENDENCIES
Done |
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.
Please switch order of customer material number and supplier material number during search.
if(samm.getMaterialNumberCatenaX().isPresent()) { | ||
material = materialService.findByMaterialNumberCx(samm.getMaterialNumberCatenaX().get()); | ||
} | ||
if(material == null && samm.getMaterialNumberCustomer() != null) { |
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.
The cascade of which material number must be used must be as follows:
- catena-x
- supplier
- customer
Please switch
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.
Done!
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.
Great work! LGTM, Quality check is related to helm chart structure
197e591
into
eclipse-tractusx:main
Description