diff options
author | Monty Taylor <mordred@inaugust.com> | 2018-01-23 12:51:26 -0600 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2018-02-19 09:31:13 -0600 |
commit | 518dcf8bdba9c5c22711297395c4a9cb4e0c644d (patch) | |
tree | 24d8f8db77942bc27c2733797d1ce2fa4d6fd58e /tools/test-logs.sh | |
parent | 9db66082d33116fe54b970ae2aa0b61a5241a106 (diff) | |
download | zuul-518dcf8bdba9c5c22711297395c4a9cb4e0c644d.tar.gz |
Add /info and /{tenant}/info route to zuul-web
There are a few pieces of information that are useful to know in the web
layer.
websocket_url is a config setting that, if set, is needed by the
console streaming. We currently pass this in appended to the streaming
url as a url parameter (which since it's a URL is a bit extra odd)
The endpoint is normally relative to the webapp,
but may need to be overridden in cases like publishing the html and
javascript to a disconnected location such as the draft output into the
log server in openstack or publishing built html/javascript to swift.
Add WebInfo and TenantWebInfo objects and corresponding /info and
/{tenant}/info routes. As an alternative, we could collapse WebInfo
and TenantWebInfo to just WebInfo and leave the tenant field set to None
for the /info route.
Some of the API functions are optionally provided by
plugins. The github plugin provides webhook URLs and the SQLReporter
plugin is needed for the builds endpoints. Add a Capabilities object
that can report on the existance of such things and pass it to plugin
route registration so that capabilities can be registered.
Add support for configuring stats_url
The old zuul status page had sparklines and other graphs on it, which
are not present in the current one because the graphite server wasn't
parameterized.
Add a config setting allowing a URL to a graphite server to be set and
expose that in the /info endpoint. Since statsd itself can emit to multiple
different backends, add a setting for the type of server, defaulting to
graphite.
Change-Id: I606a3b2cdf03cb73aa3ffd69d9d64c171b23b97a
Diffstat (limited to 'tools/test-logs.sh')
0 files changed, 0 insertions, 0 deletions