)]}'
{
  "commit": "f21ad43fd971fece8b4ca4771df73d30ebb65efb",
  "tree": "ba96a8c3c7b1661d6c2da0c9a3655828fd5a285e",
  "parents": [
    "fc2d4f06aa6500733a38d42220aa039e9e826668"
  ],
  "author": {
    "name": "Saša Živkov",
    "email": "sasa.zivkov@sap.com",
    "time": "Tue Mar 26 20:04:14 2024 +0100"
  },
  "committer": {
    "name": "Sasa Zivkov",
    "email": "sasa.zivkov@sap.com",
    "time": "Wed Aug 12 13:32:16 2026 +0200"
  },
  "message": "Add logging for received messages\n\nThis functionality already exists for JGroups based message forwarding.\nWith the REST based forwarding there was some logging but it lacked\ndetails, like the request body. So we could see the forwarded message\ntype but not the details.\n\nMove extraction of the request body up to the AbstractRestApiServlet.\nThis method is then used by all subclasses to read the request body as\njson string. Once read it can be used for logging.\n\nTo enable logging of all received messages set the\nForwardedMessageLogger to DEBUG level.\n\nChange-Id: Ie49babc7128edfbdf0518eae8b6f1af3ad5594f8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "108c37c3e6e4a0cbb0e188b0d31fb372b609c46a",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/AbstractIndexRestApiServlet.java",
      "new_id": "343daabcdca4f537bf789cf450b3fedabaa0c0c0",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/AbstractIndexRestApiServlet.java"
    },
    {
      "type": "modify",
      "old_id": "6aa046138fef922908dbb08df71e0b1f6d4ce4cf",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/AbstractRestApiServlet.java",
      "new_id": "a4347c5a37a7199e15062069667167f254e69aee",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/AbstractRestApiServlet.java"
    },
    {
      "type": "modify",
      "old_id": "926776b62a152ef46c166c323943f54141b200fc",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/CacheRestApiServlet.java",
      "new_id": "ef2ef06087ec2116b102bc9667e0b7327ecc7d2d",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/CacheRestApiServlet.java"
    },
    {
      "type": "modify",
      "old_id": "422e3dfe2097a0dfcf4f6af99eb21728cec967e1",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/EventRestApiServlet.java",
      "new_id": "57b6a6aa5b09f0deaac0ccea432ba666dc64a4b0",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/EventRestApiServlet.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "263cb989b38b7f647a8a4ae13642804e0158cec2",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/ForwardedMessageLogger.java"
    },
    {
      "type": "modify",
      "old_id": "fb88edbdc77512905ea09ab8b5cd341e7c70da35",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/ProjectListApiServlet.java",
      "new_id": "13ca2e7515f1a6aa5259083c8d0eb6fb78b6675f",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/ProjectListApiServlet.java"
    },
    {
      "type": "modify",
      "old_id": "88a325e257d230afbc6556e73f59dbbefac84581",
      "old_mode": 33188,
      "old_path": "src/test/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/CacheRestApiServletTest.java",
      "new_id": "4d18614fd3868030e8bfb6611d8e9ba6af34cdc9",
      "new_mode": 33188,
      "new_path": "src/test/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/CacheRestApiServletTest.java"
    }
  ]
}
