zuul/zuul
Monty Taylor 518dcf8bdb
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
2018-02-19 09:31:13 -06:00
..
ansible Fix broken fail_json in zuul_console 2018-02-12 09:02:46 +01:00
cmd Add /info and /{tenant}/info route to zuul-web 2018-02-19 09:31:13 -06:00
connection Add /info and /{tenant}/info route to zuul-web 2018-02-19 09:31:13 -06:00
driver Add /info and /{tenant}/info route to zuul-web 2018-02-19 09:31:13 -06:00
execution_context Add wrapper driver execution context 2017-08-18 16:35:12 -07:00
executor Merge "Add host/group vars" 2018-02-16 21:27:19 +00:00
lib Merge "Move github webhook from webapp to zuul-web" 2018-02-03 00:16:44 +00:00
manager Add ConfigLoader initializer 2018-02-16 17:40:38 -08:00
merger Merge "Set remote url on every getRepo in merger" 2018-02-15 21:08:06 +00:00
reporter Move status_url from webapp to web section 2018-01-29 14:16:28 +01:00
source Support cross-source dependencies 2018-01-16 09:37:40 -08:00
sphinx Add zuul-sphinx as a requirement 2017-08-07 14:56:17 -07:00
trigger Remove use of six library 2017-06-19 10:34:57 -05:00
web Add /info and /{tenant}/info route to zuul-web 2018-02-19 09:31:13 -06:00
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
change_matcher.py Fix implied branch matchers and tags 2017-12-01 15:54:24 -08:00
configloader.py Re-enable test of returning 404 on unknown tenant 2018-02-19 09:31:13 -06:00
exceptions.py Support post jobs by supporting rev checkout 2016-07-12 12:51:51 +10:00
model.py Add /info and /{tenant}/info route to zuul-web 2018-02-19 09:31:13 -06:00
nodepool.py Fix stuck node requests across ZK reconnection 2018-02-06 15:40:28 -08:00
rpcclient.py Support autoholding nodes for specific changes/refs 2018-02-08 19:26:08 +01:00
rpclistener.py Support autoholding nodes for specific changes/refs 2018-02-08 19:26:08 +01:00
scheduler.py Re-enable test of returning 404 on unknown tenant 2018-02-19 09:31:13 -06:00
version.py Migrate to pbr. 2013-06-25 19:04:30 +00:00
zk.py Better exception handling during autohold 2017-10-13 11:26:45 -04:00