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....
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: Fix partial content responses
Refs: #4063
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
pithos: Url patterns fix
avoid double slash in ui service
pithos: Prefix for pithos object read view endpoint
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 therewas not the relative path in the pithos db (new pithos database)the account quotas were not synced....
pithos: Updated ui service urls
removed version from path
pithos: create view for reading an object's content
Use cookie for retrieving the authentication token
pithos: fix public api
Pithos public api was broken since the pithos api decoratorused 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....
pithos: change X-Object-Public header
The header value should contain the absolute public url
pithos: fix UnboundLocalError in object read
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 tojson as the default serialization.So we introduced a new optional argument (defaults to json) to override...
pithos: Use api_patterns to register API urls
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.
Merge branch 'feature-reconfigure-urls' into develop
Conflicts: docs/pithos-api-guide.rst
Rename astakos_keystone to astakos_identity
pithos: Weaken X-Object-Public exposure requirement
8a0c7040367761cd5d5383ac53dfe1c0161c1d02has restricted the X-Object-Public exposurein container detailed list requestsonly to the object owner and if public parameter is supplied.Now we have weaken this requirement so this information...
pithos: Fill endpoints to astakos_services object
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.
cyclades, pithos: Update resource definitions
Include service_type in each resource dict.
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'.
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
service catalogs: autofill endpoints from BASE_URL
pithos: add service-export-pithos command