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

Bug 423038

Summary: [Projects] Deployment with parameters, saving launch configuration
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ClientAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys
Version: 5.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 421855    
Attachments:
Description Flags
Sample deploy plugin none

Description Malgorzata Janczarska CLA 2013-12-03 09:47:33 EST
We should be able to deploy project using parameters and save the configuration in necessary.
Comment 1 Malgorzata Janczarska CLA 2013-12-03 10:31:34 EST
Created attachment 237960 [details]
Sample deploy plugin

I'm attaching an example plugin for deployment. To save the launch configuration one should add toSave field for returned deploy status containing:
* configurationName - the name under which the configuration will be saved
* parameters - the parameters that will be passed next time to the deploy function (and others), they should identify the application deployed. They will be saved in plain text, so no passwords
* 	url - the url under which the application is deployed

To control state of application getState function should be implemented. Based of saved parameters plugin should return an object containing boolean "running" field (some more fields may be attached later)