Merge branch 'feature-pithos-performance-optimizations' into develop
pithos: Provide tests for requests with timestamps
pithos: Fix timestamps
Request Django=>1.4, <1.5
Drop support for Django 1.2. Remove compatibility code that were used inorder to support Django 1.2 and 1.4. Finally update django documentationlink in the docs.
Merge branch 'hotfix-0.14.8' into develop
Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5
Conflicts: ci/ci_squeeze.conf ci/ci_wheezy.conf ci/schemas/one_node_squeeze/packages.conf ci/schemas/one_node_squeeze/squeeze.conf ci/schemas/one_node_squeeze/wheezy.conf...
wheezy: urls module doesn't export defaults
wheezy: Update Django dependency to <=1.4.5
pithos: Change error handling in views
The view_method decorator used to check the response status:in case of unexpected response used to returnInternal Server Error (500).This commit changes this behavior andthe view_method decorator returns whatever the api_method decorator...
pithos: Update tests
pithos: Fix failing test
Merge branch 'feature-pithos-performance-optimizations-develop' into feature-pithos-performance-optimizations-perf
pithos: Fix tests broken after merge
Merge branch 'hotfix-0.14.6' into develop
Conflicts: Changelog docs/admin-guide.rst snf-cyclades-app/synnefo/api/management/commands/network-remove.py snf-cyclades-app/synnefo/api/servers.py snf-cyclades-app/synnefo/api/tests/servers.py snf-cyclades-app/synnefo/logic/backend.py...
pithos: Fix pithos-manage-account command
pithos: Fix partial content responses
Refs: #4063
pithos: Performance Optimizations in Object Listing.
pithos: Clear pithos_public endpoint's versionId
pithos_public service is not an API and should not be versioned; thepublic URLs operated by pithos do not include a version segment, anyway.
Also make its type more specific, since type `public' is too generic.
common: Strip trailing slash from endpoints
Remove trailing slash from the endpoints' publicURL field in servicedefinitions. These values end up in the response of POST /tokens, and,according to the keystone API, should not end in slash. A trailing slash...
Revert "pithos: Use pithos backend as context manager"
This reverts commit 23b41f6fefa1a066748810c4642e58e18a4b83f9.
pithos: Use pithos backend as context manager
Substitue pre_exec() and post_exec()
pithos: Add missing locks
_lookup_container() locks the container pathbut it was not called by some write backend methodswhich expected the container path to be locked.
In those cases optionally _lookup_object() callsthe _lookup_container() in order to lock the container path....
Update objpool dependency to version 0.3
Pithos: Catch invalid hashmap input
Refs: #3745
pithos: Add missing import
pithos: Fix AttributeError in tests
pithos: Add tests
pithos: Destroy test database after test execution:Pithos uses a pool for the backend objects.Pooled backend objects override the default close behaviorand return the object to the pool instead.Therefore, django was unable to destroy the databasesince there were active connections....
Move middlewares from snf-common to snf-webproject
pithos: Fix test
pithos: Fix stale import from tests file
pithos: Remove stale import from tests file
pithos: Fix shared listing for implicitly shared objects
Provide also the appropriate tests
Refs: #4131
pithos: Fix IndexError in update from other object
Fix stale import statements
Commit 7cfc0ce moved code from webproject to snf_django. This commitfixes some stale imports that skipped renaming.
pithos: Fix TypeError when trying to retrieve invalid object version
pithos: Add test for restoring object's version
pithos: Catch malformed X-Object-Source
Raise 400 (Bad Request) if the server fails to parse it.
pithos: Add test for updating an object from version
Merge branch 'hotfix-0.14.4' into develop
Conflicts: Changelog version
pithos: Fix pithos test views
pithos: Fix reconcile resources command
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...
pithos: Pass full path of the next parameter in view redirect
Revert "pithos: manage_accounts support for both sqlalchemy and sqlite"
This reverts commit 8414859f4895e4c67ff0bb13a8d7078c1851596a.
This commit with the current backend implementationhas broken the command for sqlalchemy module.
pithos: Fix reconcile-resource-pithos command
Conflicts: snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py snf-pithos-backend/pithos/backends/lib/sqlite/node.py
pithos: Update view_method decorator
pithos: Fix tests
pithos: Write tests for the weblogin view
pithos: Update/extend tests
pithos: pep8 fixes
pithos: Handle backend transaction management
In commit 9f135224edf6e50386dc29e0a35806a92c56a50cthe transaction management has been movedfrom the pithos backend to pithos frontend.This commit updates all modules use pithos backendto handle transactions manually.
pithos: Fix tests to run with sqlalchemy backend/sqlite engine
pep8 changes
Merge branch 'feature-pithos-atomic-api' into develop
pithos: Fix test configuration
pithos: Cleanup api_method code
pithos: Restore sqlite backend module
pithos: Optionally deactivate backend pooling
This is useful because the ``pithos.backends.lib.sqlite``backend module is not compatible with pooling.
pithos: Fix tests (missing module)
pithos: Fix & update tests (premature commit)
Merge branch 'tmp-pithos-tests' into feature-pithos-atomic-api
Conflicts: snf-pithos-app/pithos/api/util.py
pithos: Fix updated object size
If the updated object exceeded the size of the original objectthe object size was not computed correctly.
pithos: Fix tests challenging ETag
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
pithos: Restore communication with openstack clients
Refs: #4092
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...
pithos: update tests
pithos: Change block size by configuration
This is useful for testing corner cases efficiently.
pithos: Fix control for satisfiable range
pithos: move transaction managment and quotaholder sync in frontend
Remove backend_method decorator and move logic in the pithos api method
pithos: remove hardcoded urls in tests
pithos api: Adjustable max number of items listed
Openstack storage api sets to 10000 the maximum number ofitems returned by the listing functions.However to test this behaviour is time consuming.Change this threadhold to be adjustable via the settings...
pithos: WIP - rewrite pithos tests
Merge branch 'release-0.14' into develop
Conflicts: snf-astakos-app/astakos/im/views/target/redirect.py snf-cyclades-app/synnefo/logic/backend.py version
pithos: introduce lock_container_path api_method argument
pithos: enable api calls to lock explicitly the path
docs: fix PITHOS_PROXY_USER_SERVICES typos
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)
pithos-app: Update pithos.api.util.api_method wrapper
to match the updated snf_django api_method decorator
pithos-api: Update api_method wrapper
pithos-app: Set supported serializations in api views
pithos: rename prefix pithos_public to public
After all, the prefix is visible to users as part of the public urlthey pass around, therefore 'public' is much more presentable thanpithos_public.
pithos: api_method_not_allowed typo's
pithos: add comment in configuration
snf-pithos-app: depend on snf-branding
pithos: Remove account/container quota limits from the configuration
Include snf-webproject in snf-*-app required packages
webproject contains django command line utils which are imported from synnefoapps packages.
pithos: HEAD object request returned erroneous content type
According to commit: b698d39dd6cbe4bf47b63ed0d6a98b9b126ca40eviews defining their response 'Content-Type' should set the'override_serialization' attribute of response to 'True'.However, this was missing in the specific view....
pithos: fix another typo in reconcile-commissions-pithos command
pithos: fix typo in reconcile-commissions-pithos command
Ensure we return cloud faults under any API prefix
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.
pithos: Fix X-Object-Public object header
Utilize settings.PITHOS_BASE_HOST instead of settings.PITHOS_BASE_URLto construct the header value
pithos: refine error handling in object_read view