Commit Graph

4 Commits

Author SHA1 Message Date
ghanshyam de03b832ad Merge server create schema for user data extension
As nova extensions has been deprecated already and goal is to
merge all scattered code into main controller side.
Currently schema and request/response extended code are there
among all extensions.

This commit merge the schema part of create server for user data
extensions.

Also this commit removes the logic of appending the extensions
schema as this is the last extensions schema to merge.

Partially implements: blueprint api-extensions-merge-rocky

Change-Id: I692a048b3a8da4e912e000b47da977dda466348b
2018-06-27 18:03:18 +03:00
Matt Riedemann d43d1d6734 Move user_data max length check to schema
We've had a hard-coded limit on the size of user_data
since 4d350dc82e in Folsom.

This simply moves that check to the request API schema
where it belongs.

Change-Id: I2b8371a5ec99997626121a00ecf83f04b67bbdd9
2017-10-09 18:22:17 -04:00
He Jie Xu 22c87390a3 Enable 'null' value for user_data in V2.1 API
The legacy v2 API allow the 'null' value for user_data. Unfortunately
the v2.1 API didn't match that in the input validation. This patch
enables 'null' value, at sametime, it enables for v2.1 compat mode
also.

Change-Id: Iae614035efd4b37c214754ad12b17ca224b8fd92
Closes-Bug: #1582911
2016-05-20 14:05:43 +08:00
He Jie Xu 3e032fd45b Remove 'v3' directory for v2.1 json-schemas
This is step 4 of the remove v3 process. It moves the v2.1
json-schemas out of v3 directory, and also corrects all the
references.

Change-Id: Ibf88c38df951ed755b7431846cca7496f861c1dd
Partial-Bug: #1462901
2015-08-13 09:58:48 +08:00