{"action":"created","comment":{"url":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/comments/29423843","id":29423843,"diff_hunk":"@@ -0,0 +1,26 @@\n+package com.payu.ratel.config.beans;\n+\n+import static com.payu.ratel.config.beans.RegistryBeanProviderFactory.SERVICE_DISCOVERY;\n+\n+import org.springframework.core.env.Environment;\n+\n+import com.google.common.net.HostAndPort;\n+\n+public class RatelPropertySelfAddressProvider implements SelfAddressProvider {\n+\n+    public static final String RATEL_BIND_ADDRESS = SERVICE_DISCOVERY + \".bind.address\";","path":"core/src/main/java/com/payu/ratel/config/beans/RatelPropertySelfAddressProvider.java","position":11,"original_position":11,"commit_id":"7ad2f29c8674aab389c2f51c43eb426969f295b1","original_commit_id":"7ad2f29c8674aab389c2f51c43eb426969f295b1","user":{"login":"lukaszPulawski","id":8969166,"avatar_url":"https://avatars.githubusercontent.com/u/8969166?v=3","gravatar_id":"","url":"https://api.github.com/users/lukaszPulawski","html_url":"https://github.com/lukaszPulawski","followers_url":"https://api.github.com/users/lukaszPulawski/followers","following_url":"https://api.github.com/users/lukaszPulawski/following{/other_user}","gists_url":"https://api.github.com/users/lukaszPulawski/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaszPulawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaszPulawski/subscriptions","organizations_url":"https://api.github.com/users/lukaszPulawski/orgs","repos_url":"https://api.github.com/users/lukaszPulawski/repos","events_url":"https://api.github.com/users/lukaszPulawski/events{/privacy}","received_events_url":"https://api.github.com/users/lukaszPulawski/received_events","type":"User","site_admin":false},"body":"Line comment","created_at":"2015-04-30T12:19:06Z","updated_at":"2015-04-30T12:19:06Z","html_url":"https://github.com/PayU-Tech/Ratel/pull/36#discussion_r29423843","pull_request_url":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/comments/29423843"},"html":{"href":"https://github.com/PayU-Tech/Ratel/pull/36#discussion_r29423843"},"pull_request":{"href":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/36","id":34437342,"html_url":"https://github.com/PayU-Tech/Ratel/pull/36","diff_url":"https://github.com/PayU-Tech/Ratel/pull/36.diff","patch_url":"https://github.com/PayU-Tech/Ratel/pull/36.patch","issue_url":"https://api.github.com/repos/PayU-Tech/Ratel/issues/36","number":36,"state":"open","locked":false,"title":"Server self address discovery","user":{"login":"pgrela","id":4851670,"avatar_url":"https://avatars.githubusercontent.com/u/4851670?v=3","gravatar_id":"","url":"https://api.github.com/users/pgrela","html_url":"https://github.com/pgrela","followers_url":"https://api.github.com/users/pgrela/followers","following_url":"https://api.github.com/users/pgrela/following{/other_user}","gists_url":"https://api.github.com/users/pgrela/gists{/gist_id}","starred_url":"https://api.github.com/users/pgrela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgrela/subscriptions","organizations_url":"https://api.github.com/users/pgrela/orgs","repos_url":"https://api.github.com/users/pgrela/repos","events_url":"https://api.github.com/users/pgrela/events{/privacy}","received_events_url":"https://api.github.com/users/pgrela/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-30T08:16:40Z","updated_at":"2015-04-30T12:19:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73d2ce59c362f4ed65341251e27a71609b262c9f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/36/commits","review_comments_url":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/36/comments","review_comment_url":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PayU-Tech/Ratel/issues/36/comments","statuses_url":"https://api.github.com/repos/PayU-Tech/Ratel/statuses/7ad2f29c8674aab389c2f51c43eb426969f295b1","head":{"label":"pgrela:master","ref":"master","sha":"7ad2f29c8674aab389c2f51c43eb426969f295b1","user":{"login":"pgrela","id":4851670,"avatar_url":"https://avatars.githubusercontent.com/u/4851670?v=3","gravatar_id":"","url":"https://api.github.com/users/pgrela","html_url":"https://github.com/pgrela","followers_url":"https://api.github.com/users/pgrela/followers","following_url":"https://api.github.com/users/pgrela/following{/other_user}","gists_url":"https://api.github.com/users/pgrela/gists{/gist_id}","starred_url":"https://api.github.com/users/pgrela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgrela/subscriptions","organizations_url":"https://api.github.com/users/pgrela/orgs","repos_url":"https://api.github.com/users/pgrela/repos","events_url":"https://api.github.com/users/pgrela/events{/privacy}","received_events_url":"https://api.github.com/users/pgrela/received_events","type":"User","site_admin":false},"repo":{"id":34728173,"name":"Ratel","full_name":"pgrela/Ratel","owner":{"login":"pgrela","id":4851670,"avatar_url":"https://avatars.githubusercontent.com/u/4851670?v=3","gravatar_id":"","url":"https://api.github.com/users/pgrela","html_url":"https://github.com/pgrela","followers_url":"https://api.github.com/users/pgrela/followers","following_url":"https://api.github.com/users/pgrela/following{/other_user}","gists_url":"https://api.github.com/users/pgrela/gists{/gist_id}","starred_url":"https://api.github.com/users/pgrela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgrela/subscriptions","organizations_url":"https://api.github.com/users/pgrela/orgs","repos_url":"https://api.github.com/users/pgrela/repos","events_url":"https://api.github.com/users/pgrela/events{/privacy}","received_events_url":"https://api.github.com/users/pgrela/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pgrela/Ratel","description":"Service Discovery","fork":true,"url":"https://api.github.com/repos/pgrela/Ratel","forks_url":"https://api.github.com/repos/pgrela/Ratel/forks","keys_url":"https://api.github.com/repos/pgrela/Ratel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pgrela/Ratel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pgrela/Ratel/teams","hooks_url":"https://api.github.com/repos/pgrela/Ratel/hooks","issue_events_url":"https://api.github.com/repos/pgrela/Ratel/issues/events{/number}","events_url":"https://api.github.com/repos/pgrela/Ratel/events","assignees_url":"https://api.github.com/repos/pgrela/Ratel/assignees{/user}","branches_url":"https://api.github.com/repos/pgrela/Ratel/branches{/branch}","tags_url":"https://api.github.com/repos/pgrela/Ratel/tags","blobs_url":"https://api.github.com/repos/pgrela/Ratel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pgrela/Ratel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pgrela/Ratel/git/refs{/sha}","trees_url":"https://api.github.com/repos/pgrela/Ratel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pgrela/Ratel/statuses/{sha}","languages_url":"https://api.github.com/repos/pgrela/Ratel/languages","stargazers_url":"https://api.github.com/repos/pgrela/Ratel/stargazers","contributors_url":"https://api.github.com/repos/pgrela/Ratel/contributors","subscribers_url":"https://api.github.com/repos/pgrela/Ratel/subscribers","subscription_url":"https://api.github.com/repos/pgrela/Ratel/subscription","commits_url":"https://api.github.com/repos/pgrela/Ratel/commits{/sha}","git_commits_url":"https://api.github.com/repos/pgrela/Ratel/git/commits{/sha}","comments_url":"https://api.github.com/repos/pgrela/Ratel/comments{/number}","issue_comment_url":"https://api.github.com/repos/pgrela/Ratel/issues/comments{/number}","contents_url":"https://api.github.com/repos/pgrela/Ratel/contents/{+path}","compare_url":"https://api.github.com/repos/pgrela/Ratel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pgrela/Ratel/merges","archive_url":"https://api.github.com/repos/pgrela/Ratel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pgrela/Ratel/downloads","issues_url":"https://api.github.com/repos/pgrela/Ratel/issues{/number}","pulls_url":"https://api.github.com/repos/pgrela/Ratel/pulls{/number}","milestones_url":"https://api.github.com/repos/pgrela/Ratel/milestones{/number}","notifications_url":"https://api.github.com/repos/pgrela/Ratel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pgrela/Ratel/labels{/name}","releases_url":"https://api.github.com/repos/pgrela/Ratel/releases{/id}","created_at":"2015-04-28T12:07:14Z","updated_at":"2015-04-30T08:44:32Z","pushed_at":"2015-04-30T08:44:31Z","git_url":"git://github.com/pgrela/Ratel.git","ssh_url":"git@github.com:pgrela/Ratel.git","clone_url":"https://github.com/pgrela/Ratel.git","svn_url":"https://github.com/pgrela/Ratel","homepage":null,"size":816,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PayU-Tech:master","ref":"master","sha":"156baa2bd7f95a4c6216d3dec862f2c230f612be","user":{"login":"PayU-Tech","id":10152107,"avatar_url":"https://avatars.githubusercontent.com/u/10152107?v=3","gravatar_id":"","url":"https://api.github.com/users/PayU-Tech","html_url":"https://github.com/PayU-Tech","followers_url":"https://api.github.com/users/PayU-Tech/followers","following_url":"https://api.github.com/users/PayU-Tech/following{/other_user}","gists_url":"https://api.github.com/users/PayU-Tech/gists{/gist_id}","starred_url":"https://api.github.com/users/PayU-Tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PayU-Tech/subscriptions","organizations_url":"https://api.github.com/users/PayU-Tech/orgs","repos_url":"https://api.github.com/users/PayU-Tech/repos","events_url":"https://api.github.com/users/PayU-Tech/events{/privacy}","received_events_url":"https://api.github.com/users/PayU-Tech/received_events","type":"Organization","site_admin":false},"repo":{"id":31322089,"name":"Ratel","full_name":"PayU-Tech/Ratel","owner":{"login":"PayU-Tech","id":10152107,"avatar_url":"https://avatars.githubusercontent.com/u/10152107?v=3","gravatar_id":"","url":"https://api.github.com/users/PayU-Tech","html_url":"https://github.com/PayU-Tech","followers_url":"https://api.github.com/users/PayU-Tech/followers","following_url":"https://api.github.com/users/PayU-Tech/following{/other_user}","gists_url":"https://api.github.com/users/PayU-Tech/gists{/gist_id}","starred_url":"https://api.github.com/users/PayU-Tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PayU-Tech/subscriptions","organizations_url":"https://api.github.com/users/PayU-Tech/orgs","repos_url":"https://api.github.com/users/PayU-Tech/repos","events_url":"https://api.github.com/users/PayU-Tech/events{/privacy}","received_events_url":"https://api.github.com/users/PayU-Tech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PayU-Tech/Ratel","description":"Service Discovery","fork":false,"url":"https://api.github.com/repos/PayU-Tech/Ratel","forks_url":"https://api.github.com/repos/PayU-Tech/Ratel/forks","keys_url":"https://api.github.com/repos/PayU-Tech/Ratel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PayU-Tech/Ratel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PayU-Tech/Ratel/teams","hooks_url":"https://api.github.com/repos/PayU-Tech/Ratel/hooks","issue_events_url":"https://api.github.com/repos/PayU-Tech/Ratel/issues/events{/number}","events_url":"https://api.github.com/repos/PayU-Tech/Ratel/events","assignees_url":"https://api.github.com/repos/PayU-Tech/Ratel/assignees{/user}","branches_url":"https://api.github.com/repos/PayU-Tech/Ratel/branches{/branch}","tags_url":"https://api.github.com/repos/PayU-Tech/Ratel/tags","blobs_url":"https://api.github.com/repos/PayU-Tech/Ratel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PayU-Tech/Ratel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PayU-Tech/Ratel/git/refs{/sha}","trees_url":"https://api.github.com/repos/PayU-Tech/Ratel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PayU-Tech/Ratel/statuses/{sha}","languages_url":"https://api.github.com/repos/PayU-Tech/Ratel/languages","stargazers_url":"https://api.github.com/repos/PayU-Tech/Ratel/stargazers","contributors_url":"https://api.github.com/repos/PayU-Tech/Ratel/contributors","subscribers_url":"https://api.github.com/repos/PayU-Tech/Ratel/subscribers","subscription_url":"https://api.github.com/repos/PayU-Tech/Ratel/subscription","commits_url":"https://api.github.com/repos/PayU-Tech/Ratel/commits{/sha}","git_commits_url":"https://api.github.com/repos/PayU-Tech/Ratel/git/commits{/sha}","comments_url":"https://api.github.com/repos/PayU-Tech/Ratel/comments{/number}","issue_comment_url":"https://api.github.com/repos/PayU-Tech/Ratel/issues/comments{/number}","contents_url":"https://api.github.com/repos/PayU-Tech/Ratel/contents/{+path}","compare_url":"https://api.github.com/repos/PayU-Tech/Ratel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PayU-Tech/Ratel/merges","archive_url":"https://api.github.com/repos/PayU-Tech/Ratel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PayU-Tech/Ratel/downloads","issues_url":"https://api.github.com/repos/PayU-Tech/Ratel/issues{/number}","pulls_url":"https://api.github.com/repos/PayU-Tech/Ratel/pulls{/number}","milestones_url":"https://api.github.com/repos/PayU-Tech/Ratel/milestones{/number}","notifications_url":"https://api.github.com/repos/PayU-Tech/Ratel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PayU-Tech/Ratel/labels{/name}","releases_url":"https://api.github.com/repos/PayU-Tech/Ratel/releases{/id}","created_at":"2015-02-25T16:05:43Z","updated_at":"2015-04-30T09:19:43Z","pushed_at":"2015-04-30T08:44:32Z","git_url":"git://github.com/PayU-Tech/Ratel.git","ssh_url":"git@github.com:PayU-Tech/Ratel.git","clone_url":"https://github.com/PayU-Tech/Ratel.git","svn_url":"https://github.com/PayU-Tech/Ratel","homepage":null,"size":1515,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":11,"forks":6,"open_issues":11,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/36"},"html":{"href":"https://github.com/PayU-Tech/Ratel/pull/36"},"issue":{"href":"https://api.github.com/repos/PayU-Tech/Ratel/issues/36"},"comments":{"href":"https://api.github.com/repos/PayU-Tech/Ratel/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PayU-Tech/Ratel/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/PayU-Tech/Ratel/statuses/7ad2f29c8674aab389c2f51c43eb426969f295b1"}}}}