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"
User Story #1341 (closed)
Scripting improvements : api, cli, parse
Reported by:
jamoore
Owned by:
jamoore
Priority:
major
Milestone:
5.0.0-rc1
Component:
Scripting
Keywords:
n.a.
Cc:
spli , bpindelski , wmoore , jburel
Story Points:
n.a.
Sprint:
n.a.
Importance:
n.a.
Total Remaining Time:
8.0d
Estimated Remaining Time:
n.a.
Several ideas which may be of general use:
Parsing
on uploadScript or at the very latest after the first use of any script, the JobParams should be cached and saved as an OriginalFile with Format = "JobParam? " (or similar).
submit() should fail if it doesn't provide the necessary inputs. There might need to be both soft & hard requirements.
Script writers should be encouraged to start their script as early as possible with "client = omero.scripts.client(...)" (even before other imports) to make the parsing more robust. Other methods may be needed
CLI
bin/omero scripts run <file> should start up a Processor instance and pass it to the new method ServiceFactory.useProcessor(processorPrx)->InteractiveProcessorPrx . This would simulate a true deployment. See #983
References
Referenced by:
← Requirement (#1856 ): ScriptingImprovements
References:
→ Task (#2184 ): uploadScript should throw an exception where possible
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2356 ): uploadOfficialScripts should overwrite invalid scripts
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2413 ): gateway.saveObject()
(
Owner : wmoore
)
→ Task (#2338 ): bin/omero script upload
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2311 ): bin/omero script list user: Name vv Path
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2412 ): bin/omero script disable
(
Owner : jamoore
)
→ Task (#2309 ): UserScripts should ONLY run on User-Processor
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2152 ): Update existing scripts with new parameter options
(
Owner : wmoore
Remaining Time : 0
)
→ Task (#2283 ): Update HelloWorld script examples
(
Owner : wmoore
)
→ Task (#2153 ): Tests for Figure Export Scripts
(
Owner : wmoore
Remaining Time : 0
)
→ Task (#2003 ): Simplify InteractiveProcessor usage
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#1859 ): Scripts.ice documentation
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2404 ): Scripts should closeSession()
(
Owner : wmoore
Remaining Time : 0
)
→ Task (#1770 ): ScriptingImprovements : pass active group to scripts
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2494 ): Register and launch initialization scripts once
→ Task (#1673 ): Properties file support for scripts rather than hard-coding
(
Owner : jamoore
Remaining Time : 1
)
→ Task (#1999 ): Properly handle script outputs
(
Owner : jamoore
Remaining Time : 0.5
)
→ Task (#965 ): Permit piping stdout|stderr to stdin of scripts
(
Owner : jamoore
Remaining Time : 2
Keywords : scripting, pipe, stdin, stdout, stderr
)
→ Task (#2319 ): Parameters retrieval, defautl value
(
Owner : jamoore
)
→ Task (#2318 ): Parameters retrieval
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2326 ): Parameters auto-filled
(
Owner : wmoore
)
→ Task (#2405 ): Parameter defaults
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2340 ): Param prototype not set
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2285 ): Param loading and performance
(
Owner : jamoore
)
→ Task (#2323 ): Param creation: attributes set incorrectly
(
Owner : jamoore
)
→ Task (#1671 ): Keep open RawFileStore for stdout and stderr of scripts
(
Owner : jamoore
Remaining Time : 1
)
→ Task (#1961 ): Increment details.version from RFS and RPS.close()
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2023 ): Increase client adapter thread pool size
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#1321 ): Improve script params handling
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2002 ): Improve CLI script launch functionality
(
Owner : jamoore
Remaining Time : 0.5
)
→ Task (#2109 ): Existing scripts review
(
Owner : wmoore
)
→ Task (#2316 ): Existing Script: loading parameters problem
(
Owner : jburel
)
→ Task (#2282 ): Delete bad scripts on upload/copy
(
Owner : jamoore
Remaining Time : 0.5
)
→ Task (#1957 ): Correct Job.message and status usage
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2024 ): Cleanup of proxies, oneways, adapters, etc.
(
Owner : jamoore
Remaining Time : 1
)
→ Task (#2352 ): Build and official scripts
→ Task (#2185 ): Bug: processor.py doesn't take ParseJobs into consideration
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2315 ): BUG: useDefault
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2006 ): BUG: list script input fails with internal exception
(
Remaining Time : 0
)
→ Task (#1993 ): BUG: list output param breaks script
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2289 ): BUG: getScripts() NPE
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2313 ): BUG: editScript(file, text)
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2337 ): BUG: bin/omero script replace
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2310 ): BUG: bin/omero script list user
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2312 ): BUG: bin/omero script launch
(
Owner : wmoore
)
→ Task (#2354 ): BUG: User Processor Ice-Connection refused
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2255 ): BUG: Script bool parameter
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#2304 ): BUG: No Processor Available
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#10210 ): Allow specifying map parameters
(
Owner : jamoore
)
→ Task (#1952 ): Add script author info
(
Owner : jamoore
Remaining Time : 0
)
→ Task (#979 ): Add methods for listening to stdout/stderr on Process
(
Owner : jamoore
Remaining Time : 1
)
→ Task (#2177 ): Add callback methods to omero.scripts.client
(
Owner : jamoore
Remaining Time : 0.5
)
→ Task (#2091 ): API, add method
(
Owner : jburel
)
Change History (14)
Description
modified (diff )
Owner
changed from dzmacdonald to jmoore
Description
modified (diff )
Description
modified (diff )
Description
modified (diff )
Sprint
set to 2010-02-19 (3)
Sprint
changed from 2010-02-19 (3) to 2010-03-05 (4)
Sprint
2010-03-05 (4) deleted
Cc
spli bpindelski wmoore jburel added; dzmacdonald removed
Milestone
changed from Unscheduled to 5.0.0-beta2
Resolution
set to fixed
Status
changed from new to closed
Summary
changed from Scripting improvements : api, cli, parse, cluster to Scripting improvements : api, cli, parse
Download in other formats:
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.171429 sec.)
(In [6814]) Various fixes to have scripting running again. See #1341, #2304, #2261, #2253