)]}'
{
  "commit": "7cf0cafbb7b755cde9853cfb5f573c8e4242af4f",
  "tree": "3fac3029f597e4203d08174abc6d53f311c55011",
  "parents": [
    "38b0be8659794bf53f6ff6e79b442b9fd9423cc6"
  ],
  "author": {
    "name": "Marc Kriguer",
    "email": "myk@google.com",
    "time": "Mon Oct 28 15:57:58 2013 -0700"
  },
  "committer": {
    "name": "Marc Kriguer",
    "email": "myk@google.com",
    "time": "Wed Nov 06 14:46:03 2013 -0800"
  },
  "message": "Add a diagnostic DownloadDumpHandler class\n\nCreate a new Handler class (DownloadDumpHandler) that generates a new\nZip file when it matches the URL /diagnostics-zip-dump.  Currently, that\nfile contains all the system logs as well as a thread dump, but future\nversions will also include a copy of the configuration as well as other\ndiagnostics.\n\nNew file src/com/google/enterprise/adaptor/DownloadDumpHandler.java\ncontains most of the logic; the only changes to the other files are to\nregister the new Handler (in Dashboard.java) and to provide a link\nthat generates the Zip into resources/.../resources/index.html .  In addition,\nnew functionality for the MockFile test class (implemented by ejona@) is\nincluded.  The DownloadDumpHandlerTest class uses this new functionality.\n\nUnit test suite for DownloadDumpHandler has 98% code coverage; the only line not\ncovered is the one method overriden in the test class (to avoid real file I/O).\n\nMade only the one-argument constructor (with the feedname) public; the other is\npackage-private (as it\u0027s only for testing the class).\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4e4c8c96948cd7d9ab4811f66928002c3e92622d",
      "old_mode": 33188,
      "old_path": "build.xml",
      "new_id": "e4f954e2086b9b16c9d12dfcf112da9d3f2ca231",
      "new_mode": 33188,
      "new_path": "build.xml"
    },
    {
      "type": "modify",
      "old_id": "d9521381c4d3905ff3c4bd7cc3b645c8eca07a2e",
      "old_mode": 33261,
      "old_path": "resources/com/google/enterprise/adaptor/resources/index.html",
      "new_id": "c2f3136c6276126f5449eaa2b9fadc97483928f6",
      "new_mode": 33261,
      "new_path": "resources/com/google/enterprise/adaptor/resources/index.html"
    },
    {
      "type": "modify",
      "old_id": "3fa2e8aa739aee6b283305851181de2b412d5d42",
      "old_mode": 33188,
      "old_path": "src/com/google/enterprise/adaptor/Dashboard.java",
      "new_id": "3e473116fac04b3998a9e7cc8f92b750addee51e",
      "new_mode": 33188,
      "new_path": "src/com/google/enterprise/adaptor/Dashboard.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9938e284df04782749a2a1cb80eb7d78557f1990",
      "new_mode": 33188,
      "new_path": "src/com/google/enterprise/adaptor/DownloadDumpHandler.java"
    },
    {
      "type": "modify",
      "old_id": "275bdedff9bffab4fee5d0a7f01da774afceb62f",
      "old_mode": 33188,
      "old_path": "src/logging.properties",
      "new_id": "9b5ffb69eb97cd5265a8fea370126fb1c03c08ec",
      "new_mode": 33188,
      "new_path": "src/logging.properties"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8aeac6fce76844de3bd69d7dcadbfbab257b213d",
      "new_mode": 33188,
      "new_path": "test/com/google/enterprise/adaptor/DownloadDumpHandlerTest.java"
    },
    {
      "type": "modify",
      "old_id": "1ddf3517a9a6f27e5f4d67dccb1022b2f76a1dc1",
      "old_mode": 33188,
      "old_path": "test/com/google/enterprise/adaptor/MockFile.java",
      "new_id": "4c9d246dab9f7d67daedc9f461385ff8559c0ed6",
      "new_mode": 33188,
      "new_path": "test/com/google/enterprise/adaptor/MockFile.java"
    }
  ]
}
