{"action":"created","comment":{"url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/comments/24770341","id":24770341,"diff_hunk":"@@ -41,7 +51,7 @@ class MetricsAspect {\n         final URI uri = new URI(uriString)\n         final String path = fixSpecialCharacters(uri.path)\n         int port = (uri.port > 0)? uri.port : 80\n-        return trimDots(\"${PREFIX}.${uri.host}.${port}.${path}\")\n+        return sanatizeIpAddressIfPresent(trimDots(\"${PREFIX}.${uri.host}.${port}.${path}\"))","path":"micro-infra-spring-base/src/main/groovy/com/ofg/infrastructure/web/resttemplate/MetricsAspect.groovy","position":29,"original_position":29,"commit_id":"70eca93a10fa166a8bbe8d04b60720e6c98fd20b","original_commit_id":"70eca93a10fa166a8bbe8d04b60720e6c98fd20b","user":{"login":"wybczu","id":636815,"avatar_url":"https://avatars.githubusercontent.com/u/636815?v=3","gravatar_id":"","url":"https://api.github.com/users/wybczu","html_url":"https://github.com/wybczu","followers_url":"https://api.github.com/users/wybczu/followers","following_url":"https://api.github.com/users/wybczu/following{/other_user}","gists_url":"https://api.github.com/users/wybczu/gists{/gist_id}","starred_url":"https://api.github.com/users/wybczu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wybczu/subscriptions","organizations_url":"https://api.github.com/users/wybczu/orgs","repos_url":"https://api.github.com/users/wybczu/repos","events_url":"https://api.github.com/users/wybczu/events{/privacy}","received_events_url":"https://api.github.com/users/wybczu/received_events","type":"User","site_admin":false},"body":"Yes.","created_at":"2015-02-16T19:21:09Z","updated_at":"2015-02-16T19:21:09Z","html_url":"https://github.com/4finance/micro-infra-spring/pull/271#discussion_r24770341","pull_request_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/271","_links":{"self":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/comments/24770341"},"html":{"href":"https://github.com/4finance/micro-infra-spring/pull/271#discussion_r24770341"},"pull_request":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/271"}}},"pull_request":{"url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/271","id":29381731,"html_url":"https://github.com/4finance/micro-infra-spring/pull/271","diff_url":"https://github.com/4finance/micro-infra-spring/pull/271.diff","patch_url":"https://github.com/4finance/micro-infra-spring/pull/271.patch","issue_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/271","number":271,"state":"open","locked":false,"title":"Issues/270 fix ip in metrics path","user":{"login":"bogdanaioanei","id":4372985,"avatar_url":"https://avatars.githubusercontent.com/u/4372985?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanaioanei","html_url":"https://github.com/bogdanaioanei","followers_url":"https://api.github.com/users/bogdanaioanei/followers","following_url":"https://api.github.com/users/bogdanaioanei/following{/other_user}","gists_url":"https://api.github.com/users/bogdanaioanei/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanaioanei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanaioanei/subscriptions","organizations_url":"https://api.github.com/users/bogdanaioanei/orgs","repos_url":"https://api.github.com/users/bogdanaioanei/repos","events_url":"https://api.github.com/users/bogdanaioanei/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanaioanei/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-16T15:43:30Z","updated_at":"2015-02-16T19:21:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"55cc264e0e116c2d92d41034b725f6a2d7ea279a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/271/commits","review_comments_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/271/comments","review_comment_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/comments/{number}","comments_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/271/comments","statuses_url":"https://api.github.com/repos/4finance/micro-infra-spring/statuses/70eca93a10fa166a8bbe8d04b60720e6c98fd20b","head":{"label":"4finance:issues/270-fix-ip-in-metrics-path","ref":"issues/270-fix-ip-in-metrics-path","sha":"70eca93a10fa166a8bbe8d04b60720e6c98fd20b","user":{"login":"4finance","id":7083380,"avatar_url":"https://avatars.githubusercontent.com/u/7083380?v=3","gravatar_id":"","url":"https://api.github.com/users/4finance","html_url":"https://github.com/4finance","followers_url":"https://api.github.com/users/4finance/followers","following_url":"https://api.github.com/users/4finance/following{/other_user}","gists_url":"https://api.github.com/users/4finance/gists{/gist_id}","starred_url":"https://api.github.com/users/4finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4finance/subscriptions","organizations_url":"https://api.github.com/users/4finance/orgs","repos_url":"https://api.github.com/users/4finance/repos","events_url":"https://api.github.com/users/4finance/events{/privacy}","received_events_url":"https://api.github.com/users/4finance/received_events","type":"Organization","site_admin":false},"repo":{"id":22647956,"name":"micro-infra-spring","full_name":"4finance/micro-infra-spring","owner":{"login":"4finance","id":7083380,"avatar_url":"https://avatars.githubusercontent.com/u/7083380?v=3","gravatar_id":"","url":"https://api.github.com/users/4finance","html_url":"https://github.com/4finance","followers_url":"https://api.github.com/users/4finance/followers","following_url":"https://api.github.com/users/4finance/following{/other_user}","gists_url":"https://api.github.com/users/4finance/gists{/gist_id}","starred_url":"https://api.github.com/users/4finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4finance/subscriptions","organizations_url":"https://api.github.com/users/4finance/orgs","repos_url":"https://api.github.com/users/4finance/repos","events_url":"https://api.github.com/users/4finance/events{/privacy}","received_events_url":"https://api.github.com/users/4finance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4finance/micro-infra-spring","description":"Repository containing default microservice infrastructure set up using Spring configuration","fork":false,"url":"https://api.github.com/repos/4finance/micro-infra-spring","forks_url":"https://api.github.com/repos/4finance/micro-infra-spring/forks","keys_url":"https://api.github.com/repos/4finance/micro-infra-spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4finance/micro-infra-spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4finance/micro-infra-spring/teams","hooks_url":"https://api.github.com/repos/4finance/micro-infra-spring/hooks","issue_events_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/events{/number}","events_url":"https://api.github.com/repos/4finance/micro-infra-spring/events","assignees_url":"https://api.github.com/repos/4finance/micro-infra-spring/assignees{/user}","branches_url":"https://api.github.com/repos/4finance/micro-infra-spring/branches{/branch}","tags_url":"https://api.github.com/repos/4finance/micro-infra-spring/tags","blobs_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4finance/micro-infra-spring/statuses/{sha}","languages_url":"https://api.github.com/repos/4finance/micro-infra-spring/languages","stargazers_url":"https://api.github.com/repos/4finance/micro-infra-spring/stargazers","contributors_url":"https://api.github.com/repos/4finance/micro-infra-spring/contributors","subscribers_url":"https://api.github.com/repos/4finance/micro-infra-spring/subscribers","subscription_url":"https://api.github.com/repos/4finance/micro-infra-spring/subscription","commits_url":"https://api.github.com/repos/4finance/micro-infra-spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/4finance/micro-infra-spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/comments/{number}","contents_url":"https://api.github.com/repos/4finance/micro-infra-spring/contents/{+path}","compare_url":"https://api.github.com/repos/4finance/micro-infra-spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4finance/micro-infra-spring/merges","archive_url":"https://api.github.com/repos/4finance/micro-infra-spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4finance/micro-infra-spring/downloads","issues_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues{/number}","pulls_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls{/number}","milestones_url":"https://api.github.com/repos/4finance/micro-infra-spring/milestones{/number}","notifications_url":"https://api.github.com/repos/4finance/micro-infra-spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4finance/micro-infra-spring/labels{/name}","releases_url":"https://api.github.com/repos/4finance/micro-infra-spring/releases{/id}","created_at":"2014-08-05T15:07:55Z","updated_at":"2015-02-16T17:13:28Z","pushed_at":"2015-02-16T17:14:45Z","git_url":"git://github.com/4finance/micro-infra-spring.git","ssh_url":"git@github.com:4finance/micro-infra-spring.git","clone_url":"https://github.com/4finance/micro-infra-spring.git","svn_url":"https://github.com/4finance/micro-infra-spring","homepage":"","size":6164,"stargazers_count":72,"watchers_count":72,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":56,"forks":13,"open_issues":56,"watchers":72,"default_branch":"master"}},"base":{"label":"4finance:master","ref":"master","sha":"e3dc338498ea72f1742e7bf4ea92926822194013","user":{"login":"4finance","id":7083380,"avatar_url":"https://avatars.githubusercontent.com/u/7083380?v=3","gravatar_id":"","url":"https://api.github.com/users/4finance","html_url":"https://github.com/4finance","followers_url":"https://api.github.com/users/4finance/followers","following_url":"https://api.github.com/users/4finance/following{/other_user}","gists_url":"https://api.github.com/users/4finance/gists{/gist_id}","starred_url":"https://api.github.com/users/4finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4finance/subscriptions","organizations_url":"https://api.github.com/users/4finance/orgs","repos_url":"https://api.github.com/users/4finance/repos","events_url":"https://api.github.com/users/4finance/events{/privacy}","received_events_url":"https://api.github.com/users/4finance/received_events","type":"Organization","site_admin":false},"repo":{"id":22647956,"name":"micro-infra-spring","full_name":"4finance/micro-infra-spring","owner":{"login":"4finance","id":7083380,"avatar_url":"https://avatars.githubusercontent.com/u/7083380?v=3","gravatar_id":"","url":"https://api.github.com/users/4finance","html_url":"https://github.com/4finance","followers_url":"https://api.github.com/users/4finance/followers","following_url":"https://api.github.com/users/4finance/following{/other_user}","gists_url":"https://api.github.com/users/4finance/gists{/gist_id}","starred_url":"https://api.github.com/users/4finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4finance/subscriptions","organizations_url":"https://api.github.com/users/4finance/orgs","repos_url":"https://api.github.com/users/4finance/repos","events_url":"https://api.github.com/users/4finance/events{/privacy}","received_events_url":"https://api.github.com/users/4finance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4finance/micro-infra-spring","description":"Repository containing default microservice infrastructure set up using Spring configuration","fork":false,"url":"https://api.github.com/repos/4finance/micro-infra-spring","forks_url":"https://api.github.com/repos/4finance/micro-infra-spring/forks","keys_url":"https://api.github.com/repos/4finance/micro-infra-spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4finance/micro-infra-spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4finance/micro-infra-spring/teams","hooks_url":"https://api.github.com/repos/4finance/micro-infra-spring/hooks","issue_events_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/events{/number}","events_url":"https://api.github.com/repos/4finance/micro-infra-spring/events","assignees_url":"https://api.github.com/repos/4finance/micro-infra-spring/assignees{/user}","branches_url":"https://api.github.com/repos/4finance/micro-infra-spring/branches{/branch}","tags_url":"https://api.github.com/repos/4finance/micro-infra-spring/tags","blobs_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4finance/micro-infra-spring/statuses/{sha}","languages_url":"https://api.github.com/repos/4finance/micro-infra-spring/languages","stargazers_url":"https://api.github.com/repos/4finance/micro-infra-spring/stargazers","contributors_url":"https://api.github.com/repos/4finance/micro-infra-spring/contributors","subscribers_url":"https://api.github.com/repos/4finance/micro-infra-spring/subscribers","subscription_url":"https://api.github.com/repos/4finance/micro-infra-spring/subscription","commits_url":"https://api.github.com/repos/4finance/micro-infra-spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/4finance/micro-infra-spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/comments/{number}","contents_url":"https://api.github.com/repos/4finance/micro-infra-spring/contents/{+path}","compare_url":"https://api.github.com/repos/4finance/micro-infra-spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4finance/micro-infra-spring/merges","archive_url":"https://api.github.com/repos/4finance/micro-infra-spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4finance/micro-infra-spring/downloads","issues_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues{/number}","pulls_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls{/number}","milestones_url":"https://api.github.com/repos/4finance/micro-infra-spring/milestones{/number}","notifications_url":"https://api.github.com/repos/4finance/micro-infra-spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4finance/micro-infra-spring/labels{/name}","releases_url":"https://api.github.com/repos/4finance/micro-infra-spring/releases{/id}","created_at":"2014-08-05T15:07:55Z","updated_at":"2015-02-16T17:13:28Z","pushed_at":"2015-02-16T17:14:45Z","git_url":"git://github.com/4finance/micro-infra-spring.git","ssh_url":"git@github.com:4finance/micro-infra-spring.git","clone_url":"https://github.com/4finance/micro-infra-spring.git","svn_url":"https://github.com/4finance/micro-infra-spring","homepage":"","size":6164,"stargazers_count":72,"watchers_count":72,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":56,"forks":13,"open_issues":56,"watchers":72,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/271"},"html":{"href":"https://github.com/4finance/micro-infra-spring/pull/271"},"issue":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/issues/271"},"comments":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/issues/271/comments"},"review_comments":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/271/comments"},"review_comment":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/271/commits"},"statuses":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/statuses/70eca93a10fa166a8bbe8d04b60720e6c98fd20b"}}}}