- Drop existing indexes on DeploymentJobTargets and DeploymentJobSteps - Alter Status column to nvarchar(450) in DeploymentJobTargets, DeploymentJobSteps, and DeploymentJobs - Add new columns: Finished, OutputMetadataJson, Started to DeploymentJobTargets; ErrorMessage, Finished, OutputMetadataJson, Started to DeploymentJobSteps; CorrelationId, HeartbeatAt, Priority, RowVersion, ScheduledAt, WorkerName to DeploymentJobs - Create new indexes for improved query performance - Add constraints to ensure OutputMetadataJson is valid JSON - Record migration in __EFMigrationsHistory
23 lines
1.1 KiB
C#
23 lines
1.1 KiB
C#
using Microsoft.SelfService.Portal.Core.API.Dto.Deployment.Get;
|
|
using Microsoft.SelfService.Portal.Core.API.Dto.DeploymentComposition.Get;
|
|
using Microsoft.SelfService.Portal.Core.API.Dto.Template.Get;
|
|
|
|
namespace Microsoft.SelfService.Portal.Core.API.Dto.DeploymentBatch.Get
|
|
{
|
|
public class GetDeploymentBatchDetailsDto : BaseDto
|
|
{
|
|
public Guid? TemplateId { get; set; }
|
|
|
|
public Guid? DeploymentRuleId { get; set; }
|
|
|
|
public string Status { get; set; } = string.Empty;
|
|
|
|
public GetTemplateDetailsDto? Template { get; set; }
|
|
|
|
public ICollection<GetDeploymentDetailsDto> Deployments { get; set; } = new List<GetDeploymentDetailsDto>();
|
|
public ICollection<GetDeploymentTemplateSelectionDto> TemplateSelections { get; set; } = new List<GetDeploymentTemplateSelectionDto>();
|
|
public ICollection<GetDeploymentParameterValueDto> ParameterValues { get; set; } = new List<GetDeploymentParameterValueDto>();
|
|
public ICollection<GetDeploymentTargetAssignmentDto> TargetAssignments { get; set; } = new List<GetDeploymentTargetAssignmentDto>();
|
|
}
|
|
}
|