temporalio 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +175 -4
- data/bridge/Cargo.lock +44 -21
- data/bridge/Cargo.toml +1 -0
- data/bridge/sdk-core/Cargo.toml +1 -1
- data/bridge/sdk-core/README.md +1 -4
- data/bridge/sdk-core/client/Cargo.toml +1 -1
- data/bridge/sdk-core/client/src/lib.rs +12 -20
- data/bridge/sdk-core/client/src/raw.rs +9 -8
- data/bridge/sdk-core/client/src/retry.rs +100 -23
- data/bridge/sdk-core/core/Cargo.toml +7 -7
- data/bridge/sdk-core/core/benches/workflow_replay.rs +13 -10
- data/bridge/sdk-core/core/src/abstractions.rs +22 -22
- data/bridge/sdk-core/core/src/core_tests/activity_tasks.rs +146 -43
- data/bridge/sdk-core/core/src/core_tests/local_activities.rs +419 -9
- data/bridge/sdk-core/core/src/core_tests/queries.rs +247 -89
- data/bridge/sdk-core/core/src/core_tests/workers.rs +2 -2
- data/bridge/sdk-core/core/src/core_tests/workflow_cancels.rs +1 -1
- data/bridge/sdk-core/core/src/core_tests/workflow_tasks.rs +47 -27
- data/bridge/sdk-core/core/src/lib.rs +139 -32
- data/bridge/sdk-core/core/src/protosext/mod.rs +1 -1
- data/bridge/sdk-core/core/src/replay/mod.rs +185 -41
- data/bridge/sdk-core/core/src/telemetry/log_export.rs +190 -0
- data/bridge/sdk-core/core/src/telemetry/metrics.rs +184 -139
- data/bridge/sdk-core/core/src/telemetry/mod.rs +310 -315
- data/bridge/sdk-core/core/src/telemetry/prometheus_server.rs +4 -3
- data/bridge/sdk-core/core/src/test_help/mod.rs +23 -9
- data/bridge/sdk-core/core/src/worker/activities/local_activities.rs +12 -6
- data/bridge/sdk-core/core/src/worker/activities.rs +40 -23
- data/bridge/sdk-core/core/src/worker/client/mocks.rs +1 -1
- data/bridge/sdk-core/core/src/worker/client.rs +30 -4
- data/bridge/sdk-core/core/src/worker/mod.rs +23 -19
- data/bridge/sdk-core/core/src/worker/workflow/driven_workflow.rs +10 -19
- data/bridge/sdk-core/core/src/worker/workflow/history_update.rs +99 -25
- data/bridge/sdk-core/core/src/worker/workflow/machines/activity_state_machine.rs +1 -5
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_external_state_machine.rs +1 -5
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_workflow_state_machine.rs +1 -5
- data/bridge/sdk-core/core/src/worker/workflow/machines/child_workflow_state_machine.rs +3 -5
- data/bridge/sdk-core/core/src/worker/workflow/machines/complete_workflow_state_machine.rs +1 -5
- data/bridge/sdk-core/core/src/worker/workflow/machines/continue_as_new_workflow_state_machine.rs +2 -6
- data/bridge/sdk-core/core/src/worker/workflow/machines/fail_workflow_state_machine.rs +1 -5
- data/bridge/sdk-core/core/src/worker/workflow/machines/local_activity_state_machine.rs +24 -22
- data/bridge/sdk-core/core/src/worker/workflow/machines/mod.rs +12 -38
- data/bridge/sdk-core/core/src/worker/workflow/machines/modify_workflow_properties_state_machine.rs +178 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/patch_state_machine.rs +1 -5
- data/bridge/sdk-core/core/src/worker/workflow/machines/signal_external_state_machine.rs +1 -5
- data/bridge/sdk-core/core/src/worker/workflow/machines/timer_state_machine.rs +1 -5
- data/bridge/sdk-core/core/src/worker/workflow/machines/transition_coverage.rs +8 -2
- data/bridge/sdk-core/core/src/worker/workflow/machines/upsert_search_attributes_state_machine.rs +1 -5
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines/local_acts.rs +1 -1
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines.rs +233 -217
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_task_state_machine.rs +1 -6
- data/bridge/sdk-core/core/src/worker/workflow/managed_run/managed_wf_test.rs +4 -4
- data/bridge/sdk-core/core/src/worker/workflow/managed_run.rs +13 -5
- data/bridge/sdk-core/core/src/worker/workflow/mod.rs +86 -29
- data/bridge/sdk-core/core/src/worker/workflow/wft_poller.rs +2 -2
- data/bridge/sdk-core/core/src/worker/workflow/workflow_stream.rs +56 -11
- data/bridge/sdk-core/core-api/Cargo.toml +4 -3
- data/bridge/sdk-core/core-api/src/lib.rs +1 -43
- data/bridge/sdk-core/core-api/src/telemetry.rs +147 -0
- data/bridge/sdk-core/core-api/src/worker.rs +13 -0
- data/bridge/sdk-core/etc/deps.svg +115 -140
- data/bridge/sdk-core/etc/regen-depgraph.sh +5 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/no_handle_conversions_require_into_fail.stderr +1 -1
- data/bridge/sdk-core/histories/evict_while_la_running_no_interference-23_history.bin +0 -0
- data/bridge/sdk-core/histories/evict_while_la_running_no_interference-85_history.bin +0 -0
- data/bridge/sdk-core/protos/api_upstream/buf.yaml +0 -3
- data/bridge/sdk-core/protos/api_upstream/build/go.mod +7 -0
- data/bridge/sdk-core/protos/api_upstream/build/go.sum +5 -0
- data/bridge/sdk-core/protos/api_upstream/{temporal/api/update/v1/message.proto → build/tools.go} +6 -23
- data/bridge/sdk-core/protos/api_upstream/go.mod +6 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/batch/v1/message.proto +12 -9
- data/bridge/sdk-core/protos/api_upstream/temporal/api/command/v1/message.proto +20 -19
- data/bridge/sdk-core/protos/api_upstream/temporal/api/common/v1/message.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/batch_operation.proto +3 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/command_type.proto +4 -4
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/common.proto +3 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/event_type.proto +5 -3
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/failed_cause.proto +23 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/{cluster.proto → interaction_type.proto} +10 -11
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/namespace.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/query.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/reset.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/schedule.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/task_queue.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/update.proto +2 -13
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/workflow.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/errordetails/v1/message.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/failure/v1/message.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/filter/v1/message.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/history/v1/message.proto +26 -19
- data/bridge/sdk-core/protos/api_upstream/temporal/api/interaction/v1/message.proto +87 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/namespace/v1/message.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/request_response.proto +21 -61
- data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/service.proto +2 -21
- data/bridge/sdk-core/protos/api_upstream/temporal/api/query/v1/message.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/replication/v1/message.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/schedule/v1/message.proto +110 -31
- data/bridge/sdk-core/protos/api_upstream/temporal/api/taskqueue/v1/message.proto +4 -4
- data/bridge/sdk-core/protos/api_upstream/temporal/api/version/v1/message.proto +2 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflow/v1/message.proto +3 -2
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/request_response.proto +60 -16
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/service.proto +17 -3
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_activation/workflow_activation.proto +2 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_commands/workflow_commands.proto +8 -1
- data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/request_response.proto +2 -2
- data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/service.proto +2 -2
- data/bridge/sdk-core/sdk/Cargo.toml +2 -2
- data/bridge/sdk-core/sdk/src/interceptors.rs +36 -3
- data/bridge/sdk-core/sdk/src/lib.rs +7 -5
- data/bridge/sdk-core/sdk/src/workflow_context.rs +13 -2
- data/bridge/sdk-core/sdk/src/workflow_future.rs +3 -7
- data/bridge/sdk-core/sdk-core-protos/Cargo.toml +1 -1
- data/bridge/sdk-core/sdk-core-protos/build.rs +0 -1
- data/bridge/sdk-core/sdk-core-protos/src/history_builder.rs +65 -18
- data/bridge/sdk-core/sdk-core-protos/src/history_info.rs +22 -22
- data/bridge/sdk-core/sdk-core-protos/src/lib.rs +104 -44
- data/bridge/sdk-core/test-utils/Cargo.toml +2 -1
- data/bridge/sdk-core/test-utils/src/lib.rs +81 -29
- data/bridge/sdk-core/tests/integ_tests/heartbeat_tests.rs +5 -2
- data/bridge/sdk-core/tests/integ_tests/metrics_tests.rs +37 -0
- data/bridge/sdk-core/tests/integ_tests/polling_tests.rs +0 -13
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/local_activities.rs +167 -13
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/modify_wf_properties.rs +53 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/replay.rs +106 -20
- data/bridge/sdk-core/tests/integ_tests/workflow_tests.rs +18 -8
- data/bridge/sdk-core/tests/main.rs +6 -4
- data/bridge/src/connection.rs +81 -62
- data/bridge/src/lib.rs +92 -33
- data/bridge/src/runtime.rs +9 -2
- data/bridge/src/worker.rs +53 -2
- data/lib/bridge.so +0 -0
- data/lib/gen/temporal/api/batch/v1/message_pb.rb +8 -6
- data/lib/gen/temporal/api/command/v1/message_pb.rb +17 -9
- data/lib/gen/temporal/api/common/v1/message_pb.rb +1 -1
- data/lib/gen/temporal/api/enums/v1/batch_operation_pb.rb +2 -1
- data/lib/gen/temporal/api/enums/v1/command_type_pb.rb +3 -1
- data/lib/gen/temporal/api/enums/v1/common_pb.rb +2 -1
- data/lib/gen/temporal/api/enums/v1/event_type_pb.rb +3 -2
- data/lib/gen/temporal/api/enums/v1/failed_cause_pb.rb +7 -1
- data/lib/gen/temporal/api/enums/v1/interaction_type_pb.rb +25 -0
- data/lib/gen/temporal/api/enums/v1/namespace_pb.rb +1 -1
- data/lib/gen/temporal/api/enums/v1/query_pb.rb +1 -1
- data/lib/gen/temporal/api/enums/v1/reset_pb.rb +1 -1
- data/lib/gen/temporal/api/enums/v1/schedule_pb.rb +1 -1
- data/lib/gen/temporal/api/enums/v1/task_queue_pb.rb +1 -1
- data/lib/gen/temporal/api/enums/v1/update_pb.rb +1 -6
- data/lib/gen/temporal/api/enums/v1/workflow_pb.rb +1 -1
- data/lib/gen/temporal/api/errordetails/v1/message_pb.rb +1 -1
- data/lib/gen/temporal/api/failure/v1/message_pb.rb +1 -1
- data/lib/gen/temporal/api/filter/v1/message_pb.rb +1 -1
- data/lib/gen/temporal/api/history/v1/message_pb.rb +19 -18
- data/lib/gen/temporal/api/interaction/v1/message_pb.rb +49 -0
- data/lib/gen/temporal/api/namespace/v1/message_pb.rb +1 -1
- data/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb +11 -51
- data/lib/gen/temporal/api/operatorservice/v1/service_pb.rb +1 -1
- data/lib/gen/temporal/api/query/v1/message_pb.rb +1 -1
- data/lib/gen/temporal/api/replication/v1/message_pb.rb +1 -1
- data/lib/gen/temporal/api/schedule/v1/message_pb.rb +22 -1
- data/lib/gen/temporal/api/taskqueue/v1/message_pb.rb +2 -2
- data/lib/gen/temporal/api/version/v1/message_pb.rb +1 -1
- data/lib/gen/temporal/api/workflow/v1/message_pb.rb +2 -1
- data/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +27 -10
- data/lib/gen/temporal/api/workflowservice/v1/service_pb.rb +1 -1
- data/lib/gen/temporal/sdk/core/workflow_activation/workflow_activation_pb.rb +1 -0
- data/lib/gen/temporal/sdk/core/workflow_commands/workflow_commands_pb.rb +5 -1
- data/lib/temporalio/activity/context.rb +97 -0
- data/lib/temporalio/activity/info.rb +67 -0
- data/lib/temporalio/activity.rb +85 -0
- data/lib/temporalio/bridge/error.rb +8 -0
- data/lib/temporalio/bridge.rb +14 -0
- data/lib/{temporal → temporalio}/client/implementation.rb +49 -48
- data/lib/{temporal → temporalio}/client/workflow_handle.rb +35 -35
- data/lib/{temporal → temporalio}/client.rb +19 -32
- data/lib/{temporal → temporalio}/connection.rb +238 -223
- data/lib/{temporal → temporalio}/data_converter.rb +76 -35
- data/lib/{temporal → temporalio}/error/failure.rb +6 -6
- data/lib/{temporal → temporalio}/error/workflow_failure.rb +4 -2
- data/lib/{temporal → temporalio}/errors.rb +19 -1
- data/lib/{temporal → temporalio}/failure_converter/base.rb +5 -5
- data/lib/{temporal → temporalio}/failure_converter/basic.rb +58 -52
- data/lib/temporalio/failure_converter.rb +7 -0
- data/lib/{temporal → temporalio}/interceptor/chain.rb +2 -1
- data/lib/{temporal → temporalio}/interceptor/client.rb +22 -1
- data/lib/{temporal → temporalio}/payload_codec/base.rb +5 -5
- data/lib/{temporal → temporalio}/payload_converter/base.rb +3 -3
- data/lib/{temporal → temporalio}/payload_converter/bytes.rb +4 -3
- data/lib/{temporal → temporalio}/payload_converter/composite.rb +7 -5
- data/lib/{temporal → temporalio}/payload_converter/encoding_base.rb +4 -4
- data/lib/{temporal → temporalio}/payload_converter/json.rb +4 -3
- data/lib/{temporal → temporalio}/payload_converter/nil.rb +4 -3
- data/lib/temporalio/payload_converter.rb +14 -0
- data/lib/{temporal → temporalio}/retry_policy.rb +4 -4
- data/lib/{temporal → temporalio}/retry_state.rb +1 -1
- data/lib/temporalio/runtime.rb +25 -0
- data/lib/{temporal → temporalio}/timeout_type.rb +2 -2
- data/lib/temporalio/version.rb +3 -0
- data/lib/temporalio/worker/activity_runner.rb +92 -0
- data/lib/temporalio/worker/activity_worker.rb +138 -0
- data/lib/temporalio/worker/reactor.rb +46 -0
- data/lib/temporalio/worker/runner.rb +63 -0
- data/lib/temporalio/worker/sync_worker.rb +88 -0
- data/lib/temporalio/worker/thread_pool_executor.rb +51 -0
- data/lib/temporalio/worker.rb +198 -0
- data/lib/{temporal → temporalio}/workflow/execution_info.rb +4 -4
- data/lib/{temporal → temporalio}/workflow/execution_status.rb +1 -1
- data/lib/{temporal → temporalio}/workflow/id_reuse_policy.rb +6 -6
- data/lib/{temporal → temporalio}/workflow/query_reject_condition.rb +5 -5
- data/lib/temporalio.rb +12 -3
- data/temporalio.gemspec +7 -3
- metadata +79 -56
- data/bridge/sdk-core/bridge-ffi/Cargo.toml +0 -24
- data/bridge/sdk-core/bridge-ffi/LICENSE.txt +0 -23
- data/bridge/sdk-core/bridge-ffi/build.rs +0 -25
- data/bridge/sdk-core/bridge-ffi/include/sdk-core-bridge.h +0 -249
- data/bridge/sdk-core/bridge-ffi/src/lib.rs +0 -825
- data/bridge/sdk-core/bridge-ffi/src/wrappers.rs +0 -211
- data/bridge/sdk-core/core/src/log_export.rs +0 -62
- data/bridge/sdk-core/core/src/worker/workflow/machines/mutable_side_effect_state_machine.rs +0 -127
- data/bridge/sdk-core/core/src/worker/workflow/machines/side_effect_state_machine.rs +0 -71
- data/bridge/sdk-core/protos/api_upstream/temporal/api/cluster/v1/message.proto +0 -83
- data/bridge/sdk-core/protos/local/temporal/sdk/core/bridge/bridge.proto +0 -210
- data/bridge/sdk-core/sdk/src/conversions.rs +0 -8
- data/lib/gen/temporal/api/cluster/v1/message_pb.rb +0 -67
- data/lib/gen/temporal/api/enums/v1/cluster_pb.rb +0 -26
- data/lib/gen/temporal/api/update/v1/message_pb.rb +0 -26
- data/lib/temporal/bridge.rb +0 -14
- data/lib/temporal/failure_converter.rb +0 -8
- data/lib/temporal/payload_converter.rb +0 -14
- data/lib/temporal/runtime.rb +0 -22
- data/lib/temporal/version.rb +0 -3
- data/lib/temporal.rb +0 -8
@@ -10,6 +10,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
10
10
|
value :BATCH_OPERATION_TYPE_TERMINATE, 1
|
11
11
|
value :BATCH_OPERATION_TYPE_CANCEL, 2
|
12
12
|
value :BATCH_OPERATION_TYPE_SIGNAL, 3
|
13
|
+
value :BATCH_OPERATION_TYPE_DELETE, 4
|
13
14
|
end
|
14
15
|
add_enum "temporal.api.enums.v1.BatchOperationState" do
|
15
16
|
value :BATCH_OPERATION_STATE_UNSPECIFIED, 0
|
@@ -20,7 +21,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
20
21
|
end
|
21
22
|
end
|
22
23
|
|
23
|
-
module
|
24
|
+
module Temporalio
|
24
25
|
module Api
|
25
26
|
module Enums
|
26
27
|
module V1
|
@@ -22,11 +22,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
22
|
value :COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES, 13
|
23
23
|
value :COMMAND_TYPE_ACCEPT_WORKFLOW_UPDATE, 14
|
24
24
|
value :COMMAND_TYPE_COMPLETE_WORKFLOW_UPDATE, 15
|
25
|
+
value :COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES, 16
|
26
|
+
value :COMMAND_TYPE_REJECT_WORKFLOW_UPDATE, 17
|
25
27
|
end
|
26
28
|
end
|
27
29
|
end
|
28
30
|
|
29
|
-
module
|
31
|
+
module Temporalio
|
30
32
|
module Api
|
31
33
|
module Enums
|
32
34
|
module V1
|
@@ -18,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
18
18
|
value :INDEXED_VALUE_TYPE_DOUBLE, 4
|
19
19
|
value :INDEXED_VALUE_TYPE_BOOL, 5
|
20
20
|
value :INDEXED_VALUE_TYPE_DATETIME, 6
|
21
|
+
value :INDEXED_VALUE_TYPE_KEYWORD_LIST, 7
|
21
22
|
end
|
22
23
|
add_enum "temporal.api.enums.v1.Severity" do
|
23
24
|
value :SEVERITY_UNSPECIFIED, 0
|
@@ -28,7 +29,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
28
29
|
end
|
29
30
|
end
|
30
31
|
|
31
|
-
module
|
32
|
+
module Temporalio
|
32
33
|
module Api
|
33
34
|
module Enums
|
34
35
|
module V1
|
@@ -47,16 +47,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
47
47
|
value :EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED, 38
|
48
48
|
value :EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED, 39
|
49
49
|
value :EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES, 40
|
50
|
-
value :
|
50
|
+
value :EVENT_TYPE_WORKFLOW_UPDATE_REJECTED, 41
|
51
51
|
value :EVENT_TYPE_WORKFLOW_UPDATE_ACCEPTED, 42
|
52
52
|
value :EVENT_TYPE_WORKFLOW_UPDATE_COMPLETED, 43
|
53
53
|
value :EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY, 44
|
54
54
|
value :EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY, 45
|
55
|
+
value :EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED, 46
|
55
56
|
end
|
56
57
|
end
|
57
58
|
end
|
58
59
|
|
59
|
-
module
|
60
|
+
module Temporalio
|
60
61
|
module Api
|
61
62
|
module Enums
|
62
63
|
module V1
|
@@ -31,6 +31,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
31
31
|
value :WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID, 22
|
32
32
|
value :WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES, 23
|
33
33
|
value :WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR, 24
|
34
|
+
value :WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES, 25
|
35
|
+
value :WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED, 26
|
36
|
+
value :WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED, 27
|
37
|
+
value :WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED, 28
|
38
|
+
value :WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED, 29
|
34
39
|
end
|
35
40
|
add_enum "temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause" do
|
36
41
|
value :START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED, 0
|
@@ -52,11 +57,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
52
57
|
value :RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT, 1
|
53
58
|
value :RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT, 2
|
54
59
|
value :RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED, 3
|
60
|
+
value :RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT, 4
|
55
61
|
end
|
56
62
|
end
|
57
63
|
end
|
58
64
|
|
59
|
-
module
|
65
|
+
module Temporalio
|
60
66
|
module Api
|
61
67
|
module Enums
|
62
68
|
module V1
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/enums/v1/interaction_type.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("temporal/api/enums/v1/interaction_type.proto", :syntax => :proto3) do
|
8
|
+
add_enum "temporal.api.enums.v1.InteractionType" do
|
9
|
+
value :INTERACTION_TYPE_UNSPECIFIED, 0
|
10
|
+
value :INTERACTION_TYPE_WORKFLOW_QUERY, 1
|
11
|
+
value :INTERACTION_TYPE_WORKFLOW_UPDATE, 2
|
12
|
+
value :INTERACTION_TYPE_WORKFLOW_SIGNAL, 3
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Temporalio
|
18
|
+
module Api
|
19
|
+
module Enums
|
20
|
+
module V1
|
21
|
+
InteractionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.InteractionType").enummodule
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -9,19 +9,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
9
|
value :WORKFLOW_UPDATE_RESULT_ACCESS_STYLE_UNSPECIFIED, 0
|
10
10
|
value :WORKFLOW_UPDATE_RESULT_ACCESS_STYLE_REQUIRE_INLINE, 1
|
11
11
|
end
|
12
|
-
add_enum "temporal.api.enums.v1.WorkflowUpdateDurabilityPreference" do
|
13
|
-
value :WORKFLOW_UPDATE_DURABILITY_PREFERENCE_UNSPECIFIED, 0
|
14
|
-
value :WORKFLOW_UPDATE_DURABILITY_PREFERENCE_BYPASS, 1
|
15
|
-
end
|
16
12
|
end
|
17
13
|
end
|
18
14
|
|
19
|
-
module
|
15
|
+
module Temporalio
|
20
16
|
module Api
|
21
17
|
module Enums
|
22
18
|
module V1
|
23
19
|
WorkflowUpdateResultAccessStyle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.WorkflowUpdateResultAccessStyle").enummodule
|
24
|
-
WorkflowUpdateDurabilityPreference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.WorkflowUpdateDurabilityPreference").enummodule
|
25
20
|
end
|
26
21
|
end
|
27
22
|
end
|
@@ -11,8 +11,8 @@ require 'temporal/api/enums/v1/failed_cause_pb'
|
|
11
11
|
require 'temporal/api/enums/v1/workflow_pb'
|
12
12
|
require 'temporal/api/common/v1/message_pb'
|
13
13
|
require 'temporal/api/failure/v1/message_pb'
|
14
|
+
require 'temporal/api/interaction/v1/message_pb'
|
14
15
|
require 'temporal/api/taskqueue/v1/message_pb'
|
15
|
-
require 'temporal/api/update/v1/message_pb'
|
16
16
|
require 'temporal/api/workflow/v1/message_pb'
|
17
17
|
|
18
18
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -94,6 +94,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
94
94
|
optional :started_event_id, :int64, 2
|
95
95
|
optional :identity, :string, 3
|
96
96
|
optional :binary_checksum, :string, 4
|
97
|
+
optional :worker_versioning_id, :message, 5, "temporal.api.taskqueue.v1.VersionId"
|
97
98
|
end
|
98
99
|
add_message "temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes" do
|
99
100
|
optional :scheduled_event_id, :int64, 1
|
@@ -259,6 +260,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
259
260
|
optional :workflow_task_completed_event_id, :int64, 1
|
260
261
|
optional :search_attributes, :message, 2, "temporal.api.common.v1.SearchAttributes"
|
261
262
|
end
|
263
|
+
add_message "temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes" do
|
264
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
265
|
+
optional :upserted_memo, :message, 2, "temporal.api.common.v1.Memo"
|
266
|
+
end
|
262
267
|
add_message "temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes" do
|
263
268
|
optional :namespace, :string, 1
|
264
269
|
optional :namespace_id, :string, 18
|
@@ -342,23 +347,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
342
347
|
optional :initiated_event_id, :int64, 4
|
343
348
|
optional :started_event_id, :int64, 5
|
344
349
|
end
|
345
|
-
add_message "temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes" do
|
346
|
-
optional :header, :message, 1, "temporal.api.common.v1.Header"
|
347
|
-
optional :request_id, :string, 2
|
348
|
-
optional :update_id, :string, 3
|
349
|
-
optional :update, :message, 4, "temporal.api.update.v1.WorkflowUpdate"
|
350
|
-
end
|
351
350
|
add_message "temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes" do
|
352
|
-
optional :
|
353
|
-
optional :
|
351
|
+
optional :meta, :message, 1, "temporal.api.interaction.v1.Meta"
|
352
|
+
optional :input, :message, 2, "temporal.api.interaction.v1.Input"
|
354
353
|
end
|
355
354
|
add_message "temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes" do
|
356
|
-
optional :
|
357
|
-
optional :
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
355
|
+
optional :meta, :message, 1, "temporal.api.interaction.v1.Meta"
|
356
|
+
optional :output, :message, 2, "temporal.api.interaction.v1.Output"
|
357
|
+
end
|
358
|
+
add_message "temporal.api.history.v1.WorkflowUpdateRejectedEventAttributes" do
|
359
|
+
optional :meta, :message, 1, "temporal.api.interaction.v1.Meta"
|
360
|
+
optional :failure, :message, 2, "temporal.api.failure.v1.Failure"
|
362
361
|
end
|
363
362
|
add_message "temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes" do
|
364
363
|
optional :new_task_queue, :string, 1
|
@@ -419,11 +418,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
419
418
|
optional :signal_external_workflow_execution_failed_event_attributes, :message, 43, "temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes"
|
420
419
|
optional :external_workflow_execution_signaled_event_attributes, :message, 44, "temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes"
|
421
420
|
optional :upsert_workflow_search_attributes_event_attributes, :message, 45, "temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes"
|
422
|
-
optional :
|
421
|
+
optional :workflow_update_rejected_event_attributes, :message, 46, "temporal.api.history.v1.WorkflowUpdateRejectedEventAttributes"
|
423
422
|
optional :workflow_update_accepted_event_attributes, :message, 47, "temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes"
|
424
423
|
optional :workflow_update_completed_event_attributes, :message, 48, "temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes"
|
425
424
|
optional :workflow_properties_modified_externally_event_attributes, :message, 49, "temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes"
|
426
425
|
optional :activity_properties_modified_externally_event_attributes, :message, 50, "temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes"
|
426
|
+
optional :workflow_properties_modified_event_attributes, :message, 51, "temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes"
|
427
427
|
end
|
428
428
|
end
|
429
429
|
add_message "temporal.api.history.v1.History" do
|
@@ -432,7 +432,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
432
432
|
end
|
433
433
|
end
|
434
434
|
|
435
|
-
module
|
435
|
+
module Temporalio
|
436
436
|
module Api
|
437
437
|
module History
|
438
438
|
module V1
|
@@ -468,6 +468,7 @@ module Temporal
|
|
468
468
|
SignalExternalWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes").msgclass
|
469
469
|
ExternalWorkflowExecutionSignaledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes").msgclass
|
470
470
|
UpsertWorkflowSearchAttributesEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes").msgclass
|
471
|
+
WorkflowPropertiesModifiedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes").msgclass
|
471
472
|
StartChildWorkflowExecutionInitiatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes").msgclass
|
472
473
|
StartChildWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes").msgclass
|
473
474
|
ChildWorkflowExecutionStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes").msgclass
|
@@ -476,9 +477,9 @@ module Temporal
|
|
476
477
|
ChildWorkflowExecutionCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes").msgclass
|
477
478
|
ChildWorkflowExecutionTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes").msgclass
|
478
479
|
ChildWorkflowExecutionTerminatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes").msgclass
|
479
|
-
WorkflowUpdateRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes").msgclass
|
480
480
|
WorkflowUpdateAcceptedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes").msgclass
|
481
481
|
WorkflowUpdateCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes").msgclass
|
482
|
+
WorkflowUpdateRejectedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowUpdateRejectedEventAttributes").msgclass
|
482
483
|
WorkflowPropertiesModifiedExternallyEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes").msgclass
|
483
484
|
ActivityPropertiesModifiedExternallyEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes").msgclass
|
484
485
|
HistoryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.HistoryEvent").msgclass
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/interaction/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'temporal/api/common/v1/message_pb'
|
7
|
+
require 'temporal/api/failure/v1/message_pb'
|
8
|
+
require 'temporal/api/enums/v1/interaction_type_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("temporal/api/interaction/v1/message.proto", :syntax => :proto3) do
|
12
|
+
add_message "temporal.api.interaction.v1.Meta" do
|
13
|
+
optional :id, :string, 1
|
14
|
+
optional :event_id, :int64, 2
|
15
|
+
optional :interaction_type, :enum, 3, "temporal.api.enums.v1.InteractionType"
|
16
|
+
optional :identity, :string, 4
|
17
|
+
optional :request_id, :string, 5
|
18
|
+
end
|
19
|
+
add_message "temporal.api.interaction.v1.Input" do
|
20
|
+
optional :header, :message, 1, "temporal.api.common.v1.Header"
|
21
|
+
optional :name, :string, 2
|
22
|
+
optional :args, :message, 3, "temporal.api.common.v1.Payloads"
|
23
|
+
end
|
24
|
+
add_message "temporal.api.interaction.v1.Output" do
|
25
|
+
optional :header, :message, 1, "temporal.api.common.v1.Header"
|
26
|
+
oneof :result do
|
27
|
+
optional :success, :message, 2, "temporal.api.common.v1.Payloads"
|
28
|
+
optional :failure, :message, 3, "temporal.api.failure.v1.Failure"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
add_message "temporal.api.interaction.v1.Invocation" do
|
32
|
+
optional :meta, :message, 1, "temporal.api.interaction.v1.Meta"
|
33
|
+
optional :input, :message, 2, "temporal.api.interaction.v1.Input"
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
module Temporalio
|
39
|
+
module Api
|
40
|
+
module Interaction
|
41
|
+
module V1
|
42
|
+
Meta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.interaction.v1.Meta").msgclass
|
43
|
+
Input = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.interaction.v1.Input").msgclass
|
44
|
+
Output = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.interaction.v1.Output").msgclass
|
45
|
+
Invocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.interaction.v1.Invocation").msgclass
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -3,14 +3,7 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
-
require 'dependencies/gogoproto/gogo_pb'
|
7
|
-
require 'google/protobuf/timestamp_pb'
|
8
|
-
require 'google/protobuf/duration_pb'
|
9
|
-
require 'temporal/api/cluster/v1/message_pb'
|
10
|
-
require 'temporal/api/common/v1/message_pb'
|
11
|
-
require 'temporal/api/enums/v1/cluster_pb'
|
12
6
|
require 'temporal/api/enums/v1/common_pb'
|
13
|
-
require 'temporal/api/version/v1/message_pb'
|
14
7
|
|
15
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
16
9
|
add_file("temporal/api/operatorservice/v1/request_response.proto", :syntax => :proto3) do
|
@@ -37,12 +30,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
37
30
|
add_message "temporal.api.operatorservice.v1.DeleteNamespaceResponse" do
|
38
31
|
optional :deleted_namespace, :string, 1
|
39
32
|
end
|
40
|
-
add_message "temporal.api.operatorservice.v1.DeleteWorkflowExecutionRequest" do
|
41
|
-
optional :namespace, :string, 1
|
42
|
-
optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
|
43
|
-
end
|
44
|
-
add_message "temporal.api.operatorservice.v1.DeleteWorkflowExecutionResponse" do
|
45
|
-
end
|
46
33
|
add_message "temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest" do
|
47
34
|
optional :frontend_address, :string, 1
|
48
35
|
optional :enable_remote_cluster_connection, :bool, 2
|
@@ -54,48 +41,26 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
54
41
|
end
|
55
42
|
add_message "temporal.api.operatorservice.v1.RemoveRemoteClusterResponse" do
|
56
43
|
end
|
57
|
-
add_message "temporal.api.operatorservice.v1.DescribeClusterRequest" do
|
58
|
-
optional :cluster_name, :string, 1
|
59
|
-
end
|
60
|
-
add_message "temporal.api.operatorservice.v1.DescribeClusterResponse" do
|
61
|
-
map :supported_clients, :string, :string, 1
|
62
|
-
optional :server_version, :string, 2
|
63
|
-
optional :membership_info, :message, 3, "temporal.api.cluster.v1.MembershipInfo"
|
64
|
-
optional :cluster_id, :string, 4
|
65
|
-
optional :cluster_name, :string, 5
|
66
|
-
optional :history_shard_count, :int32, 6
|
67
|
-
optional :persistence_store, :string, 7
|
68
|
-
optional :visibility_store, :string, 8
|
69
|
-
optional :version_info, :message, 9, "temporal.api.version.v1.VersionInfo"
|
70
|
-
optional :failover_version_increment, :int64, 10
|
71
|
-
optional :initial_failover_version, :int64, 11
|
72
|
-
optional :is_global_namespace_enabled, :bool, 12
|
73
|
-
end
|
74
44
|
add_message "temporal.api.operatorservice.v1.ListClustersRequest" do
|
75
45
|
optional :page_size, :int32, 1
|
76
46
|
optional :next_page_token, :bytes, 2
|
77
47
|
end
|
78
48
|
add_message "temporal.api.operatorservice.v1.ListClustersResponse" do
|
79
|
-
repeated :clusters, :message, 1, "temporal.api.
|
80
|
-
optional :next_page_token, :bytes,
|
49
|
+
repeated :clusters, :message, 1, "temporal.api.operatorservice.v1.ClusterMetadata"
|
50
|
+
optional :next_page_token, :bytes, 4
|
81
51
|
end
|
82
|
-
add_message "temporal.api.operatorservice.v1.
|
83
|
-
optional :
|
84
|
-
optional :
|
85
|
-
optional :
|
86
|
-
optional :
|
87
|
-
optional :
|
88
|
-
optional :
|
89
|
-
optional :next_page_token, :bytes, 7
|
90
|
-
end
|
91
|
-
add_message "temporal.api.operatorservice.v1.ListClusterMembersResponse" do
|
92
|
-
repeated :active_members, :message, 1, "temporal.api.cluster.v1.ClusterMember"
|
93
|
-
optional :next_page_token, :bytes, 2
|
52
|
+
add_message "temporal.api.operatorservice.v1.ClusterMetadata" do
|
53
|
+
optional :cluster_name, :string, 1
|
54
|
+
optional :cluster_id, :string, 2
|
55
|
+
optional :address, :string, 3
|
56
|
+
optional :initial_failover_version, :int64, 4
|
57
|
+
optional :history_shard_count, :int32, 5
|
58
|
+
optional :is_connection_enabled, :bool, 6
|
94
59
|
end
|
95
60
|
end
|
96
61
|
end
|
97
62
|
|
98
|
-
module
|
63
|
+
module Temporalio
|
99
64
|
module Api
|
100
65
|
module OperatorService
|
101
66
|
module V1
|
@@ -107,18 +72,13 @@ module Temporal
|
|
107
72
|
ListSearchAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListSearchAttributesResponse").msgclass
|
108
73
|
DeleteNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.DeleteNamespaceRequest").msgclass
|
109
74
|
DeleteNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.DeleteNamespaceResponse").msgclass
|
110
|
-
DeleteWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.DeleteWorkflowExecutionRequest").msgclass
|
111
|
-
DeleteWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.DeleteWorkflowExecutionResponse").msgclass
|
112
75
|
AddOrUpdateRemoteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest").msgclass
|
113
76
|
AddOrUpdateRemoteClusterResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse").msgclass
|
114
77
|
RemoveRemoteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.RemoveRemoteClusterRequest").msgclass
|
115
78
|
RemoveRemoteClusterResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.RemoveRemoteClusterResponse").msgclass
|
116
|
-
DescribeClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.DescribeClusterRequest").msgclass
|
117
|
-
DescribeClusterResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.DescribeClusterResponse").msgclass
|
118
79
|
ListClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListClustersRequest").msgclass
|
119
80
|
ListClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListClustersResponse").msgclass
|
120
|
-
|
121
|
-
ListClusterMembersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListClusterMembersResponse").msgclass
|
81
|
+
ClusterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ClusterMetadata").msgclass
|
122
82
|
end
|
123
83
|
end
|
124
84
|
end
|
@@ -20,15 +20,34 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
20
20
|
optional :month, :string, 5
|
21
21
|
optional :year, :string, 6
|
22
22
|
optional :day_of_week, :string, 7
|
23
|
+
optional :comment, :string, 8
|
24
|
+
end
|
25
|
+
add_message "temporal.api.schedule.v1.Range" do
|
26
|
+
optional :start, :int32, 1
|
27
|
+
optional :end, :int32, 2
|
28
|
+
optional :step, :int32, 3
|
29
|
+
end
|
30
|
+
add_message "temporal.api.schedule.v1.StructuredCalendarSpec" do
|
31
|
+
repeated :second, :message, 1, "temporal.api.schedule.v1.Range"
|
32
|
+
repeated :minute, :message, 2, "temporal.api.schedule.v1.Range"
|
33
|
+
repeated :hour, :message, 3, "temporal.api.schedule.v1.Range"
|
34
|
+
repeated :day_of_month, :message, 4, "temporal.api.schedule.v1.Range"
|
35
|
+
repeated :month, :message, 5, "temporal.api.schedule.v1.Range"
|
36
|
+
repeated :year, :message, 6, "temporal.api.schedule.v1.Range"
|
37
|
+
repeated :day_of_week, :message, 7, "temporal.api.schedule.v1.Range"
|
38
|
+
optional :comment, :string, 8
|
23
39
|
end
|
24
40
|
add_message "temporal.api.schedule.v1.IntervalSpec" do
|
25
41
|
optional :interval, :message, 1, "google.protobuf.Duration"
|
26
42
|
optional :phase, :message, 2, "google.protobuf.Duration"
|
27
43
|
end
|
28
44
|
add_message "temporal.api.schedule.v1.ScheduleSpec" do
|
45
|
+
repeated :structured_calendar, :message, 7, "temporal.api.schedule.v1.StructuredCalendarSpec"
|
46
|
+
repeated :cron_string, :string, 8
|
29
47
|
repeated :calendar, :message, 1, "temporal.api.schedule.v1.CalendarSpec"
|
30
48
|
repeated :interval, :message, 2, "temporal.api.schedule.v1.IntervalSpec"
|
31
49
|
repeated :exclude_calendar, :message, 3, "temporal.api.schedule.v1.CalendarSpec"
|
50
|
+
repeated :exclude_structured_calendar, :message, 9, "temporal.api.schedule.v1.StructuredCalendarSpec"
|
32
51
|
optional :start_time, :message, 4, "google.protobuf.Timestamp"
|
33
52
|
optional :end_time, :message, 5, "google.protobuf.Timestamp"
|
34
53
|
optional :jitter, :message, 6, "google.protobuf.Duration"
|
@@ -104,11 +123,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
104
123
|
end
|
105
124
|
end
|
106
125
|
|
107
|
-
module
|
126
|
+
module Temporalio
|
108
127
|
module Api
|
109
128
|
module Schedule
|
110
129
|
module V1
|
111
130
|
CalendarSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.CalendarSpec").msgclass
|
131
|
+
Range = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.Range").msgclass
|
132
|
+
StructuredCalendarSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.StructuredCalendarSpec").msgclass
|
112
133
|
IntervalSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.IntervalSpec").msgclass
|
113
134
|
ScheduleSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.ScheduleSpec").msgclass
|
114
135
|
SchedulePolicies = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.SchedulePolicies").msgclass
|
@@ -37,7 +37,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
37
37
|
optional :last_access_time, :message, 1, "google.protobuf.Timestamp"
|
38
38
|
optional :identity, :string, 2
|
39
39
|
optional :rate_per_second, :double, 3
|
40
|
-
optional :
|
40
|
+
optional :worker_versioning_id, :message, 4, "temporal.api.taskqueue.v1.VersionId"
|
41
41
|
end
|
42
42
|
add_message "temporal.api.taskqueue.v1.StickyExecutionAttributes" do
|
43
43
|
optional :worker_task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue"
|
@@ -54,7 +54,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
-
module
|
57
|
+
module Temporalio
|
58
58
|
module Api
|
59
59
|
module TaskQueue
|
60
60
|
module V1
|
@@ -28,6 +28,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
28
28
|
optional :auto_reset_points, :message, 12, "temporal.api.workflow.v1.ResetPoints"
|
29
29
|
optional :task_queue, :string, 13
|
30
30
|
optional :state_transition_count, :int64, 14
|
31
|
+
optional :history_size_bytes, :int64, 15
|
31
32
|
end
|
32
33
|
add_message "temporal.api.workflow.v1.WorkflowExecutionConfig" do
|
33
34
|
optional :task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue"
|
@@ -92,7 +93,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
92
93
|
end
|
93
94
|
end
|
94
95
|
|
95
|
-
module
|
96
|
+
module Temporalio
|
96
97
|
module Api
|
97
98
|
module Workflow
|
98
99
|
module V1
|