Fix authenticate to return endpoints (bw com.)
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Mon, 14 Oct 2013 08:23:25 +0000 (11:23 +0300)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Mon, 14 Oct 2013 08:23:25 +0000 (11:23 +0300)
README.Upgrade
kamaki/clients/astakos/__init__.py

index 10ad055..6ec5609 100644 (file)
@@ -1,3 +1,8 @@
-This document describes changes and steps to upgrade from kamaki 0.10 to
-kamaki 0.11
+This document describes changes and steps to upgrade from kamaki 0.11 to
+kamaki 0.12
+
+1. Method post_user_catalogs in kamaki.clients.astakos is going to be
+deprecated at version 0.13. It must be replaced with individual calls to
+uuids2usernames and/or usernames2uuids. bw compatibility is kept for verison
+0.12
 
index 2d57d8c..5be8210 100644 (file)
@@ -76,6 +76,7 @@ class AstakosClient(Client):
         self._astakos[uuid] = astakos
         self._uuids2usernames[token] = dict()
         self._usernames2uuids[token] = dict()
+        return self._cache[uuid]
 
     def get_token(self, uuid):
         return self._cache[uuid]['access']['token']['id']