| Summary: | [Projects] Deployment with parameters, saving launch configuration | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Malgorzata Janczarska <malgorzata.tomczyk> | ||||
| Component: | Client | Assignee: | 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
Malgorzata Janczarska
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)
|