summaryrefslogtreecommitdiff
path: root/lorry-controller-webapp
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2020-05-06 22:45:42 +0100
committerBen Hutchings <ben.hutchings@codethink.co.uk>2020-06-01 15:26:47 +0100
commit14eac038d2fa7ac4845135a827ca8c2f2bab559c (patch)
tree516737a7c9f8bc176fee1f5e3b4ec4dd28ce9550 /lorry-controller-webapp
parent5963f66a434d49a4a6e8dfc02cfe256c88d1e1e6 (diff)
downloadlorry-controller-14eac038d2fa7ac4845135a827ca8c2f2bab559c.tar.gz
Update terminology for hosts in internal APIs and web templates
This is intended to replace all uses of "Trove" that should really be "Downstream Host" or "Upstream Host", except in the database schema and the REST API (which will probably change later). * ARCH: Update example code to reflect API name change * yarns.webapp: Update test descriptions and uses of internal APIs * units: Update and rename the ls-troves units (although they still use the ls-troves endpoint for now) Some references that really are specific to Trove integration are retained. Related to #3.
Diffstat (limited to 'lorry-controller-webapp')
-rwxr-xr-xlorry-controller-webapp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lorry-controller-webapp b/lorry-controller-webapp
index c73333a..4c58f16 100755
--- a/lorry-controller-webapp
+++ b/lorry-controller-webapp
@@ -94,12 +94,12 @@ class WEBAPP(cliapp.Application):
default='0.0.0.0')
self.settings.string_list(
- ['debug-fake-trove'],
- 'fake access to remote Troves (to do gitano ls, etc) '
- 'using local files: get ls listing for TROVE from $PATH, '
+ ['debug-fake-upstream-host'],
+ 'fake access to Upstream Hosts (to do gitano ls, etc) '
+ 'using local files: get ls listing for HOST from $PATH, '
'where PATH names a file in JSON with the necessary info; '
'may be used multiple times',
- metavar='TROVE=PATH')
+ metavar='HOST=PATH')
self.settings.string(
['templates'],