Beispiel #1
0
        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);
        }
Beispiel #2
0
 /** <inheritDoc /> */
 public void Deploy(ServiceConfiguration configuration)
 {
     _services.Deploy(configuration);
     WaitResult();
 }