2014-03-28 07:07:28,500 Request: POST http://localhost:8480/v1/default_tenant/data/tables
2014-03-28 07:07:28,501 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}
2014-03-28 07:07:28,501 Request Body: {"key_schema": [{"key_type": "HASH", "attribute_name": "forum"}, {"key_type": "RANGE", "attribute_name": "subject"}], "table_name": "testtempest1520393759", "attribute_definitions": [{"attribute_type": "S", "attribute_name": "forum"}, {"attribute_type": "S", "attribute_name": "subject"}]}
2014-03-28 07:07:29,921 Response Status: 200
2014-03-28 07:07:29,921 Response Headers: {'date': 'Fri, 28 Mar 2014 07:07:29 GMT', 'content-length': '622', 'content-type': 'application/json'}
2014-03-28 07:07:29,921 Response Body: {"table_description": {"key_schema": [{"key_type": "HASH", "attribute_name": "forum"}, {"key_type": "RANGE", "attribute_name": "subject"}], "creation_date_time": 0, "links": [{"href": "http://localhost:8480/v1/default_tenant/data/tables/testtempest1520393759", "rel": "self"}, {"href": "http://localhost:8480/v1/default_tenant/data/tables/testtempest1520393759", "rel": "bookmark"}], "table_name": "testtempest1520393759", "table_size_bytes": 0, "table_status": "ACTIVE", "attribute_definitions": [{"attribute_type": "S", "attribute_name": "forum"}, {"attribute_type": "S", "attribute_name": "subject"}], "item_count": 0}}
Reviewed: https:/ /review. openstack. org/131546 /git.openstack. org/cgit/ stackforge/ magnetodb/ commit/ ?id=3b1899ee019 a3216ae18f97484 7e05bd52fe0c2e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3b1899ee019a321 6ae18f974847e05 bd52fe0c2e
Author: Nuno Santos <email address hidden>
Date: Wed Oct 29 12:22:50 2014 -0400
Record and retrieve table creation timestamp
Extend the magnetodb. table_info table with an additional date_time" column to store the creation timestamp of each table.
"creation_
Return the creation timestamp in relevant REST API calls.
For consistency, renamed the last_updated column to last_update_ time_date.
Closes-Bug: #1298814
Change-Id: I02b920b8665290 27655802c4d880f 7557329824a