harvester-d4science/ckanext/harvest/logic/action
Stefan Oderbolz 8b081e2868 Add new parameter return_last_job_status to harvest_source_list
In order to get a quick overview over successful/failed harvesters, a
call to harvest_source_list with return_last_job_status=true can be used
to get this information.
By default return_last_job_status is False, and hence the extra
resources to grab this information is not wasted for every call, but
only if the client requests is explicitly.
The original 'status' field stays as-is, this PR introduces a new field
called 'last_job_status' to return this information.

The returned information is gather by a call to
harvest_source_status_show.
2016-08-25 17:56:51 +02:00
..
__init__.py [logic] Refactor logic layer to follow CKAN core conventions 2012-02-29 10:59:02 +00:00
create.py Merge branch 'factory-job' 2015-12-10 13:18:19 +00:00
delete.py A few more PEP8 changes taken from #174. 2015-11-03 22:12:49 +00:00
get.py Add new parameter return_last_job_status to harvest_source_list 2016-08-25 17:56:51 +02:00
patch.py Reflow text to 79 char width. Warning not necessary with an exception I think. 2015-11-13 12:32:13 +00:00
update.py New syntax for pysolr connection 2016-05-10 11:14:35 +00:00