public void Deploy() { // Attempt to cancel any previously deployed service services.Cancel(ServiceName); services.Deploy(new ServiceConfiguration() { Name = ServiceName, Service = new SurveyedSurfaceService(StorageMutability.Immutable), TotalCount = 1, MaxPerNodeCount = 1, NodeFilter = new PSNodeRoleBasedNodeFilter() }); proxy = services.GetServiceProxy <ISurveyedSurfaceService>(ServiceName); }
/** <inheritDoc /> */ public void Deploy(ServiceConfiguration configuration) { _services.Deploy(configuration); WaitResult(); }