Merge "Change v2.1 API status to CURRENT"

This commit is contained in:
Jenkins 2015-02-24 08:37:02 +00:00 committed by Gerrit Code Review
commit 10a7974b3a
4 changed files with 15 additions and 15 deletions

View File

@ -8,7 +8,7 @@
"rel": "self"
}
],
"status": "CURRENT",
"status": "SUPPORTED",
"updated": "2011-01-21T11:33:21Z"
},
{
@ -19,7 +19,7 @@
"rel": "self"
}
],
"status": "EXPERIMENTAL",
"status": "CURRENT",
"updated": "2013-07-23T11:33:21Z"
}
]

View File

@ -35,7 +35,7 @@ LINKS = {
VERSIONS = {
"v2.0": {
"id": "v2.0",
"status": "CURRENT",
"status": "SUPPORTED",
"updated": "2011-01-21T11:33:21Z",
"links": [
{
@ -53,7 +53,7 @@ VERSIONS = {
},
"v2.1": {
"id": "v2.1",
"status": "EXPERIMENTAL",
"status": "CURRENT",
"updated": "2013-07-23T11:33:21Z",
"links": [
{

View File

@ -8,7 +8,7 @@
"rel": "self"
}
],
"status": "CURRENT",
"status": "SUPPORTED",
"updated": "2011-01-21T11:33:21Z"
},
{
@ -19,7 +19,7 @@
"rel": "self"
}
],
"status": "EXPERIMENTAL",
"status": "CURRENT",
"updated": "2013-07-23T11:33:21Z"
}
]

View File

@ -44,7 +44,7 @@ EXP_LINKS = {
EXP_VERSIONS = {
"v2.0": {
"id": "v2.0",
"status": "CURRENT",
"status": "SUPPORTED",
"updated": "2011-01-21T11:33:21Z",
"links": [
{
@ -62,7 +62,7 @@ EXP_VERSIONS = {
},
"v2.1": {
"id": "v2.1",
"status": "EXPERIMENTAL",
"status": "CURRENT",
"updated": "2013-07-23T11:33:21Z",
"links": [
{
@ -97,7 +97,7 @@ class VersionsTestV20(test.NoDBTestCase):
expected = [
{
"id": "v2.0",
"status": "CURRENT",
"status": "SUPPORTED",
"updated": "2011-01-21T11:33:21Z",
"links": [
{
@ -107,7 +107,7 @@ class VersionsTestV20(test.NoDBTestCase):
},
{
"id": "v2.1",
"status": "EXPERIMENTAL",
"status": "CURRENT",
"updated": "2013-07-23T11:33:21Z",
"links": [
{
@ -138,7 +138,7 @@ class VersionsTestV20(test.NoDBTestCase):
expected = {
"version": {
"id": "v2.0",
"status": "CURRENT",
"status": "SUPPORTED",
"updated": "2011-01-21T11:33:21Z",
"links": [
{
@ -186,7 +186,7 @@ class VersionsTestV20(test.NoDBTestCase):
"choices": [
{
"id": "v2.0",
"status": "CURRENT",
"status": "SUPPORTED",
"links": [
{
"href": "http://localhost/v2/images/1",
@ -203,7 +203,7 @@ class VersionsTestV20(test.NoDBTestCase):
},
{
"id": "v2.1",
"status": "EXPERIMENTAL",
"status": "CURRENT",
"links": [
{
"href": "http://localhost/v2.1/images/1",
@ -245,7 +245,7 @@ class VersionsTestV20(test.NoDBTestCase):
"choices": [
{
"id": "v2.0",
"status": "CURRENT",
"status": "SUPPORTED",
"links": [
{
"href": "http://localhost/v2/servers/" + uuid,
@ -262,7 +262,7 @@ class VersionsTestV20(test.NoDBTestCase):
},
{
"id": "v2.1",
"status": "EXPERIMENTAL",
"status": "CURRENT",
"links": [
{
"href": "http://localhost/v2.1/servers/" + uuid,