{"action":"created","comment":{"url":"https://api.github.com/repos/capitalone/Hygieia/pulls/comments/47954844","id":47954844,"diff_hunk":"@@ -40,10 +42,28 @@\n         public Proxy createProxy() {\n \n             String proxy = System.getenv(\"HTTP_PROXY\");\n+            final String authUser = System.getenv(\"HTTPAUTH_USER\");\n+            final String authPassword = System.getenv(\"HTTPAUTH_PASS\");\n+            \n             if (proxy == null || proxy.isEmpty()) {\n                 proxy = System.getProperty(\"HTTP_PROXY\");\n             }\n             try {\n+            \t// Case for Proxy authentication required\n+                if ((proxy != null && !proxy.isEmpty()) && (authUser != null && !authUser.isEmpty()) && (authUser != null && !authPassword.isEmpty())) {","path":"core/src/test/java/com/capitalone/dashboard/repository/EmbeddedMongoDBRule.java","position":21,"original_position":21,"commit_id":"3e2cee2293f1c0396a46569101a5066686e44a7f","original_commit_id":"3e2cee2293f1c0396a46569101a5066686e44a7f","user":{"login":"jdamick","id":12317,"avatar_url":"https://avatars.githubusercontent.com/u/12317?v=3","gravatar_id":"","url":"https://api.github.com/users/jdamick","html_url":"https://github.com/jdamick","followers_url":"https://api.github.com/users/jdamick/followers","following_url":"https://api.github.com/users/jdamick/following{/other_user}","gists_url":"https://api.github.com/users/jdamick/gists{/gist_id}","starred_url":"https://api.github.com/users/jdamick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdamick/subscriptions","organizations_url":"https://api.github.com/users/jdamick/orgs","repos_url":"https://api.github.com/users/jdamick/repos","events_url":"https://api.github.com/users/jdamick/events{/privacy}","received_events_url":"https://api.github.com/users/jdamick/received_events","type":"User","site_admin":false},"body":"should pull the user & passwd from the URL.getUserInfo()","created_at":"2015-12-17T20:12:06Z","updated_at":"2015-12-17T20:12:06Z","html_url":"https://github.com/capitalone/Hygieia/pull/230#discussion_r47954844","pull_request_url":"https://api.github.com/repos/capitalone/Hygieia/pulls/230","_links":{"self":{"href":"https://api.github.com/repos/capitalone/Hygieia/pulls/comments/47954844"},"html":{"href":"https://github.com/capitalone/Hygieia/pull/230#discussion_r47954844"},"pull_request":{"href":"https://api.github.com/repos/capitalone/Hygieia/pulls/230"}}},"pull_request":{"url":"https://api.github.com/repos/capitalone/Hygieia/pulls/230","id":54021509,"html_url":"https://github.com/capitalone/Hygieia/pull/230","diff_url":"https://github.com/capitalone/Hygieia/pull/230.diff","patch_url":"https://github.com/capitalone/Hygieia/pull/230.patch","issue_url":"https://api.github.com/repos/capitalone/Hygieia/issues/230","number":230,"state":"open","locked":false,"title":"Added capability for tests to run behind an authenticated corporate proxy","user":{"login":"amp5208","id":8902343,"avatar_url":"https://avatars.githubusercontent.com/u/8902343?v=3","gravatar_id":"","url":"https://api.github.com/users/amp5208","html_url":"https://github.com/amp5208","followers_url":"https://api.github.com/users/amp5208/followers","following_url":"https://api.github.com/users/amp5208/following{/other_user}","gists_url":"https://api.github.com/users/amp5208/gists{/gist_id}","starred_url":"https://api.github.com/users/amp5208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amp5208/subscriptions","organizations_url":"https://api.github.com/users/amp5208/orgs","repos_url":"https://api.github.com/users/amp5208/repos","events_url":"https://api.github.com/users/amp5208/events{/privacy}","received_events_url":"https://api.github.com/users/amp5208/received_events","type":"User","site_admin":false},"body":"Current version of Hygieia does not allow for running tests (and thus building) via Maven from behind an authenticated proxy.  This update includes the ability for code to be fully built/tested/run from behind a corporate authentication proxy.  This will also allow for non-authenticated proxies to still be used as per normal.\r\n\r\nAlso, I updated the Setup readme to clearly indicate how a developer should configure a local proxy if they need to, given this enhancement.","created_at":"2015-12-17T19:39:00Z","updated_at":"2015-12-17T20:12:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f33a7d8c9a323a8298fcdb2a07a4ee943a3ced4c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/capitalone/Hygieia/pulls/230/commits","review_comments_url":"https://api.github.com/repos/capitalone/Hygieia/pulls/230/comments","review_comment_url":"https://api.github.com/repos/capitalone/Hygieia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/capitalone/Hygieia/issues/230/comments","statuses_url":"https://api.github.com/repos/capitalone/Hygieia/statuses/3e2cee2293f1c0396a46569101a5066686e44a7f","head":{"label":"amp5208:master","ref":"master","sha":"3e2cee2293f1c0396a46569101a5066686e44a7f","user":{"login":"amp5208","id":8902343,"avatar_url":"https://avatars.githubusercontent.com/u/8902343?v=3","gravatar_id":"","url":"https://api.github.com/users/amp5208","html_url":"https://github.com/amp5208","followers_url":"https://api.github.com/users/amp5208/followers","following_url":"https://api.github.com/users/amp5208/following{/other_user}","gists_url":"https://api.github.com/users/amp5208/gists{/gist_id}","starred_url":"https://api.github.com/users/amp5208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amp5208/subscriptions","organizations_url":"https://api.github.com/users/amp5208/orgs","repos_url":"https://api.github.com/users/amp5208/repos","events_url":"https://api.github.com/users/amp5208/events{/privacy}","received_events_url":"https://api.github.com/users/amp5208/received_events","type":"User","site_admin":false},"repo":{"id":48190300,"name":"Hygieia","full_name":"amp5208/Hygieia","owner":{"login":"amp5208","id":8902343,"avatar_url":"https://avatars.githubusercontent.com/u/8902343?v=3","gravatar_id":"","url":"https://api.github.com/users/amp5208","html_url":"https://github.com/amp5208","followers_url":"https://api.github.com/users/amp5208/followers","following_url":"https://api.github.com/users/amp5208/following{/other_user}","gists_url":"https://api.github.com/users/amp5208/gists{/gist_id}","starred_url":"https://api.github.com/users/amp5208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amp5208/subscriptions","organizations_url":"https://api.github.com/users/amp5208/orgs","repos_url":"https://api.github.com/users/amp5208/repos","events_url":"https://api.github.com/users/amp5208/events{/privacy}","received_events_url":"https://api.github.com/users/amp5208/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amp5208/Hygieia","description":"CapitalOne  DevOps Dashboard","fork":true,"url":"https://api.github.com/repos/amp5208/Hygieia","forks_url":"https://api.github.com/repos/amp5208/Hygieia/forks","keys_url":"https://api.github.com/repos/amp5208/Hygieia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amp5208/Hygieia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amp5208/Hygieia/teams","hooks_url":"https://api.github.com/repos/amp5208/Hygieia/hooks","issue_events_url":"https://api.github.com/repos/amp5208/Hygieia/issues/events{/number}","events_url":"https://api.github.com/repos/amp5208/Hygieia/events","assignees_url":"https://api.github.com/repos/amp5208/Hygieia/assignees{/user}","branches_url":"https://api.github.com/repos/amp5208/Hygieia/branches{/branch}","tags_url":"https://api.github.com/repos/amp5208/Hygieia/tags","blobs_url":"https://api.github.com/repos/amp5208/Hygieia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amp5208/Hygieia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amp5208/Hygieia/git/refs{/sha}","trees_url":"https://api.github.com/repos/amp5208/Hygieia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amp5208/Hygieia/statuses/{sha}","languages_url":"https://api.github.com/repos/amp5208/Hygieia/languages","stargazers_url":"https://api.github.com/repos/amp5208/Hygieia/stargazers","contributors_url":"https://api.github.com/repos/amp5208/Hygieia/contributors","subscribers_url":"https://api.github.com/repos/amp5208/Hygieia/subscribers","subscription_url":"https://api.github.com/repos/amp5208/Hygieia/subscription","commits_url":"https://api.github.com/repos/amp5208/Hygieia/commits{/sha}","git_commits_url":"https://api.github.com/repos/amp5208/Hygieia/git/commits{/sha}","comments_url":"https://api.github.com/repos/amp5208/Hygieia/comments{/number}","issue_comment_url":"https://api.github.com/repos/amp5208/Hygieia/issues/comments{/number}","contents_url":"https://api.github.com/repos/amp5208/Hygieia/contents/{+path}","compare_url":"https://api.github.com/repos/amp5208/Hygieia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amp5208/Hygieia/merges","archive_url":"https://api.github.com/repos/amp5208/Hygieia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amp5208/Hygieia/downloads","issues_url":"https://api.github.com/repos/amp5208/Hygieia/issues{/number}","pulls_url":"https://api.github.com/repos/amp5208/Hygieia/pulls{/number}","milestones_url":"https://api.github.com/repos/amp5208/Hygieia/milestones{/number}","notifications_url":"https://api.github.com/repos/amp5208/Hygieia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amp5208/Hygieia/labels{/name}","releases_url":"https://api.github.com/repos/amp5208/Hygieia/releases{/id}","created_at":"2015-12-17T18:10:44Z","updated_at":"2015-12-17T18:10:46Z","pushed_at":"2015-12-17T19:36:39Z","git_url":"git://github.com/amp5208/Hygieia.git","ssh_url":"git@github.com:amp5208/Hygieia.git","clone_url":"https://github.com/amp5208/Hygieia.git","svn_url":"https://github.com/amp5208/Hygieia","homepage":"http://www.capitalone.io","size":6271,"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":"capitalone:master","ref":"master","sha":"4a9329783499e625b80cd619b38e663f316275a2","user":{"login":"capitalone","id":8644615,"avatar_url":"https://avatars.githubusercontent.com/u/8644615?v=3","gravatar_id":"","url":"https://api.github.com/users/capitalone","html_url":"https://github.com/capitalone","followers_url":"https://api.github.com/users/capitalone/followers","following_url":"https://api.github.com/users/capitalone/following{/other_user}","gists_url":"https://api.github.com/users/capitalone/gists{/gist_id}","starred_url":"https://api.github.com/users/capitalone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capitalone/subscriptions","organizations_url":"https://api.github.com/users/capitalone/orgs","repos_url":"https://api.github.com/users/capitalone/repos","events_url":"https://api.github.com/users/capitalone/events{/privacy}","received_events_url":"https://api.github.com/users/capitalone/received_events","type":"Organization","site_admin":false},"repo":{"id":39237460,"name":"Hygieia","full_name":"capitalone/Hygieia","owner":{"login":"capitalone","id":8644615,"avatar_url":"https://avatars.githubusercontent.com/u/8644615?v=3","gravatar_id":"","url":"https://api.github.com/users/capitalone","html_url":"https://github.com/capitalone","followers_url":"https://api.github.com/users/capitalone/followers","following_url":"https://api.github.com/users/capitalone/following{/other_user}","gists_url":"https://api.github.com/users/capitalone/gists{/gist_id}","starred_url":"https://api.github.com/users/capitalone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capitalone/subscriptions","organizations_url":"https://api.github.com/users/capitalone/orgs","repos_url":"https://api.github.com/users/capitalone/repos","events_url":"https://api.github.com/users/capitalone/events{/privacy}","received_events_url":"https://api.github.com/users/capitalone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/capitalone/Hygieia","description":"CapitalOne  DevOps Dashboard","fork":false,"url":"https://api.github.com/repos/capitalone/Hygieia","forks_url":"https://api.github.com/repos/capitalone/Hygieia/forks","keys_url":"https://api.github.com/repos/capitalone/Hygieia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/capitalone/Hygieia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/capitalone/Hygieia/teams","hooks_url":"https://api.github.com/repos/capitalone/Hygieia/hooks","issue_events_url":"https://api.github.com/repos/capitalone/Hygieia/issues/events{/number}","events_url":"https://api.github.com/repos/capitalone/Hygieia/events","assignees_url":"https://api.github.com/repos/capitalone/Hygieia/assignees{/user}","branches_url":"https://api.github.com/repos/capitalone/Hygieia/branches{/branch}","tags_url":"https://api.github.com/repos/capitalone/Hygieia/tags","blobs_url":"https://api.github.com/repos/capitalone/Hygieia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/capitalone/Hygieia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/capitalone/Hygieia/git/refs{/sha}","trees_url":"https://api.github.com/repos/capitalone/Hygieia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/capitalone/Hygieia/statuses/{sha}","languages_url":"https://api.github.com/repos/capitalone/Hygieia/languages","stargazers_url":"https://api.github.com/repos/capitalone/Hygieia/stargazers","contributors_url":"https://api.github.com/repos/capitalone/Hygieia/contributors","subscribers_url":"https://api.github.com/repos/capitalone/Hygieia/subscribers","subscription_url":"https://api.github.com/repos/capitalone/Hygieia/subscription","commits_url":"https://api.github.com/repos/capitalone/Hygieia/commits{/sha}","git_commits_url":"https://api.github.com/repos/capitalone/Hygieia/git/commits{/sha}","comments_url":"https://api.github.com/repos/capitalone/Hygieia/comments{/number}","issue_comment_url":"https://api.github.com/repos/capitalone/Hygieia/issues/comments{/number}","contents_url":"https://api.github.com/repos/capitalone/Hygieia/contents/{+path}","compare_url":"https://api.github.com/repos/capitalone/Hygieia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/capitalone/Hygieia/merges","archive_url":"https://api.github.com/repos/capitalone/Hygieia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/capitalone/Hygieia/downloads","issues_url":"https://api.github.com/repos/capitalone/Hygieia/issues{/number}","pulls_url":"https://api.github.com/repos/capitalone/Hygieia/pulls{/number}","milestones_url":"https://api.github.com/repos/capitalone/Hygieia/milestones{/number}","notifications_url":"https://api.github.com/repos/capitalone/Hygieia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/capitalone/Hygieia/labels{/name}","releases_url":"https://api.github.com/repos/capitalone/Hygieia/releases{/id}","created_at":"2015-07-17T05:55:06Z","updated_at":"2015-12-17T11:40:13Z","pushed_at":"2015-12-17T19:39:00Z","git_url":"git://github.com/capitalone/Hygieia.git","ssh_url":"git@github.com:capitalone/Hygieia.git","clone_url":"https://github.com/capitalone/Hygieia.git","svn_url":"https://github.com/capitalone/Hygieia","homepage":"http://www.capitalone.io","size":6594,"stargazers_count":446,"watchers_count":446,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":152,"mirror_url":null,"open_issues_count":59,"forks":152,"open_issues":59,"watchers":446,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/capitalone/Hygieia/pulls/230"},"html":{"href":"https://github.com/capitalone/Hygieia/pull/230"},"issue":{"href":"https://api.github.com/repos/capitalone/Hygieia/issues/230"},"comments":{"href":"https://api.github.com/repos/capitalone/Hygieia/issues/230/comments"},"review_comments":{"href":"https://api.github.com/repos/capitalone/Hygieia/pulls/230/comments"},"review_comment":{"href":"https://api.github.com/repos/capitalone/Hygieia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/capitalone/Hygieia/pulls/230/commits"},"statuses":{"href":"https://api.github.com/repos/capitalone/Hygieia/statuses/3e2cee2293f1c0396a46569101a5066686e44a7f"}}}}