Skip to content

Add Unit Tests, Refactor Code, Remove Location Caching

Julian Menzler requested to merge julian/remove_location_caching into main

Fixes #27 (closed)

Domain object Location:

  • Changes constructor to only require coordinates, all other attributes become optional
  • Streamlines naming of functions
  • Removes superfluous code
  • Moved into models.py
  • Tests are added in test_models.py

Locations REST service:

  • Removes caching logic
  • Becomes configurable in terms of connection string, database & collection names
  • Tests are added in test_locations.py
  • Does no longer forward all private emails to the Frontend
Edited by Julian Menzler

Merge request reports