Consolidate use of ORM
As a prerequisite for implementing authentication/
Blueprint information
- Status:
- Complete
- Approver:
- John Tarter
- Priority:
- Undefined
- Drafter:
- Lars Butler
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Mattia Barbon
- Completed by
- Muharem Hrnjadovic
Related branches
Related bugs
Sprints
Whiteboard
In order to do away with the use of 2 different ORM frameworks (switching to Django ORM only), the following pieces of work need to be completed:
1) Convert existing SQLAlchemy models (openquake/
2) Update DB loader code (in openquake/
3) Update DB serialization code for calculation artifacts to use Django ORM.
4) Complete the model code implementation to properly mirror the OpenQuake database. *
* This work may not be necessary right away. The first 2 conversion steps are much more important.
Work Items
Dependency tree
* Blueprints in grey have been implemented.