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: Implemented days of supply - backend #441

Merged

Conversation

BenjaminKotnik
Copy link
Contributor

@BenjaminKotnik BenjaminKotnik commented Jun 11, 2024

Description

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

@BenjaminKotnik BenjaminKotnik marked this pull request as ready for review June 11, 2024 12:03
Copy link
Contributor

@tom-rm-meyer-ISST tom-rm-meyer-ISST left a 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.

Copy link
Contributor

@tom-rm-meyer-ISST tom-rm-meyer-ISST left a comment

Choose a reason for hiding this comment

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

Sorry misclick

Copy link
Contributor

@tom-rm-meyer-ISST tom-rm-meyer-ISST left a 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

@tom-rm-meyer-ISST
Copy link
Contributor

IP check succeeded. Please merge main

Copy link
Contributor

@tom-rm-meyer-ISST tom-rm-meyer-ISST left a 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!

@tom-rm-meyer-ISST tom-rm-meyer-ISST merged commit 7c7f4cf into eclipse-tractusx:main Jun 19, 2024
12 checks passed
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