diff options
-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 |