[ckan-changes] [ckan/ckan] 02f80e: [#4878] Allow custom CKAN callback URL for the Dat...

Adrià Mercader noreply at github.com
Thu Jun 27 12:14:06 UTC 2019


  Branch: refs/heads/4878-custom-datapusher-callback-url
  Home:   https://github.com/ckan/ckan
  Commit: 02f80e1434a5aa80d626f95fba916c8a38a921ea
      https://github.com/ckan/ckan/commit/02f80e1434a5aa80d626f95fba916c8a38a921ea
  Author: amercader <amercadero at gmail.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/tests/test.py
    M doc/maintaining/configuration.rst

  Log Message:
  -----------
  [#4878] Allow custom CKAN callback URL for the DataPusher

The DataPusher pings back CKAN when performing or finishing
a job (calling the datapusher_hook action), and it does so
via an HTTP request to the host defined in ckan.site_url.

There are a number of scenarios where this does not work, eg:

* CKAN and DataPusher sitting behind a Firewall that doesn't
  allow external requests
* Standard Docker compose setup for development where the
  ckan.site_url is http://localhost:5000 or similar

This change adds a new config option that allows to define an
alternative internal URL that DataPusher can reach.




More information about the ckan-changes mailing list