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 #6223 (closed)

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

Add semi-definable templates to OMERO.server configuration

Reported by: cblackburn Owned by: cblackburn
Priority: major Milestone: OMERO-4.4
Component: Bin-Services Version: n.a.
Keywords: n.a. Cc: cxallan, jburel, jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-11-29 (3)

Description (last modified by cxallan)

This means extension of omero.properties, additions to bin/omero config and Spring injection of the resultant value.

Initial strategy is to always have a forced user driven approach followed by a small set of supported tokens:

  • Year
  • Month
  • Day
  • OriginalFile.Id

So as outlined in #909, we would have something to the affect of:

...
/OMERO/Repository/chris/2011/07/12/26/PlateQQ001_Metadata.xml
/OMERO/Repository/chris/2011/07/12/26/Well001/Image_A1_field001_channel001.tif
/OMERO/Repository/chris/2011/07/12/26/Well001/Image_A1_field001_channel002.tif
/OMERO/Repository/chris/2011/07/12/26/Well002/Image_A2_field001_channel001.tif
/OMERO/Repository/chris/2011/07/12/26/Well002/Image_A2_field001_channel002.tif
...

Where the template would be, for example: <year>/<month>/<day>/<OriginalFile.Id> with <username> force prefixed.

Change History (19)

comment:1 Changed 13 years ago by cxallan

  • Remaining Time set to 2.0

comment:2 Changed 13 years ago by cxallan

  • Owner jmoore deleted

comment:3 Changed 13 years ago by cxallan

  • Owner set to cxallan

comment:4 Changed 13 years ago by cxallan

  • Description modified (diff)
  • Summary changed from Add definable templates to RawPixelsStore and import to Add definable templates to OMERO.server configuration

comment:5 Changed 13 years ago by cblackburn

  • Owner changed from cxallan to cblackburn
  • Status changed from new to accepted

comment:6 Changed 13 years ago by cblackburn

The first part of this is to modify OriginalFileService? to provide a template-based path location for the destination.

comment:7 Changed 13 years ago by cblackburn

  • Owner changed from cblackburn to cxallan
  • Sprint set to 2011-08-18 (3)

Work pushed to team/feature/909-Proposal2 now uses a template to build destination paths though the template is currently hard-coded rather than from omero.properties

comment:8 Changed 13 years ago by cxallan

  • Sprint 2011-08-18 (3) deleted

comment:9 Changed 13 years ago by jburel

Referencing ticket #909 has changed sprint.

comment:10 Changed 13 years ago by jburel

  • Milestone changed from OMERO-Beta4.3.2 to OME-5.0

comment:11 Changed 12 years ago by cxallan

  • Cc cxallan jburel added
  • Description modified (diff)
  • Owner changed from cxallan to cblackburn
  • Sprint set to 2011-11-29 (3)
  • Summary changed from Add definable templates to OMERO.server configuration to Add semi-definable templates to OMERO.server configuration

comment:12 Changed 12 years ago by cxallan

  • Description modified (diff)

comment:13 Changed 12 years ago by cblackburn

Extended omero.properties, injected and used the resultant value. No changes made to bin/omero config but it seems to handle changes to the template. Changes pushed to github.

comment:14 Changed 12 years ago by cblackburn

  • Remaining Time changed from 2.0 to 1

comment:15 Changed 12 years ago by cblackburn

  • Owner cblackburn deleted
  • Status changed from accepted to new

comment:16 Changed 12 years ago by cxallan

Following from the work on Colin's fslite-stage2 branch, the following needs to be done to secure this functionality:

Last edited 12 years ago by cxallan (previous) (diff)

comment:17 Changed 12 years ago by cblackburn

  • Owner set to cblackburn
  • Status changed from new to accepted

comment:18 Changed 12 years ago by cblackburn

  • Cc jmoore added
  • Remaining Time changed from 1 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

Above functionality added. However, the work further exploits the PublicRepository? so this might be a time to refactor and create a "managed repository". (Closing the ticket for now.)

comment:19 Changed 12 years ago by Chris Allan <callan@…>

(In [499960c1576acc6b1d52846157226541f9c9e77a/ome.git] on branch develop) Added import path template to properties, see #6223

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.72522 sec.)

We're Hiring!