git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avoid publishing non-relevant entries in GetVersion
[sfa.git]
/
sfa
/
methods
/
ResolveGENI.py
diff --git
a/sfa/methods/ResolveGENI.py
b/sfa/methods/ResolveGENI.py
index
e32bf6d
..
5e6eac6
100644
(file)
--- a/
sfa/methods/ResolveGENI.py
+++ b/
sfa/methods/ResolveGENI.py
@@
-2,6
+2,7
@@
from sfa.util.method import Method
from sfa.storage.parameter import Parameter
from sfa.storage.parameter import Parameter
+
class ResolveGENI(Method):
"""
Lookup a URN and return information about the corresponding object.
class ResolveGENI(Method):
"""
Lookup a URN and return information about the corresponding object.
@@
-12,7
+13,7
@@
class ResolveGENI(Method):
accepts = [
Parameter(str, "URN"),
Parameter(type([str]), "List of credentials"),
accepts = [
Parameter(str, "URN"),
Parameter(type([str]), "List of credentials"),
-
]
+ ]
returns = Parameter(bool, "Success or Failure")
def call(self, xrn):
returns = Parameter(bool, "Success or Failure")
def call(self, xrn):