temporalio 0.0.0 → 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 +301 -0
- data/bridge/Cargo.lock +2888 -0
- data/bridge/Cargo.toml +27 -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 +104 -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/client/Cargo.toml +40 -0
- data/bridge/sdk-core/client/LICENSE.txt +23 -0
- data/bridge/sdk-core/client/src/lib.rs +1286 -0
- data/bridge/sdk-core/client/src/metrics.rs +165 -0
- data/bridge/sdk-core/client/src/raw.rs +932 -0
- data/bridge/sdk-core/client/src/retry.rs +751 -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 +76 -0
- data/bridge/sdk-core/core/src/abstractions.rs +166 -0
- data/bridge/sdk-core/core/src/core_tests/activity_tasks.rs +1014 -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 +925 -0
- data/bridge/sdk-core/core/src/core_tests/mod.rs +100 -0
- data/bridge/sdk-core/core/src/core_tests/queries.rs +894 -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 +2090 -0
- data/bridge/sdk-core/core/src/ephemeral_server/mod.rs +515 -0
- data/bridge/sdk-core/core/src/lib.rs +282 -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 +215 -0
- data/bridge/sdk-core/core/src/retry_logic.rs +202 -0
- data/bridge/sdk-core/core/src/telemetry/log_export.rs +190 -0
- data/bridge/sdk-core/core/src/telemetry/metrics.rs +428 -0
- data/bridge/sdk-core/core/src/telemetry/mod.rs +407 -0
- data/bridge/sdk-core/core/src/telemetry/prometheus_server.rs +78 -0
- data/bridge/sdk-core/core/src/test_help/mod.rs +889 -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 +1048 -0
- data/bridge/sdk-core/core/src/worker/activities.rs +481 -0
- data/bridge/sdk-core/core/src/worker/client/mocks.rs +87 -0
- data/bridge/sdk-core/core/src/worker/client.rs +373 -0
- data/bridge/sdk-core/core/src/worker/mod.rs +570 -0
- data/bridge/sdk-core/core/src/worker/workflow/bridge.rs +37 -0
- data/bridge/sdk-core/core/src/worker/workflow/driven_workflow.rs +101 -0
- data/bridge/sdk-core/core/src/worker/workflow/history_update.rs +532 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/activity_state_machine.rs +907 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_external_state_machine.rs +294 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_workflow_state_machine.rs +167 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/child_workflow_state_machine.rs +858 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/complete_workflow_state_machine.rs +136 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/continue_as_new_workflow_state_machine.rs +157 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/fail_workflow_state_machine.rs +129 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/local_activity_state_machine.rs +1450 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/mod.rs +316 -0
- 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 +708 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/signal_external_state_machine.rs +439 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/timer_state_machine.rs +435 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/transition_coverage.rs +175 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/upsert_search_attributes_state_machine.rs +242 -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 +1200 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_task_state_machine.rs +272 -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 +655 -0
- data/bridge/sdk-core/core/src/worker/workflow/mod.rs +1200 -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 +985 -0
- data/bridge/sdk-core/core-api/Cargo.toml +32 -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 +109 -0
- data/bridge/sdk-core/core-api/src/telemetry.rs +147 -0
- data/bridge/sdk-core/core-api/src/worker.rs +148 -0
- data/bridge/sdk-core/etc/deps.svg +162 -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/etc/regen-depgraph.sh +5 -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/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/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 +9 -0
- 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/build/tools.go +29 -0
- data/bridge/sdk-core/protos/api_upstream/dependencies/gogoproto/gogo.proto +141 -0
- data/bridge/sdk-core/protos/api_upstream/go.mod +6 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/batch/v1/message.proto +89 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/command/v1/message.proto +260 -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 +47 -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 +56 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/event_type.proto +170 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/failed_cause.proto +118 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/interaction_type.proto +39 -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 +40 -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 +758 -0
- 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 +97 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/request_response.proto +121 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/service.proto +80 -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 +379 -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/version/v1/message.proto +59 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflow/v1/message.proto +146 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/request_response.proto +1168 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/service.proto +415 -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/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 +263 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_commands/workflow_commands.proto +304 -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/interceptors.rs +50 -0
- data/bridge/sdk-core/sdk/src/lib.rs +794 -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 +694 -0
- data/bridge/sdk-core/sdk/src/workflow_future.rs +499 -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 +107 -0
- data/bridge/sdk-core/sdk-core-protos/src/constants.rs +7 -0
- data/bridge/sdk-core/sdk-core-protos/src/history_builder.rs +544 -0
- data/bridge/sdk-core/sdk-core-protos/src/history_info.rs +230 -0
- data/bridge/sdk-core/sdk-core-protos/src/lib.rs +1970 -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 +36 -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 +650 -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 +221 -0
- data/bridge/sdk-core/tests/integ_tests/metrics_tests.rs +37 -0
- data/bridge/sdk-core/tests/integ_tests/polling_tests.rs +133 -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 +788 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/modify_wf_properties.rs +53 -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 +223 -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 +597 -0
- data/bridge/sdk-core/tests/load_tests.rs +191 -0
- data/bridge/sdk-core/tests/main.rs +113 -0
- data/bridge/sdk-core/tests/runner.rs +93 -0
- data/bridge/src/connection.rs +186 -0
- data/bridge/src/lib.rs +239 -0
- data/bridge/src/runtime.rs +54 -0
- data/bridge/src/worker.rs +124 -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 +50 -0
- data/lib/gen/temporal/api/command/v1/message_pb.rb +174 -0
- data/lib/gen/temporal/api/common/v1/message_pb.rb +69 -0
- data/lib/gen/temporal/api/enums/v1/batch_operation_pb.rb +33 -0
- data/lib/gen/temporal/api/enums/v1/command_type_pb.rb +39 -0
- data/lib/gen/temporal/api/enums/v1/common_pb.rb +42 -0
- data/lib/gen/temporal/api/enums/v1/event_type_pb.rb +68 -0
- data/lib/gen/temporal/api/enums/v1/failed_cause_pb.rb +77 -0
- data/lib/gen/temporal/api/enums/v1/interaction_type_pb.rb +25 -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 +23 -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 +490 -0
- data/lib/gen/temporal/api/interaction/v1/message_pb.rb +49 -0
- data/lib/gen/temporal/api/namespace/v1/message_pb.rb +63 -0
- data/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb +85 -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 +149 -0
- data/lib/gen/temporal/api/taskqueue/v1/message_pb.rb +73 -0
- data/lib/gen/temporal/api/version/v1/message_pb.rb +41 -0
- data/lib/gen/temporal/api/workflow/v1/message_pb.rb +111 -0
- data/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +788 -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 +165 -0
- data/lib/gen/temporal/sdk/core/workflow_commands/workflow_commands_pb.rb +196 -0
- data/lib/gen/temporal/sdk/core/workflow_completion/workflow_completion_pb.rb +34 -0
- 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/temporalio/client/implementation.rb +340 -0
- data/lib/temporalio/client/workflow_handle.rb +243 -0
- data/lib/temporalio/client.rb +131 -0
- data/lib/temporalio/connection.rb +751 -0
- data/lib/temporalio/data_converter.rb +191 -0
- data/lib/temporalio/error/failure.rb +194 -0
- data/lib/temporalio/error/workflow_failure.rb +19 -0
- data/lib/temporalio/errors.rb +40 -0
- data/lib/temporalio/failure_converter/base.rb +26 -0
- data/lib/temporalio/failure_converter/basic.rb +319 -0
- data/lib/temporalio/failure_converter.rb +7 -0
- data/lib/temporalio/interceptor/chain.rb +28 -0
- data/lib/temporalio/interceptor/client.rb +123 -0
- data/lib/temporalio/payload_codec/base.rb +32 -0
- data/lib/temporalio/payload_converter/base.rb +24 -0
- data/lib/temporalio/payload_converter/bytes.rb +27 -0
- data/lib/temporalio/payload_converter/composite.rb +49 -0
- data/lib/temporalio/payload_converter/encoding_base.rb +35 -0
- data/lib/temporalio/payload_converter/json.rb +26 -0
- data/lib/temporalio/payload_converter/nil.rb +26 -0
- data/lib/temporalio/payload_converter.rb +14 -0
- data/lib/temporalio/retry_policy.rb +82 -0
- data/lib/temporalio/retry_state.rb +35 -0
- data/lib/temporalio/runtime.rb +25 -0
- data/lib/temporalio/timeout_type.rb +29 -0
- 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/temporalio/workflow/execution_info.rb +54 -0
- data/lib/temporalio/workflow/execution_status.rb +36 -0
- data/lib/temporalio/workflow/id_reuse_policy.rb +36 -0
- data/lib/temporalio/workflow/query_reject_condition.rb +33 -0
- data/lib/temporalio.rb +12 -1
- data/lib/thermite_patch.rb +23 -0
- data/temporalio.gemspec +45 -0
- metadata +566 -9
- data/lib/temporal/version.rb +0 -3
- data/lib/temporal.rb +0 -4
- data/temporal.gemspec +0 -20
@@ -0,0 +1,490 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/history/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/event_type_pb'
|
10
|
+
require 'temporal/api/enums/v1/failed_cause_pb'
|
11
|
+
require 'temporal/api/enums/v1/workflow_pb'
|
12
|
+
require 'temporal/api/common/v1/message_pb'
|
13
|
+
require 'temporal/api/failure/v1/message_pb'
|
14
|
+
require 'temporal/api/interaction/v1/message_pb'
|
15
|
+
require 'temporal/api/taskqueue/v1/message_pb'
|
16
|
+
require 'temporal/api/workflow/v1/message_pb'
|
17
|
+
|
18
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
19
|
+
add_file("temporal/api/history/v1/message.proto", :syntax => :proto3) do
|
20
|
+
add_message "temporal.api.history.v1.WorkflowExecutionStartedEventAttributes" do
|
21
|
+
optional :workflow_type, :message, 1, "temporal.api.common.v1.WorkflowType"
|
22
|
+
optional :parent_workflow_namespace, :string, 2
|
23
|
+
optional :parent_workflow_namespace_id, :string, 27
|
24
|
+
optional :parent_workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
25
|
+
optional :parent_initiated_event_id, :int64, 4
|
26
|
+
optional :task_queue, :message, 5, "temporal.api.taskqueue.v1.TaskQueue"
|
27
|
+
optional :input, :message, 6, "temporal.api.common.v1.Payloads"
|
28
|
+
optional :workflow_execution_timeout, :message, 7, "google.protobuf.Duration"
|
29
|
+
optional :workflow_run_timeout, :message, 8, "google.protobuf.Duration"
|
30
|
+
optional :workflow_task_timeout, :message, 9, "google.protobuf.Duration"
|
31
|
+
optional :continued_execution_run_id, :string, 10
|
32
|
+
optional :initiator, :enum, 11, "temporal.api.enums.v1.ContinueAsNewInitiator"
|
33
|
+
optional :continued_failure, :message, 12, "temporal.api.failure.v1.Failure"
|
34
|
+
optional :last_completion_result, :message, 13, "temporal.api.common.v1.Payloads"
|
35
|
+
optional :original_execution_run_id, :string, 14
|
36
|
+
optional :identity, :string, 15
|
37
|
+
optional :first_execution_run_id, :string, 16
|
38
|
+
optional :retry_policy, :message, 17, "temporal.api.common.v1.RetryPolicy"
|
39
|
+
optional :attempt, :int32, 18
|
40
|
+
optional :workflow_execution_expiration_time, :message, 19, "google.protobuf.Timestamp"
|
41
|
+
optional :cron_schedule, :string, 20
|
42
|
+
optional :first_workflow_task_backoff, :message, 21, "google.protobuf.Duration"
|
43
|
+
optional :memo, :message, 22, "temporal.api.common.v1.Memo"
|
44
|
+
optional :search_attributes, :message, 23, "temporal.api.common.v1.SearchAttributes"
|
45
|
+
optional :prev_auto_reset_points, :message, 24, "temporal.api.workflow.v1.ResetPoints"
|
46
|
+
optional :header, :message, 25, "temporal.api.common.v1.Header"
|
47
|
+
optional :parent_initiated_event_version, :int64, 26
|
48
|
+
end
|
49
|
+
add_message "temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes" do
|
50
|
+
optional :result, :message, 1, "temporal.api.common.v1.Payloads"
|
51
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
52
|
+
optional :new_execution_run_id, :string, 3
|
53
|
+
end
|
54
|
+
add_message "temporal.api.history.v1.WorkflowExecutionFailedEventAttributes" do
|
55
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
56
|
+
optional :retry_state, :enum, 2, "temporal.api.enums.v1.RetryState"
|
57
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
58
|
+
optional :new_execution_run_id, :string, 4
|
59
|
+
end
|
60
|
+
add_message "temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes" do
|
61
|
+
optional :retry_state, :enum, 1, "temporal.api.enums.v1.RetryState"
|
62
|
+
optional :new_execution_run_id, :string, 2
|
63
|
+
end
|
64
|
+
add_message "temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes" do
|
65
|
+
optional :new_execution_run_id, :string, 1
|
66
|
+
optional :workflow_type, :message, 2, "temporal.api.common.v1.WorkflowType"
|
67
|
+
optional :task_queue, :message, 3, "temporal.api.taskqueue.v1.TaskQueue"
|
68
|
+
optional :input, :message, 4, "temporal.api.common.v1.Payloads"
|
69
|
+
optional :workflow_run_timeout, :message, 5, "google.protobuf.Duration"
|
70
|
+
optional :workflow_task_timeout, :message, 6, "google.protobuf.Duration"
|
71
|
+
optional :workflow_task_completed_event_id, :int64, 7
|
72
|
+
optional :backoff_start_interval, :message, 8, "google.protobuf.Duration"
|
73
|
+
optional :initiator, :enum, 9, "temporal.api.enums.v1.ContinueAsNewInitiator"
|
74
|
+
optional :failure, :message, 10, "temporal.api.failure.v1.Failure"
|
75
|
+
optional :last_completion_result, :message, 11, "temporal.api.common.v1.Payloads"
|
76
|
+
optional :header, :message, 12, "temporal.api.common.v1.Header"
|
77
|
+
optional :memo, :message, 13, "temporal.api.common.v1.Memo"
|
78
|
+
optional :search_attributes, :message, 14, "temporal.api.common.v1.SearchAttributes"
|
79
|
+
end
|
80
|
+
add_message "temporal.api.history.v1.WorkflowTaskScheduledEventAttributes" do
|
81
|
+
optional :task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue"
|
82
|
+
optional :start_to_close_timeout, :message, 2, "google.protobuf.Duration"
|
83
|
+
optional :attempt, :int32, 3
|
84
|
+
end
|
85
|
+
add_message "temporal.api.history.v1.WorkflowTaskStartedEventAttributes" do
|
86
|
+
optional :scheduled_event_id, :int64, 1
|
87
|
+
optional :identity, :string, 2
|
88
|
+
optional :request_id, :string, 3
|
89
|
+
optional :suggest_continue_as_new, :bool, 4
|
90
|
+
optional :history_size_bytes, :int64, 5
|
91
|
+
end
|
92
|
+
add_message "temporal.api.history.v1.WorkflowTaskCompletedEventAttributes" do
|
93
|
+
optional :scheduled_event_id, :int64, 1
|
94
|
+
optional :started_event_id, :int64, 2
|
95
|
+
optional :identity, :string, 3
|
96
|
+
optional :binary_checksum, :string, 4
|
97
|
+
optional :worker_versioning_id, :message, 5, "temporal.api.taskqueue.v1.VersionId"
|
98
|
+
end
|
99
|
+
add_message "temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes" do
|
100
|
+
optional :scheduled_event_id, :int64, 1
|
101
|
+
optional :started_event_id, :int64, 2
|
102
|
+
optional :timeout_type, :enum, 3, "temporal.api.enums.v1.TimeoutType"
|
103
|
+
end
|
104
|
+
add_message "temporal.api.history.v1.WorkflowTaskFailedEventAttributes" do
|
105
|
+
optional :scheduled_event_id, :int64, 1
|
106
|
+
optional :started_event_id, :int64, 2
|
107
|
+
optional :cause, :enum, 3, "temporal.api.enums.v1.WorkflowTaskFailedCause"
|
108
|
+
optional :failure, :message, 4, "temporal.api.failure.v1.Failure"
|
109
|
+
optional :identity, :string, 5
|
110
|
+
optional :base_run_id, :string, 6
|
111
|
+
optional :new_run_id, :string, 7
|
112
|
+
optional :fork_event_version, :int64, 8
|
113
|
+
optional :binary_checksum, :string, 9
|
114
|
+
end
|
115
|
+
add_message "temporal.api.history.v1.ActivityTaskScheduledEventAttributes" do
|
116
|
+
optional :activity_id, :string, 1
|
117
|
+
optional :activity_type, :message, 2, "temporal.api.common.v1.ActivityType"
|
118
|
+
optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue"
|
119
|
+
optional :header, :message, 5, "temporal.api.common.v1.Header"
|
120
|
+
optional :input, :message, 6, "temporal.api.common.v1.Payloads"
|
121
|
+
optional :schedule_to_close_timeout, :message, 7, "google.protobuf.Duration"
|
122
|
+
optional :schedule_to_start_timeout, :message, 8, "google.protobuf.Duration"
|
123
|
+
optional :start_to_close_timeout, :message, 9, "google.protobuf.Duration"
|
124
|
+
optional :heartbeat_timeout, :message, 10, "google.protobuf.Duration"
|
125
|
+
optional :workflow_task_completed_event_id, :int64, 11
|
126
|
+
optional :retry_policy, :message, 12, "temporal.api.common.v1.RetryPolicy"
|
127
|
+
end
|
128
|
+
add_message "temporal.api.history.v1.ActivityTaskStartedEventAttributes" do
|
129
|
+
optional :scheduled_event_id, :int64, 1
|
130
|
+
optional :identity, :string, 2
|
131
|
+
optional :request_id, :string, 3
|
132
|
+
optional :attempt, :int32, 4
|
133
|
+
optional :last_failure, :message, 5, "temporal.api.failure.v1.Failure"
|
134
|
+
end
|
135
|
+
add_message "temporal.api.history.v1.ActivityTaskCompletedEventAttributes" do
|
136
|
+
optional :result, :message, 1, "temporal.api.common.v1.Payloads"
|
137
|
+
optional :scheduled_event_id, :int64, 2
|
138
|
+
optional :started_event_id, :int64, 3
|
139
|
+
optional :identity, :string, 4
|
140
|
+
end
|
141
|
+
add_message "temporal.api.history.v1.ActivityTaskFailedEventAttributes" do
|
142
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
143
|
+
optional :scheduled_event_id, :int64, 2
|
144
|
+
optional :started_event_id, :int64, 3
|
145
|
+
optional :identity, :string, 4
|
146
|
+
optional :retry_state, :enum, 5, "temporal.api.enums.v1.RetryState"
|
147
|
+
end
|
148
|
+
add_message "temporal.api.history.v1.ActivityTaskTimedOutEventAttributes" do
|
149
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
150
|
+
optional :scheduled_event_id, :int64, 2
|
151
|
+
optional :started_event_id, :int64, 3
|
152
|
+
optional :retry_state, :enum, 4, "temporal.api.enums.v1.RetryState"
|
153
|
+
end
|
154
|
+
add_message "temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes" do
|
155
|
+
optional :scheduled_event_id, :int64, 1
|
156
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
157
|
+
end
|
158
|
+
add_message "temporal.api.history.v1.ActivityTaskCanceledEventAttributes" do
|
159
|
+
optional :details, :message, 1, "temporal.api.common.v1.Payloads"
|
160
|
+
optional :latest_cancel_requested_event_id, :int64, 2
|
161
|
+
optional :scheduled_event_id, :int64, 3
|
162
|
+
optional :started_event_id, :int64, 4
|
163
|
+
optional :identity, :string, 5
|
164
|
+
end
|
165
|
+
add_message "temporal.api.history.v1.TimerStartedEventAttributes" do
|
166
|
+
optional :timer_id, :string, 1
|
167
|
+
optional :start_to_fire_timeout, :message, 2, "google.protobuf.Duration"
|
168
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
169
|
+
end
|
170
|
+
add_message "temporal.api.history.v1.TimerFiredEventAttributes" do
|
171
|
+
optional :timer_id, :string, 1
|
172
|
+
optional :started_event_id, :int64, 2
|
173
|
+
end
|
174
|
+
add_message "temporal.api.history.v1.TimerCanceledEventAttributes" do
|
175
|
+
optional :timer_id, :string, 1
|
176
|
+
optional :started_event_id, :int64, 2
|
177
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
178
|
+
optional :identity, :string, 4
|
179
|
+
end
|
180
|
+
add_message "temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes" do
|
181
|
+
optional :cause, :string, 1
|
182
|
+
optional :external_initiated_event_id, :int64, 2
|
183
|
+
optional :external_workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
184
|
+
optional :identity, :string, 4
|
185
|
+
end
|
186
|
+
add_message "temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes" do
|
187
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
188
|
+
optional :details, :message, 2, "temporal.api.common.v1.Payloads"
|
189
|
+
end
|
190
|
+
add_message "temporal.api.history.v1.MarkerRecordedEventAttributes" do
|
191
|
+
optional :marker_name, :string, 1
|
192
|
+
map :details, :string, :message, 2, "temporal.api.common.v1.Payloads"
|
193
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
194
|
+
optional :header, :message, 4, "temporal.api.common.v1.Header"
|
195
|
+
optional :failure, :message, 5, "temporal.api.failure.v1.Failure"
|
196
|
+
end
|
197
|
+
add_message "temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes" do
|
198
|
+
optional :signal_name, :string, 1
|
199
|
+
optional :input, :message, 2, "temporal.api.common.v1.Payloads"
|
200
|
+
optional :identity, :string, 3
|
201
|
+
optional :header, :message, 4, "temporal.api.common.v1.Header"
|
202
|
+
end
|
203
|
+
add_message "temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes" do
|
204
|
+
optional :reason, :string, 1
|
205
|
+
optional :details, :message, 2, "temporal.api.common.v1.Payloads"
|
206
|
+
optional :identity, :string, 3
|
207
|
+
end
|
208
|
+
add_message "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes" do
|
209
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
210
|
+
optional :namespace, :string, 2
|
211
|
+
optional :namespace_id, :string, 7
|
212
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
213
|
+
optional :control, :string, 4
|
214
|
+
optional :child_workflow_only, :bool, 5
|
215
|
+
optional :reason, :string, 6
|
216
|
+
end
|
217
|
+
add_message "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes" do
|
218
|
+
optional :cause, :enum, 1, "temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause"
|
219
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
220
|
+
optional :namespace, :string, 3
|
221
|
+
optional :namespace_id, :string, 7
|
222
|
+
optional :workflow_execution, :message, 4, "temporal.api.common.v1.WorkflowExecution"
|
223
|
+
optional :initiated_event_id, :int64, 5
|
224
|
+
optional :control, :string, 6
|
225
|
+
end
|
226
|
+
add_message "temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes" do
|
227
|
+
optional :initiated_event_id, :int64, 1
|
228
|
+
optional :namespace, :string, 2
|
229
|
+
optional :namespace_id, :string, 4
|
230
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
231
|
+
end
|
232
|
+
add_message "temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes" do
|
233
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
234
|
+
optional :namespace, :string, 2
|
235
|
+
optional :namespace_id, :string, 9
|
236
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
237
|
+
optional :signal_name, :string, 4
|
238
|
+
optional :input, :message, 5, "temporal.api.common.v1.Payloads"
|
239
|
+
optional :control, :string, 6
|
240
|
+
optional :child_workflow_only, :bool, 7
|
241
|
+
optional :header, :message, 8, "temporal.api.common.v1.Header"
|
242
|
+
end
|
243
|
+
add_message "temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes" do
|
244
|
+
optional :cause, :enum, 1, "temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause"
|
245
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
246
|
+
optional :namespace, :string, 3
|
247
|
+
optional :namespace_id, :string, 7
|
248
|
+
optional :workflow_execution, :message, 4, "temporal.api.common.v1.WorkflowExecution"
|
249
|
+
optional :initiated_event_id, :int64, 5
|
250
|
+
optional :control, :string, 6
|
251
|
+
end
|
252
|
+
add_message "temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes" do
|
253
|
+
optional :initiated_event_id, :int64, 1
|
254
|
+
optional :namespace, :string, 2
|
255
|
+
optional :namespace_id, :string, 5
|
256
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
257
|
+
optional :control, :string, 4
|
258
|
+
end
|
259
|
+
add_message "temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes" do
|
260
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
261
|
+
optional :search_attributes, :message, 2, "temporal.api.common.v1.SearchAttributes"
|
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
|
267
|
+
add_message "temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes" do
|
268
|
+
optional :namespace, :string, 1
|
269
|
+
optional :namespace_id, :string, 18
|
270
|
+
optional :workflow_id, :string, 2
|
271
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
272
|
+
optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue"
|
273
|
+
optional :input, :message, 5, "temporal.api.common.v1.Payloads"
|
274
|
+
optional :workflow_execution_timeout, :message, 6, "google.protobuf.Duration"
|
275
|
+
optional :workflow_run_timeout, :message, 7, "google.protobuf.Duration"
|
276
|
+
optional :workflow_task_timeout, :message, 8, "google.protobuf.Duration"
|
277
|
+
optional :parent_close_policy, :enum, 9, "temporal.api.enums.v1.ParentClosePolicy"
|
278
|
+
optional :control, :string, 10
|
279
|
+
optional :workflow_task_completed_event_id, :int64, 11
|
280
|
+
optional :workflow_id_reuse_policy, :enum, 12, "temporal.api.enums.v1.WorkflowIdReusePolicy"
|
281
|
+
optional :retry_policy, :message, 13, "temporal.api.common.v1.RetryPolicy"
|
282
|
+
optional :cron_schedule, :string, 14
|
283
|
+
optional :header, :message, 15, "temporal.api.common.v1.Header"
|
284
|
+
optional :memo, :message, 16, "temporal.api.common.v1.Memo"
|
285
|
+
optional :search_attributes, :message, 17, "temporal.api.common.v1.SearchAttributes"
|
286
|
+
end
|
287
|
+
add_message "temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes" do
|
288
|
+
optional :namespace, :string, 1
|
289
|
+
optional :namespace_id, :string, 8
|
290
|
+
optional :workflow_id, :string, 2
|
291
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
292
|
+
optional :cause, :enum, 4, "temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause"
|
293
|
+
optional :control, :string, 5
|
294
|
+
optional :initiated_event_id, :int64, 6
|
295
|
+
optional :workflow_task_completed_event_id, :int64, 7
|
296
|
+
end
|
297
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes" do
|
298
|
+
optional :namespace, :string, 1
|
299
|
+
optional :namespace_id, :string, 6
|
300
|
+
optional :initiated_event_id, :int64, 2
|
301
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
302
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
303
|
+
optional :header, :message, 5, "temporal.api.common.v1.Header"
|
304
|
+
end
|
305
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes" do
|
306
|
+
optional :result, :message, 1, "temporal.api.common.v1.Payloads"
|
307
|
+
optional :namespace, :string, 2
|
308
|
+
optional :namespace_id, :string, 7
|
309
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
310
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
311
|
+
optional :initiated_event_id, :int64, 5
|
312
|
+
optional :started_event_id, :int64, 6
|
313
|
+
end
|
314
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes" do
|
315
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
316
|
+
optional :namespace, :string, 2
|
317
|
+
optional :namespace_id, :string, 8
|
318
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
319
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
320
|
+
optional :initiated_event_id, :int64, 5
|
321
|
+
optional :started_event_id, :int64, 6
|
322
|
+
optional :retry_state, :enum, 7, "temporal.api.enums.v1.RetryState"
|
323
|
+
end
|
324
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes" do
|
325
|
+
optional :details, :message, 1, "temporal.api.common.v1.Payloads"
|
326
|
+
optional :namespace, :string, 2
|
327
|
+
optional :namespace_id, :string, 7
|
328
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
329
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
330
|
+
optional :initiated_event_id, :int64, 5
|
331
|
+
optional :started_event_id, :int64, 6
|
332
|
+
end
|
333
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes" do
|
334
|
+
optional :namespace, :string, 1
|
335
|
+
optional :namespace_id, :string, 7
|
336
|
+
optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
|
337
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
338
|
+
optional :initiated_event_id, :int64, 4
|
339
|
+
optional :started_event_id, :int64, 5
|
340
|
+
optional :retry_state, :enum, 6, "temporal.api.enums.v1.RetryState"
|
341
|
+
end
|
342
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes" do
|
343
|
+
optional :namespace, :string, 1
|
344
|
+
optional :namespace_id, :string, 6
|
345
|
+
optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
|
346
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
347
|
+
optional :initiated_event_id, :int64, 4
|
348
|
+
optional :started_event_id, :int64, 5
|
349
|
+
end
|
350
|
+
add_message "temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes" do
|
351
|
+
optional :meta, :message, 1, "temporal.api.interaction.v1.Meta"
|
352
|
+
optional :input, :message, 2, "temporal.api.interaction.v1.Input"
|
353
|
+
end
|
354
|
+
add_message "temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes" do
|
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"
|
361
|
+
end
|
362
|
+
add_message "temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes" do
|
363
|
+
optional :new_task_queue, :string, 1
|
364
|
+
optional :new_workflow_task_timeout, :message, 2, "google.protobuf.Duration"
|
365
|
+
optional :new_workflow_run_timeout, :message, 3, "google.protobuf.Duration"
|
366
|
+
optional :new_workflow_execution_timeout, :message, 4, "google.protobuf.Duration"
|
367
|
+
optional :upserted_memo, :message, 5, "temporal.api.common.v1.Memo"
|
368
|
+
end
|
369
|
+
add_message "temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes" do
|
370
|
+
optional :scheduled_event_id, :int64, 1
|
371
|
+
optional :new_retry_policy, :message, 2, "temporal.api.common.v1.RetryPolicy"
|
372
|
+
end
|
373
|
+
add_message "temporal.api.history.v1.HistoryEvent" do
|
374
|
+
optional :event_id, :int64, 1
|
375
|
+
optional :event_time, :message, 2, "google.protobuf.Timestamp"
|
376
|
+
optional :event_type, :enum, 3, "temporal.api.enums.v1.EventType"
|
377
|
+
optional :version, :int64, 4
|
378
|
+
optional :task_id, :int64, 5
|
379
|
+
optional :worker_may_ignore, :bool, 300
|
380
|
+
oneof :attributes do
|
381
|
+
optional :workflow_execution_started_event_attributes, :message, 6, "temporal.api.history.v1.WorkflowExecutionStartedEventAttributes"
|
382
|
+
optional :workflow_execution_completed_event_attributes, :message, 7, "temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes"
|
383
|
+
optional :workflow_execution_failed_event_attributes, :message, 8, "temporal.api.history.v1.WorkflowExecutionFailedEventAttributes"
|
384
|
+
optional :workflow_execution_timed_out_event_attributes, :message, 9, "temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes"
|
385
|
+
optional :workflow_task_scheduled_event_attributes, :message, 10, "temporal.api.history.v1.WorkflowTaskScheduledEventAttributes"
|
386
|
+
optional :workflow_task_started_event_attributes, :message, 11, "temporal.api.history.v1.WorkflowTaskStartedEventAttributes"
|
387
|
+
optional :workflow_task_completed_event_attributes, :message, 12, "temporal.api.history.v1.WorkflowTaskCompletedEventAttributes"
|
388
|
+
optional :workflow_task_timed_out_event_attributes, :message, 13, "temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes"
|
389
|
+
optional :workflow_task_failed_event_attributes, :message, 14, "temporal.api.history.v1.WorkflowTaskFailedEventAttributes"
|
390
|
+
optional :activity_task_scheduled_event_attributes, :message, 15, "temporal.api.history.v1.ActivityTaskScheduledEventAttributes"
|
391
|
+
optional :activity_task_started_event_attributes, :message, 16, "temporal.api.history.v1.ActivityTaskStartedEventAttributes"
|
392
|
+
optional :activity_task_completed_event_attributes, :message, 17, "temporal.api.history.v1.ActivityTaskCompletedEventAttributes"
|
393
|
+
optional :activity_task_failed_event_attributes, :message, 18, "temporal.api.history.v1.ActivityTaskFailedEventAttributes"
|
394
|
+
optional :activity_task_timed_out_event_attributes, :message, 19, "temporal.api.history.v1.ActivityTaskTimedOutEventAttributes"
|
395
|
+
optional :timer_started_event_attributes, :message, 20, "temporal.api.history.v1.TimerStartedEventAttributes"
|
396
|
+
optional :timer_fired_event_attributes, :message, 21, "temporal.api.history.v1.TimerFiredEventAttributes"
|
397
|
+
optional :activity_task_cancel_requested_event_attributes, :message, 22, "temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes"
|
398
|
+
optional :activity_task_canceled_event_attributes, :message, 23, "temporal.api.history.v1.ActivityTaskCanceledEventAttributes"
|
399
|
+
optional :timer_canceled_event_attributes, :message, 24, "temporal.api.history.v1.TimerCanceledEventAttributes"
|
400
|
+
optional :marker_recorded_event_attributes, :message, 25, "temporal.api.history.v1.MarkerRecordedEventAttributes"
|
401
|
+
optional :workflow_execution_signaled_event_attributes, :message, 26, "temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes"
|
402
|
+
optional :workflow_execution_terminated_event_attributes, :message, 27, "temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes"
|
403
|
+
optional :workflow_execution_cancel_requested_event_attributes, :message, 28, "temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes"
|
404
|
+
optional :workflow_execution_canceled_event_attributes, :message, 29, "temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes"
|
405
|
+
optional :request_cancel_external_workflow_execution_initiated_event_attributes, :message, 30, "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes"
|
406
|
+
optional :request_cancel_external_workflow_execution_failed_event_attributes, :message, 31, "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes"
|
407
|
+
optional :external_workflow_execution_cancel_requested_event_attributes, :message, 32, "temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes"
|
408
|
+
optional :workflow_execution_continued_as_new_event_attributes, :message, 33, "temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes"
|
409
|
+
optional :start_child_workflow_execution_initiated_event_attributes, :message, 34, "temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes"
|
410
|
+
optional :start_child_workflow_execution_failed_event_attributes, :message, 35, "temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes"
|
411
|
+
optional :child_workflow_execution_started_event_attributes, :message, 36, "temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes"
|
412
|
+
optional :child_workflow_execution_completed_event_attributes, :message, 37, "temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes"
|
413
|
+
optional :child_workflow_execution_failed_event_attributes, :message, 38, "temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes"
|
414
|
+
optional :child_workflow_execution_canceled_event_attributes, :message, 39, "temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes"
|
415
|
+
optional :child_workflow_execution_timed_out_event_attributes, :message, 40, "temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes"
|
416
|
+
optional :child_workflow_execution_terminated_event_attributes, :message, 41, "temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes"
|
417
|
+
optional :signal_external_workflow_execution_initiated_event_attributes, :message, 42, "temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes"
|
418
|
+
optional :signal_external_workflow_execution_failed_event_attributes, :message, 43, "temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes"
|
419
|
+
optional :external_workflow_execution_signaled_event_attributes, :message, 44, "temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes"
|
420
|
+
optional :upsert_workflow_search_attributes_event_attributes, :message, 45, "temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes"
|
421
|
+
optional :workflow_update_rejected_event_attributes, :message, 46, "temporal.api.history.v1.WorkflowUpdateRejectedEventAttributes"
|
422
|
+
optional :workflow_update_accepted_event_attributes, :message, 47, "temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes"
|
423
|
+
optional :workflow_update_completed_event_attributes, :message, 48, "temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes"
|
424
|
+
optional :workflow_properties_modified_externally_event_attributes, :message, 49, "temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes"
|
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
|
+
end
|
428
|
+
end
|
429
|
+
add_message "temporal.api.history.v1.History" do
|
430
|
+
repeated :events, :message, 1, "temporal.api.history.v1.HistoryEvent"
|
431
|
+
end
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
module Temporalio
|
436
|
+
module Api
|
437
|
+
module History
|
438
|
+
module V1
|
439
|
+
WorkflowExecutionStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionStartedEventAttributes").msgclass
|
440
|
+
WorkflowExecutionCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes").msgclass
|
441
|
+
WorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionFailedEventAttributes").msgclass
|
442
|
+
WorkflowExecutionTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes").msgclass
|
443
|
+
WorkflowExecutionContinuedAsNewEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes").msgclass
|
444
|
+
WorkflowTaskScheduledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskScheduledEventAttributes").msgclass
|
445
|
+
WorkflowTaskStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskStartedEventAttributes").msgclass
|
446
|
+
WorkflowTaskCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskCompletedEventAttributes").msgclass
|
447
|
+
WorkflowTaskTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes").msgclass
|
448
|
+
WorkflowTaskFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskFailedEventAttributes").msgclass
|
449
|
+
ActivityTaskScheduledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskScheduledEventAttributes").msgclass
|
450
|
+
ActivityTaskStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskStartedEventAttributes").msgclass
|
451
|
+
ActivityTaskCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskCompletedEventAttributes").msgclass
|
452
|
+
ActivityTaskFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskFailedEventAttributes").msgclass
|
453
|
+
ActivityTaskTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskTimedOutEventAttributes").msgclass
|
454
|
+
ActivityTaskCancelRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes").msgclass
|
455
|
+
ActivityTaskCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskCanceledEventAttributes").msgclass
|
456
|
+
TimerStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.TimerStartedEventAttributes").msgclass
|
457
|
+
TimerFiredEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.TimerFiredEventAttributes").msgclass
|
458
|
+
TimerCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.TimerCanceledEventAttributes").msgclass
|
459
|
+
WorkflowExecutionCancelRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes").msgclass
|
460
|
+
WorkflowExecutionCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes").msgclass
|
461
|
+
MarkerRecordedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.MarkerRecordedEventAttributes").msgclass
|
462
|
+
WorkflowExecutionSignaledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes").msgclass
|
463
|
+
WorkflowExecutionTerminatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes").msgclass
|
464
|
+
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes").msgclass
|
465
|
+
RequestCancelExternalWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes").msgclass
|
466
|
+
ExternalWorkflowExecutionCancelRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes").msgclass
|
467
|
+
SignalExternalWorkflowExecutionInitiatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes").msgclass
|
468
|
+
SignalExternalWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes").msgclass
|
469
|
+
ExternalWorkflowExecutionSignaledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes").msgclass
|
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
|
472
|
+
StartChildWorkflowExecutionInitiatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes").msgclass
|
473
|
+
StartChildWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes").msgclass
|
474
|
+
ChildWorkflowExecutionStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes").msgclass
|
475
|
+
ChildWorkflowExecutionCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes").msgclass
|
476
|
+
ChildWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes").msgclass
|
477
|
+
ChildWorkflowExecutionCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes").msgclass
|
478
|
+
ChildWorkflowExecutionTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes").msgclass
|
479
|
+
ChildWorkflowExecutionTerminatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes").msgclass
|
480
|
+
WorkflowUpdateAcceptedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes").msgclass
|
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
|
483
|
+
WorkflowPropertiesModifiedExternallyEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes").msgclass
|
484
|
+
ActivityPropertiesModifiedExternallyEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes").msgclass
|
485
|
+
HistoryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.HistoryEvent").msgclass
|
486
|
+
History = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.History").msgclass
|
487
|
+
end
|
488
|
+
end
|
489
|
+
end
|
490
|
+
end
|
@@ -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
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/namespace/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/namespace_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("temporal/api/namespace/v1/message.proto", :syntax => :proto3) do
|
13
|
+
add_message "temporal.api.namespace.v1.NamespaceInfo" do
|
14
|
+
optional :name, :string, 1
|
15
|
+
optional :state, :enum, 2, "temporal.api.enums.v1.NamespaceState"
|
16
|
+
optional :description, :string, 3
|
17
|
+
optional :owner_email, :string, 4
|
18
|
+
map :data, :string, :string, 5
|
19
|
+
optional :id, :string, 6
|
20
|
+
optional :supports_schedules, :bool, 100
|
21
|
+
end
|
22
|
+
add_message "temporal.api.namespace.v1.NamespaceConfig" do
|
23
|
+
optional :workflow_execution_retention_ttl, :message, 1, "google.protobuf.Duration"
|
24
|
+
optional :bad_binaries, :message, 2, "temporal.api.namespace.v1.BadBinaries"
|
25
|
+
optional :history_archival_state, :enum, 3, "temporal.api.enums.v1.ArchivalState"
|
26
|
+
optional :history_archival_uri, :string, 4
|
27
|
+
optional :visibility_archival_state, :enum, 5, "temporal.api.enums.v1.ArchivalState"
|
28
|
+
optional :visibility_archival_uri, :string, 6
|
29
|
+
end
|
30
|
+
add_message "temporal.api.namespace.v1.BadBinaries" do
|
31
|
+
map :binaries, :string, :message, 1, "temporal.api.namespace.v1.BadBinaryInfo"
|
32
|
+
end
|
33
|
+
add_message "temporal.api.namespace.v1.BadBinaryInfo" do
|
34
|
+
optional :reason, :string, 1
|
35
|
+
optional :operator, :string, 2
|
36
|
+
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
37
|
+
end
|
38
|
+
add_message "temporal.api.namespace.v1.UpdateNamespaceInfo" do
|
39
|
+
optional :description, :string, 1
|
40
|
+
optional :owner_email, :string, 2
|
41
|
+
map :data, :string, :string, 3
|
42
|
+
optional :state, :enum, 4, "temporal.api.enums.v1.NamespaceState"
|
43
|
+
end
|
44
|
+
add_message "temporal.api.namespace.v1.NamespaceFilter" do
|
45
|
+
optional :include_deleted, :bool, 1
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
module Temporalio
|
51
|
+
module Api
|
52
|
+
module Namespace
|
53
|
+
module V1
|
54
|
+
NamespaceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceInfo").msgclass
|
55
|
+
NamespaceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceConfig").msgclass
|
56
|
+
BadBinaries = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.BadBinaries").msgclass
|
57
|
+
BadBinaryInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.BadBinaryInfo").msgclass
|
58
|
+
UpdateNamespaceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.UpdateNamespaceInfo").msgclass
|
59
|
+
NamespaceFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceFilter").msgclass
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|