)]}'
{"specs/liberty/trove-metadata.rst":[{"author":{"_account_id":10295,"name":"mariam john","email":"mariamj@us.ibm.com","username":"mariamj"},"change_message_id":"b4e73c3260727750e31bd302720571797b7e4045","unresolved":false,"context_lines":[{"line_number":49,"context_line":"Proposed change"},{"line_number":50,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"With the possiblity of an Openstack official metadata service on the horizon,"},{"line_number":53,"context_line":"it was felt that the entry point of the integration should be kept very small"},{"line_number":54,"context_line":"so that if/when that service becomes available there will be little code in the"},{"line_number":55,"context_line":"instance model to change to make that integration happen. To achieve this, the"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1ab14d0d_813ffe24","line":52,"updated":"2015-04-18 02:05:04.000000000","message":"OpenStack instead","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f4926a6d1c0621802baccc4b3bb66717b268ca2f","unresolved":false,"context_lines":[{"line_number":49,"context_line":"Proposed change"},{"line_number":50,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"With the possiblity of an Openstack official metadata service on the horizon,"},{"line_number":53,"context_line":"it was felt that the entry point of the integration should be kept very small"},{"line_number":54,"context_line":"so that if/when that service becomes available there will be little code in the"},{"line_number":55,"context_line":"instance model to change to make that integration happen. To achieve this, the"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_98f96383","line":52,"in_reply_to":"1ab14d0d_813ffe24","updated":"2015-04-21 15:34:00.000000000","message":"Will change on next spin of patchset","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10295,"name":"mariam john","email":"mariamj@us.ibm.com","username":"mariamj"},"change_message_id":"b4e73c3260727750e31bd302720571797b7e4045","unresolved":false,"context_lines":[{"line_number":68,"context_line":"Note that these are stored in the database as strings (in a text field)."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"For this initial implementation, metadata will not be passed in on instance"},{"line_number":71,"context_line":"create however this could be added soon after. You will however be able to see"},{"line_number":72,"context_line":"metadata in the instance object when you do a SHOW on the instance. Also when"},{"line_number":73,"context_line":"deleting an instance all metadata is deleted to keep things neat and tidy."},{"line_number":74,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1ab14d0d_c10bc67c","line":71,"updated":"2015-04-18 02:05:04.000000000","message":"after create if we can put a \u0027,\u0027","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f4926a6d1c0621802baccc4b3bb66717b268ca2f","unresolved":false,"context_lines":[{"line_number":68,"context_line":"Note that these are stored in the database as strings (in a text field)."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"For this initial implementation, metadata will not be passed in on instance"},{"line_number":71,"context_line":"create however this could be added soon after. You will however be able to see"},{"line_number":72,"context_line":"metadata in the instance object when you do a SHOW on the instance. Also when"},{"line_number":73,"context_line":"deleting an instance all metadata is deleted to keep things neat and tidy."},{"line_number":74,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_98dcc3e5","line":71,"in_reply_to":"1ab14d0d_c10bc67c","updated":"2015-04-21 15:34:00.000000000","message":"I can add that next spin","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10295,"name":"mariam john","email":"mariamj@us.ibm.com","username":"mariamj"},"change_message_id":"b4e73c3260727750e31bd302720571797b7e4045","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"For this initial implementation, metadata will not be passed in on instance"},{"line_number":71,"context_line":"create however this could be added soon after. You will however be able to see"},{"line_number":72,"context_line":"metadata in the instance object when you do a SHOW on the instance. Also when"},{"line_number":73,"context_line":"deleting an instance all metadata is deleted to keep things neat and tidy."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Configuration"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1ab14d0d_e17da2e8","line":72,"updated":"2015-04-18 02:05:04.000000000","message":"to see the metadata of an instance, shouldnt we do a LIST instead of SHOW. Based on the definition below looks like a SHOW is used to list the value of a key for the metadata of an instance.","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f4926a6d1c0621802baccc4b3bb66717b268ca2f","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"For this initial implementation, metadata will not be passed in on instance"},{"line_number":71,"context_line":"create however this could be added soon after. You will however be able to see"},{"line_number":72,"context_line":"metadata in the instance object when you do a SHOW on the instance. Also when"},{"line_number":73,"context_line":"deleting an instance all metadata is deleted to keep things neat and tidy."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Configuration"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_f8ca9f19","line":72,"in_reply_to":"1ab14d0d_e17da2e8","updated":"2015-04-21 15:34:00.000000000","message":"You\u0027ll see the metadata if you do a SHOW on the *instance* (i.e. \u0027trove show \u003cinstance_id\u003e\u0027).  To see the metadata using a metadata command, it is \u0027trove metadata-list \u003cinstance_id\u003e\u0027","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"b13fc3129b75475155f0db598344f14b8d508522","unresolved":false,"context_lines":[{"line_number":89,"context_line":"     instance_id       String(36)"},{"line_number":90,"context_line":"     key               String(255)"},{"line_number":91,"context_line":"     value             Text"},{"line_number":92,"context_line":"     created           DateTime"},{"line_number":93,"context_line":"     updated           DateTime"},{"line_number":94,"context_line":"     deleted           Boolean"},{"line_number":95,"context_line":"     deleted_at        DateTime"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_757ecdaf","line":92,"updated":"2015-04-20 14:25:25.000000000","message":"Why would anyone care when the metadata was created, updated, or deleted?","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10295,"name":"mariam john","email":"mariamj@us.ibm.com","username":"mariamj"},"change_message_id":"b4e73c3260727750e31bd302720571797b7e4045","unresolved":false,"context_lines":[{"line_number":90,"context_line":"     key               String(255)"},{"line_number":91,"context_line":"     value             Text"},{"line_number":92,"context_line":"     created           DateTime"},{"line_number":93,"context_line":"     updated           DateTime"},{"line_number":94,"context_line":"     deleted           Boolean"},{"line_number":95,"context_line":"     deleted_at        DateTime"},{"line_number":96,"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"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1ab14d0d_c182a6c8","line":93,"updated":"2015-04-18 02:05:04.000000000","message":"do you think it would make it consistent to name this created_at and updated_at since it represents the time? Thanks.","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f4926a6d1c0621802baccc4b3bb66717b268ca2f","unresolved":false,"context_lines":[{"line_number":90,"context_line":"     key               String(255)"},{"line_number":91,"context_line":"     value             Text"},{"line_number":92,"context_line":"     created           DateTime"},{"line_number":93,"context_line":"     updated           DateTime"},{"line_number":94,"context_line":"     deleted           Boolean"},{"line_number":95,"context_line":"     deleted_at        DateTime"},{"line_number":96,"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"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_b870a7dd","line":93,"in_reply_to":"1ab14d0d_c182a6c8","updated":"2015-04-21 15:34:00.000000000","message":"I agree and I\u0027d prefer it that way (and that\u0027s how it\u0027s done in Nova and Cinder, etc.).  However in Trove this is the format that\u0027s been used.  It\u0027s continued here for consistency.\n\nThere are, however, two tables (agent_heartbeats and service_statuses) that use an \u0027updated_at\u0027 field.  If the community want to change to that format, I\u0027m more than willing to make the change here.  I\u0027ll see how people weigh in on it first.","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"b13fc3129b75475155f0db598344f14b8d508522","unresolved":false,"context_lines":[{"line_number":91,"context_line":"     value             Text"},{"line_number":92,"context_line":"     created           DateTime"},{"line_number":93,"context_line":"     updated           DateTime"},{"line_number":94,"context_line":"     deleted           Boolean"},{"line_number":95,"context_line":"     deleted_at        DateTime"},{"line_number":96,"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"},{"line_number":97,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_153b11ed","line":94,"updated":"2015-04-20 14:25:25.000000000","message":"For the number of times that metadata would be modified, couldn\u0027t we just lock the instance and eliminate the need for a deleted flag?","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f4926a6d1c0621802baccc4b3bb66717b268ca2f","unresolved":false,"context_lines":[{"line_number":91,"context_line":"     value             Text"},{"line_number":92,"context_line":"     created           DateTime"},{"line_number":93,"context_line":"     updated           DateTime"},{"line_number":94,"context_line":"     deleted           Boolean"},{"line_number":95,"context_line":"     deleted_at        DateTime"},{"line_number":96,"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"},{"line_number":97,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_c3a5ac04","line":94,"in_reply_to":"dac4157f_153b11ed","updated":"2015-04-21 15:34:00.000000000","message":"Not sure why this implementation was chosen, however every table in Trove (and Nova and Cinder, etc.) does it this way.","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"b13fc3129b75475155f0db598344f14b8d508522","unresolved":false,"context_lines":[{"line_number":106,"context_line":""},{"line_number":107,"context_line":"To create a new metadata record::"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    POST /instances/{id}/metadata/{key}"},{"line_number":110,"context_line":"    {"},{"line_number":111,"context_line":"      \"metadata\": {"},{"line_number":112,"context_line":"          \"value\": {\"one\": {\"two\": [3, 4, 5]}}"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_3573b4b3","line":109,"updated":"2015-04-20 14:25:25.000000000","message":"Is the intention that this would fail if you tried to post to a key that is already defined?","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"d310d71ae3c28f8905499d6c92c05aad66ffaa3a","unresolved":false,"context_lines":[{"line_number":106,"context_line":""},{"line_number":107,"context_line":"To create a new metadata record::"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    POST /instances/{id}/metadata/{key}"},{"line_number":110,"context_line":"    {"},{"line_number":111,"context_line":"      \"metadata\": {"},{"line_number":112,"context_line":"          \"value\": {\"one\": {\"two\": [3, 4, 5]}}"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_fea167aa","line":109,"in_reply_to":"dac4157f_3573b4b3","updated":"2015-04-21 15:43:41.000000000","message":"Yes, that\u0027s how it\u0027s currently implemented.  Use metadata-edit to change an existing record.","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"b13fc3129b75475155f0db598344f14b8d508522","unresolved":false,"context_lines":[{"line_number":128,"context_line":"Update"},{"line_number":129,"context_line":"^^^^^^"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"To substitute a key and value in the database with a new key and value::"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    PUT /instances/{id}/metadata/{key}"},{"line_number":134,"context_line":"    {"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_f5377ce1","line":131,"updated":"2015-04-20 14:25:25.000000000","message":"Why would anyone want to do this?","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f4926a6d1c0621802baccc4b3bb66717b268ca2f","unresolved":false,"context_lines":[{"line_number":128,"context_line":"Update"},{"line_number":129,"context_line":"^^^^^^"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"To substitute a key and value in the database with a new key and value::"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    PUT /instances/{id}/metadata/{key}"},{"line_number":134,"context_line":"    {"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_e33430fc","line":131,"in_reply_to":"dac4157f_f5377ce1","updated":"2015-04-21 15:34:00.000000000","message":"No idea, hence the \u0027alternate\u0027 section with a pared down version of metadata.","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"d310d71ae3c28f8905499d6c92c05aad66ffaa3a","unresolved":false,"context_lines":[{"line_number":146,"context_line":"    Response Body: None"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"Replace"},{"line_number":150,"context_line":"^^^^^^^"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"To replace the value of a specific key::"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_bee76fe3","line":149,"updated":"2015-04-21 15:43:41.000000000","message":"This actually should be Edit","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"b13fc3129b75475155f0db598344f14b8d508522","unresolved":false,"context_lines":[{"line_number":170,"context_line":""},{"line_number":171,"context_line":"To delete a metadata key/value pair::"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"    DELETE /instances/{id}/metadata/{key}"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"    Response Codes:"},{"line_number":176,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_75a00cf5","line":173,"updated":"2015-04-20 14:25:25.000000000","message":"Why is this needed?  Couldn\u0027t posting an empty value to a key do the same thing?","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f4926a6d1c0621802baccc4b3bb66717b268ca2f","unresolved":false,"context_lines":[{"line_number":170,"context_line":""},{"line_number":171,"context_line":"To delete a metadata key/value pair::"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"    DELETE /instances/{id}/metadata/{key}"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"    Response Codes:"},{"line_number":176,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_feff27ff","line":173,"in_reply_to":"dac4157f_75a00cf5","updated":"2015-04-21 15:34:00.000000000","message":"sure, but running metadata-create to delete a value would be a mite confusing (plus it would run counter to how everything else in Trove works).","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"b13fc3129b75475155f0db598344f14b8d508522","unresolved":false,"context_lines":[{"line_number":185,"context_line":""},{"line_number":186,"context_line":"To show the value of a specific key::"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"    GET /instances/{id}/metadata/{key}"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    Response Codes:"},{"line_number":191,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_15c5508d","line":188,"updated":"2015-04-20 14:25:25.000000000","message":"Why bother having this if the access method is exactly the same as it would be if LIST were called?","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f4926a6d1c0621802baccc4b3bb66717b268ca2f","unresolved":false,"context_lines":[{"line_number":185,"context_line":""},{"line_number":186,"context_line":"To show the value of a specific key::"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"    GET /instances/{id}/metadata/{key}"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    Response Codes:"},{"line_number":191,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_1e5e5b12","line":188,"in_reply_to":"dac4157f_15c5508d","updated":"2015-04-21 15:34:00.000000000","message":"Well, this prints just the value for the key in question, not all of the keys/values of an instance.  Again, not sure why this was considered needed - hence \u0027alternative\u0027 section.","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"b13fc3129b75475155f0db598344f14b8d508522","unresolved":false,"context_lines":[{"line_number":246,"context_line":"    value:       The value to store in the database and associate with key above."},{"line_number":247,"context_line":""},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"Note:  There is code in the CLI library that attempts to deserialize any"},{"line_number":250,"context_line":"strings passed into the library to allow users to pass in complex data"},{"line_number":251,"context_line":"structures in JSON format via the CLI. A failed json.loads() is ignored and the"},{"line_number":252,"context_line":"library then assumes that it is just a simple string and inserts that string"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_55b4e8f0","line":249,"updated":"2015-04-20 14:25:25.000000000","message":"Why would we even bother trying to parse the value if we\u0027re just going to ignore failures?  Isn\u0027t that just going to cause errors in the user\u0027s code?  It would be better to just store strings and let the user deal with serialization if needed.","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f4926a6d1c0621802baccc4b3bb66717b268ca2f","unresolved":false,"context_lines":[{"line_number":246,"context_line":"    value:       The value to store in the database and associate with key above."},{"line_number":247,"context_line":""},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"Note:  There is code in the CLI library that attempts to deserialize any"},{"line_number":250,"context_line":"strings passed into the library to allow users to pass in complex data"},{"line_number":251,"context_line":"structures in JSON format via the CLI. A failed json.loads() is ignored and the"},{"line_number":252,"context_line":"library then assumes that it is just a simple string and inserts that string"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_3eba3f24","line":249,"in_reply_to":"dac4157f_55b4e8f0","updated":"2015-04-21 15:34:00.000000000","message":"Not sure what the justification/use case for this is.","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"d310d71ae3c28f8905499d6c92c05aad66ffaa3a","unresolved":false,"context_lines":[{"line_number":288,"context_line":""},{"line_number":289,"context_line":"    self.client.metadata.update(\u0027d241b3ce-e382-4dcc-ace7-769380438741\u0027, \u0027myKey\u0027, \u0027instanceProvisionedBy\u0027, \u0027Jenkins CI\u0027)"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"Replace"},{"line_number":292,"context_line":"^^^^^^^"},{"line_number":293,"context_line":""},{"line_number":294,"context_line":"Change the value of a given key:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_1ed77bee","line":291,"updated":"2015-04-21 15:43:41.000000000","message":"This should be Edit","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"d310d71ae3c28f8905499d6c92c05aad66ffaa3a","unresolved":false,"context_lines":[{"line_number":303,"context_line":""},{"line_number":304,"context_line":".. code-block:: bash"},{"line_number":305,"context_line":""},{"line_number":306,"context_line":"    trove metadata-replace d241b3ce-e382-4dcc-ace7-769380438741 instanceProvisionedBy \u0027Jenkins CI 4/1/14\u0027"},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"Python Library Example:"},{"line_number":309,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_fe184786","line":306,"updated":"2015-04-21 15:43:41.000000000","message":"Should be \u0027trove metadata-edit\u0027","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"d310d71ae3c28f8905499d6c92c05aad66ffaa3a","unresolved":false,"context_lines":[{"line_number":309,"context_line":""},{"line_number":310,"context_line":".. code-block:: python"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    self.client.metadata.replace(\u0027d241b3ce-e382-4dcc-ace7-769380438741\u0027, \u0027instanceProvisionedBy\u0027, \u0027Jenkins CI\u0027)"},{"line_number":313,"context_line":""},{"line_number":314,"context_line":"Delete"},{"line_number":315,"context_line":"^^^^^^"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_7e0d573d","line":312,"updated":"2015-04-21 15:43:41.000000000","message":"ditto","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"b13fc3129b75475155f0db598344f14b8d508522","unresolved":false,"context_lines":[{"line_number":419,"context_line":"implemented that would only include::"},{"line_number":420,"context_line":""},{"line_number":421,"context_line":"  create"},{"line_number":422,"context_line":"  delete"},{"line_number":423,"context_line":"  list (possibly)"},{"line_number":424,"context_line":""},{"line_number":425,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_b573444d","line":422,"updated":"2015-04-20 14:25:25.000000000","message":"Again, even delete is redundant.  Setting an empty value could delete the key.","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f4926a6d1c0621802baccc4b3bb66717b268ca2f","unresolved":false,"context_lines":[{"line_number":419,"context_line":"implemented that would only include::"},{"line_number":420,"context_line":""},{"line_number":421,"context_line":"  create"},{"line_number":422,"context_line":"  delete"},{"line_number":423,"context_line":"  list (possibly)"},{"line_number":424,"context_line":""},{"line_number":425,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dac4157f_fe828751","line":422,"in_reply_to":"dac4157f_b573444d","updated":"2015-04-21 15:34:00.000000000","message":"See comment above.","commit_id":"2f8861df105fda6585b6bace7bf08d2f79f3ebba"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"008b1cab30218b0675675af175ef6df1268d9696","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":""},{"line_number":21,"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"},{"line_number":22,"context_line":"Trove Instance MetaData Support"},{"line_number":23,"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"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":".. If section numbers are desired, unindent this"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_264a9656","line":22,"updated":"2015-05-25 14:04:32.000000000","message":"metadata needs no capital D.\n\nAlso, when this spec was originally created, clusters didn\u0027t exist.\n\nNow that we have clusters, how (if any) does this change the requirement(s)?","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"e393fceaef23fba5d5e06a30000bd9dfaa9e4b61","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":""},{"line_number":21,"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"},{"line_number":22,"context_line":"Trove Instance MetaData Support"},{"line_number":23,"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"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":".. If section numbers are desired, unindent this"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_2fa2e399","line":22,"in_reply_to":"7a016987_264a9656","updated":"2015-06-23 19:08:49.000000000","message":"This is just for instance metadata, not clusters (or backups, etc.).  We can always add other metadata later.  I\u0027ll fix the typo","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"008b1cab30218b0675675af175ef6df1268d9696","unresolved":false,"context_lines":[{"line_number":22,"context_line":"Trove Instance MetaData Support"},{"line_number":23,"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"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":".. If section numbers are desired, unindent this"},{"line_number":26,"context_line":"    .. sectnum::"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":".. If a TOC is desired, unindent this"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_5c0a0827","line":25,"updated":"2015-05-25 14:04:32.000000000","message":"you should remove this stuff","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10295,"name":"mariam john","email":"mariamj@us.ibm.com","username":"mariamj"},"change_message_id":"643a5d00d6ec6e79da3e0cfb6dac718c63ea01f0","unresolved":false,"context_lines":[{"line_number":35,"context_line":"https://blueprints.launchpad.net/trove/+spec/trove-metadata"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Problem description"},{"line_number":39,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Instance metadata is a feature that has been requested frequently by our users."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a41bdd9_919fb1b3","line":38,"updated":"2015-07-14 11:42:37.000000000","message":"This needs to be Problem Description instead (tests are failing because of this)","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"c4e9cd4a5b40cbc5c1a5350b9a196d62244a3b2e","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Instance metadata is a feature that has been requested frequently by our users."},{"line_number":42,"context_line":"They need a way to store critical information for their instances and have that"},{"line_number":43,"context_line":"be associated with the instance so that it is displayed whenever that instance"},{"line_number":44,"context_line":"is listed via the API. This also becomes very usable from a testing perspective"},{"line_number":45,"context_line":"when doing integration/CI. We can utilize the metadata to store things like"},{"line_number":46,"context_line":"what process created the instance, what the instance is being used for, etc."},{"line_number":47,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_3b097ade","line":44,"updated":"2015-05-26 12:33:02.000000000","message":"Could you add an specific example? Is this datastore specific or is metadata regarding the instance itself?","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"e393fceaef23fba5d5e06a30000bd9dfaa9e4b61","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Instance metadata is a feature that has been requested frequently by our users."},{"line_number":42,"context_line":"They need a way to store critical information for their instances and have that"},{"line_number":43,"context_line":"be associated with the instance so that it is displayed whenever that instance"},{"line_number":44,"context_line":"is listed via the API. This also becomes very usable from a testing perspective"},{"line_number":45,"context_line":"when doing integration/CI. We can utilize the metadata to store things like"},{"line_number":46,"context_line":"what process created the instance, what the instance is being used for, etc."},{"line_number":47,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_af64b3b8","line":44,"in_reply_to":"7a016987_3b097ade","updated":"2015-06-23 19:08:49.000000000","message":"This is just metadata stored against the instance.  It can be whatever the user (or Trove) wants.  I\u0027ll see if I can change some of the API examples to be more realistic.","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10295,"name":"mariam john","email":"mariamj@us.ibm.com","username":"mariamj"},"change_message_id":"643a5d00d6ec6e79da3e0cfb6dac718c63ea01f0","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Proposed change"},{"line_number":50,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"With the possiblity of an OpenStack official metadata service on the horizon,"},{"line_number":53,"context_line":"it was felt that the entry point of the integration should be kept very small"},{"line_number":54,"context_line":"so that if/when that service becomes available there will be little code in the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a41bdd9_d1b53931","line":51,"updated":"2015-07-14 11:42:37.000000000","message":"Needs to be Proposed Change instead","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":13355,"name":"Edmond Kotowski","email":"ekotowski@gmail.com","username":"ekotowski"},"change_message_id":"8c63db7aaf7d8d31b8b3fd62f7d6d136c47ace62","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Proposed change"},{"line_number":50,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"With the possiblity of an OpenStack official metadata service on the horizon,"},{"line_number":53,"context_line":"it was felt that the entry point of the integration should be kept very small"},{"line_number":54,"context_line":"so that if/when that service becomes available there will be little code in the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_bb0a5888","line":51,"updated":"2015-05-21 22:07:55.000000000","message":"Will the guest have access to the metadata, similar to how nova metadata works with http://169.254.169.254/openstack/2012-08-10/meta_data.json?","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"f77b0c866fe888b14799cda75cbaa8ef706a41f3","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Proposed change"},{"line_number":50,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"With the possiblity of an OpenStack official metadata service on the horizon,"},{"line_number":53,"context_line":"it was felt that the entry point of the integration should be kept very small"},{"line_number":54,"context_line":"so that if/when that service becomes available there will be little code in the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_dcae112d","line":51,"in_reply_to":"7a016987_bb0a5888","updated":"2015-05-22 22:27:01.000000000","message":"I\u0027ll look in the implementation, but I suspect that right now it\u0027s not there.","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":13355,"name":"Edmond Kotowski","email":"ekotowski@gmail.com","username":"ekotowski"},"change_message_id":"09a7b8dda6f760c9a37cc1d980f8b278a0d0c05c","unresolved":false,"context_lines":[{"line_number":82,"context_line":"--------"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"A new table (instance_metadata) will be added to the Trove schema:"},{"line_number":85,"context_line":""},{"line_number":86,"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"},{"line_number":87,"context_line":"     Field Name        Type"},{"line_number":88,"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"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_073474db","line":85,"updated":"2015-05-21 16:41:12.000000000","message":"I thought we discussed wrapping nova\u0027s metadata instead of reimplementing the same solution?","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"008b1cab30218b0675675af175ef6df1268d9696","unresolved":false,"context_lines":[{"line_number":82,"context_line":"--------"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"A new table (instance_metadata) will be added to the Trove schema:"},{"line_number":85,"context_line":""},{"line_number":86,"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"},{"line_number":87,"context_line":"     Field Name        Type"},{"line_number":88,"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"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_e64b5e5e","line":85,"in_reply_to":"7a016987_073474db","updated":"2015-05-25 14:04:32.000000000","message":"I believe there are benefits and disadvantages of each approach. It may be worth enumerating them.\n\nLet me start the discussion by saying, consider a MongoDB cluster ...","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":14912,"name":"Ashleigh Farnham","email":"ashleighfarnham@gmail.com"},"change_message_id":"92763ae2dc9e3ee22e6133fb178b2e64aed3d53c","unresolved":false,"context_lines":[{"line_number":82,"context_line":"--------"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"A new table (instance_metadata) will be added to the Trove schema:"},{"line_number":85,"context_line":""},{"line_number":86,"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"},{"line_number":87,"context_line":"     Field Name        Type"},{"line_number":88,"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"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_a79ea7b6","line":85,"in_reply_to":"7a016987_073474db","updated":"2015-05-22 16:29:51.000000000","message":"Looks like this is called out in the alternatives section at the bottom. This provides more functionality than wrapping nova and I think could also be more valuable. That said it does at a new table to the Trove schema but we\u0027d probably have to do that anyway if we wanted anything outside of what Nova currently provides.","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"c4e9cd4a5b40cbc5c1a5350b9a196d62244a3b2e","unresolved":false,"context_lines":[{"line_number":93,"context_line":"     created           DateTime"},{"line_number":94,"context_line":"     updated           DateTime"},{"line_number":95,"context_line":"     deleted           Boolean"},{"line_number":96,"context_line":"     deleted_at        DateTime"},{"line_number":97,"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"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Public API"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_1bb35e0c","line":96,"updated":"2015-05-26 12:33:02.000000000","message":"Could we use \u0027deleted\u0027 only? Like... if it has been deleted, it has a DateTime, if not, its nulled.","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"ab9b531634188a8897c372d1b2fd7501cb849d2e","unresolved":false,"context_lines":[{"line_number":93,"context_line":"     created           DateTime"},{"line_number":94,"context_line":"     updated           DateTime"},{"line_number":95,"context_line":"     deleted           Boolean"},{"line_number":96,"context_line":"     deleted_at        DateTime"},{"line_number":97,"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"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Public API"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_c6bc84bd","line":96,"in_reply_to":"7a016987_1bb35e0c","updated":"2015-06-23 18:35:50.000000000","message":"Probably best to match however it is done elsewhere.","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"e393fceaef23fba5d5e06a30000bd9dfaa9e4b61","unresolved":false,"context_lines":[{"line_number":93,"context_line":"     created           DateTime"},{"line_number":94,"context_line":"     updated           DateTime"},{"line_number":95,"context_line":"     deleted           Boolean"},{"line_number":96,"context_line":"     deleted_at        DateTime"},{"line_number":97,"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"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Public API"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_94c8e623","line":96,"in_reply_to":"fa32b979_c6bc84bd","updated":"2015-06-23 19:08:49.000000000","message":"Yeah, I\u0027m not a huge fan of how it was implemented (I think it should be created_at, updated_at, etc. as well) but it\u0027s a consistency thing ;)","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"c4e9cd4a5b40cbc5c1a5350b9a196d62244a3b2e","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"To create a new metadata record::"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    POST /instances/{id}/metadata/{key}"},{"line_number":111,"context_line":"    {"},{"line_number":112,"context_line":"      \"metadata\": {"},{"line_number":113,"context_line":"          \"value\": {\"one\": {\"two\": [3, 4, 5]}}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_fb0f6286","line":110,"updated":"2015-05-26 12:33:02.000000000","message":"Shouldn\u0027t the \u0027key\u0027 be inside the JSON body and then create the resource?","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"e393fceaef23fba5d5e06a30000bd9dfaa9e4b61","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"To create a new metadata record::"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    POST /instances/{id}/metadata/{key}"},{"line_number":111,"context_line":"    {"},{"line_number":112,"context_line":"      \"metadata\": {"},{"line_number":113,"context_line":"          \"value\": {\"one\": {\"two\": [3, 4, 5]}}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_f4dff2d3","line":110,"in_reply_to":"7a016987_fb0f6286","updated":"2015-06-23 19:08:49.000000000","message":"Similar to Morgan\u0027s (recent) post - yes, I think I need to go over the api-wg suggestion on metadata and make sure we\u0027re adhering to it - see: https://github.com/openstack/api-wg/blob/master/guidelines/metadata.rst  I\u0027ll do that when I get some time ;)","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"ab9b531634188a8897c372d1b2fd7501cb849d2e","unresolved":false,"context_lines":[{"line_number":251,"context_line":"strings passed into the library to allow users to pass in complex data"},{"line_number":252,"context_line":"structures in JSON format via the CLI. A failed json.loads() is ignored and the"},{"line_number":253,"context_line":"library then assumes that it is just a simple string and inserts that string"},{"line_number":254,"context_line":"into the database."},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"CLI Example:"},{"line_number":257,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_66ced82e","line":254,"updated":"2015-06-23 18:35:50.000000000","message":"What does this note mean?  What is it going to do with the value if it does pass the json.load()?","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"e393fceaef23fba5d5e06a30000bd9dfaa9e4b61","unresolved":false,"context_lines":[{"line_number":251,"context_line":"strings passed into the library to allow users to pass in complex data"},{"line_number":252,"context_line":"structures in JSON format via the CLI. A failed json.loads() is ignored and the"},{"line_number":253,"context_line":"library then assumes that it is just a simple string and inserts that string"},{"line_number":254,"context_line":"into the database."},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"CLI Example:"},{"line_number":257,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_0fb11f47","line":254,"in_reply_to":"fa32b979_66ced82e","updated":"2015-06-23 19:08:49.000000000","message":"I can check the code, but I don\u0027t understand the significance of this","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":14912,"name":"Ashleigh Farnham","email":"ashleighfarnham@gmail.com"},"change_message_id":"92763ae2dc9e3ee22e6133fb178b2e64aed3d53c","unresolved":false,"context_lines":[{"line_number":268,"context_line":"Update"},{"line_number":269,"context_line":"^^^^^^"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"Substitute a newkey for an orginal key and a new value for the old key\u0027s value:"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"Arguments::"},{"line_number":274,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_ec1fe6b4","line":271,"updated":"2015-05-22 16:29:51.000000000","message":"typo original","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"e393fceaef23fba5d5e06a30000bd9dfaa9e4b61","unresolved":false,"context_lines":[{"line_number":268,"context_line":"Update"},{"line_number":269,"context_line":"^^^^^^"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"Substitute a newkey for an orginal key and a new value for the old key\u0027s value:"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"Arguments::"},{"line_number":274,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_d490aeef","line":271,"in_reply_to":"7a016987_ec1fe6b4","updated":"2015-06-23 19:08:49.000000000","message":"will fix on next patchset","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"ab9b531634188a8897c372d1b2fd7501cb849d2e","unresolved":false,"context_lines":[{"line_number":348,"context_line":""},{"line_number":349,"context_line":"    trove metadata-show d241b3ce-e382-4dcc-ace7-769380438741 newKey"},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"    Returned Body:"},{"line_number":352,"context_line":"    {"},{"line_number":353,"context_line":"        \"metadata\": {"},{"line_number":354,"context_line":"            \"newKey\": {\"one\": {\"two\": [3, 4, 5]}}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_a69620ee","line":351,"updated":"2015-06-23 18:35:50.000000000","message":"Is this really what metadata-show is going to show?  It\u0027s not going to at least be wrapped up in the \"+-----+\" markers?","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"e393fceaef23fba5d5e06a30000bd9dfaa9e4b61","unresolved":false,"context_lines":[{"line_number":348,"context_line":""},{"line_number":349,"context_line":"    trove metadata-show d241b3ce-e382-4dcc-ace7-769380438741 newKey"},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"    Returned Body:"},{"line_number":352,"context_line":"    {"},{"line_number":353,"context_line":"        \"metadata\": {"},{"line_number":354,"context_line":"            \"newKey\": {\"one\": {\"two\": [3, 4, 5]}}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_af2cb399","line":351,"in_reply_to":"fa32b979_a69620ee","updated":"2015-06-23 19:08:49.000000000","message":"I\u0027ll have to break this out into the new sections (so that it passes py27 tests) - I\u0027ll make the output look more like would be expected","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"008b1cab30218b0675675af175ef6df1268d9696","unresolved":false,"context_lines":[{"line_number":412,"context_line":"Alternatives"},{"line_number":413,"context_line":"------------"},{"line_number":414,"context_line":""},{"line_number":415,"context_line":"The current proposal may be considered overkill.  The current Nova metadata"},{"line_number":416,"context_line":"implementation allows only set and delete (no edit/update/show or even list)."},{"line_number":417,"context_line":"If an \u0027OpenStack-wide\u0027 implementation becomes available, it is highly likely it"},{"line_number":418,"context_line":"will only support what Nova supports and switching to it at that point would"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_c6d3c25e","line":415,"updated":"2015-05-25 14:04:32.000000000","message":"It would be worth discussing the implications of the proposed interface and how it is contemplated that we extend this for clusters.","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"c4e9cd4a5b40cbc5c1a5350b9a196d62244a3b2e","unresolved":false,"context_lines":[{"line_number":412,"context_line":"Alternatives"},{"line_number":413,"context_line":"------------"},{"line_number":414,"context_line":""},{"line_number":415,"context_line":"The current proposal may be considered overkill.  The current Nova metadata"},{"line_number":416,"context_line":"implementation allows only set and delete (no edit/update/show or even list)."},{"line_number":417,"context_line":"If an \u0027OpenStack-wide\u0027 implementation becomes available, it is highly likely it"},{"line_number":418,"context_line":"will only support what Nova supports and switching to it at that point would"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_db126658","line":415,"in_reply_to":"7a016987_c6d3c25e","updated":"2015-05-26 12:33:02.000000000","message":"Metadata for clusters sounds like a different spec.\n\nRight now it may worth thinking if we actually need the added features or if wrapping nova-metadata is enough for what our users expect from us.","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"e393fceaef23fba5d5e06a30000bd9dfaa9e4b61","unresolved":false,"context_lines":[{"line_number":421,"context_line":""},{"line_number":422,"context_line":"  create"},{"line_number":423,"context_line":"  delete"},{"line_number":424,"context_line":"  list (possibly)"},{"line_number":425,"context_line":""},{"line_number":426,"context_line":""},{"line_number":427,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_0f435f43","line":424,"updated":"2015-06-23 19:08:49.000000000","message":"I\u0027ll add a note here that the nova metadata API doesn\u0027t follow the api-wg \u0027approved\u0027 model ...","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"c4e9cd4a5b40cbc5c1a5350b9a196d62244a3b2e","unresolved":false,"context_lines":[{"line_number":430,"context_line":"Assignee(s)"},{"line_number":431,"context_line":"-----------"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"The code is currently implemented and available for review."},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"Primary assignee:"},{"line_number":436,"context_line":"  imsplitbit"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_74fb8a48","line":433,"updated":"2015-05-26 12:33:02.000000000","message":"If so, could you add the links for it?","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"008b1cab30218b0675675af175ef6df1268d9696","unresolved":false,"context_lines":[{"line_number":430,"context_line":"Assignee(s)"},{"line_number":431,"context_line":"-----------"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"The code is currently implemented and available for review."},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"Primary assignee:"},{"line_number":436,"context_line":"  imsplitbit"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_268f3677","line":433,"updated":"2015-05-25 14:04:32.000000000","message":"It is?","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"e393fceaef23fba5d5e06a30000bd9dfaa9e4b61","unresolved":false,"context_lines":[{"line_number":430,"context_line":"Assignee(s)"},{"line_number":431,"context_line":"-----------"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"The code is currently implemented and available for review."},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"Primary assignee:"},{"line_number":436,"context_line":"  imsplitbit"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_cf48175f","line":433,"in_reply_to":"7a016987_74fb8a48","updated":"2015-06-23 19:08:49.000000000","message":"Will do","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"008b1cab30218b0675675af175ef6df1268d9696","unresolved":false,"context_lines":[{"line_number":433,"context_line":"The code is currently implemented and available for review."},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"Primary assignee:"},{"line_number":436,"context_line":"  imsplitbit"},{"line_number":437,"context_line":""},{"line_number":438,"context_line":"Milestones"},{"line_number":439,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_867f0a66","line":436,"updated":"2015-05-25 14:04:32.000000000","message":"This needs an update, I think.","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"e393fceaef23fba5d5e06a30000bd9dfaa9e4b61","unresolved":false,"context_lines":[{"line_number":433,"context_line":"The code is currently implemented and available for review."},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"Primary assignee:"},{"line_number":436,"context_line":"  imsplitbit"},{"line_number":437,"context_line":""},{"line_number":438,"context_line":"Milestones"},{"line_number":439,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_4f6ba7b9","line":436,"in_reply_to":"7a016987_867f0a66","updated":"2015-06-23 19:08:49.000000000","message":"Well, he did most of the work - I can add myself as a secondary assignee","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"},{"author":{"_account_id":7806,"name":"Sushil Kumar","email":"skm.net@gmail.com","username":"sushilkm"},"change_message_id":"e895fe84e637bede9be99273226b8112e17d9727","unresolved":false,"context_lines":[{"line_number":439,"context_line":"----------"},{"line_number":440,"context_line":""},{"line_number":441,"context_line":"Target Milestone for completion:"},{"line_number":442,"context_line":"  Liberty-1"},{"line_number":443,"context_line":""},{"line_number":444,"context_line":"Work Items"},{"line_number":445,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_718d107b","line":442,"updated":"2015-06-24 12:47:03.000000000","message":"Liberty-1 is already released, now this could be targeted earliest for Liberty-2.","commit_id":"f625b52ad1d0e8f441c92a241402797dbb88ef5b"}]}
