4 from sfa.util.faults import *
5 from sfa.util.namespace import *
6 from sfa.util.method import Method
7 from sfa.util.parameter import Parameter, Mixed
8 from sfa.util.record import SfaRecord
9 from sfa.methods.List import List
13 Deprecated. Use List instead.
15 List the records in an authority.
17 @param cred credential string specifying the rights of the caller
18 @param hrn human readable name of authority to list (hrn or urn)
19 @return list of record dictionaries
21 interfaces = ['registry']
24 Parameter(str, "Credential string"),
25 Parameter(str, "Human readable name (hrn or urn)"),
26 Mixed(Parameter(str, "Human readable name of the original caller"),
27 Parameter(None, "Origin hrn not specified"))
32 def call(self, cred, xrn, origin_hrn=None):
34 return List.call(self, xrn, cred)