gem/openquake — pull request #630 by larsbutler (2012-01-06 17:32:42+00:00)
Title: Engine API: import_job_profile

This if the first pull request for https://bugs.launchpad.net/openquake/+bug/910068.

This branch implements the import_job_profile API function. The purpose of this function is to take a path to a config file, suck in the entire configuration profile (logic trees and all) and save it to the database. The function then returns an OqJobProfile, which then be used to a launch a calculation. (Note: The API function is not yet used in production; some refactoring is still required to get that to work.)

The next patch will implement the engine.run_calc API function.

All prior mixin-removal related branches should land first.