public PlatformInvoker(DeploymentPoolArgs args, DeploymentServiceClient deploymentServiceClient, SnapshotServiceClient snapshotServiceClient) { deploymentNamePrefix = args.DeploymentNamePrefix + HumanNamer.GetRandomName(2, "_") + "_"; launchConfigFilePath = args.LaunchConfigFilePath; snapshotFilePath = args.SnapshotFilePath; assemblyName = args.AssemblyName; spatialProject = args.SpatialProject; matchType = args.MatchType; this.deploymentServiceClient = deploymentServiceClient; this.snapshotServiceClient = snapshotServiceClient; }
public DeploymentPool( DeploymentPoolArgs args, DeploymentServiceClient deploymentServiceClient, PlatformInvoker platformInvoker, CancellationToken token) { cancelToken = token; matchType = args.MatchType; spatialProject = args.SpatialProject; minimumReadyDeployments = args.MinimumReadyDeployments; cleanup = args.Cleanup; this.platformInvoker = platformInvoker; this.deploymentServiceClient = deploymentServiceClient; }
public PlatformInvoker(DeploymentPoolArgs args, DeploymentServiceClient deploymentServiceClient, SnapshotServiceClient snapshotServiceClient, IAnalyticsSender analytics = null) { deploymentNamePrefix = args.DeploymentNamePrefix + HumanNamer.GetRandomName(2, "_") + "_"; launchConfigFilePath = args.LaunchConfigFilePath; snapshotFilePath = args.SnapshotFilePath; assemblyName = args.AssemblyName; spatialProject = args.SpatialProject; matchType = args.MatchType; this.deploymentServiceClient = deploymentServiceClient; this.snapshotServiceClient = snapshotServiceClient; _analytics = (analytics ?? new NullAnalyticsSender()).WithEventClass("deployment"); }
public DeploymentPool( DeploymentPoolArgs args, DeploymentServiceClient deploymentServiceClient, PlatformInvoker platformInvoker, CancellationToken token, IAnalyticsSender analytics = null) { cancelToken = token; matchType = args.MatchType; spatialProject = args.SpatialProject; minimumReadyDeployments = args.MinimumReadyDeployments; cleanup = args.Cleanup; this.platformInvoker = platformInvoker; this.deploymentServiceClient = deploymentServiceClient; _analytics = (analytics ?? new NullAnalyticsSender()).WithEventClass("deployment"); }