{"action":"created","issue":{"url":"https://api.github.com/repos/rackerlabs/deuce/issues/259","labels_url":"https://api.github.com/repos/rackerlabs/deuce/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/rackerlabs/deuce/issues/259/comments","events_url":"https://api.github.com/repos/rackerlabs/deuce/issues/259/events","html_url":"https://github.com/rackerlabs/deuce/pull/259","id":55165638,"number":259,"title":"Enhancement msgpack returns","user":{"login":"BenjamenMeyer","id":1074110,"avatar_url":"https://avatars.githubusercontent.com/u/1074110?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjamenMeyer","html_url":"https://github.com/BenjamenMeyer","followers_url":"https://api.github.com/users/BenjamenMeyer/followers","following_url":"https://api.github.com/users/BenjamenMeyer/following{/other_user}","gists_url":"https://api.github.com/users/BenjamenMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjamenMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjamenMeyer/subscriptions","organizations_url":"https://api.github.com/users/BenjamenMeyer/orgs","repos_url":"https://api.github.com/users/BenjamenMeyer/repos","events_url":"https://api.github.com/users/BenjamenMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/BenjamenMeyer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rackerlabs/deuce/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/rackerlabs/deuce/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/rackerlabs/deuce/labels/proposal","name":"proposal","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"BenjamenMeyer","id":1074110,"avatar_url":"https://avatars.githubusercontent.com/u/1074110?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjamenMeyer","html_url":"https://github.com/BenjamenMeyer","followers_url":"https://api.github.com/users/BenjamenMeyer/followers","following_url":"https://api.github.com/users/BenjamenMeyer/following{/other_user}","gists_url":"https://api.github.com/users/BenjamenMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjamenMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjamenMeyer/subscriptions","organizations_url":"https://api.github.com/users/BenjamenMeyer/orgs","repos_url":"https://api.github.com/users/BenjamenMeyer/repos","events_url":"https://api.github.com/users/BenjamenMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/BenjamenMeyer/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-01-22T15:21:47Z","updated_at":"2015-01-26T17:10:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rackerlabs/deuce/pulls/259","html_url":"https://github.com/rackerlabs/deuce/pull/259","diff_url":"https://github.com/rackerlabs/deuce/pull/259.diff","patch_url":"https://github.com/rackerlabs/deuce/pull/259.patch"},"body":"Provide the ability for the msgpack upload to return the mapping of block id to storage id\r\n\r\nBy default (normal, optimal case), the msgpack upload returns a 201 on success and no message body.\r\n\r\nIf the caller adds the query string parameter \"mapping\" and a value of \"True\" then it will return a 200 response with a JSON message body mapping the block id to the storage id. The parameter is only utilized if it is provided and can be explicitly interpreted as a boolean value, and only triggers this response if it evaluates to True.\r\n\r\nUpdate the API test to verify this behavior by using a tuple set in the msgpack upload test. The first entry in the tuple decides of the async method is used; while the second decides if the query string parameter is present.\r\n\r\nNote: Corrects bug in API tests readme that specified the wrong location.\r\nNote: Adds a Bash script to make it easy for anyone to run the API tests. Once OpenCAFE supports Python 3 then we can use Bash Job Control to start/stop the Deuce Server too."},"comment":{"url":"https://api.github.com/repos/rackerlabs/deuce/issues/comments/71496756","html_url":"https://github.com/rackerlabs/deuce/pull/259#issuecomment-71496756","issue_url":"https://api.github.com/repos/rackerlabs/deuce/issues/259","id":71496756,"user":{"login":"BenjamenMeyer","id":1074110,"avatar_url":"https://avatars.githubusercontent.com/u/1074110?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjamenMeyer","html_url":"https://github.com/BenjamenMeyer","followers_url":"https://api.github.com/users/BenjamenMeyer/followers","following_url":"https://api.github.com/users/BenjamenMeyer/following{/other_user}","gists_url":"https://api.github.com/users/BenjamenMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjamenMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjamenMeyer/subscriptions","organizations_url":"https://api.github.com/users/BenjamenMeyer/orgs","repos_url":"https://api.github.com/users/BenjamenMeyer/repos","events_url":"https://api.github.com/users/BenjamenMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/BenjamenMeyer/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T17:10:44Z","updated_at":"2015-01-26T17:10:44Z","body":"@jc7998 agreed. This PR should alleviate their issues; but certainly @painterjd and @lichray should review too."}}