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 - Fetch of input data from the persistence layer (Logistic Address + Legal Entities) #184

Conversation

cezaralexandremorais
Copy link
Contributor

@cezaralexandremorais cezaralexandremorais commented May 23, 2023

Changed the fetch of legalentities to call persisted data instead of calling SaaS
Issues related: #153 and #154

@alexsilva-CGI alexsilva-CGI force-pushed the feat/persistence_query_input_legalentities branch from 07035cb to 11c253e Compare May 24, 2023 08:41
Copy link
Contributor

@nicoprow nicoprow left a 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.

@alexsilva-CGI alexsilva-CGI force-pushed the feat/persistence_query_input_legalentities branch 2 times, most recently from ad6c334 to 53ef57e Compare May 29, 2023 10:27
@cezaralexandremorais cezaralexandremorais changed the title Feat/persistence query input legalentities Feat - Fetch of input data from the persistence layer (Logistic Address + Legal Entities) May 29, 2023
@alexsilva-CGI alexsilva-CGI force-pushed the feat/persistence_query_input_legalentities branch from 0a7873b to 1ff29a6 Compare May 29, 2023 14:19
alexsilva-CGI and others added 14 commits May 30, 2023 10:25
…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
…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
@alexsilva-CGI alexsilva-CGI force-pushed the feat/persistence_query_input_legalentities branch from 1ff29a6 to e4d7753 Compare May 30, 2023 09:38
Copy link
Contributor

@nicoprow nicoprow left a 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.

@nicoprow nicoprow merged commit 3864433 into eclipse-tractusx:main May 30, 2023
@nicoprow nicoprow deleted the feat/persistence_query_input_legalentities branch May 30, 2023 10:55
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