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

Nav 104 simplify reduce return value for iso line rest api endpoint #75

Conversation

clukas1
Copy link
Member

@clukas1 clukas1 commented Jul 1, 2024

Did some refactoring of the API endpoints to allow smaller dtos for iso lines. The old return value for only the zürich tram network was 3 MB and is now done to 100 kB.

Some refactoring and more tests. I've introduced (a probably overkill) DummyService instead of mockito for the routing controller tests, the advantage being that we get more realistic return values for testing (although this might just be testing the dummyservice), however I think this might also be good when we start improving our error handling/reporting through the REST API.

@clukas1 clukas1 added the enhancement New feature or request label Jul 1, 2024
@clukas1 clukas1 requested review from munterfi and Brunner246 July 1, 2024 21:11
@clukas1 clukas1 self-assigned this Jul 1, 2024
@munterfi munterfi merged commit afd3db0 into main Jul 5, 2024
2 checks passed
@munterfi munterfi deleted the NAV-104-Simplify-reduce-return-value-for-Iso-Line-REST-API-Endpoint branch July 5, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants