-
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/api for entity management #42
Feat/api for entity management #42
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.
As already said: Great effort! Please add example values to the parameters. Regarding the dependency check we'll need further investigation.
backend/src/main/java/org/eclipse/tractusx/puris/backend/controller/MaterialController.java
Outdated
Show resolved
Hide resolved
...n/java/org/eclipse/tractusx/puris/backend/controller/MaterialPartnerRelationsController.java
Outdated
Show resolved
Hide resolved
...n/java/org/eclipse/tractusx/puris/backend/controller/MaterialPartnerRelationsController.java
Outdated
Show resolved
Hide resolved
backend/src/main/java/org/eclipse/tractusx/puris/backend/controller/PartnerController.java
Outdated
Show resolved
Hide resolved
backend/src/main/java/org/eclipse/tractusx/puris/backend/controller/PartnerController.java
Outdated
Show resolved
Hide resolved
backend/src/main/java/org/eclipse/tractusx/puris/backend/controller/PartnerController.java
Outdated
Show resolved
Hide resolved
...ain/java/org/eclipse/tractusx/puris/backend/masterdata/logic/service/PartnerServiceImpl.java
Show resolved
Hide resolved
…cify partner by uuid
@eschrewe I realized that we need to update the Dependencies of the backend in both places:
reason: the DEPENDENCIES need to be added to the distributables (jar, container) and we can't access the overlying folder during builds :) This will also resolve the dependency check, that fails because it only evaluates the DEPENDENCIES_BACKEND in the root folder. |
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 fix small duplicate annotation and verify that the required parameter matches the null-value handling.
...n/java/org/eclipse/tractusx/puris/backend/controller/MaterialPartnerRelationsController.java
Show resolved
Hide resolved
...n/java/org/eclipse/tractusx/puris/backend/controller/MaterialPartnerRelationsController.java
Show resolved
Hide resolved
}) | ||
public ResponseEntity<?> addAddress( | ||
@Parameter(name = "partnerBpnl", description = "The unique BPNL that was assigned to that Partner.", | ||
example = "BPNL2222222222RR", required = true) @RequestParam() String partnerBpnl, |
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.
Duplicate of annotations "Parameter" and "RequestParam"
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.
Yes, there are some ugly redundancies...
I will do some cleaning up
backend/src/main/java/org/eclipse/tractusx/puris/backend/controller/PartnerController.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.
LGTM, PR #50 resolves the outdated frontend dependencies
b7d23f2
into
eclipse-tractusx:main
Description
Added API for
Pre-review checks