Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 423062

Summary: [Project] Start/stop deployed application
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ClientAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: antonm, Szymon.Brandys
Version: 5.0   
Target Milestone: 5.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 421855    

Description Malgorzata Janczarska CLA 2013-12-03 11:29:06 EST
For save launchConfiguration we should be able to start and stop it, if plugin/service provides this possibility.
Comment 1 Malgorzata Janczarska CLA 2013-12-06 09:55:58 EST
This is the fix:
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?h=Bug423062&id=2473f347699766f052a7a9e25451c39827264e36
it's in a branch right now, it will be merged when master is opened for M2.
There are two function that should be implemented to start/stop application
* start(props)
* stop(props)
Both should return data in the same format as getState, so
* on success, new application status, for instance {Running: true, Message: "Application started by the user"}
* when extra properties needed, reject with error {Retry: {parameters: [...]}
* on error, reject with Status