Change v2.1 API status to CURRENT
Most v2.1 API patches are merged and the v2.1 API gate jobs are stable now. This patch changes v2.1 API status to CURRENT from EXPERIMENTAL, and does v2 one to SUPPORTED for making developers concentrate on v2.1 API instead of v2 API. We will replace /v2 endpoint with v2.1 code because users will be able to continue using /v2 endpoint without any changes, and /v2 endpoint status becomes CURRENT -> SUPPORTED -> CURRENT Partially implements blueprint v2-on-v3-api Change-Id: I2c5e6612db4a792f1950f53c0bc69617e47b0fff Depends-On: I8e63a684093dfe3a643c07b20e8080c1e950ed5a
This commit is contained in:
parent
1c55f5a89a
commit
c2d863578a
|
@ -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"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -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": [
|
||||
{
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue