To upgrade an application using an earlier version of STK Server to STK Scalability, update any project references to AGI.Paralllel.Client.dll, AGI.Parallel.Infrastructure.dll, or AGI.Parallel.Shared.dll to point to the new versions. Then rebuild the application against the new assemblies.

If you used a preliminary version of the API, here is how to migrate your code to the first official release (v1.0.0):

Class and Property Renames

Old Name

New Name

AGI.Parallel.Client.AppServerClient AGI.Parallel.Client.ClusterJobScheduler
AGI.Parallel.Client.AppServerException AGI.Parallel.Client.JobSchedulerException
AGI.Parallel.Client.IQueryLicense AGI.Parallel.Client.IGetLicenseInfo
AGI.Parallel.Client.Job.MaxInterruptedRetryAttempts AGI.Parallel.Client.Job.MaxTaskInterruptedRetryAttempts
AGI.Parallel.Client.IJobScheduler.GetServerMaximumHostCount AGI.Parallel.Client.IJobScheduler.GetMaximumHostCount
AGI.Parallel.Client.AppServerClient.GetCoordinatorSnapshot AGI.Parallel.Client.ClusterJobScheduler.GetAgentInfo
AGI.Parallel.Infrastructure.Task.UniqueId AGI.Parallel.Infrastructure.Task.Id
AGI.Parallel.Infrastructure.TaskEnvironment.UniqueId AGI.Parallel.Infrastructure.TaskEnvironment.Id
AGI.Parallel.Client.Job.JobId AGI.Parallel.Client.Job.Id
AGI.Parallel.Infrastructure.TaskCancelationReason AGI.Parallel.Infrastructure.TaskCancellationReason
AGI.Parallel.Infrastructure.Task.TaskCancelationMessage AGI.Parallel.Infrastructure.Task.TaskCancellationMessage
AGI.Parallel.Infrastructure.Task.TaskCancellationReason AGI.Parallel.Infrastructure.Task.TaskCancellationReason

Properties that have moved to another class

Old Property

New Property

Comment

AGI.Parallel.Infrastructure.Task.IsExclusive AGI.Parallel.Client.Job.ExclusiveExecution Setting ExclusiveExecution will make all tasks in the job exclusive.
AGI.Parallel.Infrastructure.Task.Timeout AGI.Parallel.Client.Job.TaskExecutionTimeout Setting TaskExecutionTimeout will set the execution timeout of all tasks in the job.
AGI.Parallel.Client.Job.AddDependency AGI.Parallel.Client.Job.AdditionalDependencies Use the AdditionDependencies property and use the methods on the new AssemblyCollection clsas.
AGI.Parallel.Client.Job.ExcludeDependency AGI.Parallel.Client.Job.ExcludedDependencies Use the AdditionDependencies property and use the methods on the new AssemblyCollection clsas.
AGI.Parallel.Client.Job.AddTaskPrecondition AGI.Parallel.Client.Job.TaskPreconditions Use the TaskPreconditions property and use the methods on the new TaskPreconditionCollection clsas.
AGI.Parallel.Client.Job.SetConfigurationFile AGI.Parallel.Infrastructure.TaskEnvironment.SetConfigurationFile Behavior should be the same as previous.

Job Events that have changed

Old event handler

New event handler

AGI.Parallel.Client.JobStatusEventHandler System.EventHandler<JobCompletedEventArgs>
AGI.Parallel.Client.JobSubmittedEventHandler System.EventHandler<JobSubmittedEventArgs>
AGI.Parallel.Client.TaskCompletedEventHandler System.EventHandler<TaskCompletedEventArgs>
AGI.Parallel.Client.TaskStatusChangedEventHandler System.EventHandler<TaskStatusChangedEventArgs>
AGI.Parallel.Client.JobProgressEventHandler System.EventHandler<TaskProgressEventArgs>