Closed
Milestone
Refactor Large HELIPORT apps
Large apps are refactored to allow work on already refactored apps by other people. Small apps are already manageable.
The following apps are large:
- cwl_execution
- gate_connection
- heliport
Refactoring means introducing the following structures:
- Extracting use cases into its own layer https://medium.com/@jairvercosa/business-logic-in-django-projects-7fe700db9b0a
- Extracting common ways of handling data into model managers and models
- Program against interfaces and intend to configure which implementation to use in settings.py if more than one implementation exists in the future
- Adding configurability in settings.py whenever it makes sense