diff options
author | Zuul <zuul@review.opendev.org> | 2019-12-19 16:00:40 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-12-19 16:00:40 +0000 |
commit | 2656c90285508481ccc6c2c20796154ebf9af7dc (patch) | |
tree | f37143203284f7184a4e1dca174e95853d68477f /api-ref/source | |
parent | 72524f9d856dd715242d9d96116f8238a95c048b (diff) | |
parent | 75b9b686b1c4fa2be1be00ef390035da01e331eb (diff) | |
download | trove-2656c90285508481ccc6c2c20796154ebf9af7dc.tar.gz |
Merge "Show service_status_updated in instance API"
Diffstat (limited to 'api-ref/source')
-rw-r--r-- | api-ref/source/database-instances.inc | 1 | ||||
-rwxr-xr-x | api-ref/source/parameters.yaml | 7 | ||||
-rw-r--r-- | api-ref/source/samples/db-instance-status-detail-response.json | 5 |
3 files changed, 11 insertions, 2 deletions
diff --git a/api-ref/source/database-instances.inc b/api-ref/source/database-instances.inc index fa48ecb6..41c1e09f 100644 --- a/api-ref/source/database-instances.inc +++ b/api-ref/source/database-instances.inc @@ -179,6 +179,7 @@ Response Parameters - ip: instance_ip_address - created: created - updated: updated + - service_status_updated: service_status_updated - fault: instance_fault - fault.message: instance_fault_message - fault.created: instance_fault_created diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index 293aa9a6..c0e4a852 100755 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -702,6 +702,13 @@ server_id: in: body required: false type: string +service_status_updated: + description: | + The date and time when the database service status was updated. This field + can be used to validate if the 'HEALTHY' status is stale or not. + in: body + required: true + type: string shard_id: description: | The shard ID of an instance. diff --git a/api-ref/source/samples/db-instance-status-detail-response.json b/api-ref/source/samples/db-instance-status-detail-response.json index d69ed5df..64828e80 100644 --- a/api-ref/source/samples/db-instance-status-detail-response.json +++ b/api-ref/source/samples/db-instance-status-detail-response.json @@ -1,6 +1,6 @@ { "instance": { - "created": "2014-10-30T12:30:00", + "created": "2019-12-14T08:08:22", "datastore": { "type": "mysql", "version": "5.5" @@ -32,8 +32,9 @@ ], "name": "json_rack_instance", "region": "RegionOne", + "service_status_updated": "2019-12-14T08:51:58", "status": "HEALTHY", - "updated": "2014-10-30T12:30:00", + "updated": "2019-12-14T08:08:30", "volume": { "size": 2, "used": 0.16 |