{"action":"created","comment":{"url":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/comments/234455459","pull_request_review_id":176099687,"id":234455459,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDQ1NTQ1OQ==","diff_hunk":"@@ -0,0 +1,47 @@\n+/**\n+ * Copyright (c) 2018, Mihai Emil Andronache\n+ * All rights reserved.\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions are met:\n+ * 1)Redistributions of source code must retain the above copyright notice,\n+ * this list of conditions and the following disclaimer.\n+ * 2)Redistributions in binary form must reproduce the above copyright notice,\n+ * this list of conditions and the following disclaimer in the documentation\n+ * and/or other materials provided with the distribution.\n+ * 3)Neither the name of docker-java-api nor the names of its\n+ * contributors may be used to endorse or promote products derived from\n+ * this software without specific prior written permission.\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n+ * POSSIBILITY OF SUCH DAMAGE.\n+ */\n+package com.amihaiemil.docker;\n+\n+import org.apache.http.impl.client.HttpClients;\n+\n+/**\n+ * Plain HTTP (no TLS) client.\n+ *\n+ * @author George Aristy (george.aristy@gmail.com)\n+ * @since 0.0.4","path":"src/main/java/com/amihaiemil/docker/PlainHttpClient.java","position":34,"original_position":34,"commit_id":"861b4d6fab4aaafda7f4e53932b98d1545bce2d5","original_commit_id":"861b4d6fab4aaafda7f4e53932b98d1545bce2d5","user":{"login":"amihaiemil","id":6305156,"node_id":"MDQ6VXNlcjYzMDUxNTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6305156?v=4","gravatar_id":"","url":"https://api.github.com/users/amihaiemil","html_url":"https://github.com/amihaiemil","followers_url":"https://api.github.com/users/amihaiemil/followers","following_url":"https://api.github.com/users/amihaiemil/following{/other_user}","gists_url":"https://api.github.com/users/amihaiemil/gists{/gist_id}","starred_url":"https://api.github.com/users/amihaiemil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amihaiemil/subscriptions","organizations_url":"https://api.github.com/users/amihaiemil/orgs","repos_url":"https://api.github.com/users/amihaiemil/repos","events_url":"https://api.github.com/users/amihaiemil/events{/privacy}","received_events_url":"https://api.github.com/users/amihaiemil/received_events","type":"User","site_admin":false},"body":"@llorllale ``@version`` as well here","created_at":"2018-11-18T18:12:06Z","updated_at":"2018-11-18T18:13:59Z","html_url":"https://github.com/amihaiemil/docker-java-api/pull/189#discussion_r234455459","pull_request_url":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/189","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/comments/234455459"},"html":{"href":"https://github.com/amihaiemil/docker-java-api/pull/189#discussion_r234455459"},"pull_request":{"href":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/189"}}},"pull_request":{"url":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/189","id":230996764,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwOTk2NzY0","html_url":"https://github.com/amihaiemil/docker-java-api/pull/189","diff_url":"https://github.com/amihaiemil/docker-java-api/pull/189.diff","patch_url":"https://github.com/amihaiemil/docker-java-api/pull/189.patch","issue_url":"https://api.github.com/repos/amihaiemil/docker-java-api/issues/189","number":189,"state":"open","locked":false,"title":"(#176) HttpClientEnvelope + PlainHttpClient","user":{"login":"llorllale","id":2019896,"node_id":"MDQ6VXNlcjIwMTk4OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2019896?v=4","gravatar_id":"","url":"https://api.github.com/users/llorllale","html_url":"https://github.com/llorllale","followers_url":"https://api.github.com/users/llorllale/followers","following_url":"https://api.github.com/users/llorllale/following{/other_user}","gists_url":"https://api.github.com/users/llorllale/gists{/gist_id}","starred_url":"https://api.github.com/users/llorllale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llorllale/subscriptions","organizations_url":"https://api.github.com/users/llorllale/orgs","repos_url":"https://api.github.com/users/llorllale/repos","events_url":"https://api.github.com/users/llorllale/events{/privacy}","received_events_url":"https://api.github.com/users/llorllale/received_events","type":"User","site_admin":false},"body":"This PR is for #176:\r\n* Added `HttpClientEnvelope`\r\n* Refactored existing http clients to extend `HttpClientEnvelope`\r\n* Added `PlainHttpClient`\r\n* Added ctor for `RemoteDocker` that defaults to the `PlainHttpClient`","created_at":"2018-11-14T22:00:49Z","updated_at":"2018-11-18T18:13:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f7ff1abe86b2dab077bee34b9045d1a6aaed0b8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/189/commits","review_comments_url":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/189/comments","review_comment_url":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amihaiemil/docker-java-api/issues/189/comments","statuses_url":"https://api.github.com/repos/amihaiemil/docker-java-api/statuses/861b4d6fab4aaafda7f4e53932b98d1545bce2d5","head":{"label":"llorllale:176","ref":"176","sha":"861b4d6fab4aaafda7f4e53932b98d1545bce2d5","user":{"login":"llorllale","id":2019896,"node_id":"MDQ6VXNlcjIwMTk4OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2019896?v=4","gravatar_id":"","url":"https://api.github.com/users/llorllale","html_url":"https://github.com/llorllale","followers_url":"https://api.github.com/users/llorllale/followers","following_url":"https://api.github.com/users/llorllale/following{/other_user}","gists_url":"https://api.github.com/users/llorllale/gists{/gist_id}","starred_url":"https://api.github.com/users/llorllale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llorllale/subscriptions","organizations_url":"https://api.github.com/users/llorllale/orgs","repos_url":"https://api.github.com/users/llorllale/repos","events_url":"https://api.github.com/users/llorllale/events{/privacy}","received_events_url":"https://api.github.com/users/llorllale/received_events","type":"User","site_admin":false},"repo":{"id":124911199,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ5MTExOTk=","name":"docker-java-api","full_name":"llorllale/docker-java-api","private":false,"owner":{"login":"llorllale","id":2019896,"node_id":"MDQ6VXNlcjIwMTk4OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2019896?v=4","gravatar_id":"","url":"https://api.github.com/users/llorllale","html_url":"https://github.com/llorllale","followers_url":"https://api.github.com/users/llorllale/followers","following_url":"https://api.github.com/users/llorllale/following{/other_user}","gists_url":"https://api.github.com/users/llorllale/gists{/gist_id}","starred_url":"https://api.github.com/users/llorllale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llorllale/subscriptions","organizations_url":"https://api.github.com/users/llorllale/orgs","repos_url":"https://api.github.com/users/llorllale/repos","events_url":"https://api.github.com/users/llorllale/events{/privacy}","received_events_url":"https://api.github.com/users/llorllale/received_events","type":"User","site_admin":false},"html_url":"https://github.com/llorllale/docker-java-api","description":"Lightweight Java Docker client","fork":true,"url":"https://api.github.com/repos/llorllale/docker-java-api","forks_url":"https://api.github.com/repos/llorllale/docker-java-api/forks","keys_url":"https://api.github.com/repos/llorllale/docker-java-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/llorllale/docker-java-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/llorllale/docker-java-api/teams","hooks_url":"https://api.github.com/repos/llorllale/docker-java-api/hooks","issue_events_url":"https://api.github.com/repos/llorllale/docker-java-api/issues/events{/number}","events_url":"https://api.github.com/repos/llorllale/docker-java-api/events","assignees_url":"https://api.github.com/repos/llorllale/docker-java-api/assignees{/user}","branches_url":"https://api.github.com/repos/llorllale/docker-java-api/branches{/branch}","tags_url":"https://api.github.com/repos/llorllale/docker-java-api/tags","blobs_url":"https://api.github.com/repos/llorllale/docker-java-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/llorllale/docker-java-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/llorllale/docker-java-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/llorllale/docker-java-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/llorllale/docker-java-api/statuses/{sha}","languages_url":"https://api.github.com/repos/llorllale/docker-java-api/languages","stargazers_url":"https://api.github.com/repos/llorllale/docker-java-api/stargazers","contributors_url":"https://api.github.com/repos/llorllale/docker-java-api/contributors","subscribers_url":"https://api.github.com/repos/llorllale/docker-java-api/subscribers","subscription_url":"https://api.github.com/repos/llorllale/docker-java-api/subscription","commits_url":"https://api.github.com/repos/llorllale/docker-java-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/llorllale/docker-java-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/llorllale/docker-java-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/llorllale/docker-java-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/llorllale/docker-java-api/contents/{+path}","compare_url":"https://api.github.com/repos/llorllale/docker-java-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/llorllale/docker-java-api/merges","archive_url":"https://api.github.com/repos/llorllale/docker-java-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/llorllale/docker-java-api/downloads","issues_url":"https://api.github.com/repos/llorllale/docker-java-api/issues{/number}","pulls_url":"https://api.github.com/repos/llorllale/docker-java-api/pulls{/number}","milestones_url":"https://api.github.com/repos/llorllale/docker-java-api/milestones{/number}","notifications_url":"https://api.github.com/repos/llorllale/docker-java-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/llorllale/docker-java-api/labels{/name}","releases_url":"https://api.github.com/repos/llorllale/docker-java-api/releases{/id}","deployments_url":"https://api.github.com/repos/llorllale/docker-java-api/deployments","created_at":"2018-03-12T15:33:46Z","updated_at":"2018-05-16T17:57:16Z","pushed_at":"2018-11-14T22:00:00Z","git_url":"git://github.com/llorllale/docker-java-api.git","ssh_url":"git@github.com:llorllale/docker-java-api.git","clone_url":"https://github.com/llorllale/docker-java-api.git","svn_url":"https://github.com/llorllale/docker-java-api","homepage":"","size":312,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"amihaiemil:master","ref":"master","sha":"fb04f1efddc332acfda71665140cad6b58fd7744","user":{"login":"amihaiemil","id":6305156,"node_id":"MDQ6VXNlcjYzMDUxNTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6305156?v=4","gravatar_id":"","url":"https://api.github.com/users/amihaiemil","html_url":"https://github.com/amihaiemil","followers_url":"https://api.github.com/users/amihaiemil/followers","following_url":"https://api.github.com/users/amihaiemil/following{/other_user}","gists_url":"https://api.github.com/users/amihaiemil/gists{/gist_id}","starred_url":"https://api.github.com/users/amihaiemil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amihaiemil/subscriptions","organizations_url":"https://api.github.com/users/amihaiemil/orgs","repos_url":"https://api.github.com/users/amihaiemil/repos","events_url":"https://api.github.com/users/amihaiemil/events{/privacy}","received_events_url":"https://api.github.com/users/amihaiemil/received_events","type":"User","site_admin":false},"repo":{"id":119243403,"node_id":"MDEwOlJlcG9zaXRvcnkxMTkyNDM0MDM=","name":"docker-java-api","full_name":"amihaiemil/docker-java-api","private":false,"owner":{"login":"amihaiemil","id":6305156,"node_id":"MDQ6VXNlcjYzMDUxNTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6305156?v=4","gravatar_id":"","url":"https://api.github.com/users/amihaiemil","html_url":"https://github.com/amihaiemil","followers_url":"https://api.github.com/users/amihaiemil/followers","following_url":"https://api.github.com/users/amihaiemil/following{/other_user}","gists_url":"https://api.github.com/users/amihaiemil/gists{/gist_id}","starred_url":"https://api.github.com/users/amihaiemil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amihaiemil/subscriptions","organizations_url":"https://api.github.com/users/amihaiemil/orgs","repos_url":"https://api.github.com/users/amihaiemil/repos","events_url":"https://api.github.com/users/amihaiemil/events{/privacy}","received_events_url":"https://api.github.com/users/amihaiemil/received_events","type":"User","site_admin":false},"html_url":"https://github.com/amihaiemil/docker-java-api","description":"Lightweight Java Docker client","fork":false,"url":"https://api.github.com/repos/amihaiemil/docker-java-api","forks_url":"https://api.github.com/repos/amihaiemil/docker-java-api/forks","keys_url":"https://api.github.com/repos/amihaiemil/docker-java-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amihaiemil/docker-java-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amihaiemil/docker-java-api/teams","hooks_url":"https://api.github.com/repos/amihaiemil/docker-java-api/hooks","issue_events_url":"https://api.github.com/repos/amihaiemil/docker-java-api/issues/events{/number}","events_url":"https://api.github.com/repos/amihaiemil/docker-java-api/events","assignees_url":"https://api.github.com/repos/amihaiemil/docker-java-api/assignees{/user}","branches_url":"https://api.github.com/repos/amihaiemil/docker-java-api/branches{/branch}","tags_url":"https://api.github.com/repos/amihaiemil/docker-java-api/tags","blobs_url":"https://api.github.com/repos/amihaiemil/docker-java-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amihaiemil/docker-java-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amihaiemil/docker-java-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/amihaiemil/docker-java-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amihaiemil/docker-java-api/statuses/{sha}","languages_url":"https://api.github.com/repos/amihaiemil/docker-java-api/languages","stargazers_url":"https://api.github.com/repos/amihaiemil/docker-java-api/stargazers","contributors_url":"https://api.github.com/repos/amihaiemil/docker-java-api/contributors","subscribers_url":"https://api.github.com/repos/amihaiemil/docker-java-api/subscribers","subscription_url":"https://api.github.com/repos/amihaiemil/docker-java-api/subscription","commits_url":"https://api.github.com/repos/amihaiemil/docker-java-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/amihaiemil/docker-java-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/amihaiemil/docker-java-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/amihaiemil/docker-java-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/amihaiemil/docker-java-api/contents/{+path}","compare_url":"https://api.github.com/repos/amihaiemil/docker-java-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amihaiemil/docker-java-api/merges","archive_url":"https://api.github.com/repos/amihaiemil/docker-java-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amihaiemil/docker-java-api/downloads","issues_url":"https://api.github.com/repos/amihaiemil/docker-java-api/issues{/number}","pulls_url":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls{/number}","milestones_url":"https://api.github.com/repos/amihaiemil/docker-java-api/milestones{/number}","notifications_url":"https://api.github.com/repos/amihaiemil/docker-java-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amihaiemil/docker-java-api/labels{/name}","releases_url":"https://api.github.com/repos/amihaiemil/docker-java-api/releases{/id}","deployments_url":"https://api.github.com/repos/amihaiemil/docker-java-api/deployments","created_at":"2018-01-28T09:06:36Z","updated_at":"2018-11-13T14:39:58Z","pushed_at":"2018-11-18T16:16:46Z","git_url":"git://github.com/amihaiemil/docker-java-api.git","ssh_url":"git@github.com:amihaiemil/docker-java-api.git","clone_url":"https://github.com/amihaiemil/docker-java-api.git","svn_url":"https://github.com/amihaiemil/docker-java-api","homepage":"","size":327,"stargazers_count":77,"watchers_count":77,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":15,"open_issues":28,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/189"},"html":{"href":"https://github.com/amihaiemil/docker-java-api/pull/189"},"issue":{"href":"https://api.github.com/repos/amihaiemil/docker-java-api/issues/189"},"comments":{"href":"https://api.github.com/repos/amihaiemil/docker-java-api/issues/189/comments"},"review_comments":{"href":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/189/comments"},"review_comment":{"href":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amihaiemil/docker-java-api/pulls/189/commits"},"statuses":{"href":"https://api.github.com/repos/amihaiemil/docker-java-api/statuses/861b4d6fab4aaafda7f4e53932b98d1545bce2d5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"amihaiemil"}}