janus-ssp / janus

Fully featured metadata registration administration module built on top of simpleSAMLphp.
Other
13 stars 8 forks source link

Ability to push metadata to an external URL #535

Closed relaxnow closed 9 years ago

relaxnow commented 9 years ago

https://github.com/OpenConext/OpenConext-engineblock would like to receive new metadata as soon as editors have deemed it ready. To this end I would like to request a button "Publish to remote systems" be added to the dashboard. Publishing may be restricted to a plain HTTP POST to a (Basic Auth protected) URL. The data that should be sent is all the data that the new REST API returns on a GET /connections.json.

relaxnow commented 9 years ago

Note that the publishing MUST report on it's status, if the remote system gave a non-200 code it should inform the user that publishing failed.

relaxnow commented 9 years ago

Also a new REST (v2) API endpoint called /publish MAY be added (would be nice).

relaxnow commented 9 years ago

Fixed with https://github.com/janus-ssp/janus/commit/91125073158ecd3b9d15e9eeb5cdce6c0dcc6630