Task #1672 (closed)
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
- r6181 : ticket:1672 - Adding processor registration for usermode
- r6186 : ticket:1672 - Improved script plugin plus tests
- r6189 : ticket:1672 - Adding ProcessorAcceptsCallback? and servant setProxy
- r6192 : ticket:1672 - usermode improvements, including launch and other OmeroCli …
- r6194 : ticket:1672 - usermode processor improvements and refactorings
- r6195 : ticket:1672 - Refactoring Details for invocation-based group context
- r6196 : ticket:1672 - Various SharedResources?? improvements and refactorings
- r6198 : ticket:1672 - Refactoring for AcceptCallback? filtering
- r6199 : ticket:1672 - usermode processor improvements and refactorings (replace)
comment:9 Changed 14 years ago by jmoore
Demo prepared for March 4th:
- http://users.openmicroscopy.org.uk/~jmoore/OmeroScriptsUserMode.mov
- http://hudson.openmicroscopy.org.uk/job/OMERO-sprint/1966/
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
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
comment:12 Changed 14 years ago by jmoore
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.