)]}'
{
  "commit": "a26ab72dd3b75ff95b8684bc8c9a60a1aed2b8a0",
  "tree": "03a84fa1f543c6d3b3f4ee0f3e602827ad456da8",
  "parents": [
    "4294ad0b803c4e4ff6da4e72fe6f6c0df93cbd72"
  ],
  "author": {
    "name": "Daniele Sassoli",
    "email": "danielesassoli@gmail.com",
    "time": "Fri Oct 27 19:09:28 2023 -0700"
  },
  "committer": {
    "name": "Daniele Sassoli",
    "email": "danielesassoli@gmail.com",
    "time": "Thu Nov 02 00:29:59 2023 +0000"
  },
  "message": "Add the ability to fail healthcheck by creating a fail file\n\nThis will enable the Gerrit Admin to cause healthcheck failures by\nsimply creating a file at a configurable location.\nThis is useful when a node needs to be taken  out of the pool of\navailable nodes, for example while it undergoes maintanence and should\nnot be serving requests.\n\nThis approach is instantaneous, unlike enabling/disabling the plugin as\nGerrit only unloads/reloads plugins once every \u0027plugins.frequency\u0027.\nThe file approach gives more immediate feedback as the healthcheck\nwill start failing as soon as the file is created, even if we\u0027re\nalready processing the request.\n\nChange-Id: I999ca049cff9213d3720a982530a5b03f2d02e44\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8be0b33aea485d2a0b7397f02ca0410f272390af",
      "old_mode": 33188,
      "old_path": "README.md",
      "new_id": "d273fc6589505528f5ae9cd06bd3a1758a34a306",
      "new_mode": 33188,
      "new_path": "README.md"
    },
    {
      "type": "modify",
      "old_id": "651dbe96eebb5eb396d4c58427a59f9db8dd9521",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/healthcheck/HealthCheckConfig.java",
      "new_id": "1dc143c6f48d26bfd02d96e8ad378c855d73ddbc",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/healthcheck/HealthCheckConfig.java"
    },
    {
      "type": "modify",
      "old_id": "2d5f7de9e63fffbf9e26e5ae380877ac7426d185",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/healthcheck/api/HealthCheckStatusEndpoint.java",
      "new_id": "6819ae1fcaf69ae10d67daab895873764ed2dccf",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/healthcheck/api/HealthCheckStatusEndpoint.java"
    },
    {
      "type": "modify",
      "old_id": "e9901a9efc1f7810d1c1afe49b3dec30816faf0e",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/healthcheck/HealthCheckIT.java",
      "new_id": "1cd37f491b0ac144e316942f0324081c141031e3",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/healthcheck/HealthCheckIT.java"
    }
  ]
}
