diff --git a/src/ConductorSharp.Client/ConductorSharp.Client.csproj b/src/ConductorSharp.Client/ConductorSharp.Client.csproj index e36a6b08..fd97aaeb 100644 --- a/src/ConductorSharp.Client/ConductorSharp.Client.csproj +++ b/src/ConductorSharp.Client/ConductorSharp.Client.csproj @@ -6,7 +6,7 @@ Codaxy Codaxy ConductorSharp.Client - 2.4.0 + 2.4.1 Client library for Netflix Conductor, with some additional quality of life features. https://github.com/codaxy/conductor-sharp netflix;conductor diff --git a/src/ConductorSharp.Client/Model/Common/TaskDefinition.cs b/src/ConductorSharp.Client/Model/Common/TaskDefinition.cs index 1fbcaafa..78134158 100644 --- a/src/ConductorSharp.Client/Model/Common/TaskDefinition.cs +++ b/src/ConductorSharp.Client/Model/Common/TaskDefinition.cs @@ -10,10 +10,10 @@ public class TaskDefinition public string OwnerApp { get; set; } = "test@test.local"; [JsonProperty("createTime")] - public long CreateTime { get; set; } + public long? CreateTime { get; set; } [JsonProperty("updateTime")] - public long UpdateTime { get; set; } + public long? UpdateTime { get; set; } [JsonProperty("createdBy")] public string CreatedBy { get; set; } diff --git a/src/ConductorSharp.Client/Model/Common/WorkflowDefinition.cs b/src/ConductorSharp.Client/Model/Common/WorkflowDefinition.cs index 64081597..586d29e6 100644 --- a/src/ConductorSharp.Client/Model/Common/WorkflowDefinition.cs +++ b/src/ConductorSharp.Client/Model/Common/WorkflowDefinition.cs @@ -157,10 +157,10 @@ public JObject InputParameters public string OwnerApp { get; set; } [JsonProperty("createTime")] - public long CreateTime { get; set; } + public long? CreateTime { get; set; } [JsonProperty("updateTime")] - public long UpdateTime { get; set; } + public long? UpdateTime { get; set; } [JsonProperty("createdBy")] public string CreatedBy { get; set; } diff --git a/src/ConductorSharp.Engine/Builders/TaskDefinitionBuilder.cs b/src/ConductorSharp.Engine/Builders/TaskDefinitionBuilder.cs index 132b0ddb..198971ee 100644 --- a/src/ConductorSharp.Engine/Builders/TaskDefinitionBuilder.cs +++ b/src/ConductorSharp.Engine/Builders/TaskDefinitionBuilder.cs @@ -69,6 +69,8 @@ public TaskDefinition Build(Type taskType, Action updateO UpdatedBy = options.UpdatedBy, InputTemplate = options.InputTemplate, ExecutionNameSpace = options.ExecutionNameSpace, + CreateTime = 0, + UpdateTime = 0 }; } diff --git a/src/ConductorSharp.Engine/Builders/WorkflowDefinitionBuilder.cs b/src/ConductorSharp.Engine/Builders/WorkflowDefinitionBuilder.cs index c95bf07b..ae5439ba 100644 --- a/src/ConductorSharp.Engine/Builders/WorkflowDefinitionBuilder.cs +++ b/src/ConductorSharp.Engine/Builders/WorkflowDefinitionBuilder.cs @@ -135,7 +135,9 @@ public WorkflowDefinition Build() OutputParameters = BuildContext.Outputs, OwnerApp = BuildContext.WorkflowOptions.OwnerApp, OwnerEmail = BuildContext.WorkflowOptions.OwnerEmail, - Version = BuildContext.WorkflowOptions.Version + Version = BuildContext.WorkflowOptions.Version, + CreateTime = 0, + UpdateTime = 0 }; } diff --git a/src/ConductorSharp.Engine/ConductorSharp.Engine.csproj b/src/ConductorSharp.Engine/ConductorSharp.Engine.csproj index 693cd6f3..b9f97ac1 100644 --- a/src/ConductorSharp.Engine/ConductorSharp.Engine.csproj +++ b/src/ConductorSharp.Engine/ConductorSharp.Engine.csproj @@ -6,7 +6,7 @@ Codaxy Codaxy ConductorSharp.Engine - 2.4.0 + 2.4.1 Client library for Netflix Conductor, with some additional quality of life features. https://github.com/codaxy/conductor-sharp netflix;conductor diff --git a/src/ConductorSharp.Patterns/ConductorSharp.Patterns.csproj b/src/ConductorSharp.Patterns/ConductorSharp.Patterns.csproj index 6b03c307..83709b08 100644 --- a/src/ConductorSharp.Patterns/ConductorSharp.Patterns.csproj +++ b/src/ConductorSharp.Patterns/ConductorSharp.Patterns.csproj @@ -6,7 +6,7 @@ False Codaxy Codaxy - 2.4.0 + 2.4.1