Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
330 changes: 169 additions & 161 deletions go/proto/admin/v1/queue.pb.yarpc.go

Large diffs are not rendered by default.

330 changes: 169 additions & 161 deletions go/proto/admin/v1/service.pb.yarpc.go

Large diffs are not rendered by default.

330 changes: 169 additions & 161 deletions go/proto/api/v1/decision.pb.yarpc.go

Large diffs are not rendered by default.

330 changes: 169 additions & 161 deletions go/proto/api/v1/history.pb.yarpc.go

Large diffs are not rendered by default.

330 changes: 169 additions & 161 deletions go/proto/api/v1/query.pb.yarpc.go

Large diffs are not rendered by default.

330 changes: 169 additions & 161 deletions go/proto/api/v1/service_visibility.pb.yarpc.go

Large diffs are not rendered by default.

330 changes: 169 additions & 161 deletions go/proto/api/v1/service_worker.pb.yarpc.go

Large diffs are not rendered by default.

330 changes: 169 additions & 161 deletions go/proto/api/v1/service_workflow.pb.yarpc.go

Large diffs are not rendered by default.

330 changes: 169 additions & 161 deletions go/proto/api/v1/visibility.pb.yarpc.go

Large diffs are not rendered by default.

547 changes: 377 additions & 170 deletions go/proto/api/v1/workflow.pb.go

Large diffs are not rendered by default.

330 changes: 169 additions & 161 deletions go/proto/api/v1/workflow.pb.yarpc.go

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions proto/uber/cadence/api/v1/workflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ message WorkflowExecutionInfo {
map<string, string> partition_config = 15;
CronOverlapPolicy cron_overlap_policy = 16;
ActiveClusterSelectionPolicy active_cluster_selection_policy = 18;
string cron_schedule = 19;
WorkflowExecutionStatus execution_status = 20;
google.protobuf.Timestamp scheduled_execution_time = 21;
}

message WorkflowExecutionConfiguration {
Expand Down Expand Up @@ -185,6 +188,18 @@ enum WorkflowExecutionCloseStatus {
WORKFLOW_EXECUTION_CLOSE_STATUS_TIMED_OUT = 6;
}

enum WorkflowExecutionStatus {
WORKFLOW_EXECUTION_STATUS_INVALID = 0;
WORKFLOW_EXECUTION_STATUS_PENDING = 1;
WORKFLOW_EXECUTION_STATUS_STARTED = 2;
WORKFLOW_EXECUTION_STATUS_COMPLETED = 3;
WORKFLOW_EXECUTION_STATUS_FAILED = 4;
WORKFLOW_EXECUTION_STATUS_CANCELED = 5;
WORKFLOW_EXECUTION_STATUS_TERMINATED = 6;
WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW = 7;
WORKFLOW_EXECUTION_STATUS_TIMED_OUT = 8;
}

enum ContinueAsNewInitiator {
CONTINUE_AS_NEW_INITIATOR_INVALID = 0;
CONTINUE_AS_NEW_INITIATOR_DECIDER = 1;
Expand Down
14 changes: 14 additions & 0 deletions thrift/shared.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,17 @@ enum WorkflowExecutionCloseStatus {
TIMED_OUT,
}

enum WorkflowExecutionStatus {
PENDING,
STARTED,
COMPLETED,
FAILED,
CANCELED,
TERMINATED,
CONTINUED_AS_NEW,
TIMED_OUT,
}

enum QueryTaskCompletedType {
COMPLETED,
FAILED,
Expand Down Expand Up @@ -422,6 +433,9 @@ struct WorkflowExecutionInfo {
150: optional map<string, string> partitionConfig
160: optional CronOverlapPolicy cronOverlapPolicy
170: optional ActiveClusterSelectionPolicy activeClusterSelectionPolicy
180: optional string cronSchedule
190: optional WorkflowExecutionStatus executionStatus
200: optional i64 (js.type = "Long") scheduledExecutionTime
}

struct WorkflowExecutionConfiguration {
Expand Down