Expected minimum table_name length is 3 characters. However we can create table with table_name, that consists of 1 or 2 characters
2014-03-27 20:07:53,687 Request: POST http://localhost:8480/v1/default_tenant/data/tables
2014-03-27 20:07:53,687 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}
2014-03-27 20:07:53,687 Request Body: {"local_secondary_indexes": [{"key_schema": [{"key_type": "HASH", "attribute_name": "forum"}, {"key_type": "RANGE", "attribute_name": "last_posted_by"}], "index_name": "last_posted_by_index", "projection": {"projection_type": "ALL"}}], "key_schema": [{"key_type": "HASH", "attribute_name": "forum"}], "table_name": "qq", "attribute_definitions": [{"attribute_type": "S", "attribute_name": "forum"}, {"attribute_type": "S", "attribute_name": "subject"}, {"attribute_type": "S", "attribute_name": "last_posted_by"}]}
2014-03-27 20:07:55,545 Response Status: 200
2014-03-27 20:07:55,546 Response Headers: {'date': 'Thu, 27 Mar 2014 20:07:55 GMT', 'content-length': '896', 'content-type': 'application/json'}
2014-03-27 20:07:55,546 Response Body: {"table_description": {"key_schema": [{"key_type": "HASH", "attribute_name": "forum"}, {"key_type": "RANGE", "attribute_name": null}], "creation_date_time": 0, "links": [{"href": "http://localhost:8480/v1/default_tenant/data/tables/qq", "rel": "self"}, {"href": "http://localhost:8480/v1/default_tenant/data/tables/qq", "rel": "bookmark"}], "local_secondary_indexes": [{"index_size_bytes": 0, "key_schema": [{"key_type": "HASH", "attribute_name": "forum"}, {"key_type": "RANGE", "attribute_name": "last_posted_by"}], "index_name": "last_posted_by_index", "projection": {"projection_type": "ALL"}, "item_count": 0}], "table_name": "qq", "table_size_bytes": 0, "table_status": "ACTIVE", "attribute_definitions": [{"attribute_type": "S", "attribute_name": "last_posted_by"}, {"attribute_type": "S", "attribute_name": "forum"}, {"attribute_type": "S", "attribute_name": "subject"}], "item_count": 0}}
Change abandoned by Nuno Santos (<email address hidden>) on branch: master /review. openstack. org/125445
Review: https:/