-
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: Implemented days of supply - backend #441
feat: Implemented days of supply - backend #441
Conversation
feat: implemented the backend for Days of Supply
...main/java/org/eclipse/tractusx/puris/backend/supply/logic/service/SupplierSupplyService.java
Fixed
Show resolved
Hide resolved
...main/java/org/eclipse/tractusx/puris/backend/supply/logic/service/CustomerSupplyService.java
Fixed
Show resolved
Hide resolved
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.
Thanks for contributing. While reviewing I noticed the duplicate code we currently have in most of the object. I would prefer a refactoring prior to this PR so that we don't have that much duplication e.g., in methods like findAllByFilters
. Same applies to new functionality to calculate days of supply which is the same calculation with different parameters.
Beside that:
- Please always wait for the pipeline to finish prior to requesting the review and check the findings. If you're not aware of what to do, please comment.
- Please add javadoc at least for the more complex functions. Normally also at least those should be tested.
.../main/java/org/eclipse/tractusx/puris/backend/delivery/logic/service/OwnDeliveryService.java
Outdated
Show resolved
Hide resolved
.../main/java/org/eclipse/tractusx/puris/backend/delivery/logic/service/OwnDeliveryService.java
Outdated
Show resolved
Hide resolved
.../java/org/eclipse/tractusx/puris/backend/delivery/logic/service/ReportedDeliveryService.java
Outdated
Show resolved
Hide resolved
...nd/src/main/java/org/eclipse/tractusx/puris/backend/demand/logic/services/DemandService.java
Show resolved
Hide resolved
...n/java/org/eclipse/tractusx/puris/backend/production/logic/service/OwnProductionService.java
Outdated
Show resolved
Hide resolved
...main/java/org/eclipse/tractusx/puris/backend/supply/logic/service/CustomerSupplyService.java
Show resolved
Hide resolved
...main/java/org/eclipse/tractusx/puris/backend/supply/logic/service/CustomerSupplyService.java
Outdated
Show resolved
Hide resolved
...main/java/org/eclipse/tractusx/puris/backend/supply/logic/service/SupplierSupplyService.java
Outdated
Show resolved
Hide resolved
backend/src/main/java/org/eclipse/tractusx/puris/backend/common/security/SecurityConfig.java
Outdated
Show resolved
Hide resolved
...clipse/tractusx/puris/backend/supply/domain/repository/ReportedSupplierSupplyRepository.java
Show resolved
Hide resolved
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.
Sorry misclick
...main/java/org/eclipse/tractusx/puris/backend/supply/logic/service/SupplierSupplyService.java
Outdated
Show resolved
Hide resolved
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.
Thanks for contributing and iterating over this with me! Highly appreciated. As we have more than 1kloc of code change, I filed an IP check at EF.
I will approve and merge as soon as the check succeeded.
Beside that: raised #454 to increase maintainability
IP check succeeded. Please merge main |
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.
LGTM, IP cleared. Thanks for contributing!
Description
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review: