Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Feb 5, 2024
1 parent b13e02b commit 6445484
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Conductor/Api/ITaskResourceApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public interface ITaskResourceApi : IApiAccessor
/// <param name="workerid"> (optional)</param>
/// <returns>string</returns>
string UpdateTask(Dictionary<string, Object> body, string workflowId, string taskRefName, string status, string workerid = null);

/// <summary>
/// Update a task By Ref Name, evaluates the workflow and returns the updated workflow
/// </summary>
Expand All @@ -228,7 +228,7 @@ public interface ITaskResourceApi : IApiAccessor
/// <returns>Workflow</returns>
Workflow UpdateTaskSync(Dictionary<string, Object> output, string workflowId, string taskRefName, TaskResult.StatusEnum status, string workerid = null);


#endregion Synchronous Operations

#region Asynchronous Operations
Expand Down Expand Up @@ -431,7 +431,7 @@ public interface ITaskResourceApi : IApiAccessor
/// <param name="workerid"> (optional)</param>
/// <returns>string</returns>
ThreadTask.Task<string> UpdateTaskAsync(Dictionary<string, Object> body, string workflowId, string taskRefName, string status, string workerid = null);

/// <summary>
/// Update a task By Ref Name, evaluates the workflow and returns the updated workflow
/// </summary>
Expand Down
10 changes: 5 additions & 5 deletions Conductor/Api/IWorkflowResourceApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public interface IWorkflowResourceApi : IApiAccessor
/// <param name="summarize"> (optional, default to false)</param>
/// <returns>Workflow</returns>
Workflow GetExecutionStatus(string workflowId, bool? includeTasks = null, bool? summarize = null);

/// <summary>
/// Gets the workflow by workflow id
/// </summary>
Expand Down Expand Up @@ -397,7 +397,7 @@ public interface IWorkflowResourceApi : IApiAccessor
/// <exception cref="Conductor.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>Object</returns>
Object UploadCompletedWorkflows();

/// <summary>
/// Update a workflow state by updating variables or in progress task Updates the workflow variables, tasks and triggers evaluation.
/// </summary>
Expand All @@ -409,7 +409,7 @@ public interface IWorkflowResourceApi : IApiAccessor
/// <returns>WorkflowRun</returns>
WorkflowRun UpdateWorkflow(string workflowId, WorkflowStateUpdate request,
List<string> waitUntilTaskRefs = null, int? waitForSeconds = null);

#endregion Synchronous Operations

#region Asynchronous Operations
Expand Down Expand Up @@ -472,7 +472,7 @@ WorkflowRun UpdateWorkflow(string workflowId, WorkflowStateUpdate request,
/// <param name="summarize"> (optional, default to false)</param>
/// <returns>Workflow</returns>
ThreadTask.Task<Workflow> GetExecutionStatusAsync(string workflowId, bool? includeTasks = null, bool? summarize = null);

/// <summary>
/// Asynchronous Gets the workflow by workflow id
/// </summary>
Expand Down Expand Up @@ -797,7 +797,7 @@ WorkflowRun UpdateWorkflow(string workflowId, WorkflowStateUpdate request,
/// <exception cref="Conductor.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>Object</returns>
ThreadTask.Task<Object> UploadCompletedWorkflowsAsync();

/// <summary>
/// Update a workflow state by updating variables or in progress task Updates the workflow variables, tasks and triggers evaluation.
/// </summary>
Expand Down
8 changes: 4 additions & 4 deletions Conductor/Api/WorkflowResourceApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public ApiResponse<Workflow> UpdateWorkflowVariablesWithHttpInfo(string workflow
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);

int localVarStatusCode = (int)localVarResponse.StatusCode;

if (ExceptionFactory != null)
Expand All @@ -464,7 +464,7 @@ public Workflow GetExecutionStatus(string workflowId, bool? includeTasks = null,
ApiResponse<Workflow> localVarResponse = GetExecutionStatusWithHttpInfo(workflowId, includeTasks, summarize);
return localVarResponse.Data;
}

/// <summary>
/// Gets the workflow by workflow id
/// </summary>
Expand Down Expand Up @@ -492,7 +492,7 @@ public async ThreadTask.Task<Workflow> GetExecutionStatusAsync(string workflowId
ApiResponse<Workflow> localVarResponse = await ThreadTask.Task.FromResult(GetExecutionStatusWithHttpInfo(workflowId, includeTasks, summarize));
return localVarResponse.Data;
}

/// <summary>
/// Asynchronous Gets the workflow by workflow id
/// </summary>
Expand Down Expand Up @@ -2805,7 +2805,7 @@ public async ThreadTask.Task<WorkflowRun> UpdateWorkflowAsync(string workflowId,
ApiResponse<WorkflowRun> localVarResponse = await ThreadTask.Task.FromResult(UpdateWorkflowWithHttpInfo(workflowId, request, waitUntilTaskRefs, waitForSeconds));
return localVarResponse.Data;
}

/// <summary>
/// Update a workflow state by updating variables or in progress task Updates the workflow variables, tasks and triggers evaluation.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Conductor/Client/Models/StartWorkflowRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ public StartWorkflowRequest(string correlationId = default, string createdBy = d
this.IdempotencyKey = idempotencyKey;
this.IdempotencyStrategy = idempotencyStrategy;
}

[DataMember(Name = "idempotencyStrategy", EmitDefaultValue = true)]
public IdempotencyStrategy IdempotencyStrategy { get; set; }

[DataMember(Name = "idempotencyKey", EmitDefaultValue = false)]
public string IdempotencyKey { get; set; }

/// <summary>
/// Gets or Sets CorrelationId
/// </summary>
Expand Down

0 comments on commit 6445484

Please sign in to comment.