)]}'
{
  "commit": "092792edacf9c29732a560a30967b92664cd65f9",
  "tree": "c192044970f2d20596242ab0bc460f98a562b136",
  "parents": [
    "d557ccc642c59a55750f560ce0d98870e1550d65"
  ],
  "author": {
    "name": "Saša Živkov",
    "email": "sasa.zivkov@sap.com",
    "time": "Mon Sep 24 14:13:47 2018 +0200"
  },
  "committer": {
    "name": "Saša Živkov",
    "email": "sasa.zivkov@sap.com",
    "time": "Tue Sep 25 13:04:41 2018 +0200"
  },
  "message": "Introduce AdminApi interface and refactor existing code\n\nThe ReplicationQueue class was handling URI formats at several places,\nrepeating identical code, in order to distinguish the URI type (local,\nremote SSH, remote Gerrit SSH) and then invoke appropriate method for an\nadmin operation (create-project, delete-project, update-head).\n\nIntroduce AdminApi interface and implement it for each type of the URI.\nMove the URI type specific code into the subclass responsible for\nhandling that URI type.\n\nChange-Id: Ie760bf3e143b1d143b6e81ac6cfa816ef1f8d016\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ef7e353a32c1213b6a85312e5946679cdb18df51",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/AdminApi.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "528aff248f2b9b1b10d123b82103c4df052679b8",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/AdminApiFactory.java"
    },
    {
      "type": "modify",
      "old_id": "b2952613728a747776ff80382e081f5fc2e31542",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/GerritSshApi.java",
      "new_id": "85b17d04b16b32d93a2d690863045d6495dd998f",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/GerritSshApi.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7dceb40d57247ebeb9346e5feb59afc16ba00f5c",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/LocalFS.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "bad559119375fa48b3d8654ce53e88f5783ad2a6",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/RemoteSsh.java"
    },
    {
      "type": "modify",
      "old_id": "b989827ac4e1aac49de996c8609d4bd2a1c555b7",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationModule.java",
      "new_id": "61c2e6953cf0f538913e2ec8e9ca81cf4acaa533",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationModule.java"
    },
    {
      "type": "modify",
      "old_id": "8e74a5f70b19549968004eb264f2e080486c377c",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java",
      "new_id": "ae06f43b0d5961f196271b2ec9fee244e6c1e7d8",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java"
    }
  ]
}
