nova/etc/nova
Eric Fried 1e907602e3 Allow versioned discovery unauthenticated
Make routes to the versioned discovery documents (/v2, /v2.1) go through
paste pipelines that don't require authentication, while leaving their
sub-URLs (/v2.1/servers etc) requiring authentication.

To make this work, our URLMap matcher gets support for a very
rudimentary wildcard syntax, whereby api-paste.ini can differentiate
between {/v2.1, /v2.1/} and /v2.1/$anything_else. The former points to
the unauthenticated discovery app pipeline; the latter points to the
existing "real API" pipeline. Similar for legacy v2.

This entails a slight behavior change: requests to /v2 and /v2.1 used to
302 redirect to /v2/ and /v2.1/, respectively. Now they just work.

Change-Id: Id47515017982850b167d5c637d93b96ae00ba793
Closes-Bug: #1845530
Closes-Bug: #1728732
2020-04-03 21:24:28 +00:00
..
rootwrap.d nova-net: Kill it 2020-01-14 21:25:56 +00:00
README-nova.conf.txt Fix broken URLs 2017-09-07 15:42:31 +02:00
README-policy.yaml.txt Remove an unused file and a related description 2019-09-13 10:33:32 +09:00
api-paste.ini Allow versioned discovery unauthenticated 2020-04-03 21:24:28 +00:00
logging_sample.conf Replace git.openstack.org URLs with opendev.org URLs 2019-04-24 13:59:57 +08:00
nova-config-generator.conf Merge "Summarize output of sample configuration generator" 2019-06-16 07:30:03 +00:00
nova-policy-generator.conf Add policy sample generation 2016-06-28 20:52:44 +00:00
release.sample Allow loading of product/vendor/package info from external file 2012-12-19 18:54:33 +00:00
rootwrap.conf Add /usr/local/{sbin,bin} to rootwrap exec_dirs 2016-02-15 14:08:24 +11:00