User Story #2670 (closed)
Opened 14 years ago
Closed 13 years ago
Simple API prototype: delete
Reported by: | jamoore | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-4.4 |
Component: | API | Keywords: | n.a. |
Cc: | Story Points: | n.a. | |
Sprint: | n.a. | Importance: | n.a. |
Total Remaining Time: | 2.5d | Estimated Remaining Time: | n.a. |
Description
As opposed to the method defined by #2667 (story: #2665), a "simple" API for delete would look like:
class Delete extends Action { string t; long id; StringMap options; // e.g. {"/Image/Tag": "ORPHAN"} }; Report submit(ActionList actions); // No OMERO exceptions Future async(ActionList actions); // No OMERO exceptions
Here, "simple" means:
- No exceptions are thrown other than Ice infrastructure exceptions (ConnectionLost, etc.)
- As many actions can be batched into a single transaction as desired
- No dependences on omero/API.ice or other methods (smaller executable overhead)
- Self-contained *.ice file which explains all possibilities, i.e. all error codes.
Change History (1)
comment:1 Changed 13 years ago by jmoore
- Milestone changed from Unscheduled to OMERO-Beta4.4
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Done as a part of chgrp: