Quick patch as the registry on PLE was returning
Thierry Parmentelat [Wed, 9 Apr 2014 15:57:19 +0000 (17:57 +0200)]
'urn': 'urn:publicid:IDN++ple'
which broke manifold down the road
With this patch in place we now get
'urn': 'urn:publicid:IDN+ple+authority+sa’
instead which is already better

sfa/managers/registry_manager.py

index b49507a..0958f5e 100644 (file)
@@ -32,7 +32,7 @@ class RegistryManager:
     def GetVersion(self, api, options):
         peers = dict ( [ (hrn,interface.get_url()) for (hrn,interface) in api.registries.iteritems() 
                        if hrn != api.hrn])
-        xrn=Xrn(api.hrn)
+        xrn=Xrn(api.hrn,type='authority')
         return version_core({'interface':'registry',
                              'sfa': 2,
                              'geni_api': 2,