Changeset 7421
- Timestamp:
- 01/27/12 14:33:29 (13 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Azure/Constants.cs
r7402 r7421 73 73 public const string URISpecificDeploymentConfigurationFormat = "https://management.core.windows.net/{0}/services/hostedservices/{1}/deployments/{2}/?comp=config"; 74 74 public const string URIChangeDeploymentStatusFormat = "https://management.core.windows.net/{0}/services/hostedservices/{1}/deployments/{2}/?comp=status"; 75 public const string URIGetOperationStatusFormat = "https://management.core.windows.net/{0}/operations/{1}"; 75 76 76 77 #endregion -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Azure/ServiceManagementOperation.cs
r7402 r7421 232 232 } 233 233 234 public static string GetOperationStatus(string subscriptionId, string thumbprint, string requestId) { 235 string uri = string.Format(Constants.URIGetOperationStatusFormat, subscriptionId, requestId); 236 ServiceWebRequest operation = new ServiceWebRequest(thumbprint); 237 XDocument operationStatus = operation.Invoke(uri); 238 string status = operationStatus.Element(wa + "Operation").Element(wa + "Status").Value; 239 return status; 240 } 241 234 242 #endregion 235 243 -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Views/AddAzureServiceDialog.cs
r7387 r7421 183 183 } 184 184 185 properties.AffinityGroup = ((AffinityGroup)cmbAffinityGroup.SelectedItem).Name; 185 if (cmbAffinityGroup.SelectedItem != null) { 186 properties.AffinityGroup = ((AffinityGroup)cmbAffinityGroup.SelectedItem).Name; 187 } 186 188 properties.Label = tbLabel.Text; 187 189 properties.Location = (string)cmbLocation.SelectedItem;
Note: See TracChangeset
for help on using the changeset viewer.