)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"afc5a1aa0f84ae9c639019e98d1acfded6d5f09a","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Enhance doc for placement allocation list"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"1) add a note about when the non-existing consumer id input result"},{"line_number":10,"context_line":"2) only keep one consumer id result in the sample file as the"},{"line_number":11,"context_line":"allocation only target to one consumer"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Partial implement blueprint placement-doc-enhancement-queens"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5f4e5783_ef056d12","line":10,"updated":"2017-10-13 15:45:52.000000000","message":"that\u0027s a resource provider id, not a consumer id","commit_id":"259f6738c722243548d04e162342f4469c997e72"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"9880881bf284bc8f5222d394a5f93dbde1e6848b","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Enhance doc for placement allocation list"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"1) add a note about when the non-existing consumer id input result"},{"line_number":10,"context_line":"2) only keep one consumer id result in the sample file as the"},{"line_number":11,"context_line":"allocation only target to one consumer"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Partial implement blueprint placement-doc-enhancement-queens"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5f4e5783_d651ce37","line":10,"in_reply_to":"5f4e5783_ef056d12","updated":"2017-10-18 03:14:00.000000000","message":"ok will remove it","commit_id":"259f6738c722243548d04e162342f4469c997e72"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"c8bcaaf0c1eda60e9501d30d8fd4d1e8c56f35f0","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"add a note about when the non-existing consumer id input result"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Partial implement blueprint placement-doc-enhancement-queens"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I2a19d8fe8dda5754112361be5ceac8a0dc747ae9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"ff82abbf_76a9aa8e","line":11,"updated":"2017-11-30 20:35:37.000000000","message":"Please remove this - this isn\u0027t a blueprint that we\u0027re actually tracking for queens.","commit_id":"60384f4907ee0df8d50c8f7e600e4fd5748060de"}],"placement-api-ref/source/allocations.inc":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"afc5a1aa0f84ae9c639019e98d1acfded6d5f09a","unresolved":false,"context_lines":[{"line_number":14,"context_line":"`{consumer_uuid}` on all the resource providers it is consuming."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. note:: List allocations by using non-existing consumer uuid returns"},{"line_number":17,"context_line":"          an empty dictionary."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":".. rest_method:: GET /allocations/{consumer_uuid}"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":2,"id":"5f4e5783_e437d4fe","line":17,"updated":"2017-10-13 15:45:52.000000000","message":"This statement isn\u0027t strictly correct. All consumer uuids exist, but most of them don\u0027t have allocations. I think what you\u0027re trying to clarify here is that no validation is done on the consumer uuid.\n\nI think it is probably better to say \"If no allocations exist for the given identifier an empty dictionary will be returned.\"","commit_id":"259f6738c722243548d04e162342f4469c997e72"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"9880881bf284bc8f5222d394a5f93dbde1e6848b","unresolved":false,"context_lines":[{"line_number":14,"context_line":"`{consumer_uuid}` on all the resource providers it is consuming."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. note:: List allocations by using non-existing consumer uuid returns"},{"line_number":17,"context_line":"          an empty dictionary."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":".. rest_method:: GET /allocations/{consumer_uuid}"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":2,"id":"5f4e5783_f6c04ae3","line":17,"in_reply_to":"5f4e5783_e437d4fe","updated":"2017-10-18 03:14:00.000000000","message":"I am using a consumer_uuid such as \u0027abc\u0027\n\ncurl -g -i -X GET \"http://192.168.122.243/placement/allocations/abc\" \n\nthis get a {} output..","commit_id":"259f6738c722243548d04e162342f4469c997e72"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"365b2c292f422a54736ed899182a2fe49a4ba9f2","unresolved":false,"context_lines":[{"line_number":14,"context_line":"`{consumer_uuid}` on all the resource providers it is consuming."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. note:: List allocations by using non-existing consumer uuid returns"},{"line_number":17,"context_line":"          an empty dictionary."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":".. rest_method:: GET /allocations/{consumer_uuid}"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"3f4b6375_284e3cc1","line":17,"range":{"start_line":17,"start_character":10,"end_line":17,"end_character":30},"updated":"2017-10-30 15:12:19.000000000","message":"It seems that {\u0027allocations\u0027: {}} is returned.\n\nhttps://github.com/openstack/nova/blob/86d9f0e8cb9b47bdb07cb389a0f262eb42a5b2d4/nova/api/openstack/placement/handlers/allocation.py#L102\n\nIMO, needs more description. It is a bit unclear.","commit_id":"6dcd836e27875b7384ca8cf45beeb12efd57c5d9"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"47d34dde8a92d84203211aa3c6fab96b6a3f2faa","unresolved":false,"context_lines":[{"line_number":14,"context_line":"`{consumer_uuid}` on all the resource providers it is consuming."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. note:: List allocations by using non-existing consumer uuid returns"},{"line_number":17,"context_line":"          an empty dictionary."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":".. rest_method:: GET /allocations/{consumer_uuid}"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"3f4b6375_95f2ce6e","line":17,"range":{"start_line":17,"start_character":10,"end_line":17,"end_character":30},"in_reply_to":"3f4b6375_284e3cc1","updated":"2017-10-31 08:12:43.000000000","message":"Done","commit_id":"6dcd836e27875b7384ca8cf45beeb12efd57c5d9"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"47a761e647e546acf3093395dc0be9fc3b572f37","unresolved":false,"context_lines":[{"line_number":14,"context_line":"`{consumer_uuid}` on all the resource providers it is consuming."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. note:: List allocations by using non-existing consumer uuid returns"},{"line_number":17,"context_line":"          an a dict with empty value ``{\u0027allocations\u0027: {}}``."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":".. rest_method:: GET /allocations/{consumer_uuid}"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":5,"id":"ff82abbf_1f5458fd","line":17,"updated":"2017-11-27 17:44:29.000000000","message":"I think what you want here is:\n\nWhen listing allocations for a consumer uuid that has no allocations a dict with an empty value is returned ``{\"allocations\": {}}``.","commit_id":"8d8e5f5cccbf2716208faef6bc0235df90fe3fac"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a1d00226e3d2434d15f26929d64c626c9fc1700d","unresolved":false,"context_lines":[{"line_number":14,"context_line":"`{consumer_uuid}` on all the resource providers it is consuming."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. note:: List allocations by using non-existing consumer uuid returns"},{"line_number":17,"context_line":"          an a dict with empty value ``{\u0027allocations\u0027: {}}``."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":".. rest_method:: GET /allocations/{consumer_uuid}"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":5,"id":"ff82abbf_e41695a8","line":17,"in_reply_to":"ff82abbf_1f5458fd","updated":"2017-11-29 08:11:21.000000000","message":"Done","commit_id":"8d8e5f5cccbf2716208faef6bc0235df90fe3fac"}],"placement-api-ref/source/get-allocations.json":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"afc5a1aa0f84ae9c639019e98d1acfded6d5f09a","unresolved":false,"context_lines":[{"line_number":5,"context_line":"            \"resources\": {"},{"line_number":6,"context_line":"                \"DISK_GB\": 5"},{"line_number":7,"context_line":"            }"},{"line_number":8,"context_line":"        },"},{"line_number":9,"context_line":"        \"ba8e1ef8-7fa3-41a4-9bb4-d7cb2019899b\": {"},{"line_number":10,"context_line":"            \"generation\": 8,"},{"line_number":11,"context_line":"            \"resources\": {"}],"source_content_type":"application/json","patch_set":2,"id":"5f4e5783_a4167c54","side":"PARENT","line":8,"updated":"2017-10-13 15:45:52.000000000","message":"Removing this is incorrect. The block removed is for a resource provider. Any single consumer (expressed in the URL) can have allocations against multiple providers. Having \u003e1 here makes that clear.","commit_id":"9b62f5d01926c877961f2fc26d5d95ad8f892689"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"9880881bf284bc8f5222d394a5f93dbde1e6848b","unresolved":false,"context_lines":[{"line_number":5,"context_line":"            \"resources\": {"},{"line_number":6,"context_line":"                \"DISK_GB\": 5"},{"line_number":7,"context_line":"            }"},{"line_number":8,"context_line":"        },"},{"line_number":9,"context_line":"        \"ba8e1ef8-7fa3-41a4-9bb4-d7cb2019899b\": {"},{"line_number":10,"context_line":"            \"generation\": 8,"},{"line_number":11,"context_line":"            \"resources\": {"}],"source_content_type":"application/json","patch_set":2,"id":"5f4e5783_167ac6b8","side":"PARENT","line":8,"in_reply_to":"5f4e5783_a4167c54","updated":"2017-10-18 03:14:00.000000000","message":"you are right, I give a wrong thought here..","commit_id":"9b62f5d01926c877961f2fc26d5d95ad8f892689"}]}
