Commit 6e0eecc6 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

snf-ci: Alter AstakosClient to CachedAstakosClient

Kamaki changed its API and now AstakosClient has been renamed to
CachedAstakosClient whereas the AstakosClient class points to the
astakosclient package.
parent 525e6dd1
...@@ -15,7 +15,7 @@ import tempfile ...@@ -15,7 +15,7 @@ import tempfile
from ConfigParser import ConfigParser, DuplicateSectionError from ConfigParser import ConfigParser, DuplicateSectionError
from kamaki.cli import config as kamaki_config from kamaki.cli import config as kamaki_config
from kamaki.clients.astakos import AstakosClient from kamaki.clients.astakos import CachedAstakosClient
from kamaki.clients.cyclades import CycladesClient, CycladesNetworkClient from kamaki.clients.cyclades import CycladesClient, CycladesNetworkClient
from kamaki.clients.image import ImageClient from kamaki.clients.image import ImageClient
from kamaki.clients.compute import ComputeClient from kamaki.clients.compute import ComputeClient
...@@ -199,7 +199,7 @@ class SynnefoCI(object): ...@@ -199,7 +199,7 @@ class SynnefoCI(object):
token = config.get_cloud(self.kamaki_cloud, "token") token = config.get_cloud(self.kamaki_cloud, "token")
#self.logger.debug("Token is %s" % _green(token)) #self.logger.debug("Token is %s" % _green(token))
self.astakos_client = AstakosClient(auth_url, token) self.astakos_client = CachedAstakosClient(auth_url, token)
cyclades_url = \ cyclades_url = \
self.astakos_client.get_service_endpoints('compute')['publicURL'] self.astakos_client.get_service_endpoints('compute')['publicURL']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment