)]}'
{"specs/juno/metadata-schema-catalog.rst":[{"author":{"_account_id":11299,"name":"murali sundar","email":"murali.sundar@gmail.com"},"change_message_id":"0eb737c4daec84ef0fa7b2e351cefc35908ad85b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"1ae5cdf2_845a914e","updated":"2014-06-12 06:54:35.000000000","message":"It will be very useful to allow properties to exist at the namespace level. It will cover many cases in openstack where the metadata is a simple key-value, i.e., no object and such. \n\nWith the proposed change to allow properties at the namespace level we\u0027ll support the three types of metadata that exist in openstack today.\n\nTags -- strings --\u003e Maps to current usage of tags in openstack \n\nProperties -- simple properties like string, int, etc., with JSON schema constraints --\u003e Maps to current usage of key-value pairs in openstack\n\nObjects – collections of properties --\u003e  Maps to current usage of certain key value pairs that always occur in sets.\n\nchanges needed o support this concept.\n \nRename the table that stores properties that go into objects as ‘object_properties’\n \nCREATE TABLE `object_properties` (\n    `id`                                   int(11) NOT NULL AUTO_INCREMENT,\n    `name`                            varchar(80) NOT NULL,\n    `schema`                         text,\n    `object_id`                      int(11) NOT NULL\n  )\n \nCreate another table called ‘namespace_properties’ for properties that exist at the namespace level.\n \nCREATE TABLE `namespace_properties` ( \n    `id`                                   int(11) NOT NULL AUTO_INCREMENT,\n    `name`                            varchar(80) NOT NULL,\n    `schema`                         text,\n    `namespace_id`            int(11) NOT NULL\n  )\n\nUpdate CRUD APIs accordingly.","commit_id":"6ae56e94a2eab891aa64474d0941a37b5ef358ab"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"ad4830722e37d356d07b8f2d9ca1f57fe072d304","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"1ae5cdf2_f9de85d9","in_reply_to":"1ae5cdf2_845a914e","updated":"2014-06-17 16:52:19.000000000","message":"This table structure makes sense.  I\u0027m wondering if we should start with one or the other and then add the other at a later point in time. Time is running low for Juno. For example, should we just start with namespace properties and add objects later or vice versa?","commit_id":"6ae56e94a2eab891aa64474d0941a37b5ef358ab"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18677be3657206e4ad38f4803e386bc053c165b8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"1ae5cdf2_0f858c58","in_reply_to":"1ae5cdf2_f9de85d9","updated":"2014-06-18 00:36:08.000000000","message":"Done","commit_id":"6ae56e94a2eab891aa64474d0941a37b5ef358ab"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"ad4830722e37d356d07b8f2d9ca1f57fe072d304","unresolved":false,"context_lines":[{"line_number":335,"context_line":""},{"line_number":336,"context_line":"De-associate Namespace from resource type"},{"line_number":337,"context_line":"    DELETE /metadata/namespaces/{namespace}/{resource_type}"},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"List objects in a specific namespace:"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"Returns name \u0026 description of each object without properties (for"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_1949718e","line":338,"updated":"2014-06-17 16:52:19.000000000","message":"We need to add another qualifier in here to make it clear that resource types are being accessed.  Otherwise, the resource type is an ambiguous argument.\n\nLike: /metadata/resource_type_namespaces/{resource_type}/{namespace}\n\nOr: /metadata/namespaces/{namespace}/resource_type/{resource_type}","commit_id":"6ae56e94a2eab891aa64474d0941a37b5ef358ab"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18677be3657206e4ad38f4803e386bc053c165b8","unresolved":false,"context_lines":[{"line_number":335,"context_line":""},{"line_number":336,"context_line":"De-associate Namespace from resource type"},{"line_number":337,"context_line":"    DELETE /metadata/namespaces/{namespace}/{resource_type}"},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"List objects in a specific namespace:"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"Returns name \u0026 description of each object without properties (for"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_8f90bc97","line":338,"in_reply_to":"1ae5cdf2_1949718e","updated":"2014-06-18 00:36:08.000000000","message":"Done","commit_id":"6ae56e94a2eab891aa64474d0941a37b5ef358ab"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"ad4830722e37d356d07b8f2d9ca1f57fe072d304","unresolved":false,"context_lines":[{"line_number":348,"context_line":"Filters by adding query parameters:"},{"line_number":349,"context_line":"* resource_types\u003d\u003ccomma separated list\u003e"},{"line_number":350,"context_line":"* namespace\u003d\u003ccomma separated list\u003e"},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"Example Body::"},{"line_number":353,"context_line":""},{"line_number":354,"context_line":"    {"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_191171af","line":351,"updated":"2014-06-17 16:52:19.000000000","message":"Looks like we missed putting in the Create / Update for Objects. Need to add.","commit_id":"6ae56e94a2eab891aa64474d0941a37b5ef358ab"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18677be3657206e4ad38f4803e386bc053c165b8","unresolved":false,"context_lines":[{"line_number":348,"context_line":"Filters by adding query parameters:"},{"line_number":349,"context_line":"* resource_types\u003d\u003ccomma separated list\u003e"},{"line_number":350,"context_line":"* namespace\u003d\u003ccomma separated list\u003e"},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"Example Body::"},{"line_number":353,"context_line":""},{"line_number":354,"context_line":"    {"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_af8f3874","line":351,"in_reply_to":"1ae5cdf2_191171af","updated":"2014-06-18 00:36:08.000000000","message":"Done","commit_id":"6ae56e94a2eab891aa64474d0941a37b5ef358ab"},{"author":{"_account_id":6456,"name":"Sahdev Zala","email":"spzala@us.ibm.com","username":"spzala"},"change_message_id":"22ee4393eb71738b0e1a9977e3ca34ddf747edb6","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Metadata Schema Catalog"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/glance/+spec/metadata-schema-catalog"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://review.openstack.org/#/c/98554/"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_244154a6","line":11,"updated":"2014-06-26 19:17:24.000000000","message":"Hi Travis, this url doesn\u0027t work for me. I could not search with the keyword either in Glance blueprints so I guess possibly an incorrect URL? Thanks!","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"ec38528f4dfa032c0f6ecc834e99381af99894f1","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Metadata Schema Catalog"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/glance/+spec/metadata-schema-catalog"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://review.openstack.org/#/c/98554/"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_84e3089f","line":11,"in_reply_to":"1ae5cdf2_244154a6","updated":"2014-06-26 19:22:34.000000000","message":"Hi Sahdev,\n\nThat URL won\u0027t work until the spec is approved.  The new process is to submit the spec to the spec repo.  When it gets merged (approved in gerrit) the blueprint will be automatically created in launchpad.  Until then, this URL won\u0027t work.\n\nIs there another reason for your -1 that I can address?\n\nThanks,\nTravis","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":6456,"name":"Sahdev Zala","email":"spzala@us.ibm.com","username":"spzala"},"change_message_id":"1cd106b67ca8c52db3bf19b989cfa7acb91aaa0b","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Metadata Schema Catalog"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/glance/+spec/metadata-schema-catalog"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://review.openstack.org/#/c/98554/"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_f8454c9b","line":11,"in_reply_to":"1ae5cdf2_84e3089f","updated":"2014-06-26 19:56:19.000000000","message":"Hi Travis, ahhh...I dind\u0027t know that. So couple other specs patches I looked at might already have an existing lauchpad blueprint and that\u0027s why those links worked fine. Thanks for the latest. I have no other reason to -1.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"ead6b28d538d5e3e844f736fa0f9ce5a7b0829ad","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Metadata Schema Catalog"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/glance/+spec/metadata-schema-catalog"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://review.openstack.org/#/c/98554/"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_9887e8b5","line":11,"in_reply_to":"1ae5cdf2_f8454c9b","updated":"2014-06-26 19:58:45.000000000","message":"Well, at least that is my understanding from reading the spec submittal guidelines! Hopefully we\u0027ll find out. \n\nThanks!","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":8759,"name":"Arnaud Legendre","email":"arnaudleg@gmail.com","username":"arnaud"},"change_message_id":"52583632666391a695dc5190b24ed508bf50e1f8","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/glance/+spec/metadata-schema-catalog"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://review.openstack.org/#/c/98554/"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"A common API hosted by the Glance service for vendors, admins, services, and"},{"line_number":16,"context_line":"users to meaningfully describe and share key / value pair and tag metadata."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_2223e358","line":13,"updated":"2014-06-27 17:00:24.000000000","message":"you don\u0027t need to put review references in the spec","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/glance/+spec/metadata-schema-catalog"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://review.openstack.org/#/c/98554/"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"A common API hosted by the Glance service for vendors, admins, services, and"},{"line_number":16,"context_line":"users to meaningfully describe and share key / value pair and tag metadata."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_fbba82df","line":13,"in_reply_to":"1ae5cdf2_2223e358","updated":"2014-06-27 18:42:39.000000000","message":"Okay, we can remove.  Thought it might be useful to have the back link once it is merged.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/glance/+spec/metadata-schema-catalog"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://review.openstack.org/#/c/98554/"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"A common API hosted by the Glance service for vendors, admins, services, and"},{"line_number":16,"context_line":"users to meaningfully describe and share key / value pair and tag metadata."}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_46b4d7d0","line":13,"in_reply_to":"1ae5cdf2_fbba82df","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":8759,"name":"Arnaud Legendre","email":"arnaudleg@gmail.com","username":"arnaud"},"change_message_id":"52583632666391a695dc5190b24ed508bf50e1f8","unresolved":false,"context_lines":[{"line_number":213,"context_line":"Data model impact"},{"line_number":214,"context_line":"-----------------"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"This is all new functionality.  There is not anticipated impact to existing"},{"line_number":217,"context_line":"data models. Constraints not shown for readability."},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Basic Schema::"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_654b352b","line":216,"updated":"2014-06-27 17:00:24.000000000","message":"Could you comment on the fact that we will be using a relational DB to store key-values. Wouldn\u0027t a key-value store be more appropriate?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":213,"context_line":"Data model impact"},{"line_number":214,"context_line":"-----------------"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"This is all new functionality.  There is not anticipated impact to existing"},{"line_number":217,"context_line":"data models. Constraints not shown for readability."},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Basic Schema::"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_80dbcfeb","line":216,"in_reply_to":"1ae5cdf2_654b352b","updated":"2014-06-27 18:42:39.000000000","message":"This is about the definition of the available metadata that can be used on different types of resources (images, artifacts, volumes, flavors, aggregates, etc). When used, a key with user supplied value will be stored on whatever service owns that resource and is out of the scope of this spec. For example, that key / value pair would be in the Cinder database or the Glance registry.\n\nA definition includes the properties type, its key, it\u0027s description, and it\u0027s constraints.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":213,"context_line":"Data model impact"},{"line_number":214,"context_line":"-----------------"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"This is all new functionality.  There is not anticipated impact to existing"},{"line_number":217,"context_line":"data models. Constraints not shown for readability."},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Basic Schema::"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_e6ddeb15","line":216,"in_reply_to":"1ae5cdf2_80dbcfeb","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"fcee4c0c57622658ddcda05d64523b491cd61896","unresolved":false,"context_lines":[{"line_number":214,"context_line":"-----------------"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"This is all new functionality.  There is not anticipated impact to existing"},{"line_number":217,"context_line":"data models. Constraints not shown for readability."},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Basic Schema::"},{"line_number":220,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_0593514f","line":217,"updated":"2014-06-27 16:38:09.000000000","message":"I\u0027m curious about how we are planning to add this functionality? Will it live beside the other functionality in the glance/db/X/api.py files? Will there be a new package somewhere?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":214,"context_line":"-----------------"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"This is all new functionality.  There is not anticipated impact to existing"},{"line_number":217,"context_line":"data models. Constraints not shown for readability."},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Basic Schema::"},{"line_number":220,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_603b23ea","line":217,"in_reply_to":"1ae5cdf2_0593514f","updated":"2014-06-27 18:42:39.000000000","message":"Wayne has been looking into this and has questions about it.  I\u0027ll post his questions here and he can follow up.  Or perhaps this should be done in the mailing list?\n\nFrom Wayne:\n\nI am considering adding a metadata_schema_api package folder under glance/db/sqlalchemy/ to hold the bulk of the new ORM code. I’ll add simple proxy calls in the glance/db/sqlalchemy/api.py source that would then call the ORM code in the metadata_schema_api package. Do you foresee any issues if I organize the code in this manner? This would help reduce the amount of code I would otherwise be adding into glance/db/sqlalchemy/api.py and allow me to further break out the metadata_schema_api packages into individual “table”.py’s (this is similar to how the stackforge storyboard openstack “prototype” service does things).","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":10383,"name":"Wayne Okuma","email":"wayne.okuma@hpe.com","username":"okumaw"},"change_message_id":"fdf511fe10a8fc28275e65cbed9fa3048514756f","unresolved":false,"context_lines":[{"line_number":214,"context_line":"-----------------"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"This is all new functionality.  There is not anticipated impact to existing"},{"line_number":217,"context_line":"data models. Constraints not shown for readability."},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Basic Schema::"},{"line_number":220,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_8d302758","line":217,"in_reply_to":"1ae5cdf2_603b23ea","updated":"2014-06-30 23:01:31.000000000","message":"Wanted to add the following - My understanding is that Glance supports configuration of the \"data_api\". The data_api can be either glance.db.sqlalchemy.api or glance.db.registry.api. In addition, all API methods supported in the sqlalchemy API are also supported in the registry API. From this, I\u0027m concluding that support for the new metadata-schema API\u0027s should be added in both the sqlalchemy.api and the registry.api. Let me know if this conclusion is wrong.\n\nAdditionally, in a related question, is there any preference for having a separate glance/db/sqlalchemy/metadata_models.py vs. adding the new table classes into glance/db/sqlalchemy/models.py?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":214,"context_line":"-----------------"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"This is all new functionality.  There is not anticipated impact to existing"},{"line_number":217,"context_line":"data models. Constraints not shown for readability."},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Basic Schema::"},{"line_number":220,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_06e1ffcf","line":217,"in_reply_to":"baada198_8d302758","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"fcee4c0c57622658ddcda05d64523b491cd61896","unresolved":false,"context_lines":[{"line_number":216,"context_line":"This is all new functionality.  There is not anticipated impact to existing"},{"line_number":217,"context_line":"data models. Constraints not shown for readability."},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Basic Schema::"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"  CREATE TABLE `namespaces` ("},{"line_number":222,"context_line":"    `id`                     int(11) NOT NULL AUTO_INCREMENT,"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_22ada384","line":219,"updated":"2014-06-27 16:38:09.000000000","message":"Can we note this as \"suggested\" so that we leave space to ask more detailed questions about each of these items in code review?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":216,"context_line":"This is all new functionality.  There is not anticipated impact to existing"},{"line_number":217,"context_line":"data models. Constraints not shown for readability."},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Basic Schema::"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"  CREATE TABLE `namespaces` ("},{"line_number":222,"context_line":"    `id`                     int(11) NOT NULL AUTO_INCREMENT,"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_a020cbb0","line":219,"in_reply_to":"1ae5cdf2_22ada384","updated":"2014-06-27 18:42:39.000000000","message":"Yes, certainly.  Will do in next patch.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":216,"context_line":"This is all new functionality.  There is not anticipated impact to existing"},{"line_number":217,"context_line":"data models. Constraints not shown for readability."},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Basic Schema::"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"  CREATE TABLE `namespaces` ("},{"line_number":222,"context_line":"    `id`                     int(11) NOT NULL AUTO_INCREMENT,"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_66d1dbfa","line":219,"in_reply_to":"1ae5cdf2_a020cbb0","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":8759,"name":"Arnaud Legendre","email":"arnaudleg@gmail.com","username":"arnaud"},"change_message_id":"52583632666391a695dc5190b24ed508bf50e1f8","unresolved":false,"context_lines":[{"line_number":219,"context_line":"Basic Schema::"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"  CREATE TABLE `namespaces` ("},{"line_number":222,"context_line":"    `id`                     int(11) NOT NULL AUTO_INCREMENT,"},{"line_number":223,"context_line":"    `namespace`              varchar(80) NOT NULL,"},{"line_number":224,"context_line":"    `display_name`           varchar(80) DEFAULT NULL,"},{"line_number":225,"context_line":"    `description`            text,"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_4006271d","line":222,"updated":"2014-06-27 17:00:24.000000000","message":"It seems like we do not need any kind of state? It seems like a namespace is meaningless if it doesn\u0027t have anything it it. right?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":219,"context_line":"Basic Schema::"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"  CREATE TABLE `namespaces` ("},{"line_number":222,"context_line":"    `id`                     int(11) NOT NULL AUTO_INCREMENT,"},{"line_number":223,"context_line":"    `namespace`              varchar(80) NOT NULL,"},{"line_number":224,"context_line":"    `display_name`           varchar(80) DEFAULT NULL,"},{"line_number":225,"context_line":"    `description`            text,"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_1b864e65","line":222,"in_reply_to":"1ae5cdf2_4006271d","updated":"2014-06-27 18:42:39.000000000","message":"A namespace without anything in it doesn\u0027t have meaning, but it should be available to add new properties / tags / objects to it.  I think some of this ties into the \"public\" \\ \"protected\" flags which we will expand on below.\n\nWe are going to add to the summary namespace API (not the details API) the count of objects, properties, and tags.  We\u0027ll be able to get this using the relationships from the other tables.\n\nOther than that what kind of states would there be?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":231,"context_line":"    `owner`                  varchar(255) DEFAULT NULL,"},{"line_number":232,"context_line":"    `created_at`             timestamp NOT NULL,"},{"line_number":233,"context_line":"    `updated_at`             timestamp"},{"line_number":234,"context_line":"  )"},{"line_number":235,"context_line":"  CREATE TABLE `properties` ("},{"line_number":236,"context_line":"    `id`                     int(11) NOT NULL AUTO_INCREMENT,"},{"line_number":237,"context_line":"    `namespace_id`           int(11) NOT NULL,"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_db6ea62b","line":234,"updated":"2014-06-27 18:42:39.000000000","message":"is_public is not needed.  visibility handles this.  Remove.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":231,"context_line":"    `owner`                  varchar(255) DEFAULT NULL,"},{"line_number":232,"context_line":"    `created_at`             timestamp NOT NULL,"},{"line_number":233,"context_line":"    `updated_at`             timestamp"},{"line_number":234,"context_line":"  )"},{"line_number":235,"context_line":"  CREATE TABLE `properties` ("},{"line_number":236,"context_line":"    `id`                     int(11) NOT NULL AUTO_INCREMENT,"},{"line_number":237,"context_line":"    `namespace_id`           int(11) NOT NULL,"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_260d2391","line":234,"in_reply_to":"1ae5cdf2_db6ea62b","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"fcee4c0c57622658ddcda05d64523b491cd61896","unresolved":false,"context_lines":[{"line_number":232,"context_line":"    `created_at`             timestamp NOT NULL,"},{"line_number":233,"context_line":"    `updated_at`             timestamp"},{"line_number":234,"context_line":"  )"},{"line_number":235,"context_line":"  CREATE TABLE `properties` ("},{"line_number":236,"context_line":"    `id`                     int(11) NOT NULL AUTO_INCREMENT,"},{"line_number":237,"context_line":"    `namespace_id`           int(11) NOT NULL,"},{"line_number":238,"context_line":"    `name`                   varchar(80) NOT NULL,"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_021c2776","line":235,"updated":"2014-06-27 16:38:09.000000000","message":"This seems like it needs a description column though? Or does the description just live as part of the text of the schema?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":232,"context_line":"    `created_at`             timestamp NOT NULL,"},{"line_number":233,"context_line":"    `updated_at`             timestamp"},{"line_number":234,"context_line":"  )"},{"line_number":235,"context_line":"  CREATE TABLE `properties` ("},{"line_number":236,"context_line":"    `id`                     int(11) NOT NULL AUTO_INCREMENT,"},{"line_number":237,"context_line":"    `namespace_id`           int(11) NOT NULL,"},{"line_number":238,"context_line":"    `name`                   varchar(80) NOT NULL,"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_9b3a5e32","line":235,"in_reply_to":"1ae5cdf2_021c2776","updated":"2014-06-27 18:42:39.000000000","message":"Perhaps. We debated on this questions and decided to initially leave it off and add it back if needed. JSON schema includes a description field, however if for UI purposes we end up needing to retrieve the description independent from the constraints or need to search based on description then we\u0027ll want to parse the description into a column as well.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"fcee4c0c57622658ddcda05d64523b491cd61896","unresolved":false,"context_lines":[{"line_number":248,"context_line":"    `prefix_properties`      tinyint(1) DEFAULT NULL"},{"line_number":249,"context_line":"  )"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"  CREATE TABLE `tags` ("},{"line_number":252,"context_line":"    `id`                     int(11) NOT NULL AUTO_INCREMENT,"},{"line_number":253,"context_line":"    `namespace_id`           int(11) NOT NULL,"},{"line_number":254,"context_line":"    `name`                   varchar(80) NOT NULL"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_8207571c","line":251,"updated":"2014-06-27 16:38:09.000000000","message":"Also it seems like tag entities might need a description column?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":248,"context_line":"    `prefix_properties`      tinyint(1) DEFAULT NULL"},{"line_number":249,"context_line":"  )"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"  CREATE TABLE `tags` ("},{"line_number":252,"context_line":"    `id`                     int(11) NOT NULL AUTO_INCREMENT,"},{"line_number":253,"context_line":"    `namespace_id`           int(11) NOT NULL,"},{"line_number":254,"context_line":"    `name`                   varchar(80) NOT NULL"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_1b356ef6","line":251,"in_reply_to":"1ae5cdf2_8207571c","updated":"2014-06-27 18:42:39.000000000","message":"We can add this if needed. We looked around a bit at tag usage in other systems and didn\u0027t see a description.  They are usually pretty simple and the tag itself is meaningful.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"fcee4c0c57622658ddcda05d64523b491cd61896","unresolved":false,"context_lines":[{"line_number":325,"context_line":"* resource_types\u003d\u003ccomma separated list\u003e e.g. OS::Glance::Image"},{"line_number":326,"context_line":"* visibility \u003d public / private"},{"line_number":327,"context_line":""},{"line_number":328,"context_line":"Question: Should we use same RBAC model as images api or do per project like"},{"line_number":329,"context_line":"flavors / instance types?"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"Returns specific namespace without any metadata definitions (objects or"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_0216e7a6","line":328,"updated":"2014-06-27 16:38:09.000000000","message":"Can you elaborate on this question?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":325,"context_line":"* resource_types\u003d\u003ccomma separated list\u003e e.g. OS::Glance::Image"},{"line_number":326,"context_line":"* visibility \u003d public / private"},{"line_number":327,"context_line":""},{"line_number":328,"context_line":"Question: Should we use same RBAC model as images api or do per project like"},{"line_number":329,"context_line":"flavors / instance types?"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"Returns specific namespace without any metadata definitions (objects or"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_b6bad108","line":328,"in_reply_to":"1ae5cdf2_0216e7a6","updated":"2014-06-27 18:42:39.000000000","message":"Glance images can either be public or private.  Public makes them visible to users in all projects.  However, other OpenStack services use the notion of membership.  For example, a flavor can be assigned to different projects to make it visible to specific projects rather than just be an all or nothing thing.  The question here is whether or not we should use the public / private concept or use the membership concept.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"e61ee2c34e21960e1283858e9a6930f1e35b415e","unresolved":false,"context_lines":[{"line_number":325,"context_line":"* resource_types\u003d\u003ccomma separated list\u003e e.g. OS::Glance::Image"},{"line_number":326,"context_line":"* visibility \u003d public / private"},{"line_number":327,"context_line":""},{"line_number":328,"context_line":"Question: Should we use same RBAC model as images api or do per project like"},{"line_number":329,"context_line":"flavors / instance types?"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"Returns specific namespace without any metadata definitions (objects or"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_948c7c37","line":328,"in_reply_to":"1ae5cdf2_b6bad108","updated":"2014-07-02 02:09:52.000000000","message":"Mark, I totally missed that Glance API has the membership concept as well.  Oops.  In the next rev of this spec I want to add that in based on the v2 Image apis:\n\nPOST / GET\n/metadata/namespaces/{namespace}/members/\n\nAnd\n\nGET / DELETE / PUT\n/metadata/namespaces/{namespace}/members/{member_id}","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"fcee4c0c57622658ddcda05d64523b491cd61896","unresolved":false,"context_lines":[{"line_number":339,"context_line":"    DELETE /metadata/namespaces/{namespace}"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"Associate Namespace to resource type"},{"line_number":342,"context_line":"    PUT /metadata/namespaces/{namespace}/resource_type/{resource_type}"},{"line_number":343,"context_line":""},{"line_number":344,"context_line":"Example: /metadata/namespaces/LibVirtDriverOptions/OS::Glance::Image"},{"line_number":345,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_22ce832d","line":342,"updated":"2014-06-27 16:38:09.000000000","message":"Should \"/resource_type\" be \"/resource_types\" ?\n\nIs it possible to list the resource_types associated with a namespace?\n\nHow do we publish the possible values for \"{resource_type}\" ?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":339,"context_line":"    DELETE /metadata/namespaces/{namespace}"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"Associate Namespace to resource type"},{"line_number":342,"context_line":"    PUT /metadata/namespaces/{namespace}/resource_type/{resource_type}"},{"line_number":343,"context_line":""},{"line_number":344,"context_line":"Example: /metadata/namespaces/LibVirtDriverOptions/OS::Glance::Image"},{"line_number":345,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_76f929c7","line":342,"in_reply_to":"1ae5cdf2_22ce832d","updated":"2014-06-27 18:42:39.000000000","message":"Yes, it should be resource_types. Will fix.\n\nYes, we should have a list API. Will fix.\n\nWe will want to have some standard resource_types built into the code, because we want to align with heat resource types in order to make the feature coherent and functional. http://docs.openstack.org/developer/heat/template_guide/openstack.html\n\nWe will add an API for listing available resource types to this spec. This is necessary.\n\nIf it makes sense later to have an API for adding additional resource types and pre-populating at startup we can submit a follow-up blueprint on that.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7256,"name":"Randall Burt","email":"randall.burt@rackspace.com","username":"randall-burt"},"change_message_id":"2ad8db33438e135f98ff8af64351c1f56af5e547","unresolved":false,"context_lines":[{"line_number":353,"context_line":""},{"line_number":354,"context_line":"Example::"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"  POST /metadata/CompanyXNamespace/objects/StorageQOS"},{"line_number":357,"context_line":""},{"line_number":358,"context_line":"  {"},{"line_number":359,"context_line":"    \"StorageQOS\": {"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_c28a3fbb","line":356,"updated":"2014-06-27 16:27:09.000000000","message":"Minor nit, but shouldn\u0027t this just be:\n\n  POST /metadata/CompanyXNamespace/objects","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":353,"context_line":""},{"line_number":354,"context_line":"Example::"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"  POST /metadata/CompanyXNamespace/objects/StorageQOS"},{"line_number":357,"context_line":""},{"line_number":358,"context_line":"  {"},{"line_number":359,"context_line":"    \"StorageQOS\": {"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_7946dc22","line":356,"in_reply_to":"1ae5cdf2_969eb552","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":353,"context_line":""},{"line_number":354,"context_line":"Example::"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"  POST /metadata/CompanyXNamespace/objects/StorageQOS"},{"line_number":357,"context_line":""},{"line_number":358,"context_line":"  {"},{"line_number":359,"context_line":"    \"StorageQOS\": {"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_969eb552","line":356,"in_reply_to":"1ae5cdf2_c28a3fbb","updated":"2014-06-27 18:42:39.000000000","message":"Yes, will fix.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"fcee4c0c57622658ddcda05d64523b491cd61896","unresolved":false,"context_lines":[{"line_number":415,"context_line":"            }"},{"line_number":416,"context_line":"        }"},{"line_number":417,"context_line":"    ],"},{"line_number":418,"context_line":"    \"links\": ["},{"line_number":419,"context_line":"        {"},{"line_number":420,"context_line":"            \"href\": \"{first}\","},{"line_number":421,"context_line":"            \"rel\": \"first\""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_02c0a7de","line":418,"updated":"2014-06-27 16:38:09.000000000","message":"This is the wrong way to do json-hyperschema links*, which is unfortunately popular in OpenStack. We should do links more consistently with the rest of the v2 images api.\n\n* The short explanation is, the \"href\" and \"rel\" form is the appropriate way to describe links in the json-schema for a response, not in the response itself. For the response itself, you should just use things like\n\n{\n  ...,\n  \"first\": \"/some/link\",\n  \"next\": \"/some/link\",\n  etc,\n}","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":415,"context_line":"            }"},{"line_number":416,"context_line":"        }"},{"line_number":417,"context_line":"    ],"},{"line_number":418,"context_line":"    \"links\": ["},{"line_number":419,"context_line":"        {"},{"line_number":420,"context_line":"            \"href\": \"{first}\","},{"line_number":421,"context_line":"            \"rel\": \"first\""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_d6bbddbb","line":418,"in_reply_to":"1ae5cdf2_02c0a7de","updated":"2014-06-27 18:42:39.000000000","message":"OK. We will align with the v2 images API.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":415,"context_line":"            }"},{"line_number":416,"context_line":"        }"},{"line_number":417,"context_line":"    ],"},{"line_number":418,"context_line":"    \"links\": ["},{"line_number":419,"context_line":"        {"},{"line_number":420,"context_line":"            \"href\": \"{first}\","},{"line_number":421,"context_line":"            \"rel\": \"first\""}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_8e58c157","line":418,"in_reply_to":"1ae5cdf2_d6bbddbb","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7256,"name":"Randall Burt","email":"randall.burt@rackspace.com","username":"randall-burt"},"change_message_id":"2ad8db33438e135f98ff8af64351c1f56af5e547","unresolved":false,"context_lines":[{"line_number":438,"context_line":""},{"line_number":439,"context_line":"Example::"},{"line_number":440,"context_line":""},{"line_number":441,"context_line":"  POST /metadata/glance_default/properties/hypervisor_type"},{"line_number":442,"context_line":""},{"line_number":443,"context_line":"  {"},{"line_number":444,"context_line":"        \"type\": \"array\","}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_220f633a","line":441,"updated":"2014-06-27 16:27:09.000000000","message":"More minor nits: As with the above, I think the POSTs shouldn\u0027t include the new resource name in the URI but rather in the body of the request. In either case, I think they should all be consistent in that they either include the new resource name in the request body *or* in the URI.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":438,"context_line":""},{"line_number":439,"context_line":"Example::"},{"line_number":440,"context_line":""},{"line_number":441,"context_line":"  POST /metadata/glance_default/properties/hypervisor_type"},{"line_number":442,"context_line":""},{"line_number":443,"context_line":"  {"},{"line_number":444,"context_line":"        \"type\": \"array\","}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_f6dd3915","line":441,"in_reply_to":"1ae5cdf2_220f633a","updated":"2014-06-27 18:42:39.000000000","message":"Thanks, will fix.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":438,"context_line":""},{"line_number":439,"context_line":"Example::"},{"line_number":440,"context_line":""},{"line_number":441,"context_line":"  POST /metadata/glance_default/properties/hypervisor_type"},{"line_number":442,"context_line":""},{"line_number":443,"context_line":"  {"},{"line_number":444,"context_line":"        \"type\": \"array\","}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_b9feb4ac","line":441,"in_reply_to":"1ae5cdf2_f6dd3915","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"fcee4c0c57622658ddcda05d64523b491cd61896","unresolved":false,"context_lines":[{"line_number":453,"context_line":"Delete Property in specific namespace:"},{"line_number":454,"context_line":"    DELETE /metadata/{namespace}/properties/{property_name}"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"List properties in a specific namespace:"},{"line_number":457,"context_line":""},{"line_number":458,"context_line":"Returns details of each property without schema:"},{"line_number":459,"context_line":"    GET /metadata/properties"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_0551910d","line":456,"updated":"2014-06-27 16:38:09.000000000","message":"This looks like its missing\n\n    GET /metadata/{namespace}/properties","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":453,"context_line":"Delete Property in specific namespace:"},{"line_number":454,"context_line":"    DELETE /metadata/{namespace}/properties/{property_name}"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"List properties in a specific namespace:"},{"line_number":457,"context_line":""},{"line_number":458,"context_line":"Returns details of each property without schema:"},{"line_number":459,"context_line":"    GET /metadata/properties"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_161625a7","line":456,"in_reply_to":"1ae5cdf2_0551910d","updated":"2014-06-27 18:42:39.000000000","message":"Do we need this since we are doing the filters?\n\n* resource_types\u003d\u003ccomma separated list\u003e\n* namespaces\u003d\u003ccomma separated list\u003e","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"fcee4c0c57622658ddcda05d64523b491cd61896","unresolved":false,"context_lines":[{"line_number":468,"context_line":"**Tags**"},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"List All Tags visible to user:"},{"line_number":471,"context_line":"    GET /metadata/tags"},{"line_number":472,"context_line":""},{"line_number":473,"context_line":"Filters by adding query parameters:"},{"line_number":474,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_8563e1db","line":471,"updated":"2014-06-27 16:38:09.000000000","message":"As a general question, I\u0027m curious if we want to support the \"get all X in any visible namespace\" operation? It may be more straightforward but still sufficient to just support \"get all visible namespaces\" and \"get all X in namespace N\".","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":468,"context_line":"**Tags**"},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"List All Tags visible to user:"},{"line_number":471,"context_line":"    GET /metadata/tags"},{"line_number":472,"context_line":""},{"line_number":473,"context_line":"Filters by adding query parameters:"},{"line_number":474,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_f6c7f90f","line":471,"in_reply_to":"1ae5cdf2_8563e1db","updated":"2014-06-27 18:42:39.000000000","message":"Excellent question and source of much debate.  Either one has performance implications. With this API you can do both, but maybe we need to add in hard support for setting a limit in the number of returned results with pagination.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":468,"context_line":"**Tags**"},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"List All Tags visible to user:"},{"line_number":471,"context_line":"    GET /metadata/tags"},{"line_number":472,"context_line":""},{"line_number":473,"context_line":"Filters by adding query parameters:"},{"line_number":474,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_94e7ee3f","line":471,"in_reply_to":"1ae5cdf2_f6c7f90f","updated":"2014-07-11 00:10:09.000000000","message":"Added pagination support to newer spec.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":8759,"name":"Arnaud Legendre","email":"arnaudleg@gmail.com","username":"arnaud"},"change_message_id":"52583632666391a695dc5190b24ed508bf50e1f8","unresolved":false,"context_lines":[{"line_number":655,"context_line":""},{"line_number":656,"context_line":"Other deployer impact"},{"line_number":657,"context_line":"---------------------"},{"line_number":658,"context_line":"DB Schema Creation for new API"},{"line_number":659,"context_line":""},{"line_number":660,"context_line":"Developer impact"},{"line_number":661,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_85abe11c","line":658,"updated":"2014-06-27 17:00:24.000000000","message":"Any configuration variables to set?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":655,"context_line":""},{"line_number":656,"context_line":"Other deployer impact"},{"line_number":657,"context_line":"---------------------"},{"line_number":658,"context_line":"DB Schema Creation for new API"},{"line_number":659,"context_line":""},{"line_number":660,"context_line":"Developer impact"},{"line_number":661,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_b6a65152","line":658,"in_reply_to":"1ae5cdf2_85abe11c","updated":"2014-06-27 18:42:39.000000000","message":"We aren\u0027t sure, yet. See reply to Mark on DB API above.  That has potential configuration ramifications.\n\nAs we proceed through implementation we\u0027ll learn more. This is something we\u0027ll need to capture in documentation post-implementation.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":655,"context_line":""},{"line_number":656,"context_line":"Other deployer impact"},{"line_number":657,"context_line":"---------------------"},{"line_number":658,"context_line":"DB Schema Creation for new API"},{"line_number":659,"context_line":""},{"line_number":660,"context_line":"Developer impact"},{"line_number":661,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_b99a346c","line":658,"in_reply_to":"1ae5cdf2_b6a65152","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":8759,"name":"Arnaud Legendre","email":"arnaudleg@gmail.com","username":"arnaud"},"change_message_id":"52583632666391a695dc5190b24ed508bf50e1f8","unresolved":false,"context_lines":[{"line_number":681,"context_line":""},{"line_number":682,"context_line":"Changes would be made to:"},{"line_number":683,"context_line":""},{"line_number":684,"context_line":" #. The database API layer to add support for CRUD operations on namespaces"},{"line_number":685,"context_line":" #. The database API layer to add support for CRUD operations on objects"},{"line_number":686,"context_line":" #. The database API layer to add support for CRUD operations on tags"},{"line_number":687,"context_line":" #. The API for CRUD operations on the namespaces"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_42446f72","line":684,"updated":"2014-06-27 17:00:24.000000000","message":"I would add a work item about Pecan and WSME","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":681,"context_line":""},{"line_number":682,"context_line":"Changes would be made to:"},{"line_number":683,"context_line":""},{"line_number":684,"context_line":" #. The database API layer to add support for CRUD operations on namespaces"},{"line_number":685,"context_line":" #. The database API layer to add support for CRUD operations on objects"},{"line_number":686,"context_line":" #. The database API layer to add support for CRUD operations on tags"},{"line_number":687,"context_line":" #. The API for CRUD operations on the namespaces"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_59caf84f","line":684,"in_reply_to":"1ae5cdf2_164e2596","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":681,"context_line":""},{"line_number":682,"context_line":"Changes would be made to:"},{"line_number":683,"context_line":""},{"line_number":684,"context_line":" #. The database API layer to add support for CRUD operations on namespaces"},{"line_number":685,"context_line":" #. The database API layer to add support for CRUD operations on objects"},{"line_number":686,"context_line":" #. The database API layer to add support for CRUD operations on tags"},{"line_number":687,"context_line":" #. The API for CRUD operations on the namespaces"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_164e2596","line":684,"in_reply_to":"1ae5cdf2_42446f72","updated":"2014-06-27 18:42:39.000000000","message":"Ok, we\u0027ll add an item about investigating.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":8759,"name":"Arnaud Legendre","email":"arnaudleg@gmail.com","username":"arnaud"},"change_message_id":"52583632666391a695dc5190b24ed508bf50e1f8","unresolved":false,"context_lines":[{"line_number":687,"context_line":" #. The API for CRUD operations on the namespaces"},{"line_number":688,"context_line":" #. The API for CRUD operations on the objects"},{"line_number":689,"context_line":" #. The API for CRUD operations on the tags"},{"line_number":690,"context_line":" #. The python-glanceClient to support operations"},{"line_number":691,"context_line":""},{"line_number":692,"context_line":"Dependencies"},{"line_number":693,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_e263bb17","line":690,"updated":"2014-06-27 17:00:24.000000000","message":"Something coming to my mind: with all of these work items, what I can see is that you end up with an API to manage metadata (key/values): great :) \n\nNow, what\u0027s the plan for existing OpenStack projects such as Glance that are already using metadata? \n\nIf we continue with the example of Glance, do you guys plan to somehow leverage this new code in the existing glance code? or we will have to deprecate the current code dealing with metadata in Glance and say use this metadata API? \n\nLet me know if that makes sense...!\n\nThanks","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":687,"context_line":" #. The API for CRUD operations on the namespaces"},{"line_number":688,"context_line":" #. The API for CRUD operations on the objects"},{"line_number":689,"context_line":" #. The API for CRUD operations on the tags"},{"line_number":690,"context_line":" #. The python-glanceClient to support operations"},{"line_number":691,"context_line":""},{"line_number":692,"context_line":"Dependencies"},{"line_number":693,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_f174639d","line":690,"in_reply_to":"1ae5cdf2_e263bb17","updated":"2014-06-27 18:42:39.000000000","message":"With this spec, we are only addressing the definitions of metadata and are not changing the instances.  So, no, we won\u0027t be touching the glance registry code right now.  However, in the future, this is a topic we may bring up again.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":687,"context_line":" #. The API for CRUD operations on the namespaces"},{"line_number":688,"context_line":" #. The API for CRUD operations on the objects"},{"line_number":689,"context_line":" #. The API for CRUD operations on the tags"},{"line_number":690,"context_line":" #. The python-glanceClient to support operations"},{"line_number":691,"context_line":""},{"line_number":692,"context_line":"Dependencies"},{"line_number":693,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_d9dd2816","line":690,"in_reply_to":"1ae5cdf2_f174639d","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":8759,"name":"Arnaud Legendre","email":"arnaudleg@gmail.com","username":"arnaud"},"change_message_id":"52583632666391a695dc5190b24ed508bf50e1f8","unresolved":false,"context_lines":[{"line_number":694,"context_line":""},{"line_number":695,"context_line":"Can be done with same dependencies as glance today."},{"line_number":696,"context_line":""},{"line_number":697,"context_line":"We would be interested in using Pecan + WSME for WSGI and object marshalling"},{"line_number":698,"context_line":"since we are familiar with that framework."},{"line_number":699,"context_line":""},{"line_number":700,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_c2787fc3","line":697,"updated":"2014-06-27 17:00:24.000000000","message":"Pecan or WSME?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":694,"context_line":""},{"line_number":695,"context_line":"Can be done with same dependencies as glance today."},{"line_number":696,"context_line":""},{"line_number":697,"context_line":"We would be interested in using Pecan + WSME for WSGI and object marshalling"},{"line_number":698,"context_line":"since we are familiar with that framework."},{"line_number":699,"context_line":""},{"line_number":700,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_59f8387c","line":697,"in_reply_to":"1ae5cdf2_7113f35b","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":694,"context_line":""},{"line_number":695,"context_line":"Can be done with same dependencies as glance today."},{"line_number":696,"context_line":""},{"line_number":697,"context_line":"We would be interested in using Pecan + WSME for WSGI and object marshalling"},{"line_number":698,"context_line":"since we are familiar with that framework."},{"line_number":699,"context_line":""},{"line_number":700,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_7113f35b","line":697,"in_reply_to":"1ae5cdf2_c2787fc3","updated":"2014-06-27 18:42:39.000000000","message":"Will update.  We aren\u0027t using Pecan.  We are using WSME.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":8759,"name":"Arnaud Legendre","email":"arnaudleg@gmail.com","username":"arnaud"},"change_message_id":"52583632666391a695dc5190b24ed508bf50e1f8","unresolved":false,"context_lines":[{"line_number":701,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":702,"context_line":""},{"line_number":703,"context_line":"Tests would be added for each of the new endpoints and associated API\u0027s as"},{"line_number":704,"context_line":"well as unit tests for added DB API\u0027s."},{"line_number":705,"context_line":""},{"line_number":706,"context_line":"Documentation Impact"},{"line_number":707,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_223843ed","line":704,"updated":"2014-06-27 17:00:24.000000000","message":"Any plans for Tempest?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"fcee4c0c57622658ddcda05d64523b491cd61896","unresolved":false,"context_lines":[{"line_number":701,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":702,"context_line":""},{"line_number":703,"context_line":"Tests would be added for each of the new endpoints and associated API\u0027s as"},{"line_number":704,"context_line":"well as unit tests for added DB API\u0027s."},{"line_number":705,"context_line":""},{"line_number":706,"context_line":"Documentation Impact"},{"line_number":707,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_45dd5940","line":704,"updated":"2014-06-27 16:38:09.000000000","message":"The general goal we have is to add unit tests for all of the code to be able to be unit tested (meaning in isolation of other substantially separate modules), with only a few exceptions.\n\nOne of the exceptions is the database layer, where I want to see some integration style testing that can run against various database backends. This kind of test is necessarily slower.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":701,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":702,"context_line":""},{"line_number":703,"context_line":"Tests would be added for each of the new endpoints and associated API\u0027s as"},{"line_number":704,"context_line":"well as unit tests for added DB API\u0027s."},{"line_number":705,"context_line":""},{"line_number":706,"context_line":"Documentation Impact"},{"line_number":707,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_592598c0","line":704,"in_reply_to":"1ae5cdf2_11038f0d","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":701,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":702,"context_line":""},{"line_number":703,"context_line":"Tests would be added for each of the new endpoints and associated API\u0027s as"},{"line_number":704,"context_line":"well as unit tests for added DB API\u0027s."},{"line_number":705,"context_line":""},{"line_number":706,"context_line":"Documentation Impact"},{"line_number":707,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_11038f0d","line":704,"in_reply_to":"1ae5cdf2_223843ed","updated":"2014-06-27 18:42:39.000000000","message":"Yes, will add.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a1156103d147aa4ab8bf46a68fa6c776ec4c9dfa","unresolved":false,"context_lines":[{"line_number":701,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":702,"context_line":""},{"line_number":703,"context_line":"Tests would be added for each of the new endpoints and associated API\u0027s as"},{"line_number":704,"context_line":"well as unit tests for added DB API\u0027s."},{"line_number":705,"context_line":""},{"line_number":706,"context_line":"Documentation Impact"},{"line_number":707,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_992f30a1","line":704,"in_reply_to":"1ae5cdf2_45dd5940","updated":"2014-07-11 00:10:09.000000000","message":"Done","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":701,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":702,"context_line":""},{"line_number":703,"context_line":"Tests would be added for each of the new endpoints and associated API\u0027s as"},{"line_number":704,"context_line":"well as unit tests for added DB API\u0027s."},{"line_number":705,"context_line":""},{"line_number":706,"context_line":"Documentation Impact"},{"line_number":707,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_d12be779","line":704,"in_reply_to":"1ae5cdf2_45dd5940","updated":"2014-06-27 18:42:39.000000000","message":"Ok.","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":8759,"name":"Arnaud Legendre","email":"arnaudleg@gmail.com","username":"arnaud"},"change_message_id":"52583632666391a695dc5190b24ed508bf50e1f8","unresolved":false,"context_lines":[{"line_number":709,"context_line":"Docs needed for new API extension and usage"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"References"},{"line_number":712,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":713,"context_line":""},{"line_number":714,"context_line":".. Had to format links strangely in order to meet 80 character limit"},{"line_number":715,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_e0873359","line":712,"updated":"2014-06-27 17:00:24.000000000","message":"Could you comment on this http://docs.openstack.org/admin-guide-cloud/content/section_metadata-service.html ?","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"31e81a288d212d7b25181cb52271fcab6d366bcb","unresolved":false,"context_lines":[{"line_number":709,"context_line":"Docs needed for new API extension and usage"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"References"},{"line_number":712,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":713,"context_line":""},{"line_number":714,"context_line":".. Had to format links strangely in order to meet 80 character limit"},{"line_number":715,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_9607951c","line":712,"in_reply_to":"1ae5cdf2_e0873359","updated":"2014-06-27 18:42:39.000000000","message":"See our comments above, but metadata service in nova is about storing instance data.  This spec is about providing a location to describe metadata definitions (not instances).","commit_id":"326c469504bd2006a3df2bf5ffed7d3d57ab8b00"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"2214016998aeb2ae5d1ffc37f8a504f78a512813","unresolved":false,"context_lines":[{"line_number":795,"context_line":"* OS::Nova::Instance"},{"line_number":796,"context_line":""},{"line_number":797,"context_line":"A configuration entry will be added for whether or not to perform one time"},{"line_number":798,"context_line":"data loading of namespaces and definitions at Glance startup. If set to True,"},{"line_number":799,"context_line":"definition files from /etc/glance/metadefs/ will be automatically loaded at"},{"line_number":800,"context_line":"Glance startup for any namespaces that haven\u0027t already been loaded."},{"line_number":801,"context_line":"Default definition files will be checked into \u003cglance\u003e/etc/metadefs/."}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_4a5abff2","line":798,"updated":"2014-07-14 12:22:59.000000000","message":"I wonder if \"glance-manage db sync\" command isn\u0027t better to trigger this feature than Glance startup. Or \"db sync\" should be used only for DB migration? Any opinions?","commit_id":"85fe88cc596a58766b32183079c489b08e1155ab"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"770d2597dd661add3c9977557322a5bfbb289e0e","unresolved":false,"context_lines":[{"line_number":795,"context_line":"* OS::Nova::Instance"},{"line_number":796,"context_line":""},{"line_number":797,"context_line":"A configuration entry will be added for whether or not to perform one time"},{"line_number":798,"context_line":"data loading of namespaces and definitions at Glance startup. If set to True,"},{"line_number":799,"context_line":"definition files from /etc/glance/metadefs/ will be automatically loaded at"},{"line_number":800,"context_line":"Glance startup for any namespaces that haven\u0027t already been loaded."},{"line_number":801,"context_line":"Default definition files will be checked into \u003cglance\u003e/etc/metadefs/."}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_0ea1a245","line":798,"in_reply_to":"baada198_4a5abff2","updated":"2014-07-14 23:26:27.000000000","message":"I\u0027m not sure.  markwash?","commit_id":"85fe88cc596a58766b32183079c489b08e1155ab"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"f6fff1cde7160497c94febdd65a5757aa787c7b9","unresolved":false,"context_lines":[{"line_number":416,"context_line":"    GET /metadata/namespaces/{namespace}"},{"line_number":417,"context_line":""},{"line_number":418,"context_line":"Returns specific namespace with definitions (properties, objects \u0026 tags)."},{"line_number":419,"context_line":"    GET /metadata/namespaces/{namespace}/details"},{"line_number":420,"context_line":""},{"line_number":421,"context_line":"Delete a namespace - Only deletes empty namespace"},{"line_number":422,"context_line":"    DELETE /metadata/namespaces/{namespace}"}],"source_content_type":"text/x-rst","patch_set":8,"id":"baada198_203880ed","line":419,"updated":"2014-07-18 20:30:23.000000000","message":"Should be /detail  - no \"s\"","commit_id":"fe2374b36bdf996199aba272d7202e46985ecd81"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"7269b8c85a6e11142301082a6b9686923f7c0940","unresolved":false,"context_lines":[{"line_number":777,"context_line":"    }"},{"line_number":778,"context_line":""},{"line_number":779,"context_line":"JSON Schema for Namespace::"},{"line_number":780,"context_line":""},{"line_number":781,"context_line":"    {"},{"line_number":782,"context_line":"    \"properties\": {"},{"line_number":783,"context_line":"        \"namespace\": {"}],"source_content_type":"text/x-rst","patch_set":8,"id":"baada198_cb1c5969","line":780,"updated":"2014-07-18 08:25:39.000000000","message":"You should probably change this schema to Draft 4 version as it is used by newest Glance. Otherwise it won\u0027t get validated inside Python code.\n\nMain difference is to move required property one level up as a list of required lower level properties.","commit_id":"fe2374b36bdf996199aba272d7202e46985ecd81"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"f6fff1cde7160497c94febdd65a5757aa787c7b9","unresolved":false,"context_lines":[{"line_number":777,"context_line":"    }"},{"line_number":778,"context_line":""},{"line_number":779,"context_line":"JSON Schema for Namespace::"},{"line_number":780,"context_line":""},{"line_number":781,"context_line":"    {"},{"line_number":782,"context_line":"    \"properties\": {"},{"line_number":783,"context_line":"        \"namespace\": {"}],"source_content_type":"text/x-rst","patch_set":8,"id":"baada198_6e37c9e3","line":780,"in_reply_to":"baada198_cb1c5969","updated":"2014-07-18 20:30:23.000000000","message":"Done","commit_id":"fe2374b36bdf996199aba272d7202e46985ecd81"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"cebf8910a0b0588f68b1a9e6584d8c1dbfb68ede","unresolved":false,"context_lines":[{"line_number":804,"context_line":"                            to the properties when they are applied to the"},{"line_number":805,"context_line":"                            target resource.\""},{"line_number":806,"context_line":"        },"},{"line_number":807,"context_line":"        \"prefix_properties\": {"},{"line_number":808,"context_line":"            \"type\": \"string\","},{"line_number":809,"context_line":"            \"required\": false,"},{"line_number":810,"context_line":"            \"description\": \"The separator to use between the namespace and"}],"source_content_type":"text/x-rst","patch_set":8,"id":"baada198_48304fe9","line":807,"updated":"2014-07-18 08:00:47.000000000","message":"I guess it should be \"prefix_separator\" instead.","commit_id":"fe2374b36bdf996199aba272d7202e46985ecd81"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"f6fff1cde7160497c94febdd65a5757aa787c7b9","unresolved":false,"context_lines":[{"line_number":804,"context_line":"                            to the properties when they are applied to the"},{"line_number":805,"context_line":"                            target resource.\""},{"line_number":806,"context_line":"        },"},{"line_number":807,"context_line":"        \"prefix_properties\": {"},{"line_number":808,"context_line":"            \"type\": \"string\","},{"line_number":809,"context_line":"            \"required\": false,"},{"line_number":810,"context_line":"            \"description\": \"The separator to use between the namespace and"}],"source_content_type":"text/x-rst","patch_set":8,"id":"baada198_8e309dea","line":807,"in_reply_to":"baada198_48304fe9","updated":"2014-07-18 20:30:23.000000000","message":"Done","commit_id":"fe2374b36bdf996199aba272d7202e46985ecd81"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"7269b8c85a6e11142301082a6b9686923f7c0940","unresolved":false,"context_lines":[{"line_number":812,"context_line":"                            prefix to the properties.\""},{"line_number":813,"context_line":"        },"},{"line_number":814,"context_line":"        \"visibility\": {"},{"line_number":815,"context_line":"            \"type\": \"array\","},{"line_number":816,"context_line":"            \"minItems\": 1,"},{"line_number":817,"context_line":"            \"maxItems\": 1,"},{"line_number":818,"context_line":"            \"items\": {"}],"source_content_type":"text/x-rst","patch_set":8,"id":"baada198_e83cc3e3","line":815,"updated":"2014-07-18 08:25:39.000000000","message":"Why is visibility one element array? I don\u0027t understand why it isn\u0027t just an enum/string property.","commit_id":"fe2374b36bdf996199aba272d7202e46985ecd81"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"f6fff1cde7160497c94febdd65a5757aa787c7b9","unresolved":false,"context_lines":[{"line_number":812,"context_line":"                            prefix to the properties.\""},{"line_number":813,"context_line":"        },"},{"line_number":814,"context_line":"        \"visibility\": {"},{"line_number":815,"context_line":"            \"type\": \"array\","},{"line_number":816,"context_line":"            \"minItems\": 1,"},{"line_number":817,"context_line":"            \"maxItems\": 1,"},{"line_number":818,"context_line":"            \"items\": {"}],"source_content_type":"text/x-rst","patch_set":8,"id":"baada198_ee52f911","line":815,"in_reply_to":"baada198_e83cc3e3","updated":"2014-07-18 20:30:23.000000000","message":"Done","commit_id":"fe2374b36bdf996199aba272d7202e46985ecd81"},{"author":{"_account_id":6549,"name":"Zhi Yan Liu","email":"lzy.dev@gmail.com","username":"lzy-dev"},"change_message_id":"f090b76ce241f90c7c20e8175834bdcbe9b7be0b","unresolved":false,"context_lines":[{"line_number":1189,"context_line":""},{"line_number":1190,"context_line":"Today you can ensure that flavors are launched on specific hosts using host"},{"line_number":1191,"context_line":"aggregates.  The basic way to do that is to put the same key / value pair on"},{"line_number":1192,"context_line":"both the flavor and the host aggregate.  With a metadata catalog, an admin"},{"line_number":1193,"context_line":"could easily describe in detail the key / value pairs and their meaning in an"},{"line_number":1194,"context_line":"exportable format for use in a single cloud / region or to import for reuse in"},{"line_number":1195,"context_line":"another cloud deployment. As a very trivial example, you could use a property"}],"source_content_type":"text/x-rst","patch_set":11,"id":"baada198_526afb1b","line":1192,"updated":"2014-07-23 07:28:51.000000000","message":"\u003e\u003e \"both\"\n\nSo is there a mechanism/approach in metadata schema definition to allow us define a limitation to require user must gives a same property (\"MyHostGroups:SSD in this case) for those type of resources when they do namespace association? Since as we know, it doesn\u0027t work if we only applicate the property to one resource only (OS::Nova::Flavor or OS::Nova::Aggregate) .","commit_id":"1e6b963d6e94398b66a3690f14db783897757564"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"898f682af43f81742f015013a65187ed4a3704c2","unresolved":false,"context_lines":[{"line_number":1025,"context_line":"* OS::Nova::Aggregate"},{"line_number":1026,"context_line":"* OS::Nova::Instance"},{"line_number":1027,"context_line":""},{"line_number":1028,"context_line":"glance-manage will have a new command \"db_load_metadefs\".  This will attempt to"},{"line_number":1029,"context_line":"load all metadata definitions in /etc/glance/metadefs/ for any namespaces that"},{"line_number":1030,"context_line":"haven\u0027t already been loaded."},{"line_number":1031,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"baada198_31fd423c","line":1028,"updated":"2014-07-31 22:01:48.000000000","message":"Can we just say \"glance-manage will have new commands for loading, unloading, and exporting metadata definitions\" ?","commit_id":"5176822985e4957f603618dfcb9b56a50ae8071e"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"f4d9c49fec4aae63f7dc3a58a309ce91965d36c0","unresolved":false,"context_lines":[{"line_number":1025,"context_line":"* OS::Nova::Aggregate"},{"line_number":1026,"context_line":"* OS::Nova::Instance"},{"line_number":1027,"context_line":""},{"line_number":1028,"context_line":"glance-manage will have a new command \"db_load_metadefs\".  This will attempt to"},{"line_number":1029,"context_line":"load all metadata definitions in /etc/glance/metadefs/ for any namespaces that"},{"line_number":1030,"context_line":"haven\u0027t already been loaded."},{"line_number":1031,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"baada198_fca48108","line":1028,"in_reply_to":"baada198_31fd423c","updated":"2014-07-31 22:10:59.000000000","message":"Sounds good.  Will change and upload.","commit_id":"5176822985e4957f603618dfcb9b56a50ae8071e"},{"author":{"_account_id":616,"name":"Mark Washenberger","email":"mark.washenberger@markwash.net","username":"markwash"},"change_message_id":"898f682af43f81742f015013a65187ed4a3704c2","unresolved":false,"context_lines":[{"line_number":1130,"context_line":" This work is licensed under a Creative Commons Attribution 3.0 Unported"},{"line_number":1131,"context_line":" License."},{"line_number":1132,"context_line":""},{"line_number":1133,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":1134,"context_line":""},{"line_number":1135,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":1136,"context_line":"Metadata Definitions Catalog"}],"source_content_type":"text/x-rst","patch_set":13,"id":"baada198_d199661f","line":1133,"updated":"2014-07-31 22:01:48.000000000","message":"Am I missing something? It seems like the file should end here?","commit_id":"5176822985e4957f603618dfcb9b56a50ae8071e"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"f4d9c49fec4aae63f7dc3a58a309ce91965d36c0","unresolved":false,"context_lines":[{"line_number":1130,"context_line":" This work is licensed under a Creative Commons Attribution 3.0 Unported"},{"line_number":1131,"context_line":" License."},{"line_number":1132,"context_line":""},{"line_number":1133,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":1134,"context_line":""},{"line_number":1135,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":1136,"context_line":"Metadata Definitions Catalog"}],"source_content_type":"text/x-rst","patch_set":13,"id":"baada198_dcedfd25","line":1133,"in_reply_to":"baada198_d199661f","updated":"2014-07-31 22:10:59.000000000","message":"Oh, this is a definite copy paste error by me.  Last thing I do before submitting is copy and then paste into http://rst.ninjs.org/ to make sure it renders.  I probably accidentally hit my middle mouse button and got an inadvertent paste.  Will fix.","commit_id":"5176822985e4957f603618dfcb9b56a50ae8071e"}]}
