Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / lib / astakos.py @ 4ab1af1a

History | View | Annotate | Download (7 kB)

# Date Author Comment
4ab1af1a 03/27/2013 06:59 pm Georgios D. Tsoukalas

pool context manager, http pool AssertionError fix

Refs #3492

- Introduce a generic PooledObject class to act both
as a context manager for getting and putting back
an object from a pool.

- Implement a class PooledHTTPConnection(PooledObject)
as a sublcass of the one in (1)...

b9818693 03/13/2013 04:43 pm Christos Stavrakakis

Fix inadvertent use of shared objects

Fix inadvertent use of shared objects in synnefo/lib/astakos.py and
pithos/api/delegate.py, since current use is racy when running multiple
requests under gunicorn. Create a private, per-request copy instead.

74d988b0 02/01/2013 04:00 pm Christos Stavrakakis

pep8 fixes to snf-common

e31e4274 01/28/2013 03:43 pm Sofia Papagiannaki

Change error handling in uuid to displayname pithos path migration.

Stop migraton if it fails to retrieve a uuid/displayname.

890c2065 01/23/2013 06:51 pm Sofia Papagiannaki

Change feedback & user_catalogs astakos && pithos api calls

  • Substitute ``username`` with ``displayname``
0308f3a7 01/14/2013 05:36 pm Sofia Papagiannaki

Provide pithos call for getting account name from uuid

7bffb0bd 01/07/2013 12:12 pm Kostas Papadimitriou

User usage enhancement in astakos client helpers

`get_user`, `user_for_token` and `authenticate` methods now accept a `usage`
parameter which requests user usage quotas to be returned along with
authenticated user information. Server side handling has also been...

050485bd 01/03/2013 06:18 pm Sofia Papagiannaki

Changes in common astakos library.

  • It should optionally work with user dictionary
    instead of contacting astakos.
  • Fix pep8 errors
cd5033bd 12/28/2012 02:41 pm Sofia Papagiannaki

Provide error feedback during pithos database path migration to container uuid instead of email

c700f742 12/27/2012 06:29 pm Sofia Papagiannaki

Update Astakos API to provider calls for retrieving uuid from the username and vice versa, extend astakos client library (snf-common) and update pithos to use uuids instead of email for account identification

83204389 12/19/2012 09:01 pm Kostas Papadimitriou

Update astakos client to use user.uuid

11976ee3 09/17/2012 07:24 pm Kostas Papadimitriou

Merge branch 'devel-0.11' into ui-0.11

Conflicts:
snf-common/synnefo/lib/astakos.py
snf-cyclades-app/synnefo/ui/static/snf/js/models.js

27cfa807 09/06/2012 05:19 pm Vangelis Koukis

Pool HTTP connections to the astakos service

Have the astakos client use pooled HTTP connections to the astakos
service, uses facilities from synnefo/lib/pool/http.py.

3ed8ff2b 08/01/2012 04:49 pm Kostas Papadimitriou

Merge branch 'master' into ui-helpdesk

Conflicts:
snf-common/Changelog

9f1bbb33 06/29/2012 08:46 pm Sofia Papagiannaki

Fix authenticate

1055f3c6 06/29/2012 07:24 pm Sofia Papagiannaki

Differentiate Unauthorized astakos response from other error responses

d65af928 06/12/2012 03:18 pm Kostas Papadimitriou

Additional astakos client lib helper

to extract token from astakos cookies

6b5b443b 03/16/2012 02:42 pm Antony Chazapis

Provide a fallback token to user library.

8acb1f97 02/23/2012 03:06 pm Kostas Papadimitriou

Common synnefo lib

Includes the following helpers to be used by synnefo django apps

- logging config initialization middlware
- astakos authentication helpers
- parse_http_date compat helper
- rabbitmq client using pika