File: optional_project_id-6aebf1cb394d498f.yaml

package info (click to toggle)
nova 2:14.0.0-4+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 33,804 kB
  • sloc: python: 315,557; sh: 1,317; xml: 1,184; pascal: 1,168; makefile: 126; sql: 43
file content (16 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
features:

  - Provides API 2.18, which makes the use of project_ids in API urls
    optional.

upgrade:

  - In order to make project_id optional in urls, we must constrain
    the set of allowed values for project_id in our urls. This
    defaults to a regex of ``[0-9a-f\-]+``, which will match hex uuids
    (with / without dashes), and integers. This covers all known
    project_id formats in the wild.

    If your site uses other values for project_id, you can set a site
    specific validation with ``project_id_regex`` config variable.