Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/11/10 16:47:12 (14 years ago)
Author:
gkronber
Message:

Prepared deployment service proxy classes for migration of deployment server to a production environment. #989

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/EditProductsView.cs

    r3721 r3771  
    139139      try {
    140140        foreach (var product in products) {
    141           adminClient.DeployProduct(product);
     141          // only upload necessary data (product name and version, and for each plugin only plugin name and version)
     142          var lightWeightProduct = new DeploymentService.ProductDescription(product.Name, product.Version);
     143          lightWeightProduct.Plugins = (from plugin in product.Plugins
     144                                        select new DeploymentService.PluginDescription(plugin.Name, plugin.Version)).ToArray();
     145          adminClient.DeployProduct(lightWeightProduct);
    142146        }
    143147        adminClient.Close();
Note: See TracChangeset for help on using the changeset viewer.