| Summary: | We should be able to plugin external launchConfiguration registry | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Malgorzata Janczarska <malgorzata.tomczyk> |
| Component: | Deployment | Assignee: | Malgorzata Janczarska <malgorzata.tomczyk> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Szymon.Brandys |
| Version: | 6.0 | ||
| Target Milestone: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Malgorzata Janczarska
Work in progress pushed to branch Bug443802. To return the list of launch configurations you should add this function to the deploy plugin: getLaunchConfigurations: function(project){ return [{conf1}, {conf2}]; } Returning the list of objects in the same format as local launchConfiguration. Pushed another change: 1. getLaunchConfigurations should now return a list of object in identical format as the ToSave param 2. if deploy method saved the launch configuration in its local registry you should return Saved param instead ToSave (same format) API request change:
getLaunchConfigurations: function(project, existingLaunchConfigurations){
return [{conf1}, {conf2}];
}
This method will also get a list of existing launchConfigurations and return merged list. Methods will be called chained.
>getLaunchConfigurations: function(project, existingLaunchConfigurations){
> return [{conf1}, {conf2}];
> }
This change is done.
|