summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMarc Koderer <marc@koderer.com>2014-08-07 14:13:28 +0200
committerMarc Koderer <marc@koderer.com>2014-08-15 08:45:11 +0200
commit32b221ff807ac5b13ba6b8405b99f61f03e61a5a (patch)
tree0c633fe0c37df233e1e0e633d543b9cb990b8c49 /etc
parent4f44d72d9c1006bb369f2530f0967dd3ac21d1c9 (diff)
downloadtempest-32b221ff807ac5b13ba6b8405b99f61f03e61a5a.tar.gz
Convert request schema (flavors)
Converts the all flavor schemas for negative testing into dict's. Change-Id: Ia1fbff86549a8268e46dfd73fcc21d23c653eda4 Partially-implements: bp api-schema-unification
Diffstat (limited to 'etc')
-rw-r--r--etc/schemas/compute/flavors/flavor_details.json8
-rw-r--r--etc/schemas/compute/flavors/flavor_details_v3.json6
-rw-r--r--etc/schemas/compute/flavors/flavors_list.json24
-rw-r--r--etc/schemas/compute/flavors/flavors_list_v3.json24
4 files changed, 0 insertions, 62 deletions
diff --git a/etc/schemas/compute/flavors/flavor_details.json b/etc/schemas/compute/flavors/flavor_details.json
deleted file mode 100644
index c16075c20..000000000
--- a/etc/schemas/compute/flavors/flavor_details.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "name": "get-flavor-details",
- "http-method": "GET",
- "url": "flavors/%s",
- "resources": [
- {"name": "flavor", "expected_result": 404}
- ]
-}
diff --git a/etc/schemas/compute/flavors/flavor_details_v3.json b/etc/schemas/compute/flavors/flavor_details_v3.json
deleted file mode 100644
index d1c107723..000000000
--- a/etc/schemas/compute/flavors/flavor_details_v3.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "name": "get-flavor-details",
- "http-method": "GET",
- "url": "flavors/%s",
- "resources": ["flavor"]
-}
diff --git a/etc/schemas/compute/flavors/flavors_list.json b/etc/schemas/compute/flavors/flavors_list.json
deleted file mode 100644
index eb8383be6..000000000
--- a/etc/schemas/compute/flavors/flavors_list.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "name": "list-flavors-with-detail",
- "http-method": "GET",
- "url": "flavors/detail",
- "json-schema": {
- "type": "object",
- "properties": {
- "minRam": {
- "type": "integer",
- "results": {
- "gen_none": 400,
- "gen_string": 400
- }
- },
- "minDisk": {
- "type": "integer",
- "results": {
- "gen_none": 400,
- "gen_string": 400
- }
- }
- }
- }
-}
diff --git a/etc/schemas/compute/flavors/flavors_list_v3.json b/etc/schemas/compute/flavors/flavors_list_v3.json
deleted file mode 100644
index d5388b388..000000000
--- a/etc/schemas/compute/flavors/flavors_list_v3.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "name": "list-flavors-with-detail",
- "http-method": "GET",
- "url": "flavors/detail",
- "json-schema": {
- "type": "object",
- "properties": {
- "min_ram": {
- "type": "integer",
- "results": {
- "gen_none": 400,
- "gen_string": 400
- }
- },
- "min_disk": {
- "type": "integer",
- "results": {
- "gen_none": 400,
- "gen_string": 400
- }
- }
- }
- }
-}