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

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

Implement 'usermode' processor to allow testing scripts locally

Reported by: jamoore Owned by: jamoore
Priority: major Milestone: OMERO-Beta4.2
Component: Scripting Version: 4.1
Keywords: n.a. Cc: wmoore, jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-02-19 (3)

Description (last modified by jmoore)

A user should be able to tell the server (session?) to use a given processor for handling a non-admin script.

Options:

  • Use the original file UUID for locating acceptable files (NOT CHOSEN)
    • Pros: doesn't fill up the ofile table
    • Cons: bit hackish, doesn't allow launching from elsewhere
  • Upload the original file to omero.data.dir (CHOSEN)
    • Pros: very controlled
    • Cons: possibly creates a lot of noise
    • Note: may also eventually with OmeroRepositories?
  • Add a method SharedResources.useProcessor(processorPrx, job) (NOT CHOSEN)
    • Pros: Easy for testing from command-line
    • Cons: doesn't solve the issue of wanting to launch from Insight
    • Note: chose SharedResources.addProcessor. Works from Insight.

Change History (12)

comment:1 Changed 14 years ago by jmoore

  • Component changed from General to Scripting
  • Owner changed from jmoore to dzmacdonald

comment:2 Changed 14 years ago by jmoore

  • Owner changed from dzmacdonald to jmoore

comment:3 Changed 14 years ago by jmoore

  • Cc jburel added
  • Description modified (diff)

comment:4 Changed 14 years ago by jmoore

  • Sprint set to Sprint 2
  • Type changed from User Story to Task

comment:5 Changed 14 years ago by jmoore

  • Status changed from new to assigned

comment:6 Changed 14 years ago by jmoore

  • Remaining Time set to 8

comment:7 Changed 14 years ago by jmoore

  • Remaining Time changed from 8 to 2

comment:8 Changed 14 years ago by jmoore

comment:9 Changed 14 years ago by jmoore

Demo prepared for March 4th:

The current status of the usermode processor is that a user-based workflow of code-server-launch-recode is quite nice. Limitations which are other tasks in thie

  • group-selection needs to be handled (#1770)
  • better parameter handling (#1321)
  • better stdout /stderr handling when script dies (#979)
  • not tested under Windows

comment:10 Changed 14 years ago by jmoore

  • Description modified (diff)
  • Remaining Time changed from 2 to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

comment:11 Changed 14 years ago by jmoore

(In [6340]) see #1672 - Minor corrections for usermode processing.

comment:12 Changed 14 years ago by jmoore

(In [6836]) Refactoring usermode_processor method out of plugin. See #1672

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

We're Hiring!