{"action":"created","comment":{"url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/comments/218534779","pull_request_review_id":156495228,"id":218534779,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODUzNDc3OQ==","diff_hunk":"@@ -0,0 +1,312 @@\n+package org.corfudb.universe.universe.docker;\n+\n+import com.spotify.docker.client.DockerClient;\n+import com.spotify.docker.client.exceptions.DockerException;\n+import com.spotify.docker.client.messages.ContainerConfig;\n+import com.spotify.docker.client.messages.ContainerCreation;\n+import com.spotify.docker.client.messages.ContainerInfo;\n+import com.spotify.docker.client.messages.HostConfig;\n+import com.spotify.docker.client.messages.PortBinding;\n+import lombok.Builder;\n+import lombok.Getter;\n+import lombok.extern.slf4j.Slf4j;\n+import org.apache.commons.lang.StringUtils;\n+import org.apache.maven.model.Model;\n+import org.apache.maven.model.io.xpp3.MavenXpp3Reader;\n+import org.codehaus.plexus.util.xml.pull.XmlPullParserException;\n+import org.corfudb.runtime.CorfuRuntime;\n+import org.corfudb.runtime.CorfuRuntime.CorfuRuntimeParameters;\n+import org.corfudb.runtime.view.Layout;\n+import org.corfudb.universe.node.CorfuServer;\n+import org.corfudb.universe.node.NodeException;\n+import org.corfudb.universe.universe.UniverseException;\n+import org.corfudb.util.NodeLocator;\n+\n+import java.io.FileReader;\n+import java.io.IOException;\n+import java.time.Duration;\n+import java.util.ArrayList;\n+import java.util.Collections;\n+import java.util.HashMap;\n+import java.util.List;\n+import java.util.Map;\n+\n+import static lombok.Builder.Default;\n+import static org.corfudb.runtime.CorfuRuntime.fromParameters;\n+import static org.corfudb.universe.universe.Universe.UniverseParams;\n+\n+/**\n+ * Implements a docker instance representing a {@link CorfuServer}.\n+ */\n+@Slf4j\n+@Builder\n+public class CorfuServerDockerized implements CorfuServer {\n+    private static final String IMAGE_NAME = \"corfu-server:\" + getAppVersion();\n+    public static final String ALL_NETWORK_INTERFACES = \"0.0.0.0\";\n+\n+    @Getter\n+    private final ServerParams params;\n+    private final DockerClient docker;\n+    private final UniverseParams universeParams;\n+    @Default\n+    private CorfuManagementServer runtime;\n+\n+    /**\n+     * Deploys a Corfu server / docker container\n+     */\n+    @Override\n+    public CorfuServerDockerized deploy() {\n+        log.info(\"Deploying the Corfu server. {}\", params.getName());\n+\n+        deployContainer();\n+        runtime = new CorfuManagementServer(params);\n+\n+        return this;\n+    }\n+\n+    @Override\n+    public boolean addNode(CorfuServer server) {\n+        return runtime.add(server);\n+    }\n+\n+    @Override\n+    public boolean removeNode(CorfuServer server) {\n+        return runtime.remove(server);\n+    }\n+\n+\n+    @Override\n+    public Layout getLayout() {\n+        return runtime.getLayout();\n+    }\n+\n+    @Override\n+    public void connectCorfuRuntime() {\n+        runtime.connect();\n+    }\n+\n+    /**\n+     * This method attempts to gracefully stop the Corfu server. After timeout, it will kill the Corfu server.\n+     *\n+     * @param timeout a duration after which the stop will kill the server\n+     * @throws NodeException this exception will be thrown if the server cannot be stopped.\n+     */\n+    @Override\n+    public void stop(Duration timeout) {\n+        log.info(\"Stopping the Corfu server. {}\", params.getName());\n+\n+        try {\n+            ContainerInfo container = docker.inspectContainer(params.getName());\n+            if (!container.state().running()) {\n+                log.debug(\"The container `{}` is already stopped\", container.name());\n+                return;\n+            }\n+            docker.stopContainer(params.getName(), (int) timeout.getSeconds());\n+        } catch (DockerException | InterruptedException e) {\n+            Thread.currentThread().interrupt();\n+            throw new NodeException(\"Can't stop Corfu server\", e);\n+        }\n+    }\n+\n+    /**\n+     * Immediately kill the Corfu server.\n+     *\n+     * @throws NodeException this exception will be thrown if the server can not be killed.\n+     */\n+    @Override\n+    public void kill() {\n+        log.info(\"Killing the Corfu server. {}\", params.getName());\n+\n+        try {\n+            ContainerInfo container = docker.inspectContainer(params.getName());\n+            if (!container.state().running()) {\n+                log.debug(\"The container `{}` is not running\", container.name());\n+                return;\n+            }\n+            docker.killContainer(params.getName());\n+        } catch (DockerException | InterruptedException ex) {\n+            Thread.currentThread().interrupt();\n+            throw new NodeException(\"Can't kill Corfu server \" + params.getName(), ex);\n+        }\n+    }\n+\n+    /**\n+     * Deploy and start docker container, expose ports, connect to a network\n+     *\n+     * @return docker container id\n+     */\n+    private String deployContainer() {\n+        ContainerConfig containerConfig = buildContainerConfig();\n+\n+        String id;\n+        try {\n+            ContainerCreation container = docker.createContainer(containerConfig, params.getName());\n+            id = container.id();\n+\n+            addShutdownHook();\n+\n+            docker.connectToNetwork(id, docker.inspectNetwork(universeParams.getNetworkName()).id());\n+\n+            docker.startContainer(id);\n+        } catch (InterruptedException | DockerException e) {\n+            Thread.currentThread().interrupt();\n+            throw new NodeException(\"Can't start a container\", e);\n+        }\n+\n+        return id;\n+    }\n+\n+    private ContainerConfig buildContainerConfig() {\n+        // Bind ports\n+        String[] ports = {String.valueOf(params.getPort())};\n+        Map<String, List<PortBinding>> portBindings = new HashMap<>();\n+        for (String port : ports) {\n+            List<PortBinding> hostPorts = new ArrayList<>();\n+            hostPorts.add(PortBinding.of(ALL_NETWORK_INTERFACES, port));\n+            portBindings.put(port, hostPorts);\n+        }\n+\n+        HostConfig hostConfig = HostConfig.builder()\n+                .portBindings(portBindings)\n+                .autoRemove(true)\n+                .build();\n+\n+        // Compose command line for starting Corfu\n+        String cmdLine = String.format(\n+                \"java -cp *.jar org.corfudb.infrastructure.CorfuServer %s\",\n+                getCommandLineParams()\n+        );\n+\n+        return ContainerConfig.builder()\n+                .hostConfig(hostConfig)\n+                .image(IMAGE_NAME)\n+                .hostname(params.getName())\n+                .exposedPorts(ports)\n+                .cmd(\"sh\", \"-c\", cmdLine)\n+                .build();\n+    }\n+\n+    private void addShutdownHook() {\n+        // Just in case a test failed and didn't kill the container\n+        Runtime.getRuntime().addShutdownHook(new Thread(() -> {\n+            try {\n+                kill();\n+            } catch (Exception e) {\n+                log.debug(\"Corfu server shutdown hook. Can't kill container: {}\", params.getName());\n+            }\n+        }));\n+    }\n+\n+    private static String getAppVersion() {\n+        MavenXpp3Reader reader = new MavenXpp3Reader();\n+        Model model;\n+        try {\n+            model = reader.read(new FileReader(\"pom.xml\"));\n+            return model.getParent().getVersion();\n+        } catch (IOException | XmlPullParserException e) {\n+            throw new NodeException(\"Can't parse application version\", e);\n+        }\n+    }\n+\n+    /**\n+     * This method create a command line string for starting Corfu server\n+     *\n+     * @return command line parameters\n+     */\n+    private String getCommandLineParams() {\n+        StringBuilder cmd = new StringBuilder();\n+        cmd.append(\"-a \").append(ALL_NETWORK_INTERFACES);\n+\n+        switch (params.getPersistence()) {\n+            case DISK:\n+                if (StringUtils.isEmpty(params.getLogDir())) {\n+                    throw new UniverseException(\"Invalid log dir in disk persistence mode\");\n+                }\n+                cmd.append(\" -l \").append(params.getLogDir());\n+                break;\n+            case MEMORY:\n+                cmd.append(\" -m\");\n+                break;\n+        }\n+\n+        if (params.getMode() == Mode.SINGLE) {\n+            cmd.append(\" -s\");\n+        }\n+\n+        cmd.append(\" -d \").append(params.getLogLevel().toString()).append(\" \");\n+\n+        cmd.append(params.getPort());\n+\n+        String cmdLineParams = cmd.toString();\n+        log.trace(\"Command line parameters: {}\", cmdLineParams);\n+\n+        return cmdLineParams;\n+    }\n+\n+    public class CorfuManagementServer {\n+        private final CorfuRuntime runtime;\n+\n+        public CorfuManagementServer(ServerParams params) {\n+            NodeLocator node = NodeLocator\n+                    .builder()\n+                    .protocol(NodeLocator.Protocol.TCP)\n+                    .host(params.getName())\n+                    .port(params.getPort())\n+                    .build();\n+\n+            CorfuRuntimeParameters runtimeParams = CorfuRuntimeParameters\n+                    .builder()\n+                    .layoutServers(Collections.singletonList(node))\n+                    .build();\n+\n+            runtime = fromParameters(runtimeParams);\n+        }\n+\n+        public boolean add(CorfuServer server) {\n+            log.debug(\"Add node: {}\", server.getParams());\n+\n+            //FIXME fix it corfu runtime and remove this code then","path":"it/src/main/java/org/corfudb/universe/universe/docker/CorfuServerDockerized.java","position":268,"original_position":268,"commit_id":"7776c7c04637c9c8f75c07473416a678a8a5ef94","original_commit_id":"7776c7c04637c9c8f75c07473416a678a8a5ef94","user":{"login":"corfu-repo","id":28743226,"node_id":"MDQ6VXNlcjI4NzQzMjI2","avatar_url":"https://avatars2.githubusercontent.com/u/28743226?v=4","gravatar_id":"","url":"https://api.github.com/users/corfu-repo","html_url":"https://github.com/corfu-repo","followers_url":"https://api.github.com/users/corfu-repo/followers","following_url":"https://api.github.com/users/corfu-repo/following{/other_user}","gists_url":"https://api.github.com/users/corfu-repo/gists{/gist_id}","starred_url":"https://api.github.com/users/corfu-repo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corfu-repo/subscriptions","organizations_url":"https://api.github.com/users/corfu-repo/orgs","repos_url":"https://api.github.com/users/corfu-repo/repos","events_url":"https://api.github.com/users/corfu-repo/events{/privacy}","received_events_url":"https://api.github.com/users/corfu-repo/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://sonarsource.github.io/sonar-github/severity-major.png 'Severity: MAJOR') Take the required action to fix the issue indicated by this comment. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](https://sonarcloud.io/coding_rules#rule_key=squid%3AS1134)\n","created_at":"2018-09-18T17:59:00Z","updated_at":"2018-09-18T17:59:00Z","html_url":"https://github.com/CorfuDB/CorfuDB/pull/1460#discussion_r218534779","pull_request_url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1460","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/comments/218534779"},"html":{"href":"https://github.com/CorfuDB/CorfuDB/pull/1460#discussion_r218534779"},"pull_request":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1460"}}},"pull_request":{"url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1460","id":210882190,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwODgyMTkw","html_url":"https://github.com/CorfuDB/CorfuDB/pull/1460","diff_url":"https://github.com/CorfuDB/CorfuDB/pull/1460.diff","patch_url":"https://github.com/CorfuDB/CorfuDB/pull/1460.patch","issue_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1460","number":1460,"state":"open","locked":false,"title":"Creating testing framework","user":{"login":"xnull","id":314292,"node_id":"MDQ6VXNlcjMxNDI5Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/314292?v=4","gravatar_id":"","url":"https://api.github.com/users/xnull","html_url":"https://github.com/xnull","followers_url":"https://api.github.com/users/xnull/followers","following_url":"https://api.github.com/users/xnull/following{/other_user}","gists_url":"https://api.github.com/users/xnull/gists{/gist_id}","starred_url":"https://api.github.com/users/xnull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xnull/subscriptions","organizations_url":"https://api.github.com/users/xnull/orgs","repos_url":"https://api.github.com/users/xnull/repos","events_url":"https://api.github.com/users/xnull/events{/privacy}","received_events_url":"https://api.github.com/users/xnull/received_events","type":"User","site_admin":false},"body":"Co-authored-by: xnull <xrw.null@gmail.com>\r\nCo-authored-by: StrikingThirteen <sbehnam@vmware.com>\r\n\r\n## Overview\r\n\r\nDescription:\r\nThis commit implements a testing infrastructure for integration tests. It includes the interfaces for creating scenarios that execute on docker, VM, and process clusters.\r\n\r\nWhy should this be merged: \r\nProviding the ability to quickly and precisely create and execute integration test scenarios.\r\n\r\nRelated issue(s) (if applicable): #<number>\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\r\nCo-authored-by: xnull <xrw.null@gmail.com>\r\nCo-authored-by: StrikingThirteen <764389+StrikingThirteen@users.noreply.github.com>","created_at":"2018-08-25T03:04:26Z","updated_at":"2018-09-18T17:59:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a98de76c9602e49363bd8ce83c0f2b48c09ad77a","assignee":{"login":"xnull","id":314292,"node_id":"MDQ6VXNlcjMxNDI5Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/314292?v=4","gravatar_id":"","url":"https://api.github.com/users/xnull","html_url":"https://github.com/xnull","followers_url":"https://api.github.com/users/xnull/followers","following_url":"https://api.github.com/users/xnull/following{/other_user}","gists_url":"https://api.github.com/users/xnull/gists{/gist_id}","starred_url":"https://api.github.com/users/xnull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xnull/subscriptions","organizations_url":"https://api.github.com/users/xnull/orgs","repos_url":"https://api.github.com/users/xnull/repos","events_url":"https://api.github.com/users/xnull/events{/privacy}","received_events_url":"https://api.github.com/users/xnull/received_events","type":"User","site_admin":false},"assignees":[{"login":"xnull","id":314292,"node_id":"MDQ6VXNlcjMxNDI5Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/314292?v=4","gravatar_id":"","url":"https://api.github.com/users/xnull","html_url":"https://github.com/xnull","followers_url":"https://api.github.com/users/xnull/followers","following_url":"https://api.github.com/users/xnull/following{/other_user}","gists_url":"https://api.github.com/users/xnull/gists{/gist_id}","starred_url":"https://api.github.com/users/xnull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xnull/subscriptions","organizations_url":"https://api.github.com/users/xnull/orgs","repos_url":"https://api.github.com/users/xnull/repos","events_url":"https://api.github.com/users/xnull/events{/privacy}","received_events_url":"https://api.github.com/users/xnull/received_events","type":"User","site_admin":false},{"login":"StrikingThirteen","id":764389,"node_id":"MDQ6VXNlcjc2NDM4OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/764389?v=4","gravatar_id":"","url":"https://api.github.com/users/StrikingThirteen","html_url":"https://github.com/StrikingThirteen","followers_url":"https://api.github.com/users/StrikingThirteen/followers","following_url":"https://api.github.com/users/StrikingThirteen/following{/other_user}","gists_url":"https://api.github.com/users/StrikingThirteen/gists{/gist_id}","starred_url":"https://api.github.com/users/StrikingThirteen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrikingThirteen/subscriptions","organizations_url":"https://api.github.com/users/StrikingThirteen/orgs","repos_url":"https://api.github.com/users/StrikingThirteen/repos","events_url":"https://api.github.com/users/StrikingThirteen/events{/privacy}","received_events_url":"https://api.github.com/users/StrikingThirteen/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"no2chem","id":6496984,"node_id":"MDQ6VXNlcjY0OTY5ODQ=","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},{"login":"Maithem","id":7818642,"node_id":"MDQ6VXNlcjc4MTg2NDI=","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},{"login":"medhavidhawan","id":11648683,"node_id":"MDQ6VXNlcjExNjQ4Njgz","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},{"login":"mcheng-vmware","id":34404475,"node_id":"MDQ6VXNlcjM0NDA0NDc1","avatar_url":"https://avatars1.githubusercontent.com/u/34404475?v=4","gravatar_id":"","url":"https://api.github.com/users/mcheng-vmware","html_url":"https://github.com/mcheng-vmware","followers_url":"https://api.github.com/users/mcheng-vmware/followers","following_url":"https://api.github.com/users/mcheng-vmware/following{/other_user}","gists_url":"https://api.github.com/users/mcheng-vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/mcheng-vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcheng-vmware/subscriptions","organizations_url":"https://api.github.com/users/mcheng-vmware/orgs","repos_url":"https://api.github.com/users/mcheng-vmware/repos","events_url":"https://api.github.com/users/mcheng-vmware/events{/privacy}","received_events_url":"https://api.github.com/users/mcheng-vmware/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1460/commits","review_comments_url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1460/comments","review_comment_url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1460/comments","statuses_url":"https://api.github.com/repos/CorfuDB/CorfuDB/statuses/7776c7c04637c9c8f75c07473416a678a8a5ef94","head":{"label":"CorfuDB:testingframeworkdesign","ref":"testingframeworkdesign","sha":"7776c7c04637c9c8f75c07473416a678a8a5ef94","user":{"login":"CorfuDB","id":10199273,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTk5Mjcz","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk2MDQzOQ==","name":"CorfuDB","full_name":"CorfuDB/CorfuDB","private":false,"owner":{"login":"CorfuDB","id":10199273,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTk5Mjcz","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},"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-09-18T15:55:18Z","pushed_at":"2018-09-18T17:12:02Z","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":477261,"stargazers_count":383,"watchers_count":383,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":75,"mirror_url":null,"archived":false,"open_issues_count":144,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":75,"open_issues":144,"watchers":383,"default_branch":"master"}},"base":{"label":"CorfuDB:master","ref":"master","sha":"86408f00f46291467403424cf3549e1e660b89fa","user":{"login":"CorfuDB","id":10199273,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTk5Mjcz","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk2MDQzOQ==","name":"CorfuDB","full_name":"CorfuDB/CorfuDB","private":false,"owner":{"login":"CorfuDB","id":10199273,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTk5Mjcz","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},"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-09-18T15:55:18Z","pushed_at":"2018-09-18T17:12:02Z","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":477261,"stargazers_count":383,"watchers_count":383,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":75,"mirror_url":null,"archived":false,"open_issues_count":144,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":75,"open_issues":144,"watchers":383,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1460"},"html":{"href":"https://github.com/CorfuDB/CorfuDB/pull/1460"},"issue":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1460"},"comments":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1460/comments"},"review_comments":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1460/comments"},"review_comment":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/1460/commits"},"statuses":{"href":"https://api.github.com/repos/CorfuDB/CorfuDB/statuses/7776c7c04637c9c8f75c07473416a678a8a5ef94"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"corfu-repo"}}