{"action":"created","comment":{"url":"https://api.github.com/repos/yegor256/rultor/pulls/comments/56876764","id":56876764,"diff_hunk":"@@ -0,0 +1,768 @@\n+/**\n+ * Copyright (c) 2009-2016, rultor.com\n+ * All rights reserved.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions\n+ * are met: 1) Redistributions of source code must retain the above\n+ * copyright notice, this list of conditions and the following\n+ * disclaimer. 2) Redistributions in binary form must reproduce the above\n+ * copyright notice, this list of conditions and the following\n+ * disclaimer in the documentation and/or other materials provided\n+ * with the distribution. 3) Neither the name of the rultor.com nor\n+ * the names of its contributors may be used to endorse or promote\n+ * products derived from this software without specific prior written\n+ * permission.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\n+ * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL\n+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n+ * OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+package com.rultor.agents;\n+\n+import co.stateful.mock.MkSttc;\n+import com.google.common.collect.Lists;\n+import com.jcabi.github.Assignees;\n+import com.jcabi.github.Branches;\n+import com.jcabi.github.Collaborators;\n+import com.jcabi.github.Comment;\n+import com.jcabi.github.Comments;\n+import com.jcabi.github.Contents;\n+import com.jcabi.github.Coordinates;\n+import com.jcabi.github.DeployKeys;\n+import com.jcabi.github.Event;\n+import com.jcabi.github.Forks;\n+import com.jcabi.github.Gists;\n+import com.jcabi.github.Git;\n+import com.jcabi.github.Github;\n+import com.jcabi.github.Gitignores;\n+import com.jcabi.github.Hooks;\n+import com.jcabi.github.Issue;\n+import com.jcabi.github.IssueEvents;\n+import com.jcabi.github.IssueLabels;\n+import com.jcabi.github.Issues;\n+import com.jcabi.github.Labels;\n+import com.jcabi.github.Language;\n+import com.jcabi.github.Limits;\n+import com.jcabi.github.Markdown;\n+import com.jcabi.github.Milestones;\n+import com.jcabi.github.Notifications;\n+import com.jcabi.github.Organizations;\n+import com.jcabi.github.Pulls;\n+import com.jcabi.github.Releases;\n+import com.jcabi.github.Repo;\n+import com.jcabi.github.RepoCommits;\n+import com.jcabi.github.Repos;\n+import com.jcabi.github.Search;\n+import com.jcabi.github.Stars;\n+import com.jcabi.github.Users;\n+import com.jcabi.github.mock.MkBranches;\n+import com.jcabi.github.mock.MkGithub;\n+import com.jcabi.http.Request;\n+import com.jcabi.http.request.FakeRequest;\n+import com.jcabi.immutable.ArrayMap;\n+import com.jcabi.ssh.SSHD;\n+import com.jcabi.xml.XMLDocument;\n+import com.rultor.spi.Profile;\n+import com.rultor.spi.Talk;\n+import java.io.ByteArrayInputStream;\n+import java.io.IOException;\n+import java.io.InputStream;\n+import java.net.HttpURLConnection;\n+import java.util.EnumMap;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.ResourceBundle;\n+import javax.json.Json;\n+import javax.json.JsonObject;\n+import javax.json.JsonObjectBuilder;\n+import javax.json.JsonValue;\n+import org.apache.commons.lang3.SystemUtils;\n+import org.hamcrest.MatcherAssert;\n+import org.hamcrest.Matchers;\n+import org.junit.Assume;\n+import org.junit.Rule;\n+import org.junit.Test;\n+import org.junit.rules.TemporaryFolder;\n+import org.mockito.Mockito;\n+import org.xembly.Directives;\n+\n+/**\n+ * Integration test for ${@link Agents}.\n+ *\n+ * @author Denys Skalenko (d.skalenko@gmail.com)\n+ * @version $Id$\n+ * @since 2.0","path":"src/test/java/com/rultor/agents/AgentsITCase.java","position":104,"original_position":104,"commit_id":"03afa49c9495234630ac63174bde57f2151bde11","original_commit_id":"03afa49c9495234630ac63174bde57f2151bde11","user":{"login":"original-brownbear","id":6490959,"avatar_url":"https://avatars.githubusercontent.com/u/6490959?v=3","gravatar_id":"","url":"https://api.github.com/users/original-brownbear","html_url":"https://github.com/original-brownbear","followers_url":"https://api.github.com/users/original-brownbear/followers","following_url":"https://api.github.com/users/original-brownbear/following{/other_user}","gists_url":"https://api.github.com/users/original-brownbear/gists{/gist_id}","starred_url":"https://api.github.com/users/original-brownbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/original-brownbear/subscriptions","organizations_url":"https://api.github.com/users/original-brownbear/orgs","repos_url":"https://api.github.com/users/original-brownbear/repos","events_url":"https://api.github.com/users/original-brownbear/events{/privacy}","received_events_url":"https://api.github.com/users/original-brownbear/received_events","type":"User","site_admin":false},"body":"@dskalenko I think in this case it's simply nicer to have a little more fine grained control over this :) => 1.63 given that it's the next release.","created_at":"2016-03-21T18:56:05Z","updated_at":"2016-03-21T18:56:05Z","html_url":"https://github.com/yegor256/rultor/pull/1048#discussion_r56876764","pull_request_url":"https://api.github.com/repos/yegor256/rultor/pulls/1048","_links":{"self":{"href":"https://api.github.com/repos/yegor256/rultor/pulls/comments/56876764"},"html":{"href":"https://github.com/yegor256/rultor/pull/1048#discussion_r56876764"},"pull_request":{"href":"https://api.github.com/repos/yegor256/rultor/pulls/1048"}}},"pull_request":{"url":"https://api.github.com/repos/yegor256/rultor/pulls/1048","id":62310557,"html_url":"https://github.com/yegor256/rultor/pull/1048","diff_url":"https://github.com/yegor256/rultor/pull/1048.diff","patch_url":"https://github.com/yegor256/rultor/pull/1048.patch","issue_url":"https://api.github.com/repos/yegor256/rultor/issues/1048","number":1048,"state":"open","locked":false,"title":"#917 Rultor should not ask architect to confirm merge on a closed PR","user":{"login":"dskalenko","id":6028811,"avatar_url":"https://avatars.githubusercontent.com/u/6028811?v=3","gravatar_id":"","url":"https://api.github.com/users/dskalenko","html_url":"https://github.com/dskalenko","followers_url":"https://api.github.com/users/dskalenko/followers","following_url":"https://api.github.com/users/dskalenko/following{/other_user}","gists_url":"https://api.github.com/users/dskalenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dskalenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dskalenko/subscriptions","organizations_url":"https://api.github.com/users/dskalenko/orgs","repos_url":"https://api.github.com/users/dskalenko/repos","events_url":"https://api.github.com/users/dskalenko/events{/privacy}","received_events_url":"https://api.github.com/users/dskalenko/received_events","type":"User","site_admin":false},"body":"Rultor should not ask architect to confirm merge on a closed PR #917 ","created_at":"2016-03-09T22:55:01Z","updated_at":"2016-03-21T18:56:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6eccd112f8e0e7496ed45aaddf3cafb68c2c2970","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yegor256/rultor/pulls/1048/commits","review_comments_url":"https://api.github.com/repos/yegor256/rultor/pulls/1048/comments","review_comment_url":"https://api.github.com/repos/yegor256/rultor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yegor256/rultor/issues/1048/comments","statuses_url":"https://api.github.com/repos/yegor256/rultor/statuses/03afa49c9495234630ac63174bde57f2151bde11","head":{"label":"dskalenko:#917","ref":"#917","sha":"03afa49c9495234630ac63174bde57f2151bde11","user":{"login":"dskalenko","id":6028811,"avatar_url":"https://avatars.githubusercontent.com/u/6028811?v=3","gravatar_id":"","url":"https://api.github.com/users/dskalenko","html_url":"https://github.com/dskalenko","followers_url":"https://api.github.com/users/dskalenko/followers","following_url":"https://api.github.com/users/dskalenko/following{/other_user}","gists_url":"https://api.github.com/users/dskalenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dskalenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dskalenko/subscriptions","organizations_url":"https://api.github.com/users/dskalenko/orgs","repos_url":"https://api.github.com/users/dskalenko/repos","events_url":"https://api.github.com/users/dskalenko/events{/privacy}","received_events_url":"https://api.github.com/users/dskalenko/received_events","type":"User","site_admin":false},"repo":{"id":53134638,"name":"rultor","full_name":"dskalenko/rultor","owner":{"login":"dskalenko","id":6028811,"avatar_url":"https://avatars.githubusercontent.com/u/6028811?v=3","gravatar_id":"","url":"https://api.github.com/users/dskalenko","html_url":"https://github.com/dskalenko","followers_url":"https://api.github.com/users/dskalenko/followers","following_url":"https://api.github.com/users/dskalenko/following{/other_user}","gists_url":"https://api.github.com/users/dskalenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dskalenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dskalenko/subscriptions","organizations_url":"https://api.github.com/users/dskalenko/orgs","repos_url":"https://api.github.com/users/dskalenko/repos","events_url":"https://api.github.com/users/dskalenko/events{/privacy}","received_events_url":"https://api.github.com/users/dskalenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dskalenko/rultor","description":"DevOps Team Assistant","fork":true,"url":"https://api.github.com/repos/dskalenko/rultor","forks_url":"https://api.github.com/repos/dskalenko/rultor/forks","keys_url":"https://api.github.com/repos/dskalenko/rultor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dskalenko/rultor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dskalenko/rultor/teams","hooks_url":"https://api.github.com/repos/dskalenko/rultor/hooks","issue_events_url":"https://api.github.com/repos/dskalenko/rultor/issues/events{/number}","events_url":"https://api.github.com/repos/dskalenko/rultor/events","assignees_url":"https://api.github.com/repos/dskalenko/rultor/assignees{/user}","branches_url":"https://api.github.com/repos/dskalenko/rultor/branches{/branch}","tags_url":"https://api.github.com/repos/dskalenko/rultor/tags","blobs_url":"https://api.github.com/repos/dskalenko/rultor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dskalenko/rultor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dskalenko/rultor/git/refs{/sha}","trees_url":"https://api.github.com/repos/dskalenko/rultor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dskalenko/rultor/statuses/{sha}","languages_url":"https://api.github.com/repos/dskalenko/rultor/languages","stargazers_url":"https://api.github.com/repos/dskalenko/rultor/stargazers","contributors_url":"https://api.github.com/repos/dskalenko/rultor/contributors","subscribers_url":"https://api.github.com/repos/dskalenko/rultor/subscribers","subscription_url":"https://api.github.com/repos/dskalenko/rultor/subscription","commits_url":"https://api.github.com/repos/dskalenko/rultor/commits{/sha}","git_commits_url":"https://api.github.com/repos/dskalenko/rultor/git/commits{/sha}","comments_url":"https://api.github.com/repos/dskalenko/rultor/comments{/number}","issue_comment_url":"https://api.github.com/repos/dskalenko/rultor/issues/comments{/number}","contents_url":"https://api.github.com/repos/dskalenko/rultor/contents/{+path}","compare_url":"https://api.github.com/repos/dskalenko/rultor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dskalenko/rultor/merges","archive_url":"https://api.github.com/repos/dskalenko/rultor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dskalenko/rultor/downloads","issues_url":"https://api.github.com/repos/dskalenko/rultor/issues{/number}","pulls_url":"https://api.github.com/repos/dskalenko/rultor/pulls{/number}","milestones_url":"https://api.github.com/repos/dskalenko/rultor/milestones{/number}","notifications_url":"https://api.github.com/repos/dskalenko/rultor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dskalenko/rultor/labels{/name}","releases_url":"https://api.github.com/repos/dskalenko/rultor/releases{/id}","deployments_url":"https://api.github.com/repos/dskalenko/rultor/deployments","created_at":"2016-03-04T12:41:40Z","updated_at":"2016-03-04T12:41:43Z","pushed_at":"2016-03-20T23:53:03Z","git_url":"git://github.com/dskalenko/rultor.git","ssh_url":"git@github.com:dskalenko/rultor.git","clone_url":"https://github.com/dskalenko/rultor.git","svn_url":"https://github.com/dskalenko/rultor","homepage":"www.rultor.com","size":85528,"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":"yegor256:master","ref":"master","sha":"e506072b7ec441b5ed91b34380bae2e378461776","user":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"repo":{"id":8271291,"name":"rultor","full_name":"yegor256/rultor","owner":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yegor256/rultor","description":"DevOps Team Assistant","fork":false,"url":"https://api.github.com/repos/yegor256/rultor","forks_url":"https://api.github.com/repos/yegor256/rultor/forks","keys_url":"https://api.github.com/repos/yegor256/rultor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yegor256/rultor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yegor256/rultor/teams","hooks_url":"https://api.github.com/repos/yegor256/rultor/hooks","issue_events_url":"https://api.github.com/repos/yegor256/rultor/issues/events{/number}","events_url":"https://api.github.com/repos/yegor256/rultor/events","assignees_url":"https://api.github.com/repos/yegor256/rultor/assignees{/user}","branches_url":"https://api.github.com/repos/yegor256/rultor/branches{/branch}","tags_url":"https://api.github.com/repos/yegor256/rultor/tags","blobs_url":"https://api.github.com/repos/yegor256/rultor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yegor256/rultor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yegor256/rultor/git/refs{/sha}","trees_url":"https://api.github.com/repos/yegor256/rultor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yegor256/rultor/statuses/{sha}","languages_url":"https://api.github.com/repos/yegor256/rultor/languages","stargazers_url":"https://api.github.com/repos/yegor256/rultor/stargazers","contributors_url":"https://api.github.com/repos/yegor256/rultor/contributors","subscribers_url":"https://api.github.com/repos/yegor256/rultor/subscribers","subscription_url":"https://api.github.com/repos/yegor256/rultor/subscription","commits_url":"https://api.github.com/repos/yegor256/rultor/commits{/sha}","git_commits_url":"https://api.github.com/repos/yegor256/rultor/git/commits{/sha}","comments_url":"https://api.github.com/repos/yegor256/rultor/comments{/number}","issue_comment_url":"https://api.github.com/repos/yegor256/rultor/issues/comments{/number}","contents_url":"https://api.github.com/repos/yegor256/rultor/contents/{+path}","compare_url":"https://api.github.com/repos/yegor256/rultor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yegor256/rultor/merges","archive_url":"https://api.github.com/repos/yegor256/rultor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yegor256/rultor/downloads","issues_url":"https://api.github.com/repos/yegor256/rultor/issues{/number}","pulls_url":"https://api.github.com/repos/yegor256/rultor/pulls{/number}","milestones_url":"https://api.github.com/repos/yegor256/rultor/milestones{/number}","notifications_url":"https://api.github.com/repos/yegor256/rultor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yegor256/rultor/labels{/name}","releases_url":"https://api.github.com/repos/yegor256/rultor/releases{/id}","deployments_url":"https://api.github.com/repos/yegor256/rultor/deployments","created_at":"2013-02-18T15:39:50Z","updated_at":"2016-03-21T03:53:58Z","pushed_at":"2016-03-21T18:51:40Z","git_url":"git://github.com/yegor256/rultor.git","ssh_url":"git@github.com:yegor256/rultor.git","clone_url":"https://github.com/yegor256/rultor.git","svn_url":"https://github.com/yegor256/rultor","homepage":"www.rultor.com","size":88270,"stargazers_count":186,"watchers_count":186,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":66,"mirror_url":null,"open_issues_count":58,"forks":66,"open_issues":58,"watchers":186,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yegor256/rultor/pulls/1048"},"html":{"href":"https://github.com/yegor256/rultor/pull/1048"},"issue":{"href":"https://api.github.com/repos/yegor256/rultor/issues/1048"},"comments":{"href":"https://api.github.com/repos/yegor256/rultor/issues/1048/comments"},"review_comments":{"href":"https://api.github.com/repos/yegor256/rultor/pulls/1048/comments"},"review_comment":{"href":"https://api.github.com/repos/yegor256/rultor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yegor256/rultor/pulls/1048/commits"},"statuses":{"href":"https://api.github.com/repos/yegor256/rultor/statuses/03afa49c9495234630ac63174bde57f2151bde11"}}}}