5 from sfa.util.faults import *
6 from sfa.util.namespace import *
7 from sfa.util.method import Method
8 from sfa.util.parameter import Parameter, Mixed
9 from sfa.util.record import SfaRecord
10 from sfa.methods.Resolve import Resolve
12 class resolve(Resolve):
14 Deprecated. Use Resolve instead
17 @param cred credential string authorizing the caller
18 @param hrn human readable name to resolve (hrn or urn)
19 @return a list of record dictionaries or empty list
22 interfaces = ['registry']
25 Parameter(str, "Credential string"),
26 Mixed(Parameter(str, "Human readable name (hrn or urn)"),
27 Parameter(list, "List of Human readable names ([hrn])"))
32 def call(self, cred, xrns, origin_hrn=None):
33 return Resolve.call(self, xrns, cred)