-
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(generic bpm): #384 Gate API: Create input endpoints for generic data model #419
feat(generic bpm): #384 Gate API: Create input endpoints for generic data model #419
Conversation
bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/GateBusinessPartnerApi.kt
Outdated
Show resolved
Hide resolved
bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/GateBusinessPartnerApi.kt
Outdated
Show resolved
Hide resolved
bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/GateBusinessPartnerApi.kt
Outdated
Show resolved
Hide resolved
Can you please refer in the PR description to the issue, like "Solves #..." ? |
bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/GateBusinessPartnerApi.kt
Outdated
Show resolved
Hide resolved
...api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/BusinessPartnerIdentifierDto.kt
Show resolved
Hide resolved
...gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/BusinessPartnerStateDto.kt
Outdated
Show resolved
Hide resolved
...api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/IBaseBusinessPartnerInputDto.kt
Outdated
Show resolved
Hide resolved
...api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/IBaseBusinessPartnerInputDto.kt
Outdated
Show resolved
Hide resolved
...api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/IBaseBusinessPartnerInputDto.kt
Outdated
Show resolved
Hide resolved
...api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/IBaseBusinessPartnerInputDto.kt
Show resolved
Hide resolved
I just commented about some naming issues, but content-wise it looks good! |
2b2b015
to
a84805a
Compare
.../main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/request/BusinessPartnerInputRequest.kt
Show resolved
Hide resolved
.../src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/BusinessPartnerPostalAddressDto.kt
Outdated
Show resolved
Hide resolved
5b3eca5
to
e773e01
Compare
|
||
@get:Schema(description = "Address of the official seat of this business partner.") | ||
val postalAddress: BusinessPartnerPostalAddressDto | ||
|
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.
Business Partner Input is missing the L/S/A BPN fields as described in #382. I'm aware that the OpenAPI snippet for the generic input endpoint description is not up-to-date on this matter and will add it there as well.
Why are the fields needed?
The service provider for the cleaning service will be supported by this information. Also, since especially Sites are hard to infer automatically, it is one of the only ways for a sharing member to tell the cleaning service that an address belongs to a certain existing site.
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.
I suggest we move this change to a separate issue in order to not block depending issues for too long.
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.
Alright, I will put this down in the issue. So we can create a pull request later on
.../main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/request/BusinessPartnerInputRequest.kt
Outdated
Show resolved
Hide resolved
...api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/IBaseBusinessPartnerInputDto.kt
Outdated
Show resolved
Hide resolved
…nts for generic business partner
…nts for generic business partners - Comments from the review incorporate
…nts for generic business partners - add enum for AddressType
f66c16d
to
6369339
Compare
…nts for generic business partners - add enum AddressType to open api
6369339
to
73f89b2
Compare
Description
Created endpoints for uploading and searching generic business partner.
Solves
#384
At the moment the address are in the "old" style. We have to refactor them when the following pull request was merged:
Refactor: Nested logistic address DTOs #408