private static void DeploySegmentRetirementQueueService() { Log.LogInformation("Obtaining proxy for segment retirement queue service"); var segmentRetirementProxyMutable = new SegmentRetirementQueueServiceProxyMutable(); try { Log.LogInformation("Deploying segment retirement queue service to the mutable grid"); segmentRetirementProxyMutable.Deploy(); } catch (Exception e) { Log.LogError(e, "Exception occurred deploying service:"); } Log.LogInformation("Completed service deployment for mutable segment retirement queue service"); }
public string DeployMutableSegmentRetirementService() { Log.LogInformation("Obtaining proxy for mutable segment retirement service"); try { var proxy = new SegmentRetirementQueueServiceProxyMutable(); Log.LogInformation("Deploying mutable segment retirement service"); proxy.Deploy(); } catch (Exception e) { Log.LogError(e, "Exception occurred deploying service:"); return($"Exception occurred deploying service: {e}"); } Log.LogInformation("Completed service deployment for mutable segment retirement service"); return("Completed service deployment for mutable segment retirement service"); }