[ckan-changes] [ckan/ckan] c84194: Introduces IDataPusher plugin

GitHub noreply at github.com
Wed Aug 12 11:39:24 UTC 2015


  Branch: refs/heads/datapusher-plugin
  Home:   https://github.com/ckan/ckan
  Commit: c84194cd55134880710b91dc40c50ea77c202b44
      https://github.com/ckan/ckan/commit/c84194cd55134880710b91dc40c50ea77c202b44
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-08-12 (Wed, 12 Aug 2015)

  Changed paths:
    A ckanext/datapusher/interfaces.py
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/plugin.py
    A ckanext/datapusher/tests/test_interfaces.py
    M setup.py

  Log Message:
  -----------
  Introduces IDataPusher plugin

This new plugin allows users to reject resources for submission,
and also to be notified once a datapush is complete.

The two methods in the interface are:

can_upload: which will abort datapusher_submit calls if they return
True.
after_upload: Called with the resource ID after the upload into the
datastore is complete.




More information about the ckan-changes mailing list