X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FGetGids.py;h=623fbe92c933db95195c705ea877dd05a716655c;hb=1cc8e9613cab8b5b22478de369f259e591c54e6d;hp=e50f9404be542f3e4e28aec12f59df5e22e4fce0;hpb=57b6a99255d4a88be9c0f910f8524677e34ff4bc;p=sfa.git diff --git a/sfa/methods/GetGids.py b/sfa/methods/GetGids.py index e50f9404..623fbe92 100644 --- a/sfa/methods/GetGids.py +++ b/sfa/methods/GetGids.py @@ -1,8 +1,10 @@ from sfa.util.faults import RecordNotFound from sfa.util.method import Method -from sfa.util.parameter import Parameter, Mixed + from sfa.trust.credential import Credential +from sfa.storage.parameter import Parameter, Mixed + class GetGids(Method): """ Get a list of record information (hrn, gid and type) for @@ -31,8 +33,7 @@ class GetGids(Method): origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn() # resolve the record - manager = self.api.get_interface_manager() - records = manager.resolve(self.api, xrns, full = False) + records = self.api.manager.Resolve(self.api, xrns, details = False) if not records: raise RecordNotFound(xrns)