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(generic bpm): #384 Gate API: Create input endpoints for generic data model #419

Merged

Conversation

rainer-exxcellent
Copy link
Contributor

@rainer-exxcellent rainer-exxcellent commented Aug 31, 2023

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

@martinfkaeser
Copy link
Contributor

Can you please refer in the PR description to the issue, like "Solves #..." ?

@martinfkaeser
Copy link
Contributor

I just commented about some naming issues, but content-wise it looks good!

@rainer-exxcellent rainer-exxcellent force-pushed the feat/input-endpoints-generic-bpm branch from 2b2b015 to a84805a Compare September 5, 2023 05:56
@rainer-exxcellent rainer-exxcellent force-pushed the feat/input-endpoints-generic-bpm branch 2 times, most recently from 5b3eca5 to e773e01 Compare September 7, 2023 12:45
@nicoprow nicoprow self-requested a review September 8, 2023 07:46

@get:Schema(description = "Address of the official seat of this business partner.")
val postalAddress: BusinessPartnerPostalAddressDto

Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor

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

…nts for generic business partners

- Comments from the review incorporate
…nts for generic business partners

- add enum for AddressType
@martinfkaeser martinfkaeser force-pushed the feat/input-endpoints-generic-bpm branch from f66c16d to 6369339 Compare September 8, 2023 08:19
…nts for generic business partners

- add enum AddressType to open api
@martinfkaeser martinfkaeser force-pushed the feat/input-endpoints-generic-bpm branch from 6369339 to 73f89b2 Compare September 8, 2023 08:28
@nicoprow nicoprow merged commit 38d8fa0 into eclipse-tractusx:main Sep 8, 2023
@nicoprow nicoprow deleted the feat/input-endpoints-generic-bpm branch September 8, 2023 09:39
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