Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/19/12 17:45:21 (13 years ago)
Author:
spimming
Message:

#1680:

  • Methods to create a deployment added
  • Download blob block from public blob container
  • Constants for deployment and storage api version added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Views/AddAzureServiceDialog.cs

    r7366 r7374  
    33using System.ComponentModel;
    44using System.Windows.Forms;
     5using HeuristicLab.Clients.Hive.CloudManager.Azure;
    56using HeuristicLab.Clients.Hive.CloudManager.Model;
    67using HeuristicLab.Core;
     
    4142        SetGroupBoxControlsEnabled(gbNewHostedService, cbNewHostedService.Checked);
    4243      }
     44
     45      certificateFile = string.Empty;
     46      certificatePassword = string.Empty;
    4347
    4448      workerUpdate = new BackgroundWorker();
     
    224228      int instanceCount = parameters.Item7;
    225229
    226       //STEP 1 - Create Hosted Service
     230      // STEP 1 - Create Hosted Service
    227231      if (newHostedServiceChecked) {
    228232        if (regionChecked) {
     
    232236        }
    233237      }
     238
     239      // STEP 2 - Add Certificate
     240      if (certFile != string.Empty) {
     241        CloudManagerClient.Instance.AzureProvider.AddCertificate(sub, hostedService, certFile, certPw);
     242      }
     243
     244      // STEP 3 - Create Deployment
     245      CloudManagerClient.Instance.AzureProvider.CreateDeployment(sub, hostedService.ServiceName, Guid.NewGuid().ToString(), Constants.DeploymentSlotStaging, Constants.DeploymentPackageUrl, Constants.DeploymentConfigurationUrl, Constants.DeploymentLabel, instanceCount);
    234246
    235247    }
Note: See TracChangeset for help on using the changeset viewer.