temporalio 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +3 -0
- data/LICENSE +20 -0
- data/README.md +130 -0
- data/bridge/Cargo.lock +2865 -0
- data/bridge/Cargo.toml +26 -0
- data/bridge/sdk-core/ARCHITECTURE.md +76 -0
- data/bridge/sdk-core/Cargo.lock +2606 -0
- data/bridge/sdk-core/Cargo.toml +2 -0
- data/bridge/sdk-core/LICENSE.txt +23 -0
- data/bridge/sdk-core/README.md +107 -0
- data/bridge/sdk-core/arch_docs/diagrams/README.md +10 -0
- data/bridge/sdk-core/arch_docs/diagrams/sticky_queues.puml +40 -0
- data/bridge/sdk-core/arch_docs/diagrams/workflow_internals.svg +1 -0
- data/bridge/sdk-core/arch_docs/sticky_queues.md +51 -0
- data/bridge/sdk-core/bridge-ffi/Cargo.toml +24 -0
- data/bridge/sdk-core/bridge-ffi/LICENSE.txt +23 -0
- data/bridge/sdk-core/bridge-ffi/build.rs +25 -0
- data/bridge/sdk-core/bridge-ffi/include/sdk-core-bridge.h +249 -0
- data/bridge/sdk-core/bridge-ffi/src/lib.rs +825 -0
- data/bridge/sdk-core/bridge-ffi/src/wrappers.rs +211 -0
- data/bridge/sdk-core/client/Cargo.toml +40 -0
- data/bridge/sdk-core/client/LICENSE.txt +23 -0
- data/bridge/sdk-core/client/src/lib.rs +1294 -0
- data/bridge/sdk-core/client/src/metrics.rs +165 -0
- data/bridge/sdk-core/client/src/raw.rs +931 -0
- data/bridge/sdk-core/client/src/retry.rs +674 -0
- data/bridge/sdk-core/client/src/workflow_handle/mod.rs +185 -0
- data/bridge/sdk-core/core/Cargo.toml +116 -0
- data/bridge/sdk-core/core/LICENSE.txt +23 -0
- data/bridge/sdk-core/core/benches/workflow_replay.rs +73 -0
- data/bridge/sdk-core/core/src/abstractions.rs +166 -0
- data/bridge/sdk-core/core/src/core_tests/activity_tasks.rs +911 -0
- data/bridge/sdk-core/core/src/core_tests/child_workflows.rs +221 -0
- data/bridge/sdk-core/core/src/core_tests/determinism.rs +107 -0
- data/bridge/sdk-core/core/src/core_tests/local_activities.rs +515 -0
- data/bridge/sdk-core/core/src/core_tests/mod.rs +100 -0
- data/bridge/sdk-core/core/src/core_tests/queries.rs +736 -0
- data/bridge/sdk-core/core/src/core_tests/replay_flag.rs +65 -0
- data/bridge/sdk-core/core/src/core_tests/workers.rs +259 -0
- data/bridge/sdk-core/core/src/core_tests/workflow_cancels.rs +124 -0
- data/bridge/sdk-core/core/src/core_tests/workflow_tasks.rs +2070 -0
- data/bridge/sdk-core/core/src/ephemeral_server/mod.rs +515 -0
- data/bridge/sdk-core/core/src/lib.rs +175 -0
- data/bridge/sdk-core/core/src/log_export.rs +62 -0
- data/bridge/sdk-core/core/src/pollers/mod.rs +54 -0
- data/bridge/sdk-core/core/src/pollers/poll_buffer.rs +297 -0
- data/bridge/sdk-core/core/src/protosext/mod.rs +428 -0
- data/bridge/sdk-core/core/src/replay/mod.rs +71 -0
- data/bridge/sdk-core/core/src/retry_logic.rs +202 -0
- data/bridge/sdk-core/core/src/telemetry/metrics.rs +383 -0
- data/bridge/sdk-core/core/src/telemetry/mod.rs +412 -0
- data/bridge/sdk-core/core/src/telemetry/prometheus_server.rs +77 -0
- data/bridge/sdk-core/core/src/test_help/mod.rs +875 -0
- data/bridge/sdk-core/core/src/worker/activities/activity_heartbeat_manager.rs +580 -0
- data/bridge/sdk-core/core/src/worker/activities/local_activities.rs +1042 -0
- data/bridge/sdk-core/core/src/worker/activities.rs +464 -0
- data/bridge/sdk-core/core/src/worker/client/mocks.rs +87 -0
- data/bridge/sdk-core/core/src/worker/client.rs +347 -0
- data/bridge/sdk-core/core/src/worker/mod.rs +566 -0
- data/bridge/sdk-core/core/src/worker/workflow/bridge.rs +37 -0
- data/bridge/sdk-core/core/src/worker/workflow/driven_workflow.rs +110 -0
- data/bridge/sdk-core/core/src/worker/workflow/history_update.rs +458 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/activity_state_machine.rs +911 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_external_state_machine.rs +298 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_workflow_state_machine.rs +171 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/child_workflow_state_machine.rs +860 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/complete_workflow_state_machine.rs +140 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/continue_as_new_workflow_state_machine.rs +161 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/fail_workflow_state_machine.rs +133 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/local_activity_state_machine.rs +1448 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/mod.rs +342 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/mutable_side_effect_state_machine.rs +127 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/patch_state_machine.rs +712 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/side_effect_state_machine.rs +71 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/signal_external_state_machine.rs +443 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/timer_state_machine.rs +439 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/transition_coverage.rs +169 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/upsert_search_attributes_state_machine.rs +246 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines/local_acts.rs +96 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines.rs +1184 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_task_state_machine.rs +277 -0
- data/bridge/sdk-core/core/src/worker/workflow/managed_run/managed_wf_test.rs +198 -0
- data/bridge/sdk-core/core/src/worker/workflow/managed_run.rs +647 -0
- data/bridge/sdk-core/core/src/worker/workflow/mod.rs +1143 -0
- data/bridge/sdk-core/core/src/worker/workflow/run_cache.rs +145 -0
- data/bridge/sdk-core/core/src/worker/workflow/wft_poller.rs +88 -0
- data/bridge/sdk-core/core/src/worker/workflow/workflow_stream.rs +940 -0
- data/bridge/sdk-core/core-api/Cargo.toml +31 -0
- data/bridge/sdk-core/core-api/LICENSE.txt +23 -0
- data/bridge/sdk-core/core-api/src/errors.rs +95 -0
- data/bridge/sdk-core/core-api/src/lib.rs +151 -0
- data/bridge/sdk-core/core-api/src/worker.rs +135 -0
- data/bridge/sdk-core/etc/deps.svg +187 -0
- data/bridge/sdk-core/etc/dynamic-config.yaml +2 -0
- data/bridge/sdk-core/etc/otel-collector-config.yaml +36 -0
- data/bridge/sdk-core/etc/prometheus.yaml +6 -0
- data/bridge/sdk-core/fsm/Cargo.toml +18 -0
- data/bridge/sdk-core/fsm/LICENSE.txt +23 -0
- data/bridge/sdk-core/fsm/README.md +3 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/Cargo.toml +27 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/LICENSE.txt +23 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/src/lib.rs +647 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/progress.rs +8 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dupe_transitions_fail.rs +18 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dupe_transitions_fail.stderr +12 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dynamic_dest_pass.rs +41 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/forgot_name_fail.rs +14 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/forgot_name_fail.stderr +11 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/handler_arg_pass.rs +32 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/handler_pass.rs +31 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/medium_complex_pass.rs +46 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/no_handle_conversions_require_into_fail.rs +29 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/no_handle_conversions_require_into_fail.stderr +12 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/simple_pass.rs +32 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/struct_event_variant_fail.rs +18 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/struct_event_variant_fail.stderr +5 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_more_item_event_variant_fail.rs +11 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_more_item_event_variant_fail.stderr +5 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_zero_item_event_variant_fail.rs +11 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_zero_item_event_variant_fail.stderr +5 -0
- data/bridge/sdk-core/fsm/rustfsm_trait/Cargo.toml +14 -0
- data/bridge/sdk-core/fsm/rustfsm_trait/LICENSE.txt +23 -0
- data/bridge/sdk-core/fsm/rustfsm_trait/src/lib.rs +249 -0
- data/bridge/sdk-core/fsm/src/lib.rs +2 -0
- data/bridge/sdk-core/histories/fail_wf_task.bin +0 -0
- data/bridge/sdk-core/histories/timer_workflow_history.bin +0 -0
- data/bridge/sdk-core/integ-with-otel.sh +7 -0
- data/bridge/sdk-core/protos/api_upstream/README.md +9 -0
- data/bridge/sdk-core/protos/api_upstream/api-linter.yaml +40 -0
- data/bridge/sdk-core/protos/api_upstream/buf.yaml +12 -0
- data/bridge/sdk-core/protos/api_upstream/dependencies/gogoproto/gogo.proto +141 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/batch/v1/message.proto +86 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/cluster/v1/message.proto +83 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/command/v1/message.proto +259 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/common/v1/message.proto +112 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/batch_operation.proto +46 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/cluster.proto +40 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/command_type.proto +57 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/common.proto +55 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/event_type.proto +168 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/failed_cause.proto +97 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/namespace.proto +51 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/query.proto +50 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/reset.proto +41 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/schedule.proto +60 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/task_queue.proto +59 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/update.proto +51 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/workflow.proto +122 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/errordetails/v1/message.proto +108 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/failure/v1/message.proto +114 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/filter/v1/message.proto +56 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/history/v1/message.proto +751 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/namespace/v1/message.proto +97 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/request_response.proto +161 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/service.proto +99 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/query/v1/message.proto +61 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/replication/v1/message.proto +55 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/schedule/v1/message.proto +300 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/taskqueue/v1/message.proto +108 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/update/v1/message.proto +46 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/version/v1/message.proto +59 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflow/v1/message.proto +145 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/request_response.proto +1124 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/service.proto +401 -0
- data/bridge/sdk-core/protos/grpc/health/v1/health.proto +63 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_result/activity_result.proto +78 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_task/activity_task.proto +79 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/bridge/bridge.proto +210 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/child_workflow/child_workflow.proto +77 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/common/common.proto +15 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/core_interface.proto +30 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/external_data/external_data.proto +30 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_activation/workflow_activation.proto +261 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_commands/workflow_commands.proto +297 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_completion/workflow_completion.proto +29 -0
- data/bridge/sdk-core/protos/testsrv_upstream/api-linter.yaml +38 -0
- data/bridge/sdk-core/protos/testsrv_upstream/buf.yaml +13 -0
- data/bridge/sdk-core/protos/testsrv_upstream/dependencies/gogoproto/gogo.proto +141 -0
- data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/request_response.proto +63 -0
- data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/service.proto +90 -0
- data/bridge/sdk-core/rustfmt.toml +1 -0
- data/bridge/sdk-core/sdk/Cargo.toml +47 -0
- data/bridge/sdk-core/sdk/LICENSE.txt +23 -0
- data/bridge/sdk-core/sdk/src/activity_context.rs +230 -0
- data/bridge/sdk-core/sdk/src/app_data.rs +37 -0
- data/bridge/sdk-core/sdk/src/conversions.rs +8 -0
- data/bridge/sdk-core/sdk/src/interceptors.rs +17 -0
- data/bridge/sdk-core/sdk/src/lib.rs +792 -0
- data/bridge/sdk-core/sdk/src/payload_converter.rs +11 -0
- data/bridge/sdk-core/sdk/src/workflow_context/options.rs +295 -0
- data/bridge/sdk-core/sdk/src/workflow_context.rs +683 -0
- data/bridge/sdk-core/sdk/src/workflow_future.rs +503 -0
- data/bridge/sdk-core/sdk-core-protos/Cargo.toml +30 -0
- data/bridge/sdk-core/sdk-core-protos/LICENSE.txt +23 -0
- data/bridge/sdk-core/sdk-core-protos/build.rs +108 -0
- data/bridge/sdk-core/sdk-core-protos/src/constants.rs +7 -0
- data/bridge/sdk-core/sdk-core-protos/src/history_builder.rs +497 -0
- data/bridge/sdk-core/sdk-core-protos/src/history_info.rs +230 -0
- data/bridge/sdk-core/sdk-core-protos/src/lib.rs +1910 -0
- data/bridge/sdk-core/sdk-core-protos/src/task_token.rs +38 -0
- data/bridge/sdk-core/sdk-core-protos/src/utilities.rs +14 -0
- data/bridge/sdk-core/test-utils/Cargo.toml +35 -0
- data/bridge/sdk-core/test-utils/src/canned_histories.rs +1579 -0
- data/bridge/sdk-core/test-utils/src/histfetch.rs +28 -0
- data/bridge/sdk-core/test-utils/src/lib.rs +598 -0
- data/bridge/sdk-core/tests/integ_tests/client_tests.rs +36 -0
- data/bridge/sdk-core/tests/integ_tests/ephemeral_server_tests.rs +128 -0
- data/bridge/sdk-core/tests/integ_tests/heartbeat_tests.rs +218 -0
- data/bridge/sdk-core/tests/integ_tests/polling_tests.rs +146 -0
- data/bridge/sdk-core/tests/integ_tests/queries_tests.rs +437 -0
- data/bridge/sdk-core/tests/integ_tests/visibility_tests.rs +93 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/activities.rs +878 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/appdata_propagation.rs +61 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_external.rs +59 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_wf.rs +58 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/child_workflows.rs +50 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/continue_as_new.rs +60 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/determinism.rs +54 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/local_activities.rs +634 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/patches.rs +113 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/replay.rs +137 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/resets.rs +93 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/signals.rs +167 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/stickyness.rs +99 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/timers.rs +131 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/upsert_search_attrs.rs +75 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests.rs +587 -0
- data/bridge/sdk-core/tests/load_tests.rs +191 -0
- data/bridge/sdk-core/tests/main.rs +111 -0
- data/bridge/sdk-core/tests/runner.rs +93 -0
- data/bridge/src/connection.rs +167 -0
- data/bridge/src/lib.rs +180 -0
- data/bridge/src/runtime.rs +47 -0
- data/bridge/src/worker.rs +73 -0
- data/ext/Rakefile +9 -0
- data/lib/bridge.so +0 -0
- data/lib/gen/dependencies/gogoproto/gogo_pb.rb +14 -0
- data/lib/gen/temporal/api/batch/v1/message_pb.rb +48 -0
- data/lib/gen/temporal/api/cluster/v1/message_pb.rb +67 -0
- data/lib/gen/temporal/api/command/v1/message_pb.rb +166 -0
- data/lib/gen/temporal/api/common/v1/message_pb.rb +69 -0
- data/lib/gen/temporal/api/enums/v1/batch_operation_pb.rb +32 -0
- data/lib/gen/temporal/api/enums/v1/cluster_pb.rb +26 -0
- data/lib/gen/temporal/api/enums/v1/command_type_pb.rb +37 -0
- data/lib/gen/temporal/api/enums/v1/common_pb.rb +41 -0
- data/lib/gen/temporal/api/enums/v1/event_type_pb.rb +67 -0
- data/lib/gen/temporal/api/enums/v1/failed_cause_pb.rb +71 -0
- data/lib/gen/temporal/api/enums/v1/namespace_pb.rb +37 -0
- data/lib/gen/temporal/api/enums/v1/query_pb.rb +31 -0
- data/lib/gen/temporal/api/enums/v1/reset_pb.rb +24 -0
- data/lib/gen/temporal/api/enums/v1/schedule_pb.rb +28 -0
- data/lib/gen/temporal/api/enums/v1/task_queue_pb.rb +30 -0
- data/lib/gen/temporal/api/enums/v1/update_pb.rb +28 -0
- data/lib/gen/temporal/api/enums/v1/workflow_pb.rb +89 -0
- data/lib/gen/temporal/api/errordetails/v1/message_pb.rb +84 -0
- data/lib/gen/temporal/api/failure/v1/message_pb.rb +83 -0
- data/lib/gen/temporal/api/filter/v1/message_pb.rb +40 -0
- data/lib/gen/temporal/api/history/v1/message_pb.rb +489 -0
- data/lib/gen/temporal/api/namespace/v1/message_pb.rb +63 -0
- data/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb +125 -0
- data/lib/gen/temporal/api/operatorservice/v1/service_pb.rb +20 -0
- data/lib/gen/temporal/api/query/v1/message_pb.rb +38 -0
- data/lib/gen/temporal/api/replication/v1/message_pb.rb +37 -0
- data/lib/gen/temporal/api/schedule/v1/message_pb.rb +128 -0
- data/lib/gen/temporal/api/taskqueue/v1/message_pb.rb +73 -0
- data/lib/gen/temporal/api/update/v1/message_pb.rb +26 -0
- data/lib/gen/temporal/api/version/v1/message_pb.rb +41 -0
- data/lib/gen/temporal/api/workflow/v1/message_pb.rb +110 -0
- data/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +771 -0
- data/lib/gen/temporal/api/workflowservice/v1/service_pb.rb +20 -0
- data/lib/gen/temporal/sdk/core/activity_result/activity_result_pb.rb +58 -0
- data/lib/gen/temporal/sdk/core/activity_task/activity_task_pb.rb +57 -0
- data/lib/gen/temporal/sdk/core/bridge/bridge_pb.rb +222 -0
- data/lib/gen/temporal/sdk/core/child_workflow/child_workflow_pb.rb +57 -0
- data/lib/gen/temporal/sdk/core/common/common_pb.rb +22 -0
- data/lib/gen/temporal/sdk/core/core_interface_pb.rb +34 -0
- data/lib/gen/temporal/sdk/core/external_data/external_data_pb.rb +27 -0
- data/lib/gen/temporal/sdk/core/workflow_activation/workflow_activation_pb.rb +164 -0
- data/lib/gen/temporal/sdk/core/workflow_commands/workflow_commands_pb.rb +192 -0
- data/lib/gen/temporal/sdk/core/workflow_completion/workflow_completion_pb.rb +34 -0
- data/lib/temporal/bridge.rb +14 -0
- data/lib/temporal/client/implementation.rb +339 -0
- data/lib/temporal/client/workflow_handle.rb +243 -0
- data/lib/temporal/client.rb +144 -0
- data/lib/temporal/connection.rb +736 -0
- data/lib/temporal/data_converter.rb +150 -0
- data/lib/temporal/error/failure.rb +194 -0
- data/lib/temporal/error/workflow_failure.rb +17 -0
- data/lib/temporal/errors.rb +22 -0
- data/lib/temporal/failure_converter/base.rb +26 -0
- data/lib/temporal/failure_converter/basic.rb +313 -0
- data/lib/temporal/failure_converter.rb +8 -0
- data/lib/temporal/interceptor/chain.rb +27 -0
- data/lib/temporal/interceptor/client.rb +102 -0
- data/lib/temporal/payload_codec/base.rb +32 -0
- data/lib/temporal/payload_converter/base.rb +24 -0
- data/lib/temporal/payload_converter/bytes.rb +26 -0
- data/lib/temporal/payload_converter/composite.rb +47 -0
- data/lib/temporal/payload_converter/encoding_base.rb +35 -0
- data/lib/temporal/payload_converter/json.rb +25 -0
- data/lib/temporal/payload_converter/nil.rb +25 -0
- data/lib/temporal/payload_converter.rb +14 -0
- data/lib/temporal/retry_policy.rb +82 -0
- data/lib/temporal/retry_state.rb +35 -0
- data/lib/temporal/runtime.rb +22 -0
- data/lib/temporal/timeout_type.rb +29 -0
- data/lib/temporal/version.rb +3 -0
- data/lib/temporal/workflow/execution_info.rb +54 -0
- data/lib/temporal/workflow/execution_status.rb +36 -0
- data/lib/temporal/workflow/id_reuse_policy.rb +36 -0
- data/lib/temporal/workflow/query_reject_condition.rb +33 -0
- data/lib/temporal.rb +8 -0
- data/lib/temporalio.rb +3 -0
- data/lib/thermite_patch.rb +23 -0
- data/temporalio.gemspec +41 -0
- metadata +583 -0
@@ -0,0 +1,125 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/operatorservice/v1/request_response.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
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
|
+
require 'temporal/api/enums/v1/common_pb'
|
13
|
+
require 'temporal/api/version/v1/message_pb'
|
14
|
+
|
15
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
16
|
+
add_file("temporal/api/operatorservice/v1/request_response.proto", :syntax => :proto3) do
|
17
|
+
add_message "temporal.api.operatorservice.v1.AddSearchAttributesRequest" do
|
18
|
+
map :search_attributes, :string, :enum, 1, "temporal.api.enums.v1.IndexedValueType"
|
19
|
+
end
|
20
|
+
add_message "temporal.api.operatorservice.v1.AddSearchAttributesResponse" do
|
21
|
+
end
|
22
|
+
add_message "temporal.api.operatorservice.v1.RemoveSearchAttributesRequest" do
|
23
|
+
repeated :search_attributes, :string, 1
|
24
|
+
end
|
25
|
+
add_message "temporal.api.operatorservice.v1.RemoveSearchAttributesResponse" do
|
26
|
+
end
|
27
|
+
add_message "temporal.api.operatorservice.v1.ListSearchAttributesRequest" do
|
28
|
+
end
|
29
|
+
add_message "temporal.api.operatorservice.v1.ListSearchAttributesResponse" do
|
30
|
+
map :custom_attributes, :string, :enum, 1, "temporal.api.enums.v1.IndexedValueType"
|
31
|
+
map :system_attributes, :string, :enum, 2, "temporal.api.enums.v1.IndexedValueType"
|
32
|
+
map :storage_schema, :string, :string, 3
|
33
|
+
end
|
34
|
+
add_message "temporal.api.operatorservice.v1.DeleteNamespaceRequest" do
|
35
|
+
optional :namespace, :string, 1
|
36
|
+
end
|
37
|
+
add_message "temporal.api.operatorservice.v1.DeleteNamespaceResponse" do
|
38
|
+
optional :deleted_namespace, :string, 1
|
39
|
+
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
|
+
add_message "temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest" do
|
47
|
+
optional :frontend_address, :string, 1
|
48
|
+
optional :enable_remote_cluster_connection, :bool, 2
|
49
|
+
end
|
50
|
+
add_message "temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse" do
|
51
|
+
end
|
52
|
+
add_message "temporal.api.operatorservice.v1.RemoveRemoteClusterRequest" do
|
53
|
+
optional :cluster_name, :string, 1
|
54
|
+
end
|
55
|
+
add_message "temporal.api.operatorservice.v1.RemoveRemoteClusterResponse" do
|
56
|
+
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
|
+
add_message "temporal.api.operatorservice.v1.ListClustersRequest" do
|
75
|
+
optional :page_size, :int32, 1
|
76
|
+
optional :next_page_token, :bytes, 2
|
77
|
+
end
|
78
|
+
add_message "temporal.api.operatorservice.v1.ListClustersResponse" do
|
79
|
+
repeated :clusters, :message, 1, "temporal.api.cluster.v1.ClusterMetadata"
|
80
|
+
optional :next_page_token, :bytes, 2
|
81
|
+
end
|
82
|
+
add_message "temporal.api.operatorservice.v1.ListClusterMembersRequest" do
|
83
|
+
optional :last_heartbeat_within, :message, 1, "google.protobuf.Duration"
|
84
|
+
optional :rpc_address, :string, 2
|
85
|
+
optional :host_id, :string, 3
|
86
|
+
optional :role, :enum, 4, "temporal.api.enums.v1.ClusterMemberRole"
|
87
|
+
optional :session_started_after_time, :message, 5, "google.protobuf.Timestamp"
|
88
|
+
optional :page_size, :int32, 6
|
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
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
module Temporal
|
99
|
+
module Api
|
100
|
+
module OperatorService
|
101
|
+
module V1
|
102
|
+
AddSearchAttributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.AddSearchAttributesRequest").msgclass
|
103
|
+
AddSearchAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.AddSearchAttributesResponse").msgclass
|
104
|
+
RemoveSearchAttributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.RemoveSearchAttributesRequest").msgclass
|
105
|
+
RemoveSearchAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.RemoveSearchAttributesResponse").msgclass
|
106
|
+
ListSearchAttributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListSearchAttributesRequest").msgclass
|
107
|
+
ListSearchAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListSearchAttributesResponse").msgclass
|
108
|
+
DeleteNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.DeleteNamespaceRequest").msgclass
|
109
|
+
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
|
+
AddOrUpdateRemoteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest").msgclass
|
113
|
+
AddOrUpdateRemoteClusterResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse").msgclass
|
114
|
+
RemoveRemoteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.RemoveRemoteClusterRequest").msgclass
|
115
|
+
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
|
+
ListClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListClustersRequest").msgclass
|
119
|
+
ListClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListClustersResponse").msgclass
|
120
|
+
ListClusterMembersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListClusterMembersRequest").msgclass
|
121
|
+
ListClusterMembersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListClusterMembersResponse").msgclass
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/operatorservice/v1/service.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'temporal/api/operatorservice/v1/request_response_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("temporal/api/operatorservice/v1/service.proto", :syntax => :proto3) do
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
module Temporal
|
14
|
+
module Api
|
15
|
+
module OperatorService
|
16
|
+
module V1
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/query/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'temporal/api/enums/v1/query_pb'
|
7
|
+
require 'temporal/api/enums/v1/workflow_pb'
|
8
|
+
require 'temporal/api/common/v1/message_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("temporal/api/query/v1/message.proto", :syntax => :proto3) do
|
12
|
+
add_message "temporal.api.query.v1.WorkflowQuery" do
|
13
|
+
optional :query_type, :string, 1
|
14
|
+
optional :query_args, :message, 2, "temporal.api.common.v1.Payloads"
|
15
|
+
optional :header, :message, 3, "temporal.api.common.v1.Header"
|
16
|
+
end
|
17
|
+
add_message "temporal.api.query.v1.WorkflowQueryResult" do
|
18
|
+
optional :result_type, :enum, 1, "temporal.api.enums.v1.QueryResultType"
|
19
|
+
optional :answer, :message, 2, "temporal.api.common.v1.Payloads"
|
20
|
+
optional :error_message, :string, 3
|
21
|
+
end
|
22
|
+
add_message "temporal.api.query.v1.QueryRejected" do
|
23
|
+
optional :status, :enum, 1, "temporal.api.enums.v1.WorkflowExecutionStatus"
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
module Temporal
|
29
|
+
module Api
|
30
|
+
module Query
|
31
|
+
module V1
|
32
|
+
WorkflowQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.query.v1.WorkflowQuery").msgclass
|
33
|
+
WorkflowQueryResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.query.v1.WorkflowQueryResult").msgclass
|
34
|
+
QueryRejected = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.query.v1.QueryRejected").msgclass
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/replication/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'dependencies/gogoproto/gogo_pb'
|
8
|
+
require 'temporal/api/enums/v1/namespace_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("temporal/api/replication/v1/message.proto", :syntax => :proto3) do
|
12
|
+
add_message "temporal.api.replication.v1.ClusterReplicationConfig" do
|
13
|
+
optional :cluster_name, :string, 1
|
14
|
+
end
|
15
|
+
add_message "temporal.api.replication.v1.NamespaceReplicationConfig" do
|
16
|
+
optional :active_cluster_name, :string, 1
|
17
|
+
repeated :clusters, :message, 2, "temporal.api.replication.v1.ClusterReplicationConfig"
|
18
|
+
optional :state, :enum, 3, "temporal.api.enums.v1.ReplicationState"
|
19
|
+
end
|
20
|
+
add_message "temporal.api.replication.v1.FailoverStatus" do
|
21
|
+
optional :failover_time, :message, 1, "google.protobuf.Timestamp"
|
22
|
+
optional :failover_version, :int64, 2
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
module Temporal
|
28
|
+
module Api
|
29
|
+
module Replication
|
30
|
+
module V1
|
31
|
+
ClusterReplicationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.replication.v1.ClusterReplicationConfig").msgclass
|
32
|
+
NamespaceReplicationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.replication.v1.NamespaceReplicationConfig").msgclass
|
33
|
+
FailoverStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.replication.v1.FailoverStatus").msgclass
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,128 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/schedule/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'dependencies/gogoproto/gogo_pb'
|
9
|
+
require 'temporal/api/common/v1/message_pb'
|
10
|
+
require 'temporal/api/enums/v1/schedule_pb'
|
11
|
+
require 'temporal/api/workflow/v1/message_pb'
|
12
|
+
|
13
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
|
+
add_file("temporal/api/schedule/v1/message.proto", :syntax => :proto3) do
|
15
|
+
add_message "temporal.api.schedule.v1.CalendarSpec" do
|
16
|
+
optional :second, :string, 1
|
17
|
+
optional :minute, :string, 2
|
18
|
+
optional :hour, :string, 3
|
19
|
+
optional :day_of_month, :string, 4
|
20
|
+
optional :month, :string, 5
|
21
|
+
optional :year, :string, 6
|
22
|
+
optional :day_of_week, :string, 7
|
23
|
+
end
|
24
|
+
add_message "temporal.api.schedule.v1.IntervalSpec" do
|
25
|
+
optional :interval, :message, 1, "google.protobuf.Duration"
|
26
|
+
optional :phase, :message, 2, "google.protobuf.Duration"
|
27
|
+
end
|
28
|
+
add_message "temporal.api.schedule.v1.ScheduleSpec" do
|
29
|
+
repeated :calendar, :message, 1, "temporal.api.schedule.v1.CalendarSpec"
|
30
|
+
repeated :interval, :message, 2, "temporal.api.schedule.v1.IntervalSpec"
|
31
|
+
repeated :exclude_calendar, :message, 3, "temporal.api.schedule.v1.CalendarSpec"
|
32
|
+
optional :start_time, :message, 4, "google.protobuf.Timestamp"
|
33
|
+
optional :end_time, :message, 5, "google.protobuf.Timestamp"
|
34
|
+
optional :jitter, :message, 6, "google.protobuf.Duration"
|
35
|
+
optional :timezone_name, :string, 10
|
36
|
+
optional :timezone_data, :bytes, 11
|
37
|
+
end
|
38
|
+
add_message "temporal.api.schedule.v1.SchedulePolicies" do
|
39
|
+
optional :overlap_policy, :enum, 1, "temporal.api.enums.v1.ScheduleOverlapPolicy"
|
40
|
+
optional :catchup_window, :message, 2, "google.protobuf.Duration"
|
41
|
+
optional :pause_on_failure, :bool, 3
|
42
|
+
end
|
43
|
+
add_message "temporal.api.schedule.v1.ScheduleAction" do
|
44
|
+
oneof :action do
|
45
|
+
optional :start_workflow, :message, 1, "temporal.api.workflow.v1.NewWorkflowExecutionInfo"
|
46
|
+
end
|
47
|
+
end
|
48
|
+
add_message "temporal.api.schedule.v1.ScheduleActionResult" do
|
49
|
+
optional :schedule_time, :message, 1, "google.protobuf.Timestamp"
|
50
|
+
optional :actual_time, :message, 2, "google.protobuf.Timestamp"
|
51
|
+
optional :start_workflow_result, :message, 11, "temporal.api.common.v1.WorkflowExecution"
|
52
|
+
end
|
53
|
+
add_message "temporal.api.schedule.v1.ScheduleState" do
|
54
|
+
optional :notes, :string, 1
|
55
|
+
optional :paused, :bool, 2
|
56
|
+
optional :limited_actions, :bool, 3
|
57
|
+
optional :remaining_actions, :int64, 4
|
58
|
+
end
|
59
|
+
add_message "temporal.api.schedule.v1.TriggerImmediatelyRequest" do
|
60
|
+
optional :overlap_policy, :enum, 1, "temporal.api.enums.v1.ScheduleOverlapPolicy"
|
61
|
+
end
|
62
|
+
add_message "temporal.api.schedule.v1.BackfillRequest" do
|
63
|
+
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
64
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
65
|
+
optional :overlap_policy, :enum, 3, "temporal.api.enums.v1.ScheduleOverlapPolicy"
|
66
|
+
end
|
67
|
+
add_message "temporal.api.schedule.v1.SchedulePatch" do
|
68
|
+
optional :trigger_immediately, :message, 1, "temporal.api.schedule.v1.TriggerImmediatelyRequest"
|
69
|
+
repeated :backfill_request, :message, 2, "temporal.api.schedule.v1.BackfillRequest"
|
70
|
+
optional :pause, :string, 3
|
71
|
+
optional :unpause, :string, 4
|
72
|
+
end
|
73
|
+
add_message "temporal.api.schedule.v1.ScheduleInfo" do
|
74
|
+
optional :action_count, :int64, 1
|
75
|
+
optional :missed_catchup_window, :int64, 2
|
76
|
+
optional :overlap_skipped, :int64, 3
|
77
|
+
repeated :running_workflows, :message, 9, "temporal.api.common.v1.WorkflowExecution"
|
78
|
+
repeated :recent_actions, :message, 4, "temporal.api.schedule.v1.ScheduleActionResult"
|
79
|
+
repeated :future_action_times, :message, 5, "google.protobuf.Timestamp"
|
80
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
81
|
+
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
82
|
+
optional :invalid_schedule_error, :string, 8
|
83
|
+
end
|
84
|
+
add_message "temporal.api.schedule.v1.Schedule" do
|
85
|
+
optional :spec, :message, 1, "temporal.api.schedule.v1.ScheduleSpec"
|
86
|
+
optional :action, :message, 2, "temporal.api.schedule.v1.ScheduleAction"
|
87
|
+
optional :policies, :message, 3, "temporal.api.schedule.v1.SchedulePolicies"
|
88
|
+
optional :state, :message, 4, "temporal.api.schedule.v1.ScheduleState"
|
89
|
+
end
|
90
|
+
add_message "temporal.api.schedule.v1.ScheduleListInfo" do
|
91
|
+
optional :spec, :message, 1, "temporal.api.schedule.v1.ScheduleSpec"
|
92
|
+
optional :workflow_type, :message, 2, "temporal.api.common.v1.WorkflowType"
|
93
|
+
optional :notes, :string, 3
|
94
|
+
optional :paused, :bool, 4
|
95
|
+
repeated :recent_actions, :message, 5, "temporal.api.schedule.v1.ScheduleActionResult"
|
96
|
+
repeated :future_action_times, :message, 6, "google.protobuf.Timestamp"
|
97
|
+
end
|
98
|
+
add_message "temporal.api.schedule.v1.ScheduleListEntry" do
|
99
|
+
optional :schedule_id, :string, 1
|
100
|
+
optional :memo, :message, 2, "temporal.api.common.v1.Memo"
|
101
|
+
optional :search_attributes, :message, 3, "temporal.api.common.v1.SearchAttributes"
|
102
|
+
optional :info, :message, 4, "temporal.api.schedule.v1.ScheduleListInfo"
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
module Temporal
|
108
|
+
module Api
|
109
|
+
module Schedule
|
110
|
+
module V1
|
111
|
+
CalendarSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.CalendarSpec").msgclass
|
112
|
+
IntervalSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.IntervalSpec").msgclass
|
113
|
+
ScheduleSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.ScheduleSpec").msgclass
|
114
|
+
SchedulePolicies = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.SchedulePolicies").msgclass
|
115
|
+
ScheduleAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.ScheduleAction").msgclass
|
116
|
+
ScheduleActionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.ScheduleActionResult").msgclass
|
117
|
+
ScheduleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.ScheduleState").msgclass
|
118
|
+
TriggerImmediatelyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.TriggerImmediatelyRequest").msgclass
|
119
|
+
BackfillRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.BackfillRequest").msgclass
|
120
|
+
SchedulePatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.SchedulePatch").msgclass
|
121
|
+
ScheduleInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.ScheduleInfo").msgclass
|
122
|
+
Schedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.Schedule").msgclass
|
123
|
+
ScheduleListInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.ScheduleListInfo").msgclass
|
124
|
+
ScheduleListEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.schedule.v1.ScheduleListEntry").msgclass
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/taskqueue/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'google/protobuf/wrappers_pb'
|
9
|
+
require 'dependencies/gogoproto/gogo_pb'
|
10
|
+
require 'temporal/api/enums/v1/task_queue_pb'
|
11
|
+
|
12
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
|
+
add_file("temporal/api/taskqueue/v1/message.proto", :syntax => :proto3) do
|
14
|
+
add_message "temporal.api.taskqueue.v1.TaskQueue" do
|
15
|
+
optional :name, :string, 1
|
16
|
+
optional :kind, :enum, 2, "temporal.api.enums.v1.TaskQueueKind"
|
17
|
+
end
|
18
|
+
add_message "temporal.api.taskqueue.v1.TaskQueueMetadata" do
|
19
|
+
optional :max_tasks_per_second, :message, 1, "google.protobuf.DoubleValue"
|
20
|
+
end
|
21
|
+
add_message "temporal.api.taskqueue.v1.TaskQueueStatus" do
|
22
|
+
optional :backlog_count_hint, :int64, 1
|
23
|
+
optional :read_level, :int64, 2
|
24
|
+
optional :ack_level, :int64, 3
|
25
|
+
optional :rate_per_second, :double, 4
|
26
|
+
optional :task_id_block, :message, 5, "temporal.api.taskqueue.v1.TaskIdBlock"
|
27
|
+
end
|
28
|
+
add_message "temporal.api.taskqueue.v1.TaskIdBlock" do
|
29
|
+
optional :start_id, :int64, 1
|
30
|
+
optional :end_id, :int64, 2
|
31
|
+
end
|
32
|
+
add_message "temporal.api.taskqueue.v1.TaskQueuePartitionMetadata" do
|
33
|
+
optional :key, :string, 1
|
34
|
+
optional :owner_host_name, :string, 2
|
35
|
+
end
|
36
|
+
add_message "temporal.api.taskqueue.v1.PollerInfo" do
|
37
|
+
optional :last_access_time, :message, 1, "google.protobuf.Timestamp"
|
38
|
+
optional :identity, :string, 2
|
39
|
+
optional :rate_per_second, :double, 3
|
40
|
+
optional :worker_versioning_build_id, :string, 4
|
41
|
+
end
|
42
|
+
add_message "temporal.api.taskqueue.v1.StickyExecutionAttributes" do
|
43
|
+
optional :worker_task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue"
|
44
|
+
optional :schedule_to_start_timeout, :message, 2, "google.protobuf.Duration"
|
45
|
+
end
|
46
|
+
add_message "temporal.api.taskqueue.v1.VersionIdNode" do
|
47
|
+
optional :version, :message, 1, "temporal.api.taskqueue.v1.VersionId"
|
48
|
+
optional :previous_compatible, :message, 2, "temporal.api.taskqueue.v1.VersionIdNode"
|
49
|
+
optional :previous_incompatible, :message, 3, "temporal.api.taskqueue.v1.VersionIdNode"
|
50
|
+
end
|
51
|
+
add_message "temporal.api.taskqueue.v1.VersionId" do
|
52
|
+
optional :worker_build_id, :string, 1
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
module Temporal
|
58
|
+
module Api
|
59
|
+
module TaskQueue
|
60
|
+
module V1
|
61
|
+
TaskQueue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueue").msgclass
|
62
|
+
TaskQueueMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueMetadata").msgclass
|
63
|
+
TaskQueueStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueStatus").msgclass
|
64
|
+
TaskIdBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskIdBlock").msgclass
|
65
|
+
TaskQueuePartitionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueuePartitionMetadata").msgclass
|
66
|
+
PollerInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.PollerInfo").msgclass
|
67
|
+
StickyExecutionAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.StickyExecutionAttributes").msgclass
|
68
|
+
VersionIdNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.VersionIdNode").msgclass
|
69
|
+
VersionId = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.VersionId").msgclass
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/update/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'temporal/api/common/v1/message_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("temporal/api/update/v1/message.proto", :syntax => :proto3) do
|
10
|
+
add_message "temporal.api.update.v1.WorkflowUpdate" do
|
11
|
+
optional :header, :message, 1, "temporal.api.common.v1.Header"
|
12
|
+
optional :name, :string, 2
|
13
|
+
optional :args, :message, 3, "temporal.api.common.v1.Payloads"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Temporal
|
19
|
+
module Api
|
20
|
+
module Update
|
21
|
+
module V1
|
22
|
+
WorkflowUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.update.v1.WorkflowUpdate").msgclass
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/version/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'dependencies/gogoproto/gogo_pb'
|
8
|
+
require 'temporal/api/enums/v1/common_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("temporal/api/version/v1/message.proto", :syntax => :proto3) do
|
12
|
+
add_message "temporal.api.version.v1.ReleaseInfo" do
|
13
|
+
optional :version, :string, 1
|
14
|
+
optional :release_time, :message, 2, "google.protobuf.Timestamp"
|
15
|
+
optional :notes, :string, 3
|
16
|
+
end
|
17
|
+
add_message "temporal.api.version.v1.Alert" do
|
18
|
+
optional :message, :string, 1
|
19
|
+
optional :severity, :enum, 2, "temporal.api.enums.v1.Severity"
|
20
|
+
end
|
21
|
+
add_message "temporal.api.version.v1.VersionInfo" do
|
22
|
+
optional :current, :message, 1, "temporal.api.version.v1.ReleaseInfo"
|
23
|
+
optional :recommended, :message, 2, "temporal.api.version.v1.ReleaseInfo"
|
24
|
+
optional :instructions, :string, 3
|
25
|
+
repeated :alerts, :message, 4, "temporal.api.version.v1.Alert"
|
26
|
+
optional :last_update_time, :message, 5, "google.protobuf.Timestamp"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
module Temporal
|
32
|
+
module Api
|
33
|
+
module Version
|
34
|
+
module V1
|
35
|
+
ReleaseInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.version.v1.ReleaseInfo").msgclass
|
36
|
+
Alert = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.version.v1.Alert").msgclass
|
37
|
+
VersionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.version.v1.VersionInfo").msgclass
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/workflow/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'dependencies/gogoproto/gogo_pb'
|
9
|
+
require 'temporal/api/enums/v1/workflow_pb'
|
10
|
+
require 'temporal/api/common/v1/message_pb'
|
11
|
+
require 'temporal/api/failure/v1/message_pb'
|
12
|
+
require 'temporal/api/taskqueue/v1/message_pb'
|
13
|
+
|
14
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
|
+
add_file("temporal/api/workflow/v1/message.proto", :syntax => :proto3) do
|
16
|
+
add_message "temporal.api.workflow.v1.WorkflowExecutionInfo" do
|
17
|
+
optional :execution, :message, 1, "temporal.api.common.v1.WorkflowExecution"
|
18
|
+
optional :type, :message, 2, "temporal.api.common.v1.WorkflowType"
|
19
|
+
optional :start_time, :message, 3, "google.protobuf.Timestamp"
|
20
|
+
optional :close_time, :message, 4, "google.protobuf.Timestamp"
|
21
|
+
optional :status, :enum, 5, "temporal.api.enums.v1.WorkflowExecutionStatus"
|
22
|
+
optional :history_length, :int64, 6
|
23
|
+
optional :parent_namespace_id, :string, 7
|
24
|
+
optional :parent_execution, :message, 8, "temporal.api.common.v1.WorkflowExecution"
|
25
|
+
optional :execution_time, :message, 9, "google.protobuf.Timestamp"
|
26
|
+
optional :memo, :message, 10, "temporal.api.common.v1.Memo"
|
27
|
+
optional :search_attributes, :message, 11, "temporal.api.common.v1.SearchAttributes"
|
28
|
+
optional :auto_reset_points, :message, 12, "temporal.api.workflow.v1.ResetPoints"
|
29
|
+
optional :task_queue, :string, 13
|
30
|
+
optional :state_transition_count, :int64, 14
|
31
|
+
end
|
32
|
+
add_message "temporal.api.workflow.v1.WorkflowExecutionConfig" do
|
33
|
+
optional :task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue"
|
34
|
+
optional :workflow_execution_timeout, :message, 2, "google.protobuf.Duration"
|
35
|
+
optional :workflow_run_timeout, :message, 3, "google.protobuf.Duration"
|
36
|
+
optional :default_workflow_task_timeout, :message, 4, "google.protobuf.Duration"
|
37
|
+
end
|
38
|
+
add_message "temporal.api.workflow.v1.PendingActivityInfo" do
|
39
|
+
optional :activity_id, :string, 1
|
40
|
+
optional :activity_type, :message, 2, "temporal.api.common.v1.ActivityType"
|
41
|
+
optional :state, :enum, 3, "temporal.api.enums.v1.PendingActivityState"
|
42
|
+
optional :heartbeat_details, :message, 4, "temporal.api.common.v1.Payloads"
|
43
|
+
optional :last_heartbeat_time, :message, 5, "google.protobuf.Timestamp"
|
44
|
+
optional :last_started_time, :message, 6, "google.protobuf.Timestamp"
|
45
|
+
optional :attempt, :int32, 7
|
46
|
+
optional :maximum_attempts, :int32, 8
|
47
|
+
optional :scheduled_time, :message, 9, "google.protobuf.Timestamp"
|
48
|
+
optional :expiration_time, :message, 10, "google.protobuf.Timestamp"
|
49
|
+
optional :last_failure, :message, 11, "temporal.api.failure.v1.Failure"
|
50
|
+
optional :last_worker_identity, :string, 12
|
51
|
+
end
|
52
|
+
add_message "temporal.api.workflow.v1.PendingChildExecutionInfo" do
|
53
|
+
optional :workflow_id, :string, 1
|
54
|
+
optional :run_id, :string, 2
|
55
|
+
optional :workflow_type_name, :string, 3
|
56
|
+
optional :initiated_id, :int64, 4
|
57
|
+
optional :parent_close_policy, :enum, 5, "temporal.api.enums.v1.ParentClosePolicy"
|
58
|
+
end
|
59
|
+
add_message "temporal.api.workflow.v1.PendingWorkflowTaskInfo" do
|
60
|
+
optional :state, :enum, 1, "temporal.api.enums.v1.PendingWorkflowTaskState"
|
61
|
+
optional :scheduled_time, :message, 2, "google.protobuf.Timestamp"
|
62
|
+
optional :original_scheduled_time, :message, 3, "google.protobuf.Timestamp"
|
63
|
+
optional :started_time, :message, 4, "google.protobuf.Timestamp"
|
64
|
+
optional :attempt, :int32, 5
|
65
|
+
end
|
66
|
+
add_message "temporal.api.workflow.v1.ResetPoints" do
|
67
|
+
repeated :points, :message, 1, "temporal.api.workflow.v1.ResetPointInfo"
|
68
|
+
end
|
69
|
+
add_message "temporal.api.workflow.v1.ResetPointInfo" do
|
70
|
+
optional :binary_checksum, :string, 1
|
71
|
+
optional :run_id, :string, 2
|
72
|
+
optional :first_workflow_task_completed_id, :int64, 3
|
73
|
+
optional :create_time, :message, 4, "google.protobuf.Timestamp"
|
74
|
+
optional :expire_time, :message, 5, "google.protobuf.Timestamp"
|
75
|
+
optional :resettable, :bool, 6
|
76
|
+
end
|
77
|
+
add_message "temporal.api.workflow.v1.NewWorkflowExecutionInfo" do
|
78
|
+
optional :workflow_id, :string, 1
|
79
|
+
optional :workflow_type, :message, 2, "temporal.api.common.v1.WorkflowType"
|
80
|
+
optional :task_queue, :message, 3, "temporal.api.taskqueue.v1.TaskQueue"
|
81
|
+
optional :input, :message, 4, "temporal.api.common.v1.Payloads"
|
82
|
+
optional :workflow_execution_timeout, :message, 5, "google.protobuf.Duration"
|
83
|
+
optional :workflow_run_timeout, :message, 6, "google.protobuf.Duration"
|
84
|
+
optional :workflow_task_timeout, :message, 7, "google.protobuf.Duration"
|
85
|
+
optional :workflow_id_reuse_policy, :enum, 8, "temporal.api.enums.v1.WorkflowIdReusePolicy"
|
86
|
+
optional :retry_policy, :message, 9, "temporal.api.common.v1.RetryPolicy"
|
87
|
+
optional :cron_schedule, :string, 10
|
88
|
+
optional :memo, :message, 11, "temporal.api.common.v1.Memo"
|
89
|
+
optional :search_attributes, :message, 12, "temporal.api.common.v1.SearchAttributes"
|
90
|
+
optional :header, :message, 13, "temporal.api.common.v1.Header"
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
module Temporal
|
96
|
+
module Api
|
97
|
+
module Workflow
|
98
|
+
module V1
|
99
|
+
WorkflowExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.WorkflowExecutionInfo").msgclass
|
100
|
+
WorkflowExecutionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.WorkflowExecutionConfig").msgclass
|
101
|
+
PendingActivityInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingActivityInfo").msgclass
|
102
|
+
PendingChildExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingChildExecutionInfo").msgclass
|
103
|
+
PendingWorkflowTaskInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingWorkflowTaskInfo").msgclass
|
104
|
+
ResetPoints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.ResetPoints").msgclass
|
105
|
+
ResetPointInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.ResetPointInfo").msgclass
|
106
|
+
NewWorkflowExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.NewWorkflowExecutionInfo").msgclass
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|