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

Ian Ward noreply at github.com
Thu Jun 27 13:04:36 UTC 2019


  Branch: refs/heads/master
  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.


  Commit: 3f532428d137c60f27410628675fcd2638212430
      https://github.com/ckan/ckan/commit/3f532428d137c60f27410628675fcd2638212430
  Author: amercader <amercadero at gmail.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    M doc/maintaining/configuration.rst

  Log Message:
  -----------
  [#4878] [#4878] Fix docs heading


  Commit: f3f7e97a1470693eb45757d51f30b58bc2706929
      https://github.com/ckan/ckan/commit/f3f7e97a1470693eb45757d51f30b58bc2706929
  Author: Ian Ward <ian at excess.org>
  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:
  -----------
  Merge pull request #4879 from ckan/4878-custom-datapusher-callback-url

[#4878] Allow custom CKAN callback URL for the DataPusher


Compare: https://github.com/ckan/ckan/compare/f6adcaa5bf4a...f3f7e97a1470



More information about the ckan-changes mailing list