{"action":"opened","number":10955,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/10955","id":34641331,"html_url":"https://github.com/elastic/elasticsearch/pull/10955","diff_url":"https://github.com/elastic/elasticsearch/pull/10955.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/10955.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10955","number":10955,"state":"open","locked":false,"title":"Centralize admin implementations and action execution","user":{"login":"kimchy","id":41300,"avatar_url":"https://avatars.githubusercontent.com/u/41300?v=3","gravatar_id":"","url":"https://api.github.com/users/kimchy","html_url":"https://github.com/kimchy","followers_url":"https://api.github.com/users/kimchy/followers","following_url":"https://api.github.com/users/kimchy/following{/other_user}","gists_url":"https://api.github.com/users/kimchy/gists{/gist_id}","starred_url":"https://api.github.com/users/kimchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimchy/subscriptions","organizations_url":"https://api.github.com/users/kimchy/orgs","repos_url":"https://api.github.com/users/kimchy/repos","events_url":"https://api.github.com/users/kimchy/events{/privacy}","received_events_url":"https://api.github.com/users/kimchy/received_events","type":"User","site_admin":false},"body":"This change removes the multiple implementations of different admin interfaces and centralizes it with AbstractClient. It also makes sure *all* executions of actions now go through a single AbstractClient#execute method, taking care of copying headers and wrapping listener.\r\nThis also has the side benefit of removing all the code around differnet possible clients, and removes quite a bit of code (most of the + code is actually removal of generics and such).\r\n\r\nThis change also changes how TransportClient is constructed, requiring a Builder to create it, its a breaking change and its noted in the migration guide.\r\n\r\nYea another step towards simplifying the action infra and making it simpler...","created_at":"2015-05-04T14:23:55Z","updated_at":"2015-05-04T14:23:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/10955/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/10955/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10955/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/1d8fb4435682d2be34f99c25aec594422e12ad4d","head":{"label":"kimchy:one_admin_for_all","ref":"one_admin_for_all","sha":"1d8fb4435682d2be34f99c25aec594422e12ad4d","user":{"login":"kimchy","id":41300,"avatar_url":"https://avatars.githubusercontent.com/u/41300?v=3","gravatar_id":"","url":"https://api.github.com/users/kimchy","html_url":"https://github.com/kimchy","followers_url":"https://api.github.com/users/kimchy/followers","following_url":"https://api.github.com/users/kimchy/following{/other_user}","gists_url":"https://api.github.com/users/kimchy/gists{/gist_id}","starred_url":"https://api.github.com/users/kimchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimchy/subscriptions","organizations_url":"https://api.github.com/users/kimchy/orgs","repos_url":"https://api.github.com/users/kimchy/repos","events_url":"https://api.github.com/users/kimchy/events{/privacy}","received_events_url":"https://api.github.com/users/kimchy/received_events","type":"User","site_admin":false},"repo":{"id":9790572,"name":"elasticsearch","full_name":"kimchy/elasticsearch","owner":{"login":"kimchy","id":41300,"avatar_url":"https://avatars.githubusercontent.com/u/41300?v=3","gravatar_id":"","url":"https://api.github.com/users/kimchy","html_url":"https://github.com/kimchy","followers_url":"https://api.github.com/users/kimchy/followers","following_url":"https://api.github.com/users/kimchy/following{/other_user}","gists_url":"https://api.github.com/users/kimchy/gists{/gist_id}","starred_url":"https://api.github.com/users/kimchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimchy/subscriptions","organizations_url":"https://api.github.com/users/kimchy/orgs","repos_url":"https://api.github.com/users/kimchy/repos","events_url":"https://api.github.com/users/kimchy/events{/privacy}","received_events_url":"https://api.github.com/users/kimchy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kimchy/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":true,"url":"https://api.github.com/repos/kimchy/elasticsearch","forks_url":"https://api.github.com/repos/kimchy/elasticsearch/forks","keys_url":"https://api.github.com/repos/kimchy/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kimchy/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kimchy/elasticsearch/teams","hooks_url":"https://api.github.com/repos/kimchy/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/kimchy/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/kimchy/elasticsearch/events","assignees_url":"https://api.github.com/repos/kimchy/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/kimchy/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/kimchy/elasticsearch/tags","blobs_url":"https://api.github.com/repos/kimchy/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kimchy/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kimchy/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/kimchy/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kimchy/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/kimchy/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/kimchy/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/kimchy/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/kimchy/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/kimchy/elasticsearch/subscription","commits_url":"https://api.github.com/repos/kimchy/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/kimchy/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/kimchy/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/kimchy/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/kimchy/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/kimchy/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kimchy/elasticsearch/merges","archive_url":"https://api.github.com/repos/kimchy/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kimchy/elasticsearch/downloads","issues_url":"https://api.github.com/repos/kimchy/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/kimchy/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/kimchy/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/kimchy/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kimchy/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/kimchy/elasticsearch/releases{/id}","created_at":"2013-05-01T11:50:20Z","updated_at":"2014-07-02T16:43:52Z","pushed_at":"2015-05-04T14:23:25Z","git_url":"git://github.com/kimchy/elasticsearch.git","ssh_url":"git@github.com:kimchy/elasticsearch.git","clone_url":"https://github.com/kimchy/elasticsearch.git","svn_url":"https://github.com/kimchy/elasticsearch","homepage":"http://elasticsearch.org","size":107166,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":5,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"02da246b1076f9e002220dbb05eb7e8b31b7b686","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":507775,"name":"elasticsearch","full_name":"elastic/elasticsearch","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch","forks_url":"https://api.github.com/repos/elastic/elasticsearch/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch/releases{/id}","created_at":"2010-02-08T13:20:56Z","updated_at":"2015-05-04T14:11:38Z","pushed_at":"2015-05-04T14:22:29Z","git_url":"git://github.com/elastic/elasticsearch.git","ssh_url":"git@github.com:elastic/elasticsearch.git","clone_url":"https://github.com/elastic/elasticsearch.git","svn_url":"https://github.com/elastic/elasticsearch","homepage":"http://elasticsearch.org","size":349127,"stargazers_count":11043,"watchers_count":11043,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3475,"mirror_url":null,"open_issues_count":1103,"forks":3475,"open_issues":1103,"watchers":11043,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/10955"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/10955"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/10955"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/10955/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/10955/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/10955/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch/statuses/1d8fb4435682d2be34f99c25aec594422e12ad4d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2351,"deletions":4234,"changed_files":208}}