File: json-schema-validation-0d22576bd556f4e0.yaml

package info (click to toggle)
cinder 2%3A17.0.1-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 36,796 kB
  • sloc: python: 395,277; pascal: 2,085; sh: 585; makefile: 111; xml: 26; sql: 5
file content (26 lines) | stat: -rw-r--r-- 963 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
other:
  - |
    Added schema validation support using jsonschema `[json-schema-validation]`_
    for all supported v3 APIs.

    Following APIs were accepting boolean parameters with leading and trailing
    white spaces (for e.g. " true "). But now with schema validation support,
    all these boolean parameters henceforth will not accept leading and trailing
    whitespaces to maintain consistency.

    * Generic volume groups:

      * delete group: "POST /v3/{project_id}/groups/{group_id}/action"

      * failover replication: "POST /v3/{project_id}/groups/{group_id}/action"
    * Volume Snapshots:

      * create a snapshot: "POST /v3/{project_id}/snapshots"
    * Volume_actions:

      * set bootable: "POST /v3/{project_id}/volumes/{volume_id}/action"

      * volume readonly update: "POST /v3/{project_id}/volumes/{volume_id}/action"

    .. _`[json-schema-validation]`: https://blueprints.launchpad.net/cinder/+spec/json-schema-validation