{"action":"closed","number":105,"pull_request":{"url":"https://api.github.com/repos/basho/riak_pb/pulls/105","id":28157694,"html_url":"https://github.com/basho/riak_pb/pull/105","diff_url":"https://github.com/basho/riak_pb/pull/105.diff","patch_url":"https://github.com/basho/riak_pb/pull/105.patch","issue_url":"https://api.github.com/repos/basho/riak_pb/issues/105","number":105,"state":"closed","locked":false,"title":"add encode, message, and proto for RpbGetBucketKeyPreflistReq|Rest","user":{"login":"zeeshanlakhani","id":202820,"avatar_url":"https://avatars.githubusercontent.com/u/202820?v=3","gravatar_id":"","url":"https://api.github.com/users/zeeshanlakhani","html_url":"https://github.com/zeeshanlakhani","followers_url":"https://api.github.com/users/zeeshanlakhani/followers","following_url":"https://api.github.com/users/zeeshanlakhani/following{/other_user}","gists_url":"https://api.github.com/users/zeeshanlakhani/gists{/gist_id}","starred_url":"https://api.github.com/users/zeeshanlakhani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeeshanlakhani/subscriptions","organizations_url":"https://api.github.com/users/zeeshanlakhani/orgs","repos_url":"https://api.github.com/users/zeeshanlakhani/repos","events_url":"https://api.github.com/users/zeeshanlakhani/events{/privacy}","received_events_url":"https://api.github.com/users/zeeshanlakhani/received_events","type":"User","site_admin":false},"body":"Adds PB Message Codes and encode fn.\r\n\r\n*33 - RpbGetBucketKeyPreflistReq*\r\n*34 - RpbGetBucketKeyPreflistResp*\r\n\r\n### Description\r\n\r\nPart of [RIAK-1481](https://bashoeng.atlassian.net/browse/RIAK-1481).\r\n\r\nThe active preflist will return primary/fallback partitions and nodes for the available nodes at the time of query. Primary/fallback will be annotated.\r\nThis involves updates to our RiakKV WB code, RiakPB, Riak-Erlang-Http-Client, Riak-Erlang-Client.\r\n\r\n*The impetus for adding this to the API started with a mailing list question answered by Charlie Voiselle, http://lists.basho.com/pipermail/riak-users_lists.basho.com/2015-January/016527.html, which involved a snippet of code that we've given clients multiple times. This was then discussed with Russell Brown on HipChat, https://basho.hipchat.com/history/room/867200/2015/01/13?q=enterprising&t=rid-867200#12:23:22.\r\n\r\nOther PRs in the series:\r\n\r\n- https://github.com/basho/riak_kv/pull/1083\r\n- https://github.com/basho/riak-erlang-http-client/pull/50\r\n- https://github.com/basho/riak-erlang-client/pull/204","created_at":"2015-01-28T00:18:29Z","updated_at":"2015-02-26T20:49:19Z","closed_at":"2015-02-26T20:49:19Z","merged_at":"2015-02-26T20:49:19Z","merge_commit_sha":"2cece0f8d90fb9ae0658c4c9cb45a29df2845b23","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/basho/riak_pb/pulls/105/commits","review_comments_url":"https://api.github.com/repos/basho/riak_pb/pulls/105/comments","review_comment_url":"https://api.github.com/repos/basho/riak_pb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/basho/riak_pb/issues/105/comments","statuses_url":"https://api.github.com/repos/basho/riak_pb/statuses/df64e7d874296892151421a34d9482b07e7454ae","head":{"label":"basho:feature/zl/add-pb-req-resp-for-active-annoated-preflist","ref":"feature/zl/add-pb-req-resp-for-active-annoated-preflist","sha":"df64e7d874296892151421a34d9482b07e7454ae","user":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?v=3","gravatar_id":"","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"repo":{"id":4339479,"name":"riak_pb","full_name":"basho/riak_pb","owner":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?v=3","gravatar_id":"","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/basho/riak_pb","description":"Riak Protocol Buffers Messages","fork":false,"url":"https://api.github.com/repos/basho/riak_pb","forks_url":"https://api.github.com/repos/basho/riak_pb/forks","keys_url":"https://api.github.com/repos/basho/riak_pb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basho/riak_pb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basho/riak_pb/teams","hooks_url":"https://api.github.com/repos/basho/riak_pb/hooks","issue_events_url":"https://api.github.com/repos/basho/riak_pb/issues/events{/number}","events_url":"https://api.github.com/repos/basho/riak_pb/events","assignees_url":"https://api.github.com/repos/basho/riak_pb/assignees{/user}","branches_url":"https://api.github.com/repos/basho/riak_pb/branches{/branch}","tags_url":"https://api.github.com/repos/basho/riak_pb/tags","blobs_url":"https://api.github.com/repos/basho/riak_pb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basho/riak_pb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basho/riak_pb/git/refs{/sha}","trees_url":"https://api.github.com/repos/basho/riak_pb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basho/riak_pb/statuses/{sha}","languages_url":"https://api.github.com/repos/basho/riak_pb/languages","stargazers_url":"https://api.github.com/repos/basho/riak_pb/stargazers","contributors_url":"https://api.github.com/repos/basho/riak_pb/contributors","subscribers_url":"https://api.github.com/repos/basho/riak_pb/subscribers","subscription_url":"https://api.github.com/repos/basho/riak_pb/subscription","commits_url":"https://api.github.com/repos/basho/riak_pb/commits{/sha}","git_commits_url":"https://api.github.com/repos/basho/riak_pb/git/commits{/sha}","comments_url":"https://api.github.com/repos/basho/riak_pb/comments{/number}","issue_comment_url":"https://api.github.com/repos/basho/riak_pb/issues/comments{/number}","contents_url":"https://api.github.com/repos/basho/riak_pb/contents/{+path}","compare_url":"https://api.github.com/repos/basho/riak_pb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basho/riak_pb/merges","archive_url":"https://api.github.com/repos/basho/riak_pb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basho/riak_pb/downloads","issues_url":"https://api.github.com/repos/basho/riak_pb/issues{/number}","pulls_url":"https://api.github.com/repos/basho/riak_pb/pulls{/number}","milestones_url":"https://api.github.com/repos/basho/riak_pb/milestones{/number}","notifications_url":"https://api.github.com/repos/basho/riak_pb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basho/riak_pb/labels{/name}","releases_url":"https://api.github.com/repos/basho/riak_pb/releases{/id}","created_at":"2012-05-15T19:06:35Z","updated_at":"2015-02-26T20:49:19Z","pushed_at":"2015-02-26T20:49:19Z","git_url":"git://github.com/basho/riak_pb.git","ssh_url":"git@github.com:basho/riak_pb.git","clone_url":"https://github.com/basho/riak_pb.git","svn_url":"https://github.com/basho/riak_pb","homepage":null,"size":2225,"stargazers_count":34,"watchers_count":34,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":14,"forks":48,"open_issues":14,"watchers":34,"default_branch":"develop"}},"base":{"label":"basho:develop","ref":"develop","sha":"2f0e5bdbefa1a1b65f71f186e89aa42e1ce403c1","user":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?v=3","gravatar_id":"","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"repo":{"id":4339479,"name":"riak_pb","full_name":"basho/riak_pb","owner":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?v=3","gravatar_id":"","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/basho/riak_pb","description":"Riak Protocol Buffers Messages","fork":false,"url":"https://api.github.com/repos/basho/riak_pb","forks_url":"https://api.github.com/repos/basho/riak_pb/forks","keys_url":"https://api.github.com/repos/basho/riak_pb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basho/riak_pb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basho/riak_pb/teams","hooks_url":"https://api.github.com/repos/basho/riak_pb/hooks","issue_events_url":"https://api.github.com/repos/basho/riak_pb/issues/events{/number}","events_url":"https://api.github.com/repos/basho/riak_pb/events","assignees_url":"https://api.github.com/repos/basho/riak_pb/assignees{/user}","branches_url":"https://api.github.com/repos/basho/riak_pb/branches{/branch}","tags_url":"https://api.github.com/repos/basho/riak_pb/tags","blobs_url":"https://api.github.com/repos/basho/riak_pb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basho/riak_pb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basho/riak_pb/git/refs{/sha}","trees_url":"https://api.github.com/repos/basho/riak_pb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basho/riak_pb/statuses/{sha}","languages_url":"https://api.github.com/repos/basho/riak_pb/languages","stargazers_url":"https://api.github.com/repos/basho/riak_pb/stargazers","contributors_url":"https://api.github.com/repos/basho/riak_pb/contributors","subscribers_url":"https://api.github.com/repos/basho/riak_pb/subscribers","subscription_url":"https://api.github.com/repos/basho/riak_pb/subscription","commits_url":"https://api.github.com/repos/basho/riak_pb/commits{/sha}","git_commits_url":"https://api.github.com/repos/basho/riak_pb/git/commits{/sha}","comments_url":"https://api.github.com/repos/basho/riak_pb/comments{/number}","issue_comment_url":"https://api.github.com/repos/basho/riak_pb/issues/comments{/number}","contents_url":"https://api.github.com/repos/basho/riak_pb/contents/{+path}","compare_url":"https://api.github.com/repos/basho/riak_pb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basho/riak_pb/merges","archive_url":"https://api.github.com/repos/basho/riak_pb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basho/riak_pb/downloads","issues_url":"https://api.github.com/repos/basho/riak_pb/issues{/number}","pulls_url":"https://api.github.com/repos/basho/riak_pb/pulls{/number}","milestones_url":"https://api.github.com/repos/basho/riak_pb/milestones{/number}","notifications_url":"https://api.github.com/repos/basho/riak_pb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basho/riak_pb/labels{/name}","releases_url":"https://api.github.com/repos/basho/riak_pb/releases{/id}","created_at":"2012-05-15T19:06:35Z","updated_at":"2015-02-26T20:49:19Z","pushed_at":"2015-02-26T20:49:19Z","git_url":"git://github.com/basho/riak_pb.git","ssh_url":"git@github.com:basho/riak_pb.git","clone_url":"https://github.com/basho/riak_pb.git","svn_url":"https://github.com/basho/riak_pb","homepage":null,"size":2225,"stargazers_count":34,"watchers_count":34,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":14,"forks":48,"open_issues":14,"watchers":34,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/basho/riak_pb/pulls/105"},"html":{"href":"https://github.com/basho/riak_pb/pull/105"},"issue":{"href":"https://api.github.com/repos/basho/riak_pb/issues/105"},"comments":{"href":"https://api.github.com/repos/basho/riak_pb/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/basho/riak_pb/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/basho/riak_pb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/basho/riak_pb/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/basho/riak_pb/statuses/df64e7d874296892151421a34d9482b07e7454ae"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"borshop","id":6749250,"avatar_url":"https://avatars.githubusercontent.com/u/6749250?v=3","gravatar_id":"","url":"https://api.github.com/users/borshop","html_url":"https://github.com/borshop","followers_url":"https://api.github.com/users/borshop/followers","following_url":"https://api.github.com/users/borshop/following{/other_user}","gists_url":"https://api.github.com/users/borshop/gists{/gist_id}","starred_url":"https://api.github.com/users/borshop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borshop/subscriptions","organizations_url":"https://api.github.com/users/borshop/orgs","repos_url":"https://api.github.com/users/borshop/repos","events_url":"https://api.github.com/users/borshop/events{/privacy}","received_events_url":"https://api.github.com/users/borshop/received_events","type":"User","site_admin":false},"comments":2,"review_comments":2,"commits":1,"additions":88,"deletions":65,"changed_files":6}}