-
Notifications
You must be signed in to change notification settings - Fork 17
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 - Fetch of input data from the persistence layer (Logistic Address + Legal Entities) #184
Feat - Fetch of input data from the persistence layer (Logistic Address + Legal Entities) #184
Conversation
07035cb
to
11c253e
Compare
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 can't execute the GET input legal-entities endpoints without error. See comments for improvement suggestions.
Also the tests are not adapted. Currently, the tests for GET input legal-entities still configure the Wiremock for SaaS-Service Mocking. But that is no longer needed when fetching the business partners from the database directly.
bpdm-gate/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/service/LegalEntityService.kt
Show resolved
Hide resolved
bpdm-gate/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/service/LegalEntityService.kt
Outdated
Show resolved
Hide resolved
bpdm-gate/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/service/LegalEntityService.kt
Show resolved
Hide resolved
ad6c334
to
53ef57e
Compare
0a7873b
to
1ff29a6
Compare
… to new service logic
…sponse data class. Removal of unused invalidEntries, Added Mapper to AddressGateInputResponse, removal of unused mapping methods in Address Service, Response Mapping toLogisticAddressDTO according to Datamodel changes
…or persisted data with new JPA pagination
…ted data, fixed logic on update of some entities
… to fetch from database instead, and changed pagination to use JPA Pagination
… removed a call to Saas when getting a single legalentity by externalId
1ff29a6
to
e4d7753
Compare
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.
Change to the site service is unnecessary in my opinion. Also, it tries to persist the site twice now.
Changed the fetch of legalentities to call persisted data instead of calling SaaS
Issues related: #153 and #154