518dcf8bdb
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 |
||
---|---|---|
.. | ||
fixtures | ||
nodepool | ||
unit | ||
__init__.py | ||
base.py | ||
encrypt_secret.py | ||
fakegithub.py | ||
make_playbooks.py | ||
print_layout.py |