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.
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.