summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-07-17 13:24:16 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-07-17 13:24:16 +0000
commit0ef176c196db439e05026705450f691e678cdccd (patch)
tree63ba50f6d10753c054696fe055c55f13bfc79630
parentde723aed60a6a16aa8c8354b99ef7539a153fef7 (diff)
parentf0aa0e60a60ebc135edcb96e3774628402967ccf (diff)
downloadlorry-controller-0ef176c196db439e05026705450f691e678cdccd.tar.gz
Merge branch 'liw/ARCH-ls-troves'
Reviewed-by: Richard Maw Reviewed-by: Daniel Silverstone
-rw-r--r--ARCH7
1 files changed, 7 insertions, 0 deletions
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