From f0aa0e60a60ebc135edcb96e3774628402967ccf Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 17 Jul 2014 13:24:01 +0000 Subject: Add ls-troves and force-ls-troves to ARCH --- ARCH | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ARCH b/ARCH index 23d32d1..d2d81ad 100644 --- a/ARCH +++ b/ARCH @@ -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 -- cgit v1.2.1