Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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 #1994 (closed)

Opened 14 years ago

Closed 14 years ago

Rationalise API for PublicRepository

Reported by: cblackburn Owned by: cblackburn
Priority: n.a. Milestone: OMERO-Beta4.2
Component: n.a. Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-03-05 (4)

Description

The number of file listing methods in the API has multiplied several fold as functionality has been added. This is both complex and inefficient. A limited efficient interface is needed

Change History (6)

comment:1 Changed 14 years ago by cblackburn

  • Status changed from new to assigned

comment:2 Changed 14 years ago by cblackburn

(In [6306]) Added listObjects method before removing deprecated methods. Import events logged. See #1994 and #1988

comment:3 Changed 14 years ago by cblackburn

  • Remaining Time changed from 1 to 0.25

comment:4 Changed 14 years ago by cblackburn

r6306 adds listObjects() to the API. For a given directory this returns a dictionary/hashmap:

 { name1 : [Image, Image, ... OriginalFile], #importable (multi-)file image (with associated files)
   name2 : [Image],                          #importable single image
   name3 : [OriginalFile]                    #non-importable file
 }

Objects with ids are registered in the db. name is currently the file name but will be unique, see #1753

comment:5 Changed 14 years ago by cblackburn

(In [6310]) Added listObjects method now returns non-importable files. Some deprecated methods removed. See #1994

comment:6 Changed 14 years ago by cxallan

  • Remaining Time changed from 0.25 to 0
  • Resolution set to fixed
  • Status changed from assigned to closed
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.66735 sec.)

We're Hiring!