Task #3510 (assigned)
Opened 9 years ago
Last modified 8 years ago
IRepository adjustments
| Reported by: | cxallan | Owned by: | cxallan |
|---|---|---|---|
| Priority: | critical | Milestone: | Unscheduled |
| Component: | Services | Version: | n.a. |
| Keywords: | n.a. | Cc: | jamoore, jburel |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description (last modified by jburel)
- Removal / deprecation of disk space usage and free functionality that loops through all files in disk
- Addition of new methods for retrieving actual size:
Map<Long, Long> getUserPixelsOnDiskUsage(Parameters p);
// If nothing return empty map
//
// p = omero.sys.ParametersI()
// p.page(offset, PAGE_SIZE)
// p.exp(userId) // mapping to p.details.owner.id comparison
// p.grp(groupId) // mapping to ctx['omero.group']
//
// p.grp() maps to -1 when the user is an administrator and no argument is passed
// p.exp() is not used if it is not provided
//
// Basic code that is being affected by Parameters is:
//
// Map<String, String> ctx = new HashMap<String, String>();
// ctx.put("omero.group", p.grp());
// p.grp(null);
// iQuery.findAllByQuery(
// "select p from Pixels as p " +
// "where p.details.owner.id = :experimenter" + // optional
// "order by p.pid", p, ctx);
//
Map<Long, Long> getPixelsOnDiskUsage(Set<Long> pixelsIds);
Requirement
It will be good to be able to display graphs for the following:
- disk space used by a given user: Pass the user identifier, return the usage
- disk space used by a given group: pass the group id, return a map: key=userID, value: usage
- disk space for groups: return a map key=groupID value=usage (no breakdown per user this time)
- disk space used by top user: pass the number of top users e.g. 5, 10 etc
Change History (5)
comment:1 Changed 9 years ago by cxallan
- Owner set to cxallan
- Status changed from new to assigned
comment:2 Changed 9 years ago by jburel
- Description modified (diff)
comment:3 Changed 9 years ago by jburel
- Milestone changed from OMERO-Beta4.2.1 to OMERO-Beta4.3
- Sprint changed from 2010-11-25 (20) to 2010-12-09 (21)
comment:4 Changed 9 years ago by cxallan
- Sprint 2010-12-09 (21) deleted
comment:5 Changed 8 years ago by cxallan
- Milestone changed from OMERO-Beta4.3 to Unscheduled
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Moved from sprint 2010-11-25 (20)