1. 03 Jun, 2013 1 commit
  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. 22 May, 2013 1 commit
  4. 10 May, 2013 3 commits
  5. 09 May, 2013 3 commits
  6. 19 Apr, 2013 1 commit
  7. 12 Apr, 2013 1 commit
  8. 09 Apr, 2013 1 commit
  9. 05 Apr, 2013 4 commits
  10. 04 Apr, 2013 3 commits
    • Stavros Sachtouris's avatar
      Unittest ResponseManager · f8eea8ec
      Stavros Sachtouris authored
      f8eea8ec
    • Stavros Sachtouris's avatar
      7fa5c263
    • Stavros Sachtouris's avatar
      Redesign http connection module · c2b5da2f
      Stavros Sachtouris authored
      Merge everything to kamaki.clients
      
      Remove multiple hierarchies of connection classes (== abandon support for
          alternative connection methods, e.g. for requests from pypi)
      
      New connection classes are
      - RequestManager
      - ResponseManager
      Semantics:
          RequestManager constructor commits a request without performing it
            but it performs all sanity checks for url, path, method and params
          RequestManager.perform will perform the commited request, if called
          ResponseManager constructor needs a RequestManager instance
          ResponseManager.(various properties)
              request is pooled from a ContextManagerPool (objpool) when needed.
              Results are cached and used as long as the ResponseManager instance
              is alive
      
      Remove KamakiConnection/ResponseErrors, use ClientError wrapers for everything
      
      Remove the connection livetest
      
      TODO: Adjust unittests
      c2b5da2f
  11. 26 Mar, 2013 2 commits
  12. 22 Mar, 2013 3 commits
  13. 21 Mar, 2013 4 commits
  14. 20 Mar, 2013 2 commits
  15. 11 Mar, 2013 1 commit
  16. 27 Feb, 2013 3 commits
  17. 26 Feb, 2013 4 commits
  18. 22 Feb, 2013 1 commit
  19. 18 Feb, 2013 1 commit
    • Stavros Sachtouris's avatar
      Rename HTTPConnection/Response classes · b2c5b650
      Stavros Sachtouris authored
      kamaki.clients.connection.HTTPConnection/Response abstract class are renamed
      to kamaki.clients.connection.KamakiConnection/Response to avoid confusion w.
      httplib.HTTPConnection/Response classes
      b2c5b650