Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #1166 (closed)

Opened 11 years ago

Closed 10 years ago

ITimeline - event service

Reported by: atarkowska Owned by: jamoore
Priority: critical Milestone: OMERO-Beta4
Component: Services Version: 3.0-M1
Keywords: n.a. Cc: atarkowska, jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by atarkowska)

Specification:

getByPeriod/countByPertiod/getMostRecent:

  • Project.creation/update Event
  • Dataset:creation/update Event
  • Image.acquisitionDate

getImportedImages:

  • Image.creationEvent

Change History (15)

comment:1 Changed 11 years ago by atarkowska

comment:2 Changed 11 years ago by atarkowska

comment:3 Changed 11 years ago by jmoore

r3481 should have ITimeline working. getMostRecentShareComments is still not implemented.

comment:4 Changed 11 years ago by atarkowska

ITimeline.getByPeriod needs to check Image.acquisition date not eventCreation date

comment:5 Changed 11 years ago by jmoore

Ok. However, I.acquisitionDate is not controlled by the security system so anyone can edit it.

comment:6 Changed 11 years ago by atarkowska

  • Description modified (diff)

comment:7 Changed 11 years ago by atarkowska

  • Description modified (diff)

comment:8 Changed 11 years ago by jmoore

r3484 / r3485 :

Added:

  • getMostRecentAnnotationLinks() - filtering by namespace & child-type is not active.

Renamed:

  • getMostRecentShareComments()->getMostRecentShareCommentLinks()

Need to add:

  • getImportedImagesByPeriod() & countImportImagesByPeriod() -- perhaps I just add a type "Import"?

comment:9 Changed 10 years ago by atarkowska

ITimeline.getEventLogsByPeriod needs to check Image.acquisitionDate not event date.

  • Project.creation/update Event
  • Dataset:creation/update Event
  • Image.acquisitionDate

Please look at original implantation:
https://trac.openmicroscopy.org.uk/omero/browser/trunk/components/tools/OmeroWeb/omeroweb/extlib/gateway.py?rev=3483#L1666

comment:10 Changed 10 years ago by jmoore

r3568 fixes getEventLogsByPeriod for acquisitionDate

comment:11 Changed 10 years ago by atarkowska

  • Cc jburel added

comment:12 Changed 10 years ago by jmoore

r3651 extends and unifies the support for Parameters, especially Filter.ownerId and groupId through ITimeline. Still needs an more testing. Please note the API change!

comment:13 Changed 10 years ago by atarkowska

Still mostRecentObjects does not return correct data, because missed clause "ORDER BY". General test from https://trac.openmicroscopy.org.uk/omero/browser/trunk/components/tools/OmeroPy/test/integration/itimeline.py#L21 should handle that.

comment:14 Changed 10 years ago by jmoore

  • Priority changed from major to critical

comment:15 Changed 10 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed

r3890 now orders properly according to itimeline.py. For any other changes, let's open a new ticket, please.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.82460 sec.)

We're Hiring!