Trove/list-datastore-type-and-versions
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" }, { "id": "e00000e0-00e0-0e00-00e0-000e000000ee", "links": [ …….. ], "name": "MySQL 5.5" } { "id": "100000e0-00e0-0e00-00e0-000e000000ff", "links": [ …….. ], "name": "Redis 2.8" } ] }