zuul/zuul/driver
Monty Taylor 9010dc50f4
Remove .json suffix from web routes
For the existing simple cases, like builds, jobs and status, having the json
suffix is a perfectly reasonable thing. However, in the next patch it starts
to get weird. When we add support for specific changes or specific jobs, we
we grow URLs like:

  /openstack/status.json
  /openstack/status/change/537010,2.json

Those read weird, because change/537010,2 is much more like an argument or
specialiation of status. The thing that reads weird is the status call having
 .json but the change-specific call just being status/, not
the trailing .json on the change url.

Removing the json suffix gets us:

  /openstack/status
  /openstack/status/change/537010,2

which feels better as the status portion of the url remains consistent.

This is done first in the stack so that as we add tests for new
endpoints we can get them right the first time rather than having a big
rename patch at the end (which is what this started as)

Change-Id: I4baf33fdacaf46943fbd192743551bb27bd618de
2018-02-19 09:27:31 -06:00
..
bubblewrap Add /etc/alternatives to bwrap 2017-08-31 10:10:38 -07:00
gerrit Merge "Support autoholding nodes for specific changes/refs" 2018-02-10 08:17:38 +00:00
git Support autoholding nodes for specific changes/refs 2018-02-08 19:26:08 +01:00
github Merge "Fix AttributeError when handle periodic job with github driver" 2018-02-11 02:03:36 +00:00
nullwrap Write secrets to tmpfs 2017-08-19 08:08:19 -07:00
smtp Fix for pep8 E722 and ignore E741 2017-10-23 10:50:32 -07:00
sql Remove .json suffix from web routes 2018-02-19 09:27:31 -06:00
timer Optionally limit github to protected branches 2017-08-03 11:50:26 +02:00
zuul Support cross-source dependencies 2018-01-16 09:37:40 -08:00
__init__.py Write secrets to tmpfs 2017-08-19 08:08:19 -07:00
util.py Add driver-specific pipeline requirements 2017-05-19 13:24:00 -07:00