blob: a72c9f5e93dbb2e3f46d4036ba046ff4cbbe6968 [file] [log] [blame]
Rodrigo Duarte4666c642016-04-06 11:52:19 -03001# Copyright 2016 Red Hat, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
15from keystone_tempest_plugin.services.identity.v3 import (
16 identity_providers_client)
Rodrigo Duarted96e29c2016-04-08 11:53:43 -030017from keystone_tempest_plugin.services.identity.v3 import (
Rodrigo Duarte179085d2016-04-13 13:56:37 -030018 mapping_rules_client)
19from keystone_tempest_plugin.services.identity.v3 import (
Rodrigo Duarted96e29c2016-04-08 11:53:43 -030020 service_providers_client)
Rodrigo Duarte4666c642016-04-06 11:52:19 -030021
22from tempest import clients
23
24
25class Manager(clients.Manager):
26
27 def __init__(self, credentials, service=None):
28 super(Manager, self).__init__(credentials, service)
29
30 self.identity_providers_client = (
31 identity_providers_client.IdentityProvidersClient(
32 self.auth_provider))
Rodrigo Duarte179085d2016-04-13 13:56:37 -030033 self.mapping_rules_client = (
34 mapping_rules_client.MappingRulesClient(
35 self.auth_provider))
Rodrigo Duarted96e29c2016-04-08 11:53:43 -030036 self.service_providers_client = (
37 service_providers_client.ServiceProvidersClient(
38 self.auth_provider))