)]}'
{
  "commit": "706fd34fcc75bba9dc868b9566f50ffa4fa9e940",
  "tree": "a6f3f47c07b15462bfc87c5927d25d4f96004ae8",
  "parents": [
    "083eb7cfd6fc8952e57745e49ee68dbe63e5c50f"
  ],
  "author": {
    "name": "Felipe Monteiro",
    "email": "felipe.monteiro@att.com",
    "time": "Sat Apr 08 19:31:04 2017 +0100"
  },
  "committer": {
    "name": "Felipe Monteiro",
    "email": "felipe.monteiro@att.com",
    "time": "Mon Apr 10 18:27:50 2017 +0100"
  },
  "message": "Remove admin namespace throughout Patrole - Volume tests\n\nIn Tempest, it is meaningful to separate admin and non-admin\ntests into different classes and files, because Tempest\nmust use clients with admin credentials to perform admin-only\nAPI calls, like changing an admin password. More specifically,\nTempest must use the os_adm/os_admin-namespace clients\n(instantiated with admin credentials) to perform these tests;\nelse 403s are thrown.\n\nPatrole, on the other hand, doesn\u0027t need to use\nos_adm/os_admin-namespace clients, because of the fact that\nrole-switching is performed to grant the os-namespace\nclients sufficient credentials to perform API actions that\nrequire admin credentials during setting up and cleaning up\ntest resources. Thus, the distinction between admin and\nnon-admin is not important in Patrole, as role-switching\nmeans that at different points in time the clients have admin\nand non-admin credentials.\n\nThus, all namespaces (files, folders and classes) that contain\n\"admin\" should be renamed, if the non-admin version does not\nalready exist. If the admin version and non-admin version\ntests both exist, then the admin version should be removed and\nits tests merged with the non-admin version.\n\nDepends-On: I8c3944e766210a31aa684e29c45e39470b738640\nChange-Id: I417fa0d29fc06b04582cdac24608b0373db6aacb\nPartial-Bug: #1672250\n",
  "tree_diff": [
    {
      "type": "delete",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/volume/admin/__init__.py",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "e3d243837a0b3d30063bbd7f7e468975fa08dc08",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/volume/admin/test_volumes_backup_admin_rbac.py",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "d47f8ff3dc4e46c4fcb191edabd043459f25648a",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/volume/rbac_base.py",
      "new_id": "a2d5345e88d2bd4c13cd2922ddadb6f932b97102",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/volume/rbac_base.py"
    },
    {
      "type": "rename",
      "old_id": "74230a705da98846e0903cb6c5b43568f3217eb8",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/volume/admin/test_qos_rbac.py",
      "new_id": "c3cca0dcb9793640de73509baf60633094d97512",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/volume/test_qos_rbac.py",
      "score": 86
    },
    {
      "type": "modify",
      "old_id": "d4d010b064c9e83b34a0b4d8a13b5c862d675f7c",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/volume/test_volume_hosts_rbac.py",
      "new_id": "18a276838a5d729d6ea4e309595e1803adbedf32",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/volume/test_volume_hosts_rbac.py"
    },
    {
      "type": "rename",
      "old_id": "28adfa7a9035607be516fbfd347d9ddf696bf98e",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/volume/admin/test_volume_quotas_rbac.py",
      "new_id": "a104782e892c345736b2c4aa40e481b0782f3aa6",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/volume/test_volume_quotas_rbac.py",
      "score": 89
    },
    {
      "type": "modify",
      "old_id": "697816615244e0fc0e6647f9ceb94f45f8f6f49f",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/volume/test_volume_types_extra_specs_rbac.py",
      "new_id": "33bc5aee89ca67c4f360bd583b57c6a42c0ca55b",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/volume/test_volume_types_extra_specs_rbac.py"
    },
    {
      "type": "modify",
      "old_id": "6e1b9f1d2ce246f0fd7e4f55b8b7605fb8117c53",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/volume/test_volumes_backup_rbac.py",
      "new_id": "6a3367a0f506eb62a4f07b0d2ddcc91860bea82d",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/volume/test_volumes_backup_rbac.py"
    }
  ]
}
