from sfa.trust.credential import *
from sfa.trust.certificate import *
from sfa.util.faults import *
+from sfa.trust.gid import create_uuid
def get_version(api):
version = {}
version['geni_api'] = 1
return version
-def resolve(api, xrns, creds, type=None, full=True):
+def resolve(api, xrns, type=None, full=True):
# load all know registry names into a prefix tree and attempt to find
# the longest matching prefix
table = SfaTable()
filter = {'hrn': hrn}
- if type not in ['all', '*']:
+ if type and type not in ['all', '*']:
filter['type'] = type
records = table.find(filter)
if not records: