diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-07-17 13:24:01 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-07-17 13:24:01 +0000 |
commit | f0aa0e60a60ebc135edcb96e3774628402967ccf (patch) | |
tree | 63ba50f6d10753c054696fe055c55f13bfc79630 | |
parent | de723aed60a6a16aa8c8354b99ef7539a153fef7 (diff) | |
download | lorry-controller-f0aa0e60a60ebc135edcb96e3774628402967ccf.tar.gz |
Add ls-troves and force-ls-troves to ARCH
-rw-r--r-- | ARCH | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -303,6 +303,13 @@ Other requests: * `POST /1.0/read-configuration` causes WEBAPP to update its copy of CONFGIT and update STATEDB based on the new configuration, if it has changed. Returns OK/ERROR status. (RC/ADD, RC/RM, RC/START) +* `POST /1.0/ls-troves` causes WEBAPP to refresh its list of + repositories in each remote Trove, if the current list is too old + (see the `ls-interval` setting for each remote trove in + `lorry-controller.conf`). This gets called from a systemd timer unit + at a suitable interval. +* `POST /1.0/force-ls-troves` causes the repository refresh to happen + for all remote Troves, regardless of whether it is due or not. * `GET /1.0/status-html` causes WEBAPP to return an HTML page that describes the state of Lorry Controller. This also updates an on-disk copy of the HTML page, which the web server is configured to |