diff --git a/tempest/lib/services/identity/v3/endpoints_client.py b/tempest/lib/services/identity/v3/endpoints_client.py index db30508190..3bb3deb0f3 100644 --- a/tempest/lib/services/identity/v3/endpoints_client.py +++ b/tempest/lib/services/identity/v3/endpoints_client.py @@ -36,7 +36,7 @@ class EndPointsClient(rest_client.RestClient): """Create endpoint. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#createEndpoint + api-ref/identity/v3/index.html#create-endpoint """ post_body = json.dumps({'endpoint': kwargs}) resp, body = self.post('endpoints', post_body) @@ -48,7 +48,7 @@ class EndPointsClient(rest_client.RestClient): """Updates an endpoint with given parameters. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#updateEndpoint + api-ref/identity/v3/index.html#update-endpoint """ post_body = json.dumps({'endpoint': kwargs}) resp, body = self.patch('endpoints/%s' % endpoint_id, post_body) diff --git a/tempest/lib/services/identity/v3/groups_client.py b/tempest/lib/services/identity/v3/groups_client.py index 3674496e6c..200cb4397f 100644 --- a/tempest/lib/services/identity/v3/groups_client.py +++ b/tempest/lib/services/identity/v3/groups_client.py @@ -30,7 +30,7 @@ class GroupsClient(rest_client.RestClient): """Creates a group. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#createGroup + api-ref/identity/v3/index.html#create-group """ post_body = json.dumps({'group': kwargs}) resp, body = self.post('groups', post_body) @@ -63,7 +63,7 @@ class GroupsClient(rest_client.RestClient): """Updates a group. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#updateGroup + api-ref/identity/v3/index.html#update-group """ post_body = json.dumps({'group': kwargs}) resp, body = self.patch('groups/%s' % group_id, post_body) diff --git a/tempest/lib/services/identity/v3/policies_client.py b/tempest/lib/services/identity/v3/policies_client.py index f28db9a1d2..4c1b4ae7c7 100644 --- a/tempest/lib/services/identity/v3/policies_client.py +++ b/tempest/lib/services/identity/v3/policies_client.py @@ -29,7 +29,7 @@ class PoliciesClient(rest_client.RestClient): """Creates a Policy. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#createPolicy + api-ref/identity/v3/index.html#create-policy """ post_body = json.dumps({'policy': kwargs}) resp, body = self.post('policies', post_body) @@ -56,7 +56,7 @@ class PoliciesClient(rest_client.RestClient): """Updates a policy. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#updatePolicy + api-ref/identity/v3/index.html#update-policy """ post_body = json.dumps({'policy': kwargs}) url = 'policies/%s' % policy_id diff --git a/tempest/lib/services/identity/v3/projects_client.py b/tempest/lib/services/identity/v3/projects_client.py index ce2f38d991..ff06a19091 100644 --- a/tempest/lib/services/identity/v3/projects_client.py +++ b/tempest/lib/services/identity/v3/projects_client.py @@ -26,7 +26,7 @@ class ProjectsClient(rest_client.RestClient): """Create a Project. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#createProject + api-ref/identity/v3/index.html#create-project """ # Include the project name to the kwargs parameters @@ -50,7 +50,7 @@ class ProjectsClient(rest_client.RestClient): """Update a Project. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#updateProject + api-ref/identity/v3/index.html#update-project """ post_body = json.dumps({'project': kwargs}) diff --git a/tempest/lib/services/identity/v3/regions_client.py b/tempest/lib/services/identity/v3/regions_client.py index 90dd9d781c..bddfc7b05e 100644 --- a/tempest/lib/services/identity/v3/regions_client.py +++ b/tempest/lib/services/identity/v3/regions_client.py @@ -30,10 +30,7 @@ class RegionsClient(rest_client.RestClient): """Create region. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#createRegion - - see http://developer.openstack.org/ - api-ref-identity-v3.html#createRegionWithID + api-ref/identity/v3/index.html#create-region """ if region_id is not None: method = self.put @@ -51,7 +48,7 @@ class RegionsClient(rest_client.RestClient): """Updates a region. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#updateRegion + api-ref/identity/v3/index.html#update-region """ post_body = json.dumps({'region': kwargs}) resp, body = self.patch('regions/%s' % region_id, post_body) diff --git a/tempest/lib/services/identity/v3/roles_client.py b/tempest/lib/services/identity/v3/roles_client.py index e8f8a5fc6f..2a97caf2e0 100644 --- a/tempest/lib/services/identity/v3/roles_client.py +++ b/tempest/lib/services/identity/v3/roles_client.py @@ -25,7 +25,7 @@ class RolesClient(rest_client.RestClient): """Create a Role. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#createRole + api-ref/identity/v3/index.html#create-role """ post_body = json.dumps({'role': kwargs}) resp, body = self.post('roles', post_body) @@ -55,7 +55,7 @@ class RolesClient(rest_client.RestClient): """Update a Role. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#updateRole + api-ref/identity/v3/index.html#update-role """ post_body = json.dumps({'role': kwargs}) resp, body = self.patch('roles/%s' % role_id, post_body) diff --git a/tempest/lib/services/identity/v3/services_client.py b/tempest/lib/services/identity/v3/services_client.py index 95caf7dc3f..efa0d89f41 100644 --- a/tempest/lib/services/identity/v3/services_client.py +++ b/tempest/lib/services/identity/v3/services_client.py @@ -30,7 +30,7 @@ class ServicesClient(rest_client.RestClient): """Updates a service. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#updateService + api-ref/identity/v3/index.html#update-service """ patch_body = json.dumps({'service': kwargs}) resp, body = self.patch('services/%s' % service_id, patch_body) @@ -50,7 +50,7 @@ class ServicesClient(rest_client.RestClient): """Creates a service. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#createService + api-ref/identity/v3/index.html#create-service """ body = json.dumps({'service': kwargs}) resp, body = self.post("services", body) diff --git a/tempest/lib/services/identity/v3/users_client.py b/tempest/lib/services/identity/v3/users_client.py index 0dcdacd766..5398621998 100644 --- a/tempest/lib/services/identity/v3/users_client.py +++ b/tempest/lib/services/identity/v3/users_client.py @@ -37,7 +37,7 @@ class UsersClient(rest_client.RestClient): """Updates a user. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#updateUser + api-ref/identity/v3/#update-user """ if 'id' not in kwargs: kwargs['id'] = user_id @@ -51,7 +51,8 @@ class UsersClient(rest_client.RestClient): """Update a user password Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#changeUserPassword + api-ref/identity/v3/index.html# + change-password-for-user """ update_user = json.dumps({'user': kwargs}) resp, _ = self.post('users/%s/password' % user_id, update_user) diff --git a/tempest/services/identity/v3/json/credentials_client.py b/tempest/services/identity/v3/json/credentials_client.py index 55eeee443d..c063cae100 100644 --- a/tempest/services/identity/v3/json/credentials_client.py +++ b/tempest/services/identity/v3/json/credentials_client.py @@ -14,7 +14,7 @@ # under the License. """ -http://developer.openstack.org/api-ref-identity-v3.html#credentials +http://developer.openstack.org/api-ref/identity/v3/index.html#credentials """ from oslo_serialization import jsonutils as json @@ -30,7 +30,7 @@ class CredentialsClient(rest_client.RestClient): """Creates a credential. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#create-credential + api-ref/identity/v3/index.html#create-credential """ post_body = json.dumps({'credential': kwargs}) resp, body = self.post('credentials', post_body) @@ -43,7 +43,7 @@ class CredentialsClient(rest_client.RestClient): """Updates a credential. Available params: see http://developer.openstack.org/ - api-ref-identity-v3.html#update-credential + api-ref/identity/v3/index.html#update-credential """ post_body = json.dumps({'credential': kwargs}) resp, body = self.patch('credentials/%s' % credential_id, post_body) @@ -56,7 +56,8 @@ class CredentialsClient(rest_client.RestClient): """To GET Details of a credential. For API details, see http://developer.openstack.org/ - api-ref-identity-v3.html#show-credential-details + api-ref/identity/v3/index.html# + show-credential-details """ resp, body = self.get('credentials/%s' % credential_id) self.expected_success(200, resp.status) diff --git a/tempest/services/identity/v3/json/trusts_client.py b/tempest/services/identity/v3/json/trusts_client.py index dedee0507b..f8ca9c649b 100644 --- a/tempest/services/identity/v3/json/trusts_client.py +++ b/tempest/services/identity/v3/json/trusts_client.py @@ -24,7 +24,7 @@ class TrustsClient(rest_client.RestClient): """Creates a trust. Available params: see http://developer.openstack.org/ - api-ref-identity-v3-ext.html#createTrust + api-ref/identity/v3-ext/index.html#create-trust """ post_body = json.dumps({'trust': kwargs}) resp, body = self.post('OS-TRUST/trusts', post_body)