blob: 97b5b1456b6edc2d70159850d61f81107ab4266c [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 Duartee508fe02016-06-02 16:08:39 -030021from keystone_tempest_plugin.services.identity.v3 import auth_client
22from keystone_tempest_plugin.services.identity.v3 import saml2_client
Rodrigo Duarte4666c642016-04-06 11:52:19 -030023
24from tempest import clients
25
26
27class Manager(clients.Manager):
28
Rodrigo Duarte3b0cd802017-01-05 13:06:29 -030029 def __init__(self, credentials):
30 super(Manager, self).__init__(credentials)
Rodrigo Duarte4666c642016-04-06 11:52:19 -030031
Rodrigo Duartee508fe02016-06-02 16:08:39 -030032 self.auth_client = auth_client.AuthClient(self.auth_provider)
Rodrigo Duarte4666c642016-04-06 11:52:19 -030033 self.identity_providers_client = (
34 identity_providers_client.IdentityProvidersClient(
35 self.auth_provider))
Rodrigo Duarte179085d2016-04-13 13:56:37 -030036 self.mapping_rules_client = (
37 mapping_rules_client.MappingRulesClient(
38 self.auth_provider))
Rodrigo Duartee508fe02016-06-02 16:08:39 -030039 self.saml2_client = saml2_client.Saml2Client()
Rodrigo Duarted96e29c2016-04-08 11:53:43 -030040 self.service_providers_client = (
41 service_providers_client.ServiceProvidersClient(
42 self.auth_provider))