temporal_sdk_service (temporal_sdk v0.1.18)

View Source

Temporal general services module.

WIP. Module will provide following Temporal services:

  • reset_workflow_execution

  • terminate_workflow_execution

  • delete_workflow_execution

  • scan_workflow_executions

  • count_workflow_executions

  • describe_task_queue

  • get_cluster_info

  • get_system_info

  • list_task_queue_partitions

  • 'UpdateWorkflowExecution'

  • 'PollWorkflowExecutionUpdate'

  • 'UpdateActivityOptions'

  • 'UpdateWorkflowExecutionOptions'

  • 'PauseActivity'

  • 'UnpauseActivity'

  • 'ResetActivity'

  • 'ExecuteMultiOperation'

  • 'CreateWorkflowRule'

  • 'DescribeWorkflowRule'

  • 'DeleteWorkflowRule'

  • 'ListWorkflowRules'

  • 'TriggerWorkflowRule'

Summary

Types

cancel_workflow_opts()

-type cancel_workflow_opts() ::
          [{namespace, unicode:chardata()} |
           {identity, unicode:chardata()} |
           {request_id, unicode:chardata()} |
           {first_execution_run_id, unicode:chardata()} |
           {reason, unicode:chardata()} |
           {raw_request,
            temporal_sdk_proto_service_workflow_binaries:'temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest'()} |
           {response_type, temporal_sdk:response_type()}].

describe_workflow_opts()

get_workflow_history_opts()

-type get_workflow_history_opts() ::
          [{namespace, unicode:chardata()} |
           {maximum_page_size, pos_integer()} |
           {next_page_token, binary()} |
           {wait_new_event, boolean()} |
           {history_event_filter_type,
            temporal_sdk_proto_service_workflow_binaries:'temporal.api.enums.v1.HistoryEventFilterType'()} |
           {raw_request,
            temporal_sdk_proto_service_workflow_binaries:'temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest'()} |
           {response_type, temporal_sdk:response_type()} |
           {grpc_opts, temporal_sdk_client:grpc_opts()}].

get_workflow_history_reverse_opts()

-type get_workflow_history_reverse_opts() ::
          [{namespace, unicode:chardata()} |
           {maximum_page_size, pos_integer()} |
           {next_page_token, binary()} |
           {raw_request,
            temporal_sdk_proto_service_workflow_binaries:'temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest'()} |
           {response_type, temporal_sdk:response_type()} |
           {grpc_opts, temporal_sdk_client:grpc_opts()}].

list_archived_workflows_opts()

-type list_archived_workflows_opts() ::
          [{namespace, unicode:chardata()} |
           {page_size, pos_integer()} |
           {next_page_token, binary()} |
           {query, unicode:chardata()} |
           {raw_request,
            temporal_sdk_proto_service_workflow_binaries:'temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest'()} |
           {response_type, temporal_sdk:response_type()}].

list_closed_workflows_opts()

list_open_workflows_opts()

list_workflows_opts()

-type list_workflows_opts() ::
          [{namespace, unicode:chardata()} |
           {page_size, pos_integer()} |
           {next_page_token, binary()} |
           {query, unicode:chardata()} |
           {raw_request,
            temporal_sdk_proto_service_workflow_binaries:'temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest'()} |
           {response_type, temporal_sdk:response_type()}].

query_workflow_opts()

reset_workflow_opts()

-type reset_workflow_opts() ::
          [{namespace, unicode:chardata()} |
           {reason, unicode:chardata()} |
           {workflow_task_finish_event_id, pos_integer()} |
           {request_id, unicode:chardata()} |
           {reset_reapply_exclude_types,
            temporal_sdk_proto_service_workflow_binaries:'temporal.api.enums.v1.ResetReapplyExcludeType'()} |
           {post_reset_operations, list()} |
           {identity, unicode:chardata()} |
           {raw_request,
            temporal_sdk_proto_service_workflow_binaries:'temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest'()} |
           {response_type, temporal_sdk:response_type()}].

signal_workflow_opts()

update_workflow_opts()

Functions

cancel_workflow(Cluster, WorkflowExecution)

cancel_workflow(Cluster, WorkflowExecution, Opts)

describe_workflow(Cluster, WorkflowExecution)

describe_workflow(Cluster, WorkflowExecution, Opts)

get_workflow_history(Cluster, WorkflowExecution)

get_workflow_history(Cluster, WorkflowExecution, Opts)

get_workflow_history_reverse(Cluster, WorkflowExecution)

get_workflow_history_reverse(Cluster, WorkflowExecution, Opts)

list_archived_workflows(Cluster)

list_archived_workflows(Cluster, Opts)

list_closed_workflows(Cluster)

list_closed_workflows(Cluster, Opts)

list_open_workflows(Cluster)

list_open_workflows(Cluster, Opts)

list_workflows(Cluster)

list_workflows(Cluster, Opts)

query_workflow(Cluster, WorkflowExecution, QueryType)

query_workflow(Cluster, WorkflowExecution, QueryType, Opts)

reset_workflow(Cluster, WorkflowExecution)

reset_workflow(Cluster, WorkflowExecution, Opts)

signal_workflow(Cluster, WorkflowExecution, SignalName)

signal_workflow(Cluster, WorkflowExecution, SignalName, Opts)

update_workflow(Cluster, WorkflowExecution, Name, Opts)