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

Refactoring: Reorganize Legal Entity DTOs between modules #662

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

martinfkaeser
Copy link
Contributor

@martinfkaeser martinfkaeser commented Nov 30, 2023

The DTOs related to legal entities were refactored, making sure all its data classes are located in the appropriate API modules (gate-api, pool-api and orchestrator-api). Common interfaces are used whenever possible.

This meant splitting up and adjusting some DTOs for the different modules which were formerly in the common module.
Some properties which for a specific module are always used besides LegalEntityDto were directly added: in the Pool legalName; in the Gate legalNameParts and roles.

I decided that the verbose DTOs should not be part of the normal interface hierarchy because this would add a lot more complexity and the verbose DTOs are only used in the Pool.

This is another step towards #570

@nicoprow nicoprow merged commit 3b5407b into eclipse-tractusx:main Dec 5, 2023
8 checks passed
@nicoprow nicoprow deleted the refactor/LegalEntityDTOs branch December 5, 2023 10:52
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.

2 participants