Option to specify engine output destination
Bug #797761 reported by
Lars Butler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
Undecided
|
Mattia Barbon |
Bug Description
We should be able to tell the engine where calculation results should go (XML files vs. DB). For starters, this could be implemented as a command line option (--output=db or --output=xml).
Changed in openquake: | |
status: | New → Confirmed |
tags: | added: sys-quality |
Changed in openquake: | |
status: | Confirmed → In Progress |
assignee: | nobody → Mattia Barbon (mattia.barbon) |
Changed in openquake: | |
milestone: | none → 0.4.1 |
Changed in openquake: | |
status: | In Progress → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Solution outline:
- allow creating uiapi.oq_job without a corresponding upload params. upload_ id column nullable
* make the uiapi.oq_
* make the uiapi.oq_job.path column nullable
- add an output_type parameter to bin/openquake
- when loading a job from file with output_type=db, create a new uiapi.oq_job, with the corresponding oq_params
* for now always use the 'openquake' user, requires integrating with the authentication blueprint
- for each artifact type, add the code to serialize to DB