)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"c03890a391c539c579b8443c9581fb229220c5bd","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     jichenjc \u003cjichenjc@cn.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-05-26 05:25:15 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"[placement] Add allocation doc for placement"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add allocation doc for placement"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"df140735_5a20164a","line":7,"updated":"2017-06-07 11:13:26.000000000","message":"You should mention that this patch is only about GET request, I also started api-ref for allocations (https://review.openstack.org/#/c/470933/2), will remove\nyour part from my change request after fixes.","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a33fa444c2f692fd6aa054a7b1c0313dc05f49b6","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     jichenjc \u003cjichenjc@cn.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-05-26 05:25:15 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"[placement] Add allocation doc for placement"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add allocation doc for placement"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"7f231b9d_2f692020","line":7,"in_reply_to":"df140735_5a20164a","updated":"2017-06-15 08:33:41.000000000","message":"ok, will add /GET for it","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"c03890a391c539c579b8443c9581fb229220c5bd","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add allocation doc for placement"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"part of blueprint: placement-api-ref"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I40fcbc3077151227f33c6a021229b5c549889bbe"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"df140735_ba63b2b1","line":11,"updated":"2017-06-07 11:13:26.000000000","message":"I don\u0027t find such blueprint.","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a33fa444c2f692fd6aa054a7b1c0313dc05f49b6","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add allocation doc for placement"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"part of blueprint: placement-api-ref"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I40fcbc3077151227f33c6a021229b5c549889bbe"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"7f231b9d_ef5e8874","line":11,"in_reply_to":"df140735_ba63b2b1","updated":"2017-06-15 08:33:41.000000000","message":"we should create one :)\nI will remove this from msg","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"}],"placement-api-ref/source/allocation.inc":[{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"6d4a8268f90a16b331ca32082ede2843795216df","unresolved":false,"context_lines":[{"line_number":7,"context_line":"List allocation of a given resource provider"},{"line_number":8,"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\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method::  /resource_providers/{uuid}/allocation"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider allocation by resource class uuid."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":1,"id":"dfeb2761_ef906098","line":10,"range":{"start_line":10,"start_character":17,"end_line":10,"end_character":18},"updated":"2017-03-31 01:54:21.000000000","message":"\u0027GET\u0027 is missing.","commit_id":"24bec60579c941e5bd5f416e087a40a7792ada5d"},{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"793174fa04016f169c6e6736c8721a1c6cf30e09","unresolved":false,"context_lines":[{"line_number":7,"context_line":"List allocation of a given resource provider"},{"line_number":8,"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\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method::  /resource_providers/{uuid}/allocation"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider allocation by resource class uuid."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":1,"id":"dfeb2761_1ee3b307","line":10,"range":{"start_line":10,"start_character":38,"end_line":10,"end_character":43},"updated":"2017-03-31 07:07:55.000000000","message":"I guess this should be resource_provider_id as Takashi mentioned in the usage patch","commit_id":"24bec60579c941e5bd5f416e087a40a7792ada5d"},{"author":{"_account_id":17814,"name":"fengzhr","email":"fengzhr@awcloud.com","username":"space"},"change_message_id":"2bb6dd00aaae4d5158d17ffe0c2cb362ef475fa2","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"  - uuid: resource_provider_uuid_query_required"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Response"},{"line_number":24,"context_line":"--------"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"dfeb2761_a47dd6e8","line":21,"range":{"start_line":21,"start_character":4,"end_line":21,"end_character":8},"updated":"2017-03-31 08:26:15.000000000","message":"I agree with Zhenyu Zheng, resource_provider_id is better.","commit_id":"24bec60579c941e5bd5f416e087a40a7792ada5d"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"85955610795b7fb978914de83da76080802367df","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"bff0334d_48a601c4","updated":"2017-04-06 14:14:11.000000000","message":"This file name will conflict with the file that describes requests using the /allocations url\n\nthis file describes /resource_proviers/{uuid}/allocations so needs a name that reflects that","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"5acddb1b08358bc26dd30c7653319bb64a215a56","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"bff0334d_1736aa53","in_reply_to":"bff0334d_48a601c4","updated":"2017-05-10 09:52:02.000000000","message":"ok, moved to resource_proviers_allocations.inc","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"85955610795b7fb978914de83da76080802367df","unresolved":false,"context_lines":[{"line_number":7,"context_line":"List allocation of a given resource provider"},{"line_number":8,"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\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET  /resource_providers/{resource_provider_id}/allocation"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider allocation by resource class uuid."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"bff0334d_c80fb12c","line":10,"updated":"2017-04-06 14:14:11.000000000","message":"See the discussion on Andrey\u0027s documentation patches: In order for tooling that confirms what has or has not been documented, this needs to exactly match the URI description in nova.api.openstack.placement.handler:ROUTE_DECLARATIONS\n\nand thus be {uuid}\n\nWhich is okay because the \u0027resource_providers\u0027 that comes right before it says what kind it is.","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"5acddb1b08358bc26dd30c7653319bb64a215a56","unresolved":false,"context_lines":[{"line_number":7,"context_line":"List allocation of a given resource provider"},{"line_number":8,"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\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET  /resource_providers/{resource_provider_id}/allocation"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider allocation by resource class uuid."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"bff0334d_17d22ad3","line":10,"in_reply_to":"bff0334d_c80fb12c","updated":"2017-05-10 09:52:02.000000000","message":"ah.. ok, yes, that\u0027s a better way ,will move to uuid","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"85955610795b7fb978914de83da76080802367df","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET  /resource_providers/{resource_provider_id}/allocation"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider allocation by resource class uuid."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"bff0334d_28705da5","line":12,"updated":"2017-04-06 14:14:11.000000000","message":"allocations by consumer uuid","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"5acddb1b08358bc26dd30c7653319bb64a215a56","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET  /resource_providers/{resource_provider_id}/allocation"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider allocation by resource class uuid."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"bff0334d_17a0ea42","line":12,"in_reply_to":"bff0334d_28705da5","updated":"2017-05-10 09:52:02.000000000","message":"Done","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"85955610795b7fb978914de83da76080802367df","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider allocation by resource class uuid."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Request"},{"line_number":17,"context_line":"-------"}],"source_content_type":"text/x-c++src","patch_set":4,"id":"bff0334d_c8d9f183","line":14,"updated":"2017-04-06 14:14:11.000000000","message":"you need to mention the possible error codes, in this case a 404 for the resource provider not existing","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"5acddb1b08358bc26dd30c7653319bb64a215a56","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider allocation by resource class uuid."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Request"},{"line_number":17,"context_line":"-------"}],"source_content_type":"text/x-c++src","patch_set":4,"id":"bff0334d_b7849eb2","line":14,"in_reply_to":"bff0334d_c8d9f183","updated":"2017-05-10 09:52:02.000000000","message":"yes, right, the other patch had same reuqest, will do","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"85955610795b7fb978914de83da76080802367df","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"  - resource_provider_id: resource_provider_uuid_query_required"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Response"},{"line_number":24,"context_line":"--------"}],"source_content_type":"text/x-c++src","patch_set":4,"id":"bff0334d_483cc192","line":21,"updated":"2017-04-06 14:14:11.000000000","message":"This should probably be resource_provider_uuid, not resource_provider_uuid_query, as query implies that it is a query paramet like:\n\n  /foo/bar?resource_provider\u003d$UUID","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"5acddb1b08358bc26dd30c7653319bb64a215a56","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"  - resource_provider_id: resource_provider_uuid_query_required"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Response"},{"line_number":24,"context_line":"--------"}],"source_content_type":"text/x-c++src","patch_set":4,"id":"3f044301_46758631","line":21,"in_reply_to":"bff0334d_483cc192","updated":"2017-05-10 09:52:02.000000000","message":"moved to resource_provider_uuid_path","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"85955610795b7fb978914de83da76080802367df","unresolved":false,"context_lines":[{"line_number":26,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"  - generation: resource_provider_generation"},{"line_number":29,"context_line":"  - allocation: resource_provider_allocation"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Response Example"},{"line_number":32,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":4,"id":"bff0334d_e8a2759a","line":29,"updated":"2017-04-06 14:14:11.000000000","message":"These are both wrong, see my comments in the json file.","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"}],"placement-api-ref/source/get-resource_provider_allocations.json":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"80906f47706b15652d002c2f6cd8bc3aa852e70c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"allocations\": {"},{"line_number":3,"context_line":"        \"e6602721-df77-49b6-9d34-160bdae2a4e5\": {"},{"line_number":4,"context_line":"            \"resources\": {"},{"line_number":5,"context_line":"                \"DISK_GB\": 5"}],"source_content_type":"application/json","patch_set":16,"id":"3f1d235d_bd4ed1be","line":2,"updated":"2017-07-11 10:56:45.000000000","message":"these example would probably be improved by having at least two consumers. It\u0027s good enough as is, but not obvious from what\u0027s here that having more than one is normal.","commit_id":"260a6cc87eaf448611c3bafa4402886f37b7cdff"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"28557dac5eda0cb4b7da22822f71cd5257ff421a","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"allocations\": {"},{"line_number":3,"context_line":"        \"e6602721-df77-49b6-9d34-160bdae2a4e5\": {"},{"line_number":4,"context_line":"            \"resources\": {"},{"line_number":5,"context_line":"                \"DISK_GB\": 5"}],"source_content_type":"application/json","patch_set":16,"id":"1f1a1f67_550d9f8e","line":2,"in_reply_to":"3f1d235d_89019407","updated":"2017-07-12 13:06:53.000000000","message":"Yes, updated.","commit_id":"260a6cc87eaf448611c3bafa4402886f37b7cdff"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"fb482cf9c4a6d7315d82ab22a56bfab564a49ac9","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"allocations\": {"},{"line_number":3,"context_line":"        \"e6602721-df77-49b6-9d34-160bdae2a4e5\": {"},{"line_number":4,"context_line":"            \"resources\": {"},{"line_number":5,"context_line":"                \"DISK_GB\": 5"}],"source_content_type":"application/json","patch_set":16,"id":"3f1d235d_89019407","line":2,"in_reply_to":"3f1d235d_bd4ed1be","updated":"2017-07-11 13:54:20.000000000","message":"agreed, but can add in a followup patch if necessary. Also, having \u003e1 resource would be good :)","commit_id":"260a6cc87eaf448611c3bafa4402886f37b7cdff"}],"placement-api-ref/source/get-resource_providers_allocation.json":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"85955610795b7fb978914de83da76080802367df","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"bff0334d_68bc25dc","updated":"2017-04-06 14:14:11.000000000","message":"This is not right. Please use real json from a real query that you try yourself. Look in nova/tests/functional/api/openstack/placement/gabbits/allocations.yaml for some examples\n\nAlso the name of the file should probably be get-resource_provider_allocations.json\n\nThe plural part is important because this response will show all the consumer uuids that are consuming inventory from the one resource provider\n\nOnce you get this right, you\u0027ll then need to have parameter explanations for each key in the file, not just the top level dictionary.","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"ad962adf3720e6ed9139e0c72a9880969b3de8fc","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"3f044301_215ee411","in_reply_to":"3f044301_4646a6c2","updated":"2017-05-10 10:13:02.000000000","message":"my bad, I realized what you mean now, will do the change accordingly","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"5acddb1b08358bc26dd30c7653319bb64a215a56","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"3f044301_4646a6c2","in_reply_to":"bff0334d_68bc25dc","updated":"2017-05-10 09:52:02.000000000","message":"stack@devstack:~$ curl -g -X GET http://192.168.123.10/placement/resource_providers/48bdbf93-ec6c-4d94-8c36-a1215ddcc70a/allocations -H \"OpenStack-API-Version: placement 1.2\"  -H \"Content-Type: application/json\" -H \"X-Auth-Token: gAAAAABZEuIz663XM_x2Tahb-g08GmWw-7vc9sA2hqqApRT_P-xHiRfMXNOWGr1z4bhIUi4TibHNhUAsBH8v7tK6h_ntmeNaQVadeXa-YBWNiMG-O5ejJSSsrkJUSmLOefRETjaW3vtJPPWSetTHHqhFYcLygHaXXL6Ql5i4hgGgGoPnnSRHk58\"\n\n{\"resource_provider_generation\": 3, \"allocations\": {\"26d8eee9-fe45-4e3e-a35a-bfff1b965cf1\": {\"resources\": {\"MEMORY_MB\": 512, \"VCPU\": 1, \"DISK_GB\": 1}}}}stack@devstack:~$\n\n\nI did tried this before... I think this is the right answer?","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"}],"placement-api-ref/source/index.rst":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"85955610795b7fb978914de83da76080802367df","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":".. include:: root.inc"},{"line_number":16,"context_line":".. include:: resource_providers.inc"},{"line_number":17,"context_line":".. include:: allocation.inc"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bff0334d_28abbd89","line":17,"updated":"2017-04-06 14:14:11.000000000","message":"wrong name, see my comment on that file","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"ad962adf3720e6ed9139e0c72a9880969b3de8fc","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":".. include:: root.inc"},{"line_number":16,"context_line":".. include:: resource_providers.inc"},{"line_number":17,"context_line":".. include:: allocation.inc"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3f044301_a648ca86","line":17,"in_reply_to":"bff0334d_28abbd89","updated":"2017-05-10 10:13:02.000000000","message":"Done","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"}],"placement-api-ref/source/parameters.yaml":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"85955610795b7fb978914de83da76080802367df","unresolved":false,"context_lines":[{"line_number":34,"context_line":"  in: body"},{"line_number":35,"context_line":"  required: true"},{"line_number":36,"context_line":"  description: \u003e"},{"line_number":37,"context_line":"    A dictory that describe the allocation of specified resource"},{"line_number":38,"context_line":"    provider."},{"line_number":39,"context_line":"resource_provider_generation:"},{"line_number":40,"context_line":"  type: integer"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"bff0334d_c87a1123","line":37,"updated":"2017-04-06 14:14:11.000000000","message":"A dictionary that describes the allocations against a single resource provider by one or more consumers.","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"ad962adf3720e6ed9139e0c72a9880969b3de8fc","unresolved":false,"context_lines":[{"line_number":34,"context_line":"  in: body"},{"line_number":35,"context_line":"  required: true"},{"line_number":36,"context_line":"  description: \u003e"},{"line_number":37,"context_line":"    A dictory that describe the allocation of specified resource"},{"line_number":38,"context_line":"    provider."},{"line_number":39,"context_line":"resource_provider_generation:"},{"line_number":40,"context_line":"  type: integer"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f044301_665e4245","line":37,"in_reply_to":"bff0334d_c87a1123","updated":"2017-05-10 10:13:02.000000000","message":"Done","commit_id":"4a8c2ffc8b9c43b6697e58f3b5669f2919f145ad"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"83b639f929f307598b9644be7fc464459833e35a","unresolved":false,"context_lines":[{"line_number":114,"context_line":"  required: true"},{"line_number":115,"context_line":"  description: \u003e"},{"line_number":116,"context_line":"    A list of ``resource_class`` objects."},{"line_number":117,"context_line":"    The name of the resource class."},{"line_number":118,"context_line":"resource_provider_allocations:"},{"line_number":119,"context_line":"  type: object"},{"line_number":120,"context_line":"  in: body"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"7f231b9d_6ba6bead","line":117,"updated":"2017-06-16 14:10:45.000000000","message":"this line looks like it was added in error","commit_id":"122885f2501788301fea93c265aab3a0154b4666"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"83b639f929f307598b9644be7fc464459833e35a","unresolved":false,"context_lines":[{"line_number":135,"context_line":"  required: true"},{"line_number":136,"context_line":"  description: \u003e"},{"line_number":137,"context_line":"    A dictionary that describes the allocation about its resource"},{"line_number":138,"context_line":"    such as cpu, memory, disk or customer resources etc."},{"line_number":139,"context_line":"resource_provider_links:"},{"line_number":140,"context_line":"  type: array"},{"line_number":141,"context_line":"  in: body"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"7f231b9d_4b1782a5","line":138,"updated":"2017-06-16 14:10:45.000000000","message":"do you mean \"custom\" where you\u0027re using \"customer\"?\n\nAlso maybe instead of \"about its resource\" try \"of resources\"","commit_id":"122885f2501788301fea93c265aab3a0154b4666"}],"placement-api-ref/source/resource_proviers_allocations.inc":[{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"c03890a391c539c579b8443c9581fb229220c5bd","unresolved":false,"context_lines":[{"line_number":1,"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"},{"line_number":2,"context_line":"Resource provider allocation"},{"line_number":3,"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"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider allocation"}],"source_content_type":"text/x-c++src","patch_set":7,"id":"df140735_5aadb6e8","line":2,"updated":"2017-06-07 11:13:26.000000000","message":"I believe it should be \"allocations\" all over the doc.","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a33fa444c2f692fd6aa054a7b1c0313dc05f49b6","unresolved":false,"context_lines":[{"line_number":1,"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"},{"line_number":2,"context_line":"Resource provider allocation"},{"line_number":3,"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"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider allocation"}],"source_content_type":"text/x-c++src","patch_set":7,"id":"7f231b9d_6f4398b0","line":2,"in_reply_to":"df140735_5aadb6e8","updated":"2017-06-15 08:33:41.000000000","message":"Done","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"c03890a391c539c579b8443c9581fb229220c5bd","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Resource provider allocation"},{"line_number":3,"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"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider allocation"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"List allocation of a given resource provider"},{"line_number":8,"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\u003d\u003d"}],"source_content_type":"text/x-c++src","patch_set":7,"id":"df140735_fa45aa44","line":5,"updated":"2017-06-07 11:13:26.000000000","message":"Same comment as for https://review.openstack.org/#/c/450105/.","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a33fa444c2f692fd6aa054a7b1c0313dc05f49b6","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Resource provider allocation"},{"line_number":3,"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"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider allocation"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"List allocation of a given resource provider"},{"line_number":8,"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\u003d\u003d"}],"source_content_type":"text/x-c++src","patch_set":7,"id":"7f231b9d_2f1b60d0","line":5,"in_reply_to":"df140735_fa45aa44","updated":"2017-06-15 08:33:41.000000000","message":"ok, will update it","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"c03890a391c539c579b8443c9581fb229220c5bd","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET  /resource_providers/{uuid}/allocation"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider allocations by consumer uuid"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":7,"id":"df140735_fa8c8a80","line":12,"updated":"2017-06-07 11:13:26.000000000","message":"Not by the consumer uuid but by the resource provider uuid.","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a33fa444c2f692fd6aa054a7b1c0313dc05f49b6","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET  /resource_providers/{uuid}/allocation"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider allocations by consumer uuid"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":7,"id":"7f231b9d_af265014","line":12,"in_reply_to":"df140735_fa8c8a80","updated":"2017-06-15 08:33:41.000000000","message":"Done","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"c03890a391c539c579b8443c9581fb229220c5bd","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Error response codes: unauthorized(401), forbidden(403), notfound(404)"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Request"},{"line_number":19,"context_line":"-------"}],"source_content_type":"text/x-c++src","patch_set":7,"id":"df140735_1ae5fe38","line":16,"updated":"2017-06-07 11:13:26.000000000","message":"Same comment as for https://review.openstack.org/#/c/450105/.","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a33fa444c2f692fd6aa054a7b1c0313dc05f49b6","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Error response codes: unauthorized(401), forbidden(403), notfound(404)"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Request"},{"line_number":19,"context_line":"-------"}],"source_content_type":"text/x-c++src","patch_set":7,"id":"7f231b9d_cf298ce6","line":16,"in_reply_to":"df140735_1ae5fe38","updated":"2017-06-15 08:33:41.000000000","message":"ok, s/notfound/itemNotFound/","commit_id":"f0cc0487c256d8b5f0534af4aa327bd7f2545def"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"83b639f929f307598b9644be7fc464459833e35a","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider allocations, Allocation(s)"},{"line_number":6,"context_line":"representing the consumption of class(es) of resources from"},{"line_number":7,"context_line":"resource provider(s) by the designated consumer."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"List allocations of a given resource provider"},{"line_number":10,"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\u003d\u003d\u003d"}],"source_content_type":"text/x-c++src","patch_set":8,"id":"7f231b9d_2b52063c","line":7,"updated":"2017-06-16 14:10:45.000000000","message":"Try something closer to:\n\nGET a representation of all allocations made against this resource provider, keyed by consumer uuid. Each allocation includes one or more classes of resource and the amount consumed.","commit_id":"122885f2501788301fea93c265aab3a0154b4666"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"83b639f929f307598b9644be7fc464459833e35a","unresolved":false,"context_lines":[{"line_number":37,"context_line":"Response Example"},{"line_number":38,"context_line":"----------------"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":".. literalinclude:: get-resource-provider-allocations.json "},{"line_number":41,"context_line":"   :language: javascript"}],"source_content_type":"text/x-c++src","patch_set":8,"id":"7f231b9d_cbfcb271","line":40,"updated":"2017-06-16 14:10:45.000000000","message":"white space nit","commit_id":"122885f2501788301fea93c265aab3a0154b4666"}]}
