Feature #3510
Pithos backend: Return objects in a specific domain, optionally filtered by user
Status: | Resolved | Start date: | 03/29/2013 | |
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | Sofia Papagiannaki | % Done: | 0% |
|
Category: | Pithos | Spent time: | - | |
Target version: | 0.14.0 |
Description
Provide a pithos backend function that returns all the objects for a specific domain.
Optionally the function should accept a user filter.
In that case the function should return only the domain objects the user can access.
The feature is requested in order to improve the performance of image retrieval by plankton.
Associated revisions
Pithos backend: Return objects in a specific domain
Refs: #3510
Pithos backend: Return objects in a specific domain
Refs: #3510
Improve performance in listing images
Use '_get_domain_objects' function of Pithos backend, to list all
objects in a 'plankton' domain, instead of looping over all accessible
accounts, containers and objects. This function also returns metadata
and permissions for each object in order to avoid two extra calls for
each returned image.
This should provide a significant performance boost in listing available
images.
Note: Currently plankton API filters in 'list_images' are not
implemented.
Refs #3510
pithos: improve performance of get_domain_list
Before it used to query the database
for all the objects having the specific domain
and finally filtered out the objects to which the user had no access.
Now gets first the allowed_paths for the user and then
brings those having the specific domain
Refs: #3510
pithos backend: Extend list domain objects method
This method optionally accepts a user paramter and used to return
the objects shared to the user and having a specific domain.
This commit extends this functionality and returns also the objects
owned by the user and having the specific domain
Refs: #3510
pithos: improve performance of get_domain_list
Before it used to query the database
for all the objects having the specific domain
and finally filtered out the objects to which the user had no access.
Now gets first the allowed_paths for the user and then
brings those having the specific domain
Refs: #3510
pithos backend: Extend list domain objects method
This method optionally accepts a user paramter and used to return
the objects shared to the user and having a specific domain.
This commit extends this functionality and returns also the objects
owned by the user and having the specific domain
Refs: #3510
pithos: Fix attribute copy
The newly created attributed used to point in the source node
instead of the destination
Refs: 3510
History
#1 Updated by Vangelis Koukis about 10 years ago
- Subject changed from Extend pithos backend to Pithos backend: Return objects in a specific domain, optionally filtered by user
#2 Updated by Sofia Papagiannaki almost 10 years ago
- Status changed from Assigned to Resolved