Relabelling API version to 1.0!

This commit is contained in:
Salvatore Orlando 2011-08-04 17:42:23 +01:00
parent 4819574b66
commit ca1098c75c
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ bind_port = 9696
[composite:quantum] [composite:quantum]
use = egg:Paste#urlmap use = egg:Paste#urlmap
/: quantumversions /: quantumversions
/v0.1: quantumapi /v1.0: quantumapi
[app:quantumversions] [app:quantumversions]
paste.app_factory = quantum.api.versions:Versions.factory paste.app_factory = quantum.api.versions:Versions.factory

View File

@ -31,11 +31,11 @@ class Versions(wsgi.Application):
"""Respond to a request for all Quantum API versions.""" """Respond to a request for all Quantum API versions."""
version_objs = [ version_objs = [
{ {
"id": "v0.1", "id": "v1.0",
"status": "CURRENT", "status": "CURRENT",
}, },
{ {
"id": "v1.0", "id": "v1.1",
"status": "FUTURE", "status": "FUTURE",
}, },
] ]