Add artifact_group models and REST API to icebox
Bug #1233697 reported by
Lars Butler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Platform |
Fix Committed
|
High
|
Lars Butler |
Bug Description
Two new DB tables:
artifact_group:
- id
- name
- group_type ("map", "calculation", etc.)
- user_id (FK to Django User table)
artifact_
- id
- artifact_id (FK to icebox's Artifact table)
- artifact_group_id (FK to icebox's ArtifactGroup table)
Two new REST API methods:
- GET /icebox/
- optional group_type=
- GET /icebox/
The POST /icebox/
- create an artifact_group with group_type=
- create an artifact record also for the calculation summary json blob
description: | updated |
Changed in oq-platform: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Lars Butler (lars-butler) |
To post a comment you must log in.
Pull request: https:/ /github. com/gem/ oq-platform/ pull/98