1. 31 May, 2013 5 commits
    • Stavros Sachtouris's avatar
      74d443db
    • Stavros Sachtouris's avatar
      Fix pep8 warning · 8440b163
      Stavros Sachtouris authored
      8440b163
    • Stavros Sachtouris's avatar
      Get endpoint urls for all CLI operations · f724cd35
      Stavros Sachtouris authored
      Refs: #3874
      
      Use kamaki.clients.astakos.AstakosClient as a cached astakos client to get
      user information and, most importantly, endpoints. Allow users to authenticate
      multiple tokens on the same session. In every session there must be at most
      one authentication per user/token.
      
      Major change: top kamaki.cli.commands class now contains a base_auth field
      with the cached authenticating client. All urls are drained from this field.
      f724cd35
    • Stavros Sachtouris's avatar
      Create config file version 3 · 05e144e2
      Stavros Sachtouris authored
      Refs: #3874
      
      Minimum config file:
      [global]
      token = <user token>
      
      Changes:
      
      - Only one field "cli" for user command specs, to map command groups to CLIs:
      
      [cli]
       user = astakos
       file = pithos
       server = cyclades
      ...
      
      - Specify client services/apis and versions.
       General format:
       [client]
        type = <service>
        version = <api version>
      
       Example:
       [cyclades]
        type = compute
        version = v2.0
      05e144e2
    • Stavros Sachtouris's avatar
      Merge commit '528550d9' into develop · 6fdb3576
      Stavros Sachtouris authored
      Conflicts:
      	Changelog
      	version
      6fdb3576
  2. 30 May, 2013 1 commit
    • Stavros Sachtouris's avatar
      Enrich/rename astakos client calls with endpoints · 528550d9
      Stavros Sachtouris authored
      Refs: #3874
      
      Kamaki.clients.astakos.AstakosClient is now a high-level client lib that
      offers access to token-authenticated astakos-aquired cached information.
      Users who need an astakos client should use the snf-astakosclient instead.
      
      Usage:
      
       astakos_cache = AstakosClient(<astakos/base/url/with/identity/api>)
       astakos_cache.authenticate(<token>)
       user_info = astakos_cache.user_info()
       compute_endpoints = astakos_cache.get_service_endpoints('compute', 'v2')
      
      Major changes:
      
      Modify ReST call from /im/authenticate to /tokens
      
      New methods as AstakosClient instance cache accessors:
       get_services
       get_service_details
       get_service_endpoints
      
      Method renaiming for existing AstakosClient instance cache accessors:
       info --> user_info
       user --> list_users
      528550d9
  3. 29 May, 2013 3 commits
  4. 28 May, 2013 3 commits
  5. 27 May, 2013 5 commits
  6. 24 May, 2013 3 commits
  7. 23 May, 2013 5 commits
  8. 22 May, 2013 9 commits
  9. 21 May, 2013 6 commits