{"action":"created","comment":{"url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/comments/167342434","pull_request_review_id":95558048,"id":167342434,"diff_hunk":"@@ -0,0 +1,140 @@\n+package org.corfudb.runtime.view.workflows;\n+\n+import lombok.NonNull;\n+import lombok.extern.slf4j.Slf4j;\n+import org.corfudb.runtime.CorfuRuntime;\n+import org.corfudb.runtime.clients.ManagementClient;\n+import org.corfudb.runtime.exceptions.NetworkException;\n+import org.corfudb.runtime.exceptions.WorkflowException;\n+import org.corfudb.runtime.exceptions.WorkflowResultUnknownException;\n+import org.corfudb.runtime.view.Layout;\n+import org.corfudb.util.Sleep;\n+\n+import javax.annotation.Nonnull;\n+import java.time.Duration;\n+import java.util.List;\n+import java.util.UUID;\n+import java.util.concurrent.TimeoutException;\n+import java.util.stream.Collectors;\n+\n+/**\n+ * An abstract class that defines a generec workflow request structure.\n+ * <p>\n+ * Created by Maithem on 1/19/18.\n+ */\n+@Slf4j\n+public abstract class WorkflowRequest {\n+\n+    protected int retry;\n+\n+    protected Duration timeout;\n+\n+    protected Duration pollPeriod;\n+\n+    protected CorfuRuntime runtime;\n+\n+    @NonNull\n+    protected String nodeForWorkflow;\n+\n+    /**\n+     * Send a workflow request\n+     *\n+     * @param layout current layout\n+     * @return a uuid that corresponds to the created workflow\n+     */\n+    protected abstract UUID sendRequest(Layout layout);\n+\n+    /**\n+     * Select an orchestrator and return a client. Orchestrator's that\n+     * are on unresponsive nodes and the affected endpoint by the workflow\n+     * will not be selected.\n+     *\n+     * @param layout the layout that is used to select an orchestrator\n+     * @return a management client that is connected to the selected\n+     * orchestrator\n+     */\n+    protected ManagementClient getOrchestrator(Layout layout) {\n+        List<String> activeLayoutServers = layout.getLayoutServers().stream()\n+                .filter(s -> !layout.getUnresponsiveServers().contains(s)\n+                        && !s.equals(nodeForWorkflow))\n+                .collect(Collectors.toList());\n+\n+        if (activeLayoutServers.isEmpty()) {\n+            throw new WorkflowException(\"getOrchestrator: no available orchestrators \" + layout);\n+        }\n+\n+        return runtime.getRouter(activeLayoutServers.get(0)).getClient(ManagementClient.class);\n+    }\n+\n+    /**\n+     * Infer the completion of the request by inspecting the layout\n+     *\n+     * @param layout the layout to inspect\n+     * @return true if the operation is reflected in the layout, otherwise\n+     * return false\n+     */\n+    protected abstract boolean verifyRequest(Layout layout);\n+\n+    /**\n+     * @param workflow   the workflow id to poll\n+     * @param client     a client that is connected to the orchestrator that is\n+     *                   running the workflow\n+     * @param timeout    the total time to wait for the workflow to complete\n+     * @param pollPeriod the poll period to query the completion of the workflow\n+     * @throws TimeoutException if the workflow doesn't complete withint the timout\n+     *                          period\n+     */\n+    private void waitForWorkflow(@Nonnull UUID workflow, @Nonnull ManagementClient client,\n+                                 @Nonnull Duration timeout, @Nonnull Duration pollPeriod)\n+            throws TimeoutException {\n+        long tries = timeout.getSeconds() / pollPeriod.getSeconds();\n+        for (long x = 0; x < tries; x++) {\n+            if (!client.queryRequest(workflow).isActive()) {\n+                return;\n+            }\n+            Sleep.sleepUninterruptibly(pollPeriod);\n+            log.info(\"waitForWorkflow: waiting for {} on attempt {}\", workflow, x);\n+        }\n+        throw new TimeoutException();\n+    }\n+\n+    /**\n+     * Starts executing the workflow request.\n+     *\n+     * This method will succeed only if the workflow executed successfully, otherwise\n+     * it can throw a WorkflowResultUnknownException when the timeouts are exhauseted\n+     * and the expected side effect cannot be verified.\n+     *\n+     * @throws WorkflowResultUnknownException when the workflow result cannot be\n+     * verified.\n+     */\n+    public void invoke() {\n+        for (int x = 0; x < retry; x++) {\n+            try {\n+                runtime.invalidateLayout();\n+                Layout requestLayout = new Layout(runtime.getLayoutView().getLayout());\n+                UUID workflowId = sendRequest(requestLayout);","path":"runtime/src/main/java/org/corfudb/runtime/view/workflows/WorkflowRequest.java","position":116,"original_position":116,"commit_id":"014dcaed437648a79c1db45a40be83c0c5a0e859","original_commit_id":"014dcaed437648a79c1db45a40be83c0c5a0e859","user":{"login":"medhavidhawan","id":11648683,"avatar_url":"https://avatars2.githubusercontent.com/u/11648683?v=4","gravatar_id":"","url":"https://api.github.com/users/medhavidhawan","html_url":"https://github.com/medhavidhawan","followers_url":"https://api.github.com/users/medhavidhawan/followers","following_url":"https://api.github.com/users/medhavidhawan/following{/other_user}","gists_url":"https://api.github.com/users/medhavidhawan/gists{/gist_id}","starred_url":"https://api.github.com/users/medhavidhawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medhavidhawan/subscriptions","organizations_url":"https://api.github.com/users/medhavidhawan/orgs","repos_url":"https://api.github.com/users/medhavidhawan/repos","events_url":"https://api.github.com/users/medhavidhawan/events{/privacy}","received_events_url":"https://api.github.com/users/medhavidhawan/received_events","type":"User","site_admin":false},"body":"nit: this got me confused. sendRequest uses the same orchestrator as you obtain in the next line. The connection is not very apparent in the code.","created_at":"2018-02-09T20:48:51Z","updated_at":"2018-02-09T21:01:10Z","html_url":"https://github.com/CorfuDB/CorfuDB/pull/1158#discussion_r167342434","pull_request_url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1158","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/comments/167342434"},"html":{"href":"https://github.com/CorfuDB/CorfuDB/pull/1158#discussion_r167342434"},"pull_request":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1158"}}},"pull_request":{"url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1158","id":163961135,"html_url":"https://github.com/CorfuDB/CorfuDB/pull/1158","diff_url":"https://github.com/CorfuDB/CorfuDB/pull/1158.diff","patch_url":"https://github.com/CorfuDB/CorfuDB/pull/1158.patch","issue_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1158","number":1158,"state":"open","locked":false,"title":"Force Remove Node","user":{"login":"Maithem","id":7818642,"avatar_url":"https://avatars2.githubusercontent.com/u/7818642?v=4","gravatar_id":"","url":"https://api.github.com/users/Maithem","html_url":"https://github.com/Maithem","followers_url":"https://api.github.com/users/Maithem/followers","following_url":"https://api.github.com/users/Maithem/following{/other_user}","gists_url":"https://api.github.com/users/Maithem/gists{/gist_id}","starred_url":"https://api.github.com/users/Maithem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maithem/subscriptions","organizations_url":"https://api.github.com/users/Maithem/orgs","repos_url":"https://api.github.com/users/Maithem/repos","events_url":"https://api.github.com/users/Maithem/events{/privacy}","received_events_url":"https://api.github.com/users/Maithem/received_events","type":"User","site_admin":false},"body":"## Overview\r\n\r\nThis PR implements an API to bypass layout consensus and force\r\na layout on the cluster. This capability is used to implement force\r\nremove node workflow.\r\n\r\n\r\nWhy should this be merged: \r\nRequired for to complete clustering\r\n\r\n\r\n## Checklist (Definition of Done):\r\n\r\n- [x] There are no TODOs left in the code\r\n- [x] [Coding conventions](https://github.com/CorfuDB/CorfuDB/wiki/Corfu-Style-Guidelines) (e.g. for logging, unit tests) have been followed\r\n- [x] Change is covered by automated tests\r\n- [x] Public API has Javadoc\r\n","created_at":"2018-01-19T12:46:16Z","updated_at":"2018-02-09T21:01:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc8af3f21ad2e5b49df3359c25296b02b9b4e5e2","assignee":{"login":"Maithem","id":7818642,"avatar_url":"https://avatars2.githubusercontent.com/u/7818642?v=4","gravatar_id":"","url":"https://api.github.com/users/Maithem","html_url":"https://github.com/Maithem","followers_url":"https://api.github.com/users/Maithem/followers","following_url":"https://api.github.com/users/Maithem/following{/other_user}","gists_url":"https://api.github.com/users/Maithem/gists{/gist_id}","starred_url":"https://api.github.com/users/Maithem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maithem/subscriptions","organizations_url":"https://api.github.com/users/Maithem/orgs","repos_url":"https://api.github.com/users/Maithem/repos","events_url":"https://api.github.com/users/Maithem/events{/privacy}","received_events_url":"https://api.github.com/users/Maithem/received_events","type":"User","site_admin":false},"assignees":[{"login":"Maithem","id":7818642,"avatar_url":"https://avatars2.githubusercontent.com/u/7818642?v=4","gravatar_id":"","url":"https://api.github.com/users/Maithem","html_url":"https://github.com/Maithem","followers_url":"https://api.github.com/users/Maithem/followers","following_url":"https://api.github.com/users/Maithem/following{/other_user}","gists_url":"https://api.github.com/users/Maithem/gists{/gist_id}","starred_url":"https://api.github.com/users/Maithem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maithem/subscriptions","organizations_url":"https://api.github.com/users/Maithem/orgs","repos_url":"https://api.github.com/users/Maithem/repos","events_url":"https://api.github.com/users/Maithem/events{/privacy}","received_events_url":"https://api.github.com/users/Maithem/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"zalokhan","id":10751367,"avatar_url":"https://avatars3.githubusercontent.com/u/10751367?v=4","gravatar_id":"","url":"https://api.github.com/users/zalokhan","html_url":"https://github.com/zalokhan","followers_url":"https://api.github.com/users/zalokhan/followers","following_url":"https://api.github.com/users/zalokhan/following{/other_user}","gists_url":"https://api.github.com/users/zalokhan/gists{/gist_id}","starred_url":"https://api.github.com/users/zalokhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalokhan/subscriptions","organizations_url":"https://api.github.com/users/zalokhan/orgs","repos_url":"https://api.github.com/users/zalokhan/repos","events_url":"https://api.github.com/users/zalokhan/events{/privacy}","received_events_url":"https://api.github.com/users/zalokhan/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/CorfuDB/CorfuDB/milestones/2","html_url":"https://github.com/CorfuDB/CorfuDB/milestone/2","labels_url":"https://api.github.com/repos/CorfuDB/CorfuDB/milestones/2/labels","id":2956931,"number":2,"title":"0.3.0","description":"","creator":{"login":"no2chem","id":6496984,"avatar_url":"https://avatars0.githubusercontent.com/u/6496984?v=4","gravatar_id":"","url":"https://api.github.com/users/no2chem","html_url":"https://github.com/no2chem","followers_url":"https://api.github.com/users/no2chem/followers","following_url":"https://api.github.com/users/no2chem/following{/other_user}","gists_url":"https://api.github.com/users/no2chem/gists{/gist_id}","starred_url":"https://api.github.com/users/no2chem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/no2chem/subscriptions","organizations_url":"https://api.github.com/users/no2chem/orgs","repos_url":"https://api.github.com/users/no2chem/repos","events_url":"https://api.github.com/users/no2chem/events{/privacy}","received_events_url":"https://api.github.com/users/no2chem/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2017-12-04T17:07:05Z","updated_at":"2018-02-08T20:38:32Z","due_on":"2018-02-13T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1158/commits","review_comments_url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1158/comments","review_comment_url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1158/comments","statuses_url":"https://api.github.com/repos/CorfuDB/CorfuDB/statuses/014dcaed437648a79c1db45a40be83c0c5a0e859","head":{"label":"CorfuDB:refactorClient","ref":"refactorClient","sha":"014dcaed437648a79c1db45a40be83c0c5a0e859","user":{"login":"CorfuDB","id":10199273,"avatar_url":"https://avatars0.githubusercontent.com/u/10199273?v=4","gravatar_id":"","url":"https://api.github.com/users/CorfuDB","html_url":"https://github.com/CorfuDB","followers_url":"https://api.github.com/users/CorfuDB/followers","following_url":"https://api.github.com/users/CorfuDB/following{/other_user}","gists_url":"https://api.github.com/users/CorfuDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CorfuDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CorfuDB/subscriptions","organizations_url":"https://api.github.com/users/CorfuDB/orgs","repos_url":"https://api.github.com/users/CorfuDB/repos","events_url":"https://api.github.com/users/CorfuDB/events{/privacy}","received_events_url":"https://api.github.com/users/CorfuDB/received_events","type":"Organization","site_admin":false},"repo":{"id":12960439,"name":"CorfuDB","full_name":"CorfuDB/CorfuDB","owner":{"login":"CorfuDB","id":10199273,"avatar_url":"https://avatars0.githubusercontent.com/u/10199273?v=4","gravatar_id":"","url":"https://api.github.com/users/CorfuDB","html_url":"https://github.com/CorfuDB","followers_url":"https://api.github.com/users/CorfuDB/followers","following_url":"https://api.github.com/users/CorfuDB/following{/other_user}","gists_url":"https://api.github.com/users/CorfuDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CorfuDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CorfuDB/subscriptions","organizations_url":"https://api.github.com/users/CorfuDB/orgs","repos_url":"https://api.github.com/users/CorfuDB/repos","events_url":"https://api.github.com/users/CorfuDB/events{/privacy}","received_events_url":"https://api.github.com/users/CorfuDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CorfuDB/CorfuDB","description":"A cluster consistency platform","fork":false,"url":"https://api.github.com/repos/CorfuDB/CorfuDB","forks_url":"https://api.github.com/repos/CorfuDB/CorfuDB/forks","keys_url":"https://api.github.com/repos/CorfuDB/CorfuDB/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CorfuDB/CorfuDB/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CorfuDB/CorfuDB/teams","hooks_url":"https://api.github.com/repos/CorfuDB/CorfuDB/hooks","issue_events_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/events{/number}","events_url":"https://api.github.com/repos/CorfuDB/CorfuDB/events","assignees_url":"https://api.github.com/repos/CorfuDB/CorfuDB/assignees{/user}","branches_url":"https://api.github.com/repos/CorfuDB/CorfuDB/branches{/branch}","tags_url":"https://api.github.com/repos/CorfuDB/CorfuDB/tags","blobs_url":"https://api.github.com/repos/CorfuDB/CorfuDB/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CorfuDB/CorfuDB/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CorfuDB/CorfuDB/git/refs{/sha}","trees_url":"https://api.github.com/repos/CorfuDB/CorfuDB/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CorfuDB/CorfuDB/statuses/{sha}","languages_url":"https://api.github.com/repos/CorfuDB/CorfuDB/languages","stargazers_url":"https://api.github.com/repos/CorfuDB/CorfuDB/stargazers","contributors_url":"https://api.github.com/repos/CorfuDB/CorfuDB/contributors","subscribers_url":"https://api.github.com/repos/CorfuDB/CorfuDB/subscribers","subscription_url":"https://api.github.com/repos/CorfuDB/CorfuDB/subscription","commits_url":"https://api.github.com/repos/CorfuDB/CorfuDB/commits{/sha}","git_commits_url":"https://api.github.com/repos/CorfuDB/CorfuDB/git/commits{/sha}","comments_url":"https://api.github.com/repos/CorfuDB/CorfuDB/comments{/number}","issue_comment_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/comments{/number}","contents_url":"https://api.github.com/repos/CorfuDB/CorfuDB/contents/{+path}","compare_url":"https://api.github.com/repos/CorfuDB/CorfuDB/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CorfuDB/CorfuDB/merges","archive_url":"https://api.github.com/repos/CorfuDB/CorfuDB/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CorfuDB/CorfuDB/downloads","issues_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues{/number}","pulls_url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls{/number}","milestones_url":"https://api.github.com/repos/CorfuDB/CorfuDB/milestones{/number}","notifications_url":"https://api.github.com/repos/CorfuDB/CorfuDB/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CorfuDB/CorfuDB/labels{/name}","releases_url":"https://api.github.com/repos/CorfuDB/CorfuDB/releases{/id}","deployments_url":"https://api.github.com/repos/CorfuDB/CorfuDB/deployments","created_at":"2013-09-19T22:02:36Z","updated_at":"2018-02-05T20:11:25Z","pushed_at":"2018-02-09T20:56:53Z","git_url":"git://github.com/CorfuDB/CorfuDB.git","ssh_url":"git@github.com:CorfuDB/CorfuDB.git","clone_url":"https://github.com/CorfuDB/CorfuDB.git","svn_url":"https://github.com/CorfuDB/CorfuDB","homepage":"","size":385882,"stargazers_count":330,"watchers_count":330,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":68,"mirror_url":null,"archived":false,"open_issues_count":174,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":68,"open_issues":174,"watchers":330,"default_branch":"master"}},"base":{"label":"CorfuDB:master","ref":"master","sha":"189c98c8fbb31d509066ee7f5bdec2e75ac11ced","user":{"login":"CorfuDB","id":10199273,"avatar_url":"https://avatars0.githubusercontent.com/u/10199273?v=4","gravatar_id":"","url":"https://api.github.com/users/CorfuDB","html_url":"https://github.com/CorfuDB","followers_url":"https://api.github.com/users/CorfuDB/followers","following_url":"https://api.github.com/users/CorfuDB/following{/other_user}","gists_url":"https://api.github.com/users/CorfuDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CorfuDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CorfuDB/subscriptions","organizations_url":"https://api.github.com/users/CorfuDB/orgs","repos_url":"https://api.github.com/users/CorfuDB/repos","events_url":"https://api.github.com/users/CorfuDB/events{/privacy}","received_events_url":"https://api.github.com/users/CorfuDB/received_events","type":"Organization","site_admin":false},"repo":{"id":12960439,"name":"CorfuDB","full_name":"CorfuDB/CorfuDB","owner":{"login":"CorfuDB","id":10199273,"avatar_url":"https://avatars0.githubusercontent.com/u/10199273?v=4","gravatar_id":"","url":"https://api.github.com/users/CorfuDB","html_url":"https://github.com/CorfuDB","followers_url":"https://api.github.com/users/CorfuDB/followers","following_url":"https://api.github.com/users/CorfuDB/following{/other_user}","gists_url":"https://api.github.com/users/CorfuDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CorfuDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CorfuDB/subscriptions","organizations_url":"https://api.github.com/users/CorfuDB/orgs","repos_url":"https://api.github.com/users/CorfuDB/repos","events_url":"https://api.github.com/users/CorfuDB/events{/privacy}","received_events_url":"https://api.github.com/users/CorfuDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CorfuDB/CorfuDB","description":"A cluster consistency platform","fork":false,"url":"https://api.github.com/repos/CorfuDB/CorfuDB","forks_url":"https://api.github.com/repos/CorfuDB/CorfuDB/forks","keys_url":"https://api.github.com/repos/CorfuDB/CorfuDB/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CorfuDB/CorfuDB/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CorfuDB/CorfuDB/teams","hooks_url":"https://api.github.com/repos/CorfuDB/CorfuDB/hooks","issue_events_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/events{/number}","events_url":"https://api.github.com/repos/CorfuDB/CorfuDB/events","assignees_url":"https://api.github.com/repos/CorfuDB/CorfuDB/assignees{/user}","branches_url":"https://api.github.com/repos/CorfuDB/CorfuDB/branches{/branch}","tags_url":"https://api.github.com/repos/CorfuDB/CorfuDB/tags","blobs_url":"https://api.github.com/repos/CorfuDB/CorfuDB/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CorfuDB/CorfuDB/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CorfuDB/CorfuDB/git/refs{/sha}","trees_url":"https://api.github.com/repos/CorfuDB/CorfuDB/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CorfuDB/CorfuDB/statuses/{sha}","languages_url":"https://api.github.com/repos/CorfuDB/CorfuDB/languages","stargazers_url":"https://api.github.com/repos/CorfuDB/CorfuDB/stargazers","contributors_url":"https://api.github.com/repos/CorfuDB/CorfuDB/contributors","subscribers_url":"https://api.github.com/repos/CorfuDB/CorfuDB/subscribers","subscription_url":"https://api.github.com/repos/CorfuDB/CorfuDB/subscription","commits_url":"https://api.github.com/repos/CorfuDB/CorfuDB/commits{/sha}","git_commits_url":"https://api.github.com/repos/CorfuDB/CorfuDB/git/commits{/sha}","comments_url":"https://api.github.com/repos/CorfuDB/CorfuDB/comments{/number}","issue_comment_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/comments{/number}","contents_url":"https://api.github.com/repos/CorfuDB/CorfuDB/contents/{+path}","compare_url":"https://api.github.com/repos/CorfuDB/CorfuDB/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CorfuDB/CorfuDB/merges","archive_url":"https://api.github.com/repos/CorfuDB/CorfuDB/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CorfuDB/CorfuDB/downloads","issues_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues{/number}","pulls_url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls{/number}","milestones_url":"https://api.github.com/repos/CorfuDB/CorfuDB/milestones{/number}","notifications_url":"https://api.github.com/repos/CorfuDB/CorfuDB/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CorfuDB/CorfuDB/labels{/name}","releases_url":"https://api.github.com/repos/CorfuDB/CorfuDB/releases{/id}","deployments_url":"https://api.github.com/repos/CorfuDB/CorfuDB/deployments","created_at":"2013-09-19T22:02:36Z","updated_at":"2018-02-05T20:11:25Z","pushed_at":"2018-02-09T20:56:53Z","git_url":"git://github.com/CorfuDB/CorfuDB.git","ssh_url":"git@github.com:CorfuDB/CorfuDB.git","clone_url":"https://github.com/CorfuDB/CorfuDB.git","svn_url":"https://github.com/CorfuDB/CorfuDB","homepage":"","size":385882,"stargazers_count":330,"watchers_count":330,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":68,"mirror_url":null,"archived":false,"open_issues_count":174,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":68,"open_issues":174,"watchers":330,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1158"},"html":{"href":"https://github.com/CorfuDB/CorfuDB/pull/1158"},"issue":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1158"},"comments":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1158/comments"},"review_comments":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1158/comments"},"review_comment":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1158/commits"},"statuses":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/statuses/014dcaed437648a79c1db45a40be83c0c5a0e859"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"medhavidhawan"}}