)]}'
{
  "commit": "5f34b6f88756860208357ce1b047c5c73daf12df",
  "tree": "fd037a7ae5554e15f1b3bcd78ac18ea2d8105ee3",
  "parents": [
    "9b317ce3951d2280cbb4c6fe0120a3992d026568"
  ],
  "author": {
    "name": "David Ostrovsky",
    "email": "david@ostrovsky.org",
    "time": "Thu Feb 21 10:31:45 2019 +0100"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Sat Feb 23 02:39:40 2019 +0000"
  },
  "message": "E2E integration test using Kafka docker container\n\nThe idea for the test is very simple:\n\n* Set up junit test based on LightweightPluginDaemonTest\n* Interfere the plugin boot process and start kafka docker container\n  using testcontainers library integration\n* Boot the plugin with mostly default configuration, but overwrite the\n  kafka host and port that was exposed by kafka docker instance\n* Inject drop event listener dynamic set in the test instance and\n  add dummy listener instance to interfer with dropped events\n* Perform some actions and analyze the dropped events: it must be\n  exactly all events we expect to publish and receive for the operation\n  executed during the test method\n\nFurture work: we should exercise all operations, so that all supported\nevents: index, cache eviction, stream events and project list update\nevents are fired and consumed.\n\nIt should be noted, that there is currently a difference if ReviewDb or\nNoteDb backend is used during the test execution: the different kind of\nevents are fired.\n\nWhen NoteDb mode is used more ref updated events are triggered.\n\nTest Plan:\n\n1. Run tests in ReviewDb mode:\n  $ bazel test plugins/multi-site:multi_site_tests\n\n2. Run tests in NoteDb mode:\n  $ bazel test --test_env\u003dGERRIT_NOTEDB\u003dREAD_WRITE \\\n      plugins/multi-site:multi_site_tests\n\nRequires Gerrit change https://gerrit-review.googlesource.com/c/gerrit/+/215452\n\nChange-Id: I8946104d8ff3c1a7c40dc811543a94f3132c3bc3\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "08d9d5c9359be0dcc9b883459197a361d2b1a19f",
      "old_mode": 33188,
      "old_path": "BUILD",
      "new_id": "bb8d1f2adc609a4c1194fad6de63837bf9bef413",
      "new_mode": 33188,
      "new_path": "BUILD"
    },
    {
      "type": "modify",
      "old_id": "1cb7aef45d98700d6ba3ae239f9cf54885cafbd8",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/Configuration.java",
      "new_id": "acfaae22170fe5c89e9f5e9462da2d24c6f89329",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/Configuration.java"
    },
    {
      "type": "modify",
      "old_id": "0b4efaa4084c8a09bf474468f6b2d5999dca867f",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/Module.java",
      "new_id": "0a0fe9877def66b0b61aa765229bc5a183e184f2",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/Module.java"
    },
    {
      "type": "modify",
      "old_id": "3481ac97aee8b7c5f392b3a871fad0192d2cd5e8",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/forwarder/broker/BrokerForwarderModule.java",
      "new_id": "8a3b6dc1828305c55fb8b5e6a1d199bac8a849e1",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/forwarder/broker/BrokerForwarderModule.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "98953bf71b31b2e74460f77759e2e60421cfaf70",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/multisite/kafka/consumer/EventConsumerIT.java"
    }
  ]
}
