Esempio n. 1
0
 def list_groups(self, context, filters):
     hints = pagination(context, GroupV3.build_driver_hints(context, filters))
     if "J" in versionutils.deprecated._RELEASES:
         refs = self.identity_api.list_groups(
             domain_scope=self._get_domain_id_for_list_request(context), hints=hints
         )
     else:
         refs = self.identity_api.list_groups(domain_scope=self._get_domain_id_for_request(context), hints=hints)
     scim_page_info = get_scim_page_info(context, hints)
     return conv.listgroups_key2scim(refs, context["path"], scim_page_info)
Esempio n. 2
0
 def list_groups(self, context, filters):
     hints = pagination(context,
                        GroupV3.build_driver_hints(context, filters))
     if 'J' in versionutils.deprecated._RELEASES:
         refs = self.identity_api.list_groups(
             domain_scope=self._get_domain_id_for_list_request(context),
             hints=hints)
     else:
         refs = self.identity_api.list_groups(
             domain_scope=self._get_domain_id_for_request(context),
             hints=hints)
     scim_page_info = get_scim_page_info(context, hints)
     return conv.listgroups_key2scim(refs, context['path'], scim_page_info)
 def list_groups(self, context, filters=None):
     ref = super(ScimGroupV3Controller, self).list_groups(context)
     return conv.listgroups_key2scim(ref['groups'])
 def list_groups(self, context, filters):
     hints = pagination(context, GroupV3.build_driver_hints(context, filters))
     refs = self.identity_api.list_groups(
         domain_scope=self._get_domain_id_for_request(context),
         hints=hints)
     return conv.listgroups_key2scim(refs)
 def list_groups(self, context, filters):
     hints = pagination(context,
                        GroupV3.build_driver_hints(context, filters))
     refs = self.identity_api.list_groups(
         domain_scope=self._get_domain_id_for_request(context), hints=hints)
     return conv.listgroups_key2scim(refs)