{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/rebuy-de/consul-java-client/pulls/12","id":55348725,"html_url":"https://github.com/rebuy-de/consul-java-client/pull/12","diff_url":"https://github.com/rebuy-de/consul-java-client/pull/12.diff","patch_url":"https://github.com/rebuy-de/consul-java-client/pull/12.patch","issue_url":"https://api.github.com/repos/rebuy-de/consul-java-client/issues/12","number":12,"state":"open","locked":false,"title":"add service discovery to consul service","user":{"login":"hendrik-rebuy","id":6337873,"avatar_url":"https://avatars.githubusercontent.com/u/6337873?v=3","gravatar_id":"","url":"https://api.github.com/users/hendrik-rebuy","html_url":"https://github.com/hendrik-rebuy","followers_url":"https://api.github.com/users/hendrik-rebuy/followers","following_url":"https://api.github.com/users/hendrik-rebuy/following{/other_user}","gists_url":"https://api.github.com/users/hendrik-rebuy/gists{/gist_id}","starred_url":"https://api.github.com/users/hendrik-rebuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hendrik-rebuy/subscriptions","organizations_url":"https://api.github.com/users/hendrik-rebuy/orgs","repos_url":"https://api.github.com/users/hendrik-rebuy/repos","events_url":"https://api.github.com/users/hendrik-rebuy/events{/privacy}","received_events_url":"https://api.github.com/users/hendrik-rebuy/received_events","type":"User","site_admin":false},"body":"@svenwltr @das-vinculum @bjoernhaeuser added a service discovery functionality. Used random for load balancing because its easier to keep thread safe than a round robin would be.","created_at":"2016-01-07T15:15:21Z","updated_at":"2016-01-07T15:15:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rebuy-de/consul-java-client/pulls/12/commits","review_comments_url":"https://api.github.com/repos/rebuy-de/consul-java-client/pulls/12/comments","review_comment_url":"https://api.github.com/repos/rebuy-de/consul-java-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rebuy-de/consul-java-client/issues/12/comments","statuses_url":"https://api.github.com/repos/rebuy-de/consul-java-client/statuses/012abdeed74220cae4b03b695d9c2de3f91b4849","head":{"label":"rebuy-de:service_discovery","ref":"service_discovery","sha":"012abdeed74220cae4b03b695d9c2de3f91b4849","user":{"login":"rebuy-de","id":1541072,"avatar_url":"https://avatars.githubusercontent.com/u/1541072?v=3","gravatar_id":"","url":"https://api.github.com/users/rebuy-de","html_url":"https://github.com/rebuy-de","followers_url":"https://api.github.com/users/rebuy-de/followers","following_url":"https://api.github.com/users/rebuy-de/following{/other_user}","gists_url":"https://api.github.com/users/rebuy-de/gists{/gist_id}","starred_url":"https://api.github.com/users/rebuy-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebuy-de/subscriptions","organizations_url":"https://api.github.com/users/rebuy-de/orgs","repos_url":"https://api.github.com/users/rebuy-de/repos","events_url":"https://api.github.com/users/rebuy-de/events{/privacy}","received_events_url":"https://api.github.com/users/rebuy-de/received_events","type":"Organization","site_admin":false},"repo":{"id":47253377,"name":"consul-java-client","full_name":"rebuy-de/consul-java-client","owner":{"login":"rebuy-de","id":1541072,"avatar_url":"https://avatars.githubusercontent.com/u/1541072?v=3","gravatar_id":"","url":"https://api.github.com/users/rebuy-de","html_url":"https://github.com/rebuy-de","followers_url":"https://api.github.com/users/rebuy-de/followers","following_url":"https://api.github.com/users/rebuy-de/following{/other_user}","gists_url":"https://api.github.com/users/rebuy-de/gists{/gist_id}","starred_url":"https://api.github.com/users/rebuy-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebuy-de/subscriptions","organizations_url":"https://api.github.com/users/rebuy-de/orgs","repos_url":"https://api.github.com/users/rebuy-de/repos","events_url":"https://api.github.com/users/rebuy-de/events{/privacy}","received_events_url":"https://api.github.com/users/rebuy-de/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rebuy-de/consul-java-client","description":"Consul client for our Java services.","fork":false,"url":"https://api.github.com/repos/rebuy-de/consul-java-client","forks_url":"https://api.github.com/repos/rebuy-de/consul-java-client/forks","keys_url":"https://api.github.com/repos/rebuy-de/consul-java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rebuy-de/consul-java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rebuy-de/consul-java-client/teams","hooks_url":"https://api.github.com/repos/rebuy-de/consul-java-client/hooks","issue_events_url":"https://api.github.com/repos/rebuy-de/consul-java-client/issues/events{/number}","events_url":"https://api.github.com/repos/rebuy-de/consul-java-client/events","assignees_url":"https://api.github.com/repos/rebuy-de/consul-java-client/assignees{/user}","branches_url":"https://api.github.com/repos/rebuy-de/consul-java-client/branches{/branch}","tags_url":"https://api.github.com/repos/rebuy-de/consul-java-client/tags","blobs_url":"https://api.github.com/repos/rebuy-de/consul-java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rebuy-de/consul-java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rebuy-de/consul-java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/rebuy-de/consul-java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rebuy-de/consul-java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/rebuy-de/consul-java-client/languages","stargazers_url":"https://api.github.com/repos/rebuy-de/consul-java-client/stargazers","contributors_url":"https://api.github.com/repos/rebuy-de/consul-java-client/contributors","subscribers_url":"https://api.github.com/repos/rebuy-de/consul-java-client/subscribers","subscription_url":"https://api.github.com/repos/rebuy-de/consul-java-client/subscription","commits_url":"https://api.github.com/repos/rebuy-de/consul-java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/rebuy-de/consul-java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/rebuy-de/consul-java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/rebuy-de/consul-java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/rebuy-de/consul-java-client/contents/{+path}","compare_url":"https://api.github.com/repos/rebuy-de/consul-java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rebuy-de/consul-java-client/merges","archive_url":"https://api.github.com/repos/rebuy-de/consul-java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rebuy-de/consul-java-client/downloads","issues_url":"https://api.github.com/repos/rebuy-de/consul-java-client/issues{/number}","pulls_url":"https://api.github.com/repos/rebuy-de/consul-java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/rebuy-de/consul-java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/rebuy-de/consul-java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rebuy-de/consul-java-client/labels{/name}","releases_url":"https://api.github.com/repos/rebuy-de/consul-java-client/releases{/id}","created_at":"2015-12-02T10:16:48Z","updated_at":"2015-12-07T09:56:34Z","pushed_at":"2016-01-07T15:12:06Z","git_url":"git://github.com/rebuy-de/consul-java-client.git","ssh_url":"git@github.com:rebuy-de/consul-java-client.git","clone_url":"https://github.com/rebuy-de/consul-java-client.git","svn_url":"https://github.com/rebuy-de/consul-java-client","homepage":"","size":14,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"rebuy-de:master","ref":"master","sha":"818a1940b8721d9dbcecb65dd0f206520a4e4373","user":{"login":"rebuy-de","id":1541072,"avatar_url":"https://avatars.githubusercontent.com/u/1541072?v=3","gravatar_id":"","url":"https://api.github.com/users/rebuy-de","html_url":"https://github.com/rebuy-de","followers_url":"https://api.github.com/users/rebuy-de/followers","following_url":"https://api.github.com/users/rebuy-de/following{/other_user}","gists_url":"https://api.github.com/users/rebuy-de/gists{/gist_id}","starred_url":"https://api.github.com/users/rebuy-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebuy-de/subscriptions","organizations_url":"https://api.github.com/users/rebuy-de/orgs","repos_url":"https://api.github.com/users/rebuy-de/repos","events_url":"https://api.github.com/users/rebuy-de/events{/privacy}","received_events_url":"https://api.github.com/users/rebuy-de/received_events","type":"Organization","site_admin":false},"repo":{"id":47253377,"name":"consul-java-client","full_name":"rebuy-de/consul-java-client","owner":{"login":"rebuy-de","id":1541072,"avatar_url":"https://avatars.githubusercontent.com/u/1541072?v=3","gravatar_id":"","url":"https://api.github.com/users/rebuy-de","html_url":"https://github.com/rebuy-de","followers_url":"https://api.github.com/users/rebuy-de/followers","following_url":"https://api.github.com/users/rebuy-de/following{/other_user}","gists_url":"https://api.github.com/users/rebuy-de/gists{/gist_id}","starred_url":"https://api.github.com/users/rebuy-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebuy-de/subscriptions","organizations_url":"https://api.github.com/users/rebuy-de/orgs","repos_url":"https://api.github.com/users/rebuy-de/repos","events_url":"https://api.github.com/users/rebuy-de/events{/privacy}","received_events_url":"https://api.github.com/users/rebuy-de/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rebuy-de/consul-java-client","description":"Consul client for our Java services.","fork":false,"url":"https://api.github.com/repos/rebuy-de/consul-java-client","forks_url":"https://api.github.com/repos/rebuy-de/consul-java-client/forks","keys_url":"https://api.github.com/repos/rebuy-de/consul-java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rebuy-de/consul-java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rebuy-de/consul-java-client/teams","hooks_url":"https://api.github.com/repos/rebuy-de/consul-java-client/hooks","issue_events_url":"https://api.github.com/repos/rebuy-de/consul-java-client/issues/events{/number}","events_url":"https://api.github.com/repos/rebuy-de/consul-java-client/events","assignees_url":"https://api.github.com/repos/rebuy-de/consul-java-client/assignees{/user}","branches_url":"https://api.github.com/repos/rebuy-de/consul-java-client/branches{/branch}","tags_url":"https://api.github.com/repos/rebuy-de/consul-java-client/tags","blobs_url":"https://api.github.com/repos/rebuy-de/consul-java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rebuy-de/consul-java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rebuy-de/consul-java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/rebuy-de/consul-java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rebuy-de/consul-java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/rebuy-de/consul-java-client/languages","stargazers_url":"https://api.github.com/repos/rebuy-de/consul-java-client/stargazers","contributors_url":"https://api.github.com/repos/rebuy-de/consul-java-client/contributors","subscribers_url":"https://api.github.com/repos/rebuy-de/consul-java-client/subscribers","subscription_url":"https://api.github.com/repos/rebuy-de/consul-java-client/subscription","commits_url":"https://api.github.com/repos/rebuy-de/consul-java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/rebuy-de/consul-java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/rebuy-de/consul-java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/rebuy-de/consul-java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/rebuy-de/consul-java-client/contents/{+path}","compare_url":"https://api.github.com/repos/rebuy-de/consul-java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rebuy-de/consul-java-client/merges","archive_url":"https://api.github.com/repos/rebuy-de/consul-java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rebuy-de/consul-java-client/downloads","issues_url":"https://api.github.com/repos/rebuy-de/consul-java-client/issues{/number}","pulls_url":"https://api.github.com/repos/rebuy-de/consul-java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/rebuy-de/consul-java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/rebuy-de/consul-java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rebuy-de/consul-java-client/labels{/name}","releases_url":"https://api.github.com/repos/rebuy-de/consul-java-client/releases{/id}","created_at":"2015-12-02T10:16:48Z","updated_at":"2015-12-07T09:56:34Z","pushed_at":"2016-01-07T15:12:06Z","git_url":"git://github.com/rebuy-de/consul-java-client.git","ssh_url":"git@github.com:rebuy-de/consul-java-client.git","clone_url":"https://github.com/rebuy-de/consul-java-client.git","svn_url":"https://github.com/rebuy-de/consul-java-client","homepage":"","size":14,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rebuy-de/consul-java-client/pulls/12"},"html":{"href":"https://github.com/rebuy-de/consul-java-client/pull/12"},"issue":{"href":"https://api.github.com/repos/rebuy-de/consul-java-client/issues/12"},"comments":{"href":"https://api.github.com/repos/rebuy-de/consul-java-client/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/rebuy-de/consul-java-client/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/rebuy-de/consul-java-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rebuy-de/consul-java-client/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/rebuy-de/consul-java-client/statuses/012abdeed74220cae4b03b695d9c2de3f91b4849"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":72,"deletions":0,"changed_files":3}}