Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-app / pithos @ faad3c72

# Date Author Comment
5ecaeaa6 07/25/2013 06:04 pm Sofia Papagiannaki

pithos: Fix pithos test views

d4e4e501 07/25/2013 12:46 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.3' into develop

Conflicts:
Changelog
snf-astakos-app/astakos/im/messages.py
snf-pithos-app/pithos/api/manage_accounts/__init__.py
snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py
snf-pithos-app/pithos/api/settings.py...

8198fe61 07/24/2013 03:53 pm Sofia Papagiannaki

pithos: Pass full path of the next parameter in view redirect

3046f62c 07/23/2013 01:37 pm Sofia Papagiannaki

Revert "pithos: manage_accounts support for both sqlalchemy and sqlite"

This reverts commit 8414859f4895e4c67ff0bb13a8d7078c1851596a.

This commit with the current backend implementation
has broken the command for sqlalchemy module.

2ff02341 07/22/2013 06:19 pm Sofia Papagiannaki

pithos: Fix reconcile-resource-pithos command

  • Improved performance (reduce interaction with the database)
  • Fix command when `userid` option is provided

Conflicts:
snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py
snf-pithos-backend/pithos/backends/lib/sqlite/node.py

a421e0b9 07/19/2013 01:28 pm Sofia Papagiannaki

pithos: Update view_method decorator

  • If no token found in the cookie redirect to astakos login
    with next parameter pointing to the request path
  • Extend the list of the valid response statuses
  • If no expected response status is received, pass to the raised...
2a194295 07/19/2013 11:13 am Sofia Papagiannaki

pithos: Fix tests

95b36144 07/18/2013 08:03 pm Sofia Papagiannaki

pithos: Write tests for the weblogin view

48c5b124 07/18/2013 07:58 pm Sofia Papagiannaki

pithos: Update view_method decorator

  • If no token found in the cookie redirect to astakos login
    with next parameter pointing to the request path
  • Extend the list of the valid response statuses
  • If no expected response status is received, pass to the raised...
bc4f25c0 07/17/2013 11:41 am Sofia Papagiannaki

pithos: Update/extend tests

29148653 07/17/2013 11:41 am Sofia Papagiannaki

pithos: pep8 fixes

3248f20a 07/10/2013 04:37 pm Sofia Papagiannaki

pithos: Handle backend transaction management

In commit 9f135224edf6e50386dc29e0a35806a92c56a50c
the transaction management has been moved
from the pithos backend to pithos frontend.
This commit updates all modules use pithos backend
to handle transactions manually.

65f480f5 07/09/2013 05:29 pm Sofia Papagiannaki

pithos: Fix tests to run with sqlalchemy backend/sqlite engine

4691814d 07/09/2013 04:30 pm Ilias Tsitsimpis

pep8 changes

54256e77 07/05/2013 07:33 pm Georgios D. Tsoukalas

Merge branch 'feature-pithos-atomic-api' into develop

7c36f3fb 07/05/2013 07:30 pm Sofia Papagiannaki

pithos: Fix test configuration

cc62d2ab 07/05/2013 06:53 pm Sofia Papagiannaki

pithos: Cleanup api_method code

0534576c 07/05/2013 06:52 pm Sofia Papagiannaki

pithos: Restore sqlite backend module

74cbb94a 07/05/2013 05:35 pm Sofia Papagiannaki

pithos: Optionally deactivate backend pooling

This is useful because the ``pithos.backends.lib.sqlite``
backend module is not compatible with pooling.

2b19dc94 07/05/2013 04:34 pm Sofia Papagiannaki

pithos: Fix tests (missing module)

57d23066 07/05/2013 04:22 pm Sofia Papagiannaki

pithos: Fix tests

800af189 07/05/2013 02:28 pm Sofia Papagiannaki

pithos: Fix & update tests (premature commit)

0df5250a 07/04/2013 10:48 am Sofia Papagiannaki

Merge branch 'tmp-pithos-tests' into feature-pithos-atomic-api

Conflicts:
snf-pithos-app/pithos/api/util.py

80d668be 07/03/2013 08:01 pm Sofia Papagiannaki

pithos: Fix updated object size

If the updated object exceeded the size of the original object
the object size was not computed correctly.

5fe43b8c 07/03/2013 06:40 pm Sofia Papagiannaki

pithos: Fix tests challenging ETag

133e3fcf 07/03/2013 06:37 pm Sofia Papagiannaki

pithos: return always etag

Refs: #3554

If update md5 is deactivated Pithos does not return an etag header.
Pithos in that case should return the merkle hash as etag

e805709b 07/02/2013 06:08 pm Sofia Papagiannaki

pithos: Restore communication with openstack clients

Refs: #4092

a1f429b2 07/02/2013 05:38 pm Sofia Papagiannaki

pithos: Fix tests

1baa9737 07/02/2013 05:19 pm Sofia Papagiannaki

Merge branch 'tmp-pithos-tests' of https://code.grnet.gr/git/synnefo into tmp-pithos-tests

Conflicts:
snf-astakos-app/astakos/api/tokens.py
snf-astakos-app/astakos/im/tests/api.py
snf-common/synnefo/settings/test.py
snf-django-lib/snf_django/lib/api/__init__.py...

3a19e99b 07/02/2013 04:56 pm Sofia Papagiannaki

pithos: update tests

369a7b41 07/02/2013 04:53 pm Sofia Papagiannaki

pithos: Change block size by configuration

This is useful for testing corner cases efficiently.

7b40f056 07/02/2013 04:35 pm Sofia Papagiannaki

pithos: Fix control for satisfiable range

ff0beb64 07/02/2013 04:23 pm Sofia Papagiannaki

pithos: move transaction managment and quotaholder sync in frontend

Remove backend_method decorator and move logic in the pithos api method

Conflicts:
snf-pithos-app/pithos/api/util.py

d6a92fa0 07/02/2013 04:23 pm Sofia Papagiannaki

pithos: remove hardcoded urls in tests

3bdb9222 07/02/2013 04:23 pm Sofia Papagiannaki

pithos api: Adjustable max number of items listed

Openstack storage api sets to 10000 the maximum number of
items returned by the listing functions.
However to test this behaviour is time consuming.
Change this threadhold to be adjustable via the settings...

f3787696 07/02/2013 04:23 pm Sofia Papagiannaki

pithos: WIP - rewrite pithos tests

4d244f4a 06/25/2013 08:20 pm Sofia Papagiannaki

pithos: Fix partial content responses

Refs: #4063

9f135224 06/19/2013 04:24 pm Sofia Papagiannaki

pithos: move transaction managment and quotaholder sync in frontend

Remove backend_method decorator and move logic in the pithos api method

b90584d0 06/19/2013 04:19 pm Sofia Papagiannaki

pithos: introduce lock_container_path api_method argument

263d27d9 06/19/2013 04:13 pm Sofia Papagiannaki

pithos: enable api calls to lock explicitly the path

c8860319 06/19/2013 02:10 pm Sofia Papagiannaki

pithos: change public listing api

Before public listing (public request parameter)
requested by non path owners, was ignored.
Now it returns a response with 403 status code (Forbidden)

b5aeeb2f 06/18/2013 06:50 pm Kostas Papadimitriou

pithos-app: Update pithos.api.util.api_method wrapper

to match the updated snf_django api_method decorator

d823a562 06/18/2013 06:48 pm Kostas Papadimitriou

pithos-api: Update api_method wrapper

ee565728 06/18/2013 06:46 pm Kostas Papadimitriou

pithos-app: Set supported serializations in api views

ae6030b3 06/18/2013 11:47 am Georgios D. Tsoukalas

pithos: rename prefix pithos_public to public

After all, the prefix is visible to users as part of the public url
they pass around, therefore 'public' is much more presentable than
pithos_public.

55616866 06/17/2013 01:35 pm Kostas Papadimitriou

pithos: api_method_not_allowed typo's

8e95eb05 06/12/2013 06:56 pm Sofia Papagiannaki

pithos: HEAD object request returned erroneous content type

According to commit: b698d39dd6cbe4bf47b63ed0d6a98b9b126ca40e
views defining their response 'Content-Type' should set the
'override_serialization' attribute of response to 'True'.
However, this was missing in the specific view....

603e0058 06/12/2013 03:22 pm Sofia Papagiannaki

pithos: fix another typo in reconcile-commissions-pithos command

393da61b 06/12/2013 03:18 pm Sofia Papagiannaki

pithos: fix typo in reconcile-commissions-pithos command

269ac8de 06/12/2013 02:28 pm Christos Stavrakakis

Ensure we return cloud faults under any API prefix

cf643c9b 06/12/2013 02:21 pm Georgios D. Tsoukalas

pithos: change pithos_public service

- Do not export an endpoint, since clients get public urls from our
pithos API, there is no need for them to know an endpoint.

- Rename its type to pithos_public, since public is too generic
and there is actually no API specification, since noone needs it yet.

cc1f91ad 06/11/2013 04:52 pm Sofia Papagiannaki

pithos: Fix X-Object-Public object header

Utilize settings.PITHOS_BASE_HOST instead of settings.PITHOS_BASE_URL
to construct the header value

d2d09227 06/11/2013 03:52 pm Sofia Papagiannaki

pithos: refine error handling in object_read view

94844ae4 06/11/2013 03:35 pm Kostas Papadimitriou

pithos: Url patterns fix

avoid double slash in ui service

80a3c208 06/11/2013 02:48 pm Kostas Papadimitriou

pithos: Prefix for pithos object read view endpoint

bab17726 06/11/2013 12:55 pm Sofia Papagiannaki

pithos: change reconcile-resources-pithos command

This command syncronizes the astakos quota with the pithos db.
However, if there was an account in the astakos database but there
was not the relative path in the pithos db (new pithos database)
the account quotas were not synced....

d5ea70e4 06/11/2013 12:42 pm Kostas Papadimitriou

pithos: Updated ui service urls

removed version from path

63de12cf 06/10/2013 09:37 pm Sofia Papagiannaki

pithos: create view for reading an object's content

Use cookie for retrieving the authentication token

d630c78b 06/10/2013 09:37 pm Sofia Papagiannaki

pithos: fix public api

Pithos public api was broken since the pithos api decorator
used to call the common api decorator without passing the
``token_required`` optional argument (default to True).
As a result, all the requests failed with 401 Unauthorized status....

a3fcee5b 06/10/2013 09:37 pm Sofia Papagiannaki

pithos: change X-Object-Public header

The header value should contain the absolute public url

06e7d2f0 06/10/2013 09:37 pm Sofia Papagiannaki

pithos: fix UnboundLocalError in object read

6b560707 06/10/2013 11:06 am Sofia Papagiannaki

snf_django: Optionally use other default serialization than json

Pithos api default serialization for listing is text insted of json.
However the common api decorator if not specified otherwise used to
json as the default serialization.
So we introduced a new optional argument (defaults to json) to override...

5f2072f4 06/07/2013 12:56 am Kostas Papadimitriou

pithos: Use api_patterns to register API urls

3cdb2b79 06/06/2013 07:40 pm Sofia Papagiannaki

pithos: WIP - rewrite pithos tests

e3709c69 06/06/2013 07:23 pm Sofia Papagiannaki

pithos api: Adjustable max number of items listed

Openstack storage api sets to 10000 the maximum number of
items returned by the listing functions.
However to test this behaviour is time consuming.
Change this threadhold to be adjustable via the settings...

27612504 06/06/2013 07:14 pm Sofia Papagiannaki

snf_django: Optionally use other default serialization than json

Pithos api default serialization for listing is text insted of json.
However the common api decorator if not specified otherwise used to
json as the default serialization.
So we introduced a new optional argument (defaults to json) to override...

2e45abfd 06/06/2013 04:12 pm Kostas Papadimitriou

webproject: common 404, 500 handling

- Move 404, 500 templates from astakos to webproject
- Remove 404, 500 templates from pithos-app
- Webproject now includes static files to serve jquery as an asset in 404, 500
pages.
- Custom 500 handler. Use RequestContext if possible.

11b7870d 06/05/2013 05:38 pm Georgios D. Tsoukalas

Merge branch 'feature-reconfigure-urls' into develop

Conflicts:
docs/pithos-api-guide.rst

923e6582 06/05/2013 05:31 pm Georgios D. Tsoukalas

Rename astakos_keystone to astakos_identity

1a3eff62 06/05/2013 02:06 pm Sofia Papagiannaki

pithos: Weaken X-Object-Public exposure requirement

8a0c7040367761cd5d5383ac53dfe1c0161c1d02
has restricted the X-Object-Public exposure
in container detailed list requests
only to the object owner and if public parameter is supplied.
Now we have weaken this requirement so this information...

dfc4d3d7 06/04/2013 08:38 pm Kostas Papadimitriou

pithos: Fill endpoints to astakos_services object

47d421ae 06/04/2013 05:31 pm Georgios D. Tsoukalas

Incorporate all resources into service definitions

- Add 'service_origin' key in resources, as the normative name of
the service that exported it.
- Keep resources backwards compatible, export-resource-service
reads resources from the service list.

89d091bf 06/03/2013 03:33 pm Giorgos Korfiatis

cyclades, pithos: Update resource definitions

Include service_type in each resource dict.

b55b9692 06/03/2013 02:09 pm Giorgos Korfiatis

common: Export only services specified as public

Employ helper function `filter_public' in service-export-* commands.
Also set `pithos_ui' service to non-public and clear version of
`astakos_ui'.

a30e4fff 06/03/2013 01:51 pm Kostas Papadimitriou

pithos: Include additional prefixes settings

- Include settings for astakos accounts/views/keystone prefixes
- Renamed ASTAKOS_ACCOUNT_PREFIX > ASTAKOS_ACCOUNTS_PREFIX
Prepend BASE_ASTAKOS_PROXY_PATH with BASE_PATH by default

2a54b2dd 06/03/2013 11:50 am Georgios D. Tsoukalas

pithos: initialize prefixes from service catalog

4080a1df 06/03/2013 11:50 am Georgios D. Tsoukalas

service catalogs: autofill endpoints from BASE_URL

fe4ad54f 06/03/2013 11:50 am Georgios D. Tsoukalas

pithos: add service-export-pithos command

e3ff6830 06/03/2013 11:49 am Georgios D. Tsoukalas

make synnefo URLs consistent and configurable

https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______|
BASE_HOST BASE_PATH PREFIX Hardcoded...

3506f6a0 05/28/2013 03:57 pm Sofia Papagiannaki

docs: Update list of pithos commands

Also list in a separate section the pithos-manage-accounts commands

205cc8d3 05/16/2013 06:41 pm Giorgos Korfiatis

Catch QuotaLimit exception when reconciling resources

This can happen, if the actual usage registered by a service exceeds
the quota limit.
Advise the user to try the --force option.

1896d3e4 05/16/2013 02:47 pm Sofia Papagiannaki

pithos: fix tests

Change erroneous import

d2c9adac 05/15/2013 06:36 pm Christos Stavrakakis

Use custom method for joining urls

Implement 'join_urls' method for joining a base URL with a path,
without worrying about redundant or missing "/". Do not use
'urlparse.urljoin', since it has different semantics.

aa153e99 05/15/2013 06:20 pm Sofia Papagiannaki

pithos: use common proxy functionality for astakos services

Remove pithos.api.delegate module
Keep top level api urls for this version

02de6286 05/15/2013 06:18 pm Sofia Papagiannaki

pithos: change resource usage retrieval

Replace ``astakosclient.get_info()`` with ``astakosclient.get_quotas()``

79b5d61b 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: WIP move all api calls under ``/astakos/api``

Refs: #3340

d7c850a0 05/10/2013 12:45 pm Sofia Papagiannaki

pithos: use AstakosClient to delegate user services to astakos

c8a79b3a 05/01/2013 06:00 pm Giorgos Korfiatis

pithos, cyclades: Name reconciling commissions

Use commission name "RECONCILE" to distinguish such operations
in the quotaholder provision log.

30aca88f 05/01/2013 05:35 pm Sofia Papagiannaki

pithos: Change reconcile-resources-pithos command

in order to conform with the respective Cyclades
command

82e123f9 05/01/2013 03:33 pm Giorgos Korfiatis

pithos: Define and export resources in json format

Provide management command resource-export-pithos.

df9177e8 05/01/2013 02:35 pm Giorgos Korfiatis

pithos: Add name in reconciling commission

93d963c4 05/01/2013 12:15 pm Sofia Papagiannaki

Merge branch 'feature-quotas-pithos' into feature-quotas

Conflicts:
snf-cyclades-app/synnefo/plankton/backend.py
snf-pithos-app/README
snf-pithos-app/pithos/api/util.py

71585c27 05/01/2013 12:00 pm Sofia Papagiannaki

pithos: Update merged code

ae6199c5 05/01/2013 12:00 pm Sofia Papagiannaki

pithos: Update pithos management commands

Refs: #3625

8414859f 05/01/2013 12:00 pm Sofia Papagiannaki

pithos: manage_accounts support for both sqlalchemy and sqlite

16f2673e 05/01/2013 12:00 pm Sofia Papagiannaki

pithos: Rename backend quotaholder properties

Refer to astakosclient instead of quotaholder

b17e5550 05/01/2013 12:00 pm Giorgos Korfiatis

WIP astakosclient for quotas in pithos

d1e7d2b4 05/01/2013 12:00 pm Sofia Papagiannaki

pithos: Utilize astakosclient for quota handling

Refs: #3625, #3650

e6fb591c 04/30/2013 05:03 pm Ilias Tsitsimpis

snf-pithos-app: Use astakosclient

a5fbc00d 04/30/2013 05:03 pm Christos Stavrakakis

pithos: remove redundant settings

Remove 'PITHOS_USER_CATALOG_URL' and 'PITHOS_USER_FEEDBACK_URL' and
'PITHOS_USER_LOGIN_URL' settings, since all of them can be derived from
'ASTAKOS_URL' setting.