)]}'
{
  "commit": "e7e552e7db5a7876a067b7aba46fc66b05b36743",
  "tree": "a4ce83902f697492c7d2fca31403fd61ef300f83",
  "parents": [
    "a0e6940339e6ada37ccf52c45c0b398f42f6be2e"
  ],
  "author": {
    "name": "Felipe Monteiro",
    "email": "felipe.monteiro@att.com",
    "time": "Tue May 02 17:04:12 2017 +0100"
  },
  "committer": {
    "name": "Felipe Monteiro",
    "email": "felipe.monteiro@att.com",
    "time": "Wed May 03 16:09:54 2017 +0000"
  },
  "message": "[Fix gate] Fix failing identity v2 admin tests\n\nThis patch fixes the failing identity tests that\nbelong to the v2 admin API [0].\n\nDue to recent changes to Keystone and DevStack,\nthe v2 admin API tests fail if run outright.\n\nTempest now skips the v2 admin tests uness\n``CONF.identity_feature_enabled.api_v2_admin`` is true [1];\nPatrole should do the same.\n\nThis patch makes the following changes:\n  - Skips identity v2 admin tests unless\n    ``CONF.identity_feature_enabled.api_v2_admin`` is true\n  - Removes superfluous tempest.conf overrides from\n    post_test_hook\n  - Updates ``rbac_utils.switch_role`` to ensure that admin\n    identity credentials are properly configured and that\n    the ``roles_v3_client`` is always used\n  - Refactors test_projects_rbac in v2 identity because\n    the API belongs to both the admin and non-admin API,\n    which was causing OverPermission error to be thrown.\n\n[0] https://developer.openstack.org/api-ref/identity/v2-admin/\n[1] https://review.openstack.org/#/c/458844/\n\nChange-Id: Ic698d0b2cf669793aaad6aff972ba155ef993e4a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "db48fc2c31b5cf9fe2a707d3cd8a6a52294820c3",
      "old_mode": 33188,
      "old_path": "contrib/post_test_hook.sh",
      "new_id": "af7c856f8084989c4516eaf613e3233ef3bfcd4e",
      "new_mode": 33188,
      "new_path": "contrib/post_test_hook.sh"
    },
    {
      "type": "modify",
      "old_id": "6a5ed5e6f30962bd137b707db9de3486e8a6f362",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/rbac_rule_validation.py",
      "new_id": "a225c7d7caec5870f980e62fb49875b8a712d136",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/rbac_rule_validation.py"
    },
    {
      "type": "modify",
      "old_id": "d952014f174501afa8b90deda83f773ae0cb72d9",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/rbac_utils.py",
      "new_id": "55a559937a943269965552f4220efc3dc8bc2c86",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/rbac_utils.py"
    },
    {
      "type": "modify",
      "old_id": "a85d5088bc3e130af5d254442ed3b94d9380c1ba",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/identity/v2/rbac_base.py",
      "new_id": "bc07675ba6f828c9ad99dba1f9216df89ecbd424",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/identity/v2/rbac_base.py"
    },
    {
      "type": "modify",
      "old_id": "dea7f0b93756740bc88c16ddc9c2133067075277",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/identity/v2/test_endpoints_rbac.py",
      "new_id": "f16d0aaa0b750984d812913f22757931c573e6a0",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/identity/v2/test_endpoints_rbac.py"
    },
    {
      "type": "modify",
      "old_id": "6853b64f4bdd8d2fb76a90acd6dda9879bf1673a",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/identity/v2/test_projects_rbac.py",
      "new_id": "a557bb8cf04f0ca55843404e5ea04ffef0c3278d",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/identity/v2/test_projects_rbac.py"
    },
    {
      "type": "modify",
      "old_id": "7b2119465c2cc632b84213ca5dcb0178b2d92f03",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/identity/v2/test_roles_rbac.py",
      "new_id": "a1ec5c6d75a9758c6655e4ce6d2574f4d3e4c932",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/identity/v2/test_roles_rbac.py"
    },
    {
      "type": "modify",
      "old_id": "c9803ec9713848369f760d3ffa8e5ca2800cf38a",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/identity/v2/test_services_rbac.py",
      "new_id": "ad47fd2ece4d82965c4a6ffe56f6a1c003e85d38",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/identity/v2/test_services_rbac.py"
    },
    {
      "type": "modify",
      "old_id": "48f3d11394669d18d7f8112f205802b63b5a60a3",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/identity/v2/test_users_rbac.py",
      "new_id": "f90680de7ed9a62fde24de2f5dffdeb9cc49fc37",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/identity/v2/test_users_rbac.py"
    },
    {
      "type": "modify",
      "old_id": "956727ba3be2110dfc2ef0189c89655f0ed0cbdc",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/tests/api/identity/v3/test_users_rbac.py",
      "new_id": "738053111d26ea0fcbcaeb42440aa815a4f6ee3d",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/tests/api/identity/v3/test_users_rbac.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "750a9f17217755ec64f7a3c1e0dee4ff23296604",
      "new_mode": 33188,
      "new_path": "releasenotes/notes/admin-only-identity-v2-admin-6f382e38d7a690a4.yaml"
    }
  ]
}
