Difference between revisions of "Trove/list-datastore-type-and-versions"
< Trove
Line 32: | Line 32: | ||
], | ], | ||
"name": "MySQL 5.1" | "name": "MySQL 5.1" | ||
+ | "manager": "mysql" | ||
}, | }, | ||
{ | { | ||
Line 39: | Line 40: | ||
], | ], | ||
"name": "MySQL 5.5" | "name": "MySQL 5.5" | ||
+ | "manager": "mysql" | ||
} | } | ||
{ | { | ||
Line 46: | Line 48: | ||
], | ], | ||
"name": "Redis 2.8" | "name": "Redis 2.8" | ||
+ | "manager": "redis" | ||
} | } | ||
] | ] |
Revision as of 15:04, 25 April 2014
Contents
Description
This blueprint will add an API call for retrieving datastore type and version in a single call.
Blueprint:
Justification/Benefits
- Instead of making n+1 calls, this API call will fetch datastore type and version in a single call
- This call can vastly improve the user experience for retrieving all the supported datastore types and versions
Impacts
Configuration
None
Database
No impact
ReST API
New API call: List All Datastore Types & Versions
Request
GET/{tenant_id}/datastoreandversions
Response
{ "datastores": [ { "id": "10000000-0000-0000-0000-000000000001", "links": [ …… ], "name": "MySQL 5.1" "manager": "mysql" }, { "id": "e00000e0-00e0-0e00-00e0-000e000000ee", "links": [ …….. ], "name": "MySQL 5.5" "manager": "mysql" } { "id": "100000e0-00e0-0e00-00e0-000e000000ff", "links": [ …….. ], "name": "Redis 2.8" "manager": "redis" } ] }