temporalio 1.9.0-aarch64-linux → 1.10.0-aarch64-linux
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 +4 -4
- data/Rakefile +28 -0
- data/lib/temporalio/api/activity/v1/message.rb +2 -1
- data/lib/temporalio/api/callback/v1/message.rb +1 -1
- data/lib/temporalio/api/common/v1/message.rb +3 -1
- data/lib/temporalio/api/compute/v1/config.rb +1 -1
- data/lib/temporalio/api/enums/v1/common.rb +1 -1
- data/lib/temporalio/api/enums/v1/failed_cause.rb +2 -1
- data/lib/temporalio/api/export/v1/message.rb +4 -1
- data/lib/temporalio/api/history/v1/message.rb +2 -1
- data/lib/temporalio/api/nexus/v1/message.rb +2 -1
- data/lib/temporalio/api/nexusoperation/v1/message.rb +26 -0
- data/lib/temporalio/api/notificationservice/v1/request_response.rb +25 -0
- data/lib/temporalio/api/payload_visitor.rb +54 -0
- data/lib/temporalio/api/replication/v1/message.rb +2 -1
- data/lib/temporalio/api/update/v1/message.rb +2 -1
- data/lib/temporalio/api/worker/v1/message.rb +1 -1
- data/lib/temporalio/api/workflow/v1/message.rb +2 -1
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +2 -1
- data/lib/temporalio/client/schedule.rb +8 -7
- data/lib/temporalio/client/with_start_workflow_operation.rb +1 -1
- data/lib/temporalio/client.rb +4 -4
- data/lib/temporalio/converters/external_storage.rb +90 -0
- data/lib/temporalio/converters/external_storage_concurrency.rb +52 -0
- data/lib/temporalio/converters/storage_driver.rb +56 -0
- data/lib/temporalio/converters/storage_driver_activity_info.rb +38 -0
- data/lib/temporalio/converters/storage_driver_claim.rb +30 -0
- data/lib/temporalio/converters/storage_driver_limiter.rb +37 -0
- data/lib/temporalio/converters/storage_driver_retrieve_context.rb +30 -0
- data/lib/temporalio/converters/storage_driver_select_context.rb +26 -0
- data/lib/temporalio/converters/storage_driver_store_context.rb +31 -0
- data/lib/temporalio/converters/storage_driver_workflow_info.rb +40 -0
- data/lib/temporalio/converters.rb +11 -0
- data/lib/temporalio/error/failure.rb +16 -0
- data/lib/temporalio/error.rb +17 -0
- data/lib/temporalio/internal/bridge/3.3/temporalio_bridge.so +2 -2
- data/lib/temporalio/internal/bridge/3.4/temporalio_bridge.so +2 -2
- data/lib/temporalio/internal/bridge/4.0/temporalio_bridge.so +2 -2
- data/lib/temporalio/internal/bridge/api/activity_result/activity_result.rb +2 -1
- data/lib/temporalio/internal/bridge/api/child_workflow/child_workflow.rb +1 -1
- data/lib/temporalio/internal/bridge/api/external_data/external_data.rb +1 -1
- data/lib/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rb +2 -1
- data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +3 -1
- data/lib/temporalio/internal/external_storage_references.rb +62 -0
- data/lib/temporalio/internal/worker/workflow_instance/context.rb +2 -0
- data/lib/temporalio/internal/worker/workflow_instance/outbound_implementation.rb +21 -3
- data/lib/temporalio/testing/activity_environment.rb +1 -1
- data/lib/temporalio/testing/workflow_environment.rb +4 -4
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/versioning_override.rb +28 -1
- data/lib/temporalio/worker/interceptor.rb +1 -0
- data/lib/temporalio/workflow.rb +14 -4
- data/rbi/temporalio/api/activity/v1/message.rbi +39 -2
- data/rbi/temporalio/api/callback/v1/message.rbi +22 -2
- data/rbi/temporalio/api/common/v1/message.rbi +294 -4
- data/rbi/temporalio/api/compute/v1/config.rbi +39 -5
- data/rbi/temporalio/api/enums/v1/common.rbi +1 -0
- data/rbi/temporalio/api/enums/v1/failed_cause.rbi +20 -0
- data/rbi/temporalio/api/export/v1/message.rbi +136 -2
- data/rbi/temporalio/api/history/v1/message.rbi +38 -4
- data/rbi/temporalio/api/nexus/v1/message.rbi +88 -0
- data/rbi/temporalio/api/nexusoperation/v1/message.rbi +287 -0
- data/rbi/temporalio/api/notificationservice/v1/request_response.rbi +151 -0
- data/rbi/temporalio/api/payload_visitor.rbi +21 -0
- data/rbi/temporalio/api/replication/v1/message.rbi +22 -2
- data/rbi/temporalio/api/update/v1/message.rbi +19 -2
- data/rbi/temporalio/api/worker/v1/message.rbi +2 -0
- data/rbi/temporalio/api/workflow/v1/message.rbi +41 -4
- data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +294 -20
- data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +0 -13
- data/rbi/temporalio/client/schedule.rbi +2 -2
- data/rbi/temporalio/converters/external_storage.rbi +49 -0
- data/rbi/temporalio/converters/external_storage_concurrency.rbi +26 -0
- data/rbi/temporalio/converters/storage_driver.rbi +27 -0
- data/rbi/temporalio/converters/storage_driver_activity_info.rbi +36 -0
- data/rbi/temporalio/converters/storage_driver_claim.rbi +20 -0
- data/rbi/temporalio/converters/storage_driver_limiter.rbi +13 -0
- data/rbi/temporalio/converters/storage_driver_retrieve_context.rbi +23 -0
- data/rbi/temporalio/converters/storage_driver_select_context.rbi +42 -0
- data/rbi/temporalio/converters/storage_driver_store_context.rbi +46 -0
- data/rbi/temporalio/converters/storage_driver_workflow_info.rbi +36 -0
- data/rbi/temporalio/error.rbi +17 -0
- data/rbi/temporalio/internal/bridge/api/activity_result/activity_result.rbi +41 -2
- data/rbi/temporalio/internal/bridge/api/child_workflow/child_workflow.rbi +2 -0
- data/rbi/temporalio/internal/bridge/api/external_data/external_data.rbi +29 -2
- data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +88 -14
- data/rbi/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbi +91 -6
- data/rbi/temporalio/internal/external_storage_references.rbi +26 -0
- data/rbi/temporalio/internal/worker/workflow_instance/context.rbi +2 -0
- data/rbi/temporalio/versioning_override.rbi +8 -0
- data/rbi/temporalio/worker/interceptor.rbi +3 -0
- data/rbi/temporalio/workflow.rbi +4 -0
- data/sig/temporalio/api/activity/v1/message.rbs +18 -0
- data/sig/temporalio/api/callback/v1/message.rbs +10 -0
- data/sig/temporalio/api/common/v1/message.rbs +133 -4
- data/sig/temporalio/api/compute/v1/config.rbs +17 -1
- data/sig/temporalio/api/enums/v1/common.rbs +7 -4
- data/sig/temporalio/api/enums/v1/failed_cause.rbs +42 -5
- data/sig/temporalio/api/export/v1/message.rbs +50 -2
- data/sig/temporalio/api/history/v1/message.rbs +19 -0
- data/sig/temporalio/api/nexus/v1/message.rbs +37 -0
- data/sig/temporalio/api/nexusoperation/v1/message.rbs +125 -0
- data/sig/temporalio/api/notificationservice/v1/request_response.rbs +81 -0
- data/sig/temporalio/api/payload_visitor.rbs +7 -0
- data/sig/temporalio/api/replication/v1/message.rbs +11 -0
- data/sig/temporalio/api/update/v1/message.rbs +9 -0
- data/sig/temporalio/api/worker/v1/message.rbs +9 -3
- data/sig/temporalio/api/workflow/v1/message.rbs +19 -0
- data/sig/temporalio/api/workflowservice/v1/request_response.rbs +136 -0
- data/sig/temporalio/client/schedule.rbs +3 -2
- data/sig/temporalio/converters/external_storage.rbs +25 -0
- data/sig/temporalio/converters/external_storage_concurrency.rbs +16 -0
- data/sig/temporalio/converters/storage_driver.rbs +16 -0
- data/sig/temporalio/converters/storage_driver_activity_info.rbs +17 -0
- data/sig/temporalio/converters/storage_driver_claim.rbs +9 -0
- data/sig/temporalio/converters/storage_driver_limiter.rbs +7 -0
- data/sig/temporalio/converters/storage_driver_retrieve_context.rbs +13 -0
- data/sig/temporalio/converters/storage_driver_select_context.rbs +13 -0
- data/sig/temporalio/converters/storage_driver_store_context.rbs +15 -0
- data/sig/temporalio/converters/storage_driver_target_info.rbs +5 -0
- data/sig/temporalio/converters/storage_driver_workflow_info.rbs +17 -0
- data/sig/temporalio/error/failure.rbs +8 -0
- data/sig/temporalio/error.rbs +4 -0
- data/sig/temporalio/internal/bridge/api/activity_result/activity_result.rbs +46 -0
- data/sig/temporalio/internal/bridge/api/child_workflow/child_workflow.rbs +7 -3
- data/sig/temporalio/internal/bridge/api/external_data/external_data.rbs +16 -0
- data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +42 -2
- data/sig/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbs +42 -0
- data/sig/temporalio/internal/external_storage_references.rbs +18 -0
- data/sig/temporalio/internal/worker/workflow_instance/context.rbs +1 -0
- data/sig/temporalio/testing/activity_environment.rbs +1 -1
- data/sig/temporalio/versioning_override.rbs +7 -0
- data/sig/temporalio/worker/interceptor.rbs +2 -0
- data/sig/temporalio/workflow.rbs +2 -0
- data/temporalio.gemspec +1 -0
- metadata +56 -2
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/nexusoperation/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module NexusOperation
|
|
11
|
+
module V1
|
|
12
|
+
# CallbackInfo contains the state of a callback attached to a standalone Nexus operation.
|
|
13
|
+
class CallbackInfo < ::Google::Protobuf::AbstractMessage
|
|
14
|
+
# Trigger for when the Nexus operation is completed, covering both success cases as
|
|
15
|
+
# well as any type of failure.
|
|
16
|
+
class OperationCompleted < ::Google::Protobuf::AbstractMessage
|
|
17
|
+
|
|
18
|
+
type init_map = {
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
def initialize: (?init_map initial_value) -> void
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
class Trigger < ::Google::Protobuf::AbstractMessage
|
|
25
|
+
|
|
26
|
+
attr_accessor operation_completed(): ::Temporalio::Api::NexusOperation::V1::CallbackInfo::OperationCompleted?
|
|
27
|
+
def has_operation_completed?: () -> bool
|
|
28
|
+
def clear_operation_completed: () -> void
|
|
29
|
+
|
|
30
|
+
attr_reader variant(): ::Temporalio::Api::NexusOperation::V1::CallbackInfo::OperationCompleted?
|
|
31
|
+
def has_variant?: () -> bool
|
|
32
|
+
def clear_variant: () -> void
|
|
33
|
+
|
|
34
|
+
type init_map = {
|
|
35
|
+
operation_completed: (::Temporalio::Api::NexusOperation::V1::CallbackInfo::OperationCompleted | ::Temporalio::Api::NexusOperation::V1::CallbackInfo::OperationCompleted::init_map)?,
|
|
36
|
+
"operation_completed" => (::Temporalio::Api::NexusOperation::V1::CallbackInfo::OperationCompleted | ::Temporalio::Api::NexusOperation::V1::CallbackInfo::OperationCompleted::init_map)?,
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
def initialize: (?init_map initial_value) -> void
|
|
40
|
+
|
|
41
|
+
def []:
|
|
42
|
+
("operation_completed" name) -> ::Temporalio::Api::NexusOperation::V1::CallbackInfo::OperationCompleted?
|
|
43
|
+
|
|
44
|
+
def []=:
|
|
45
|
+
("operation_completed" name, ::Temporalio::Api::NexusOperation::V1::CallbackInfo::OperationCompleted? value) -> void
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Trigger for this callback.
|
|
49
|
+
attr_accessor trigger(): ::Temporalio::Api::NexusOperation::V1::CallbackInfo::Trigger?
|
|
50
|
+
def has_trigger?: () -> bool
|
|
51
|
+
def clear_trigger: () -> void
|
|
52
|
+
|
|
53
|
+
# Common callback info.
|
|
54
|
+
attr_accessor info(): ::Temporalio::Api::Callback::V1::CallbackInfo?
|
|
55
|
+
def has_info?: () -> bool
|
|
56
|
+
def clear_info: () -> void
|
|
57
|
+
|
|
58
|
+
type init_map = {
|
|
59
|
+
trigger: (::Temporalio::Api::NexusOperation::V1::CallbackInfo::Trigger | ::Temporalio::Api::NexusOperation::V1::CallbackInfo::Trigger::init_map)?,
|
|
60
|
+
"trigger" => (::Temporalio::Api::NexusOperation::V1::CallbackInfo::Trigger | ::Temporalio::Api::NexusOperation::V1::CallbackInfo::Trigger::init_map)?,
|
|
61
|
+
info: (::Temporalio::Api::Callback::V1::CallbackInfo | ::Temporalio::Api::Callback::V1::CallbackInfo::init_map)?,
|
|
62
|
+
"info" => (::Temporalio::Api::Callback::V1::CallbackInfo | ::Temporalio::Api::Callback::V1::CallbackInfo::init_map)?,
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
def initialize: (?init_map initial_value) -> void
|
|
66
|
+
|
|
67
|
+
def []:
|
|
68
|
+
("trigger" name) -> ::Temporalio::Api::NexusOperation::V1::CallbackInfo::Trigger?
|
|
69
|
+
| ("info" name) -> ::Temporalio::Api::Callback::V1::CallbackInfo?
|
|
70
|
+
|
|
71
|
+
def []=:
|
|
72
|
+
("trigger" name, ::Temporalio::Api::NexusOperation::V1::CallbackInfo::Trigger? value) -> void
|
|
73
|
+
| ("info" name, ::Temporalio::Api::Callback::V1::CallbackInfo? value) -> void
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# When StartNexusOperationExecutionRequest uses the conflict policy NEXUS_OPERATION_ID_CONFLICT_POLICY_USE_EXISTING
|
|
77
|
+
# and there is already an existing, running standalone Nexus operation, OnConflictOptions defines actions to be
|
|
78
|
+
# taken.
|
|
79
|
+
class OnConflictOptions < ::Google::Protobuf::AbstractMessage
|
|
80
|
+
|
|
81
|
+
# Attaches the request ID to the running operation.
|
|
82
|
+
attr_accessor attach_request_id(): bool
|
|
83
|
+
def clear_attach_request_id: () -> void
|
|
84
|
+
|
|
85
|
+
# Attaches the completion callbacks to the running operation.
|
|
86
|
+
attr_accessor attach_completion_callbacks(): bool
|
|
87
|
+
def clear_attach_completion_callbacks: () -> void
|
|
88
|
+
|
|
89
|
+
# Attaches any new links to the running operation.
|
|
90
|
+
attr_accessor attach_links(): bool
|
|
91
|
+
def clear_attach_links: () -> void
|
|
92
|
+
|
|
93
|
+
type init_map = {
|
|
94
|
+
attach_request_id: bool?,
|
|
95
|
+
"attach_request_id" => bool?,
|
|
96
|
+
attach_completion_callbacks: bool?,
|
|
97
|
+
"attach_completion_callbacks" => bool?,
|
|
98
|
+
attach_links: bool?,
|
|
99
|
+
"attach_links" => bool?,
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
def initialize: (?init_map initial_value) -> void
|
|
103
|
+
|
|
104
|
+
def []:
|
|
105
|
+
("attach_request_id" name) -> bool
|
|
106
|
+
| ("attach_completion_callbacks" name) -> bool
|
|
107
|
+
| ("attach_links" name) -> bool
|
|
108
|
+
|
|
109
|
+
def []=:
|
|
110
|
+
("attach_request_id" name, bool value) -> void
|
|
111
|
+
| ("attach_completion_callbacks" name, bool value) -> void
|
|
112
|
+
| ("attach_links" name, bool value) -> void
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
module Google
|
|
120
|
+
module Protobuf
|
|
121
|
+
class DescriptorPool
|
|
122
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
end
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/notificationservice/v1/request_response.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module NotificationService
|
|
11
|
+
module V1
|
|
12
|
+
# OnCompleteRequest is the request type to the NotificationService's OnComplete operation,
|
|
13
|
+
# allowing for defining completion handlers for arbitrary operations.
|
|
14
|
+
# Information about the source operation will be available in the form of a commonpb.Link,
|
|
15
|
+
# which will be available separately from this OnCompleteRequest. e.g. a link to the source
|
|
16
|
+
# standalone Nexus operation would be found in the nexuspb.StartOperationRequest parameter
|
|
17
|
+
# sent to the worker callback. (In addition to this OnCompleteRequest.)
|
|
18
|
+
class OnCompleteRequest < ::Google::Protobuf::AbstractMessage
|
|
19
|
+
|
|
20
|
+
# The operation was successful, and resulted in the given payload.
|
|
21
|
+
attr_accessor success(): ::Temporalio::Api::Common::V1::Payload?
|
|
22
|
+
def has_success?: () -> bool
|
|
23
|
+
def clear_success: () -> void
|
|
24
|
+
|
|
25
|
+
# The operation failed. Includes timeout, cancellation, and application errors.
|
|
26
|
+
attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
27
|
+
def has_failure?: () -> bool
|
|
28
|
+
def clear_failure: () -> void
|
|
29
|
+
|
|
30
|
+
# User-supplied data which was added to the source invocation. (As applicable.)
|
|
31
|
+
attr_accessor source_context(): ::Temporalio::Api::Common::V1::Payload?
|
|
32
|
+
def has_source_context?: () -> bool
|
|
33
|
+
def clear_source_context: () -> void
|
|
34
|
+
|
|
35
|
+
# The result of the source operation.
|
|
36
|
+
attr_reader result(): (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Failure::V1::Failure)?
|
|
37
|
+
def has_result?: () -> bool
|
|
38
|
+
def clear_result: () -> void
|
|
39
|
+
|
|
40
|
+
type init_map = {
|
|
41
|
+
success: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
42
|
+
"success" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
43
|
+
failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
44
|
+
"failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
45
|
+
source_context: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
46
|
+
"source_context" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def initialize: (?init_map initial_value) -> void
|
|
50
|
+
|
|
51
|
+
def []:
|
|
52
|
+
("success" name) -> ::Temporalio::Api::Common::V1::Payload?
|
|
53
|
+
| ("failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
54
|
+
| ("source_context" name) -> ::Temporalio::Api::Common::V1::Payload?
|
|
55
|
+
|
|
56
|
+
def []=:
|
|
57
|
+
("success" name, ::Temporalio::Api::Common::V1::Payload? value) -> void
|
|
58
|
+
| ("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
59
|
+
| ("source_context" name, ::Temporalio::Api::Common::V1::Payload? value) -> void
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# OnCompleteResponse is the return type of the OnComplete operation.
|
|
63
|
+
class OnCompleteResponse < ::Google::Protobuf::AbstractMessage
|
|
64
|
+
|
|
65
|
+
type init_map = {
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
def initialize: (?init_map initial_value) -> void
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
module Google
|
|
76
|
+
module Protobuf
|
|
77
|
+
class DescriptorPool
|
|
78
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
@@ -86,6 +86,8 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void
|
|
|
86
86
|
def api_command_v1_signal_external_workflow_execution_command_attributes: (untyped value) -> void
|
|
87
87
|
def api_command_v1_start_child_workflow_execution_command_attributes: (untyped value) -> void
|
|
88
88
|
def api_command_v1_upsert_workflow_search_attributes_command_attributes: (untyped value) -> void
|
|
89
|
+
def api_common_v1_callback: (untyped value) -> void
|
|
90
|
+
def api_common_v1_callback_nexus_handler: (untyped value) -> void
|
|
89
91
|
def api_common_v1_header: (untyped value) -> void
|
|
90
92
|
def api_common_v1_memo: (untyped value) -> void
|
|
91
93
|
def api_common_v1_payloads: (untyped value) -> void
|
|
@@ -132,6 +134,8 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void
|
|
|
132
134
|
def api_history_v1_workflow_execution_completed_event_attributes: (untyped value) -> void
|
|
133
135
|
def api_history_v1_workflow_execution_continued_as_new_event_attributes: (untyped value) -> void
|
|
134
136
|
def api_history_v1_workflow_execution_failed_event_attributes: (untyped value) -> void
|
|
137
|
+
def api_history_v1_workflow_execution_options_updated_event_attributes: (untyped value) -> void
|
|
138
|
+
def api_history_v1_workflow_execution_options_updated_event_attributes_workflow_update_options_update: (untyped value) -> void
|
|
135
139
|
def api_history_v1_workflow_execution_signaled_event_attributes: (untyped value) -> void
|
|
136
140
|
def api_history_v1_workflow_execution_started_event_attributes: (untyped value) -> void
|
|
137
141
|
def api_history_v1_workflow_execution_terminated_event_attributes: (untyped value) -> void
|
|
@@ -152,6 +156,7 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void
|
|
|
152
156
|
def api_nexus_v1_start_operation_request: (untyped value) -> void
|
|
153
157
|
def api_nexus_v1_start_operation_response: (untyped value) -> void
|
|
154
158
|
def api_nexus_v1_start_operation_response_sync: (untyped value) -> void
|
|
159
|
+
def api_nexusoperation_v1_callback_info: (untyped value) -> void
|
|
155
160
|
def api_operatorservice_v1_create_nexus_endpoint_request: (untyped value) -> void
|
|
156
161
|
def api_operatorservice_v1_create_nexus_endpoint_response: (untyped value) -> void
|
|
157
162
|
def api_operatorservice_v1_get_nexus_endpoint_response: (untyped value) -> void
|
|
@@ -241,6 +246,7 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void
|
|
|
241
246
|
def api_workflowservice_v1_signal_with_start_workflow_execution_request: (untyped value) -> void
|
|
242
247
|
def api_workflowservice_v1_signal_workflow_execution_request: (untyped value) -> void
|
|
243
248
|
def api_workflowservice_v1_start_activity_execution_request: (untyped value) -> void
|
|
249
|
+
def api_workflowservice_v1_start_activity_execution_response: (untyped value) -> void
|
|
244
250
|
def api_workflowservice_v1_start_batch_operation_request: (untyped value) -> void
|
|
245
251
|
def api_workflowservice_v1_start_nexus_operation_execution_request: (untyped value) -> void
|
|
246
252
|
def api_workflowservice_v1_start_workflow_execution_request: (untyped value) -> void
|
|
@@ -276,6 +282,7 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void
|
|
|
276
282
|
def coresdk_workflow_activation_signal_workflow: (untyped value) -> void
|
|
277
283
|
def coresdk_workflow_activation_workflow_activation: (untyped value) -> void
|
|
278
284
|
def coresdk_workflow_activation_workflow_activation_job: (untyped value) -> void
|
|
285
|
+
def coresdk_workflow_commands_cancel_workflow_execution: (untyped value) -> void
|
|
279
286
|
def coresdk_workflow_commands_complete_workflow_execution: (untyped value) -> void
|
|
280
287
|
def coresdk_workflow_commands_continue_as_new_workflow_execution: (untyped value) -> void
|
|
281
288
|
def coresdk_workflow_commands_fail_workflow_execution: (untyped value) -> void
|
|
@@ -15,18 +15,29 @@ module Temporalio
|
|
|
15
15
|
attr_writer cluster_name(): ::String | ::Symbol
|
|
16
16
|
def clear_cluster_name: () -> void
|
|
17
17
|
|
|
18
|
+
# Ramp duration when this cluster is added as passive by UpdateNamespace; unset or non-positive disables gradual connect.
|
|
19
|
+
# This field is not persisted and is omitted from namespace responses.
|
|
20
|
+
attr_reader replication_ramp_duration(): ::Google::Protobuf::Duration?
|
|
21
|
+
attr_writer replication_ramp_duration(): (::Google::Protobuf::Duration | ::int)?
|
|
22
|
+
def has_replication_ramp_duration?: () -> bool
|
|
23
|
+
def clear_replication_ramp_duration: () -> void
|
|
24
|
+
|
|
18
25
|
type init_map = {
|
|
19
26
|
cluster_name: (::String | ::Symbol)?,
|
|
20
27
|
"cluster_name" => (::String | ::Symbol)?,
|
|
28
|
+
replication_ramp_duration: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
29
|
+
"replication_ramp_duration" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
21
30
|
}
|
|
22
31
|
|
|
23
32
|
def initialize: (?init_map initial_value) -> void
|
|
24
33
|
|
|
25
34
|
def []:
|
|
26
35
|
("cluster_name" name) -> ::String
|
|
36
|
+
| ("replication_ramp_duration" name) -> ::Google::Protobuf::Duration?
|
|
27
37
|
|
|
28
38
|
def []=:
|
|
29
39
|
("cluster_name" name, (::String | ::Symbol) value) -> void
|
|
40
|
+
| ("replication_ramp_duration" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
30
41
|
end
|
|
31
42
|
|
|
32
43
|
class NamespaceReplicationConfig < ::Google::Protobuf::AbstractMessage
|
|
@@ -193,6 +193,11 @@ module Temporalio
|
|
|
193
193
|
attr_accessor links(): ::Google::Protobuf::RepeatedField
|
|
194
194
|
def clear_links: () -> void
|
|
195
195
|
|
|
196
|
+
# Serialization context propagated from the Nexus caller that started this update.
|
|
197
|
+
attr_accessor propagated_nexus_serialization_context(): ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext?
|
|
198
|
+
def has_propagated_nexus_serialization_context?: () -> bool
|
|
199
|
+
def clear_propagated_nexus_serialization_context: () -> void
|
|
200
|
+
|
|
196
201
|
type init_map = {
|
|
197
202
|
meta: (::Temporalio::Api::Update::V1::Meta | ::Temporalio::Api::Update::V1::Meta::init_map)?,
|
|
198
203
|
"meta" => (::Temporalio::Api::Update::V1::Meta | ::Temporalio::Api::Update::V1::Meta::init_map)?,
|
|
@@ -204,6 +209,8 @@ module Temporalio
|
|
|
204
209
|
"completion_callbacks" => ::Array[::Temporalio::Api::Common::V1::Callback]?,
|
|
205
210
|
links: ::Array[::Temporalio::Api::Common::V1::Link]?,
|
|
206
211
|
"links" => ::Array[::Temporalio::Api::Common::V1::Link]?,
|
|
212
|
+
propagated_nexus_serialization_context: (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
|
|
213
|
+
"propagated_nexus_serialization_context" => (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
|
|
207
214
|
}
|
|
208
215
|
|
|
209
216
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -214,6 +221,7 @@ module Temporalio
|
|
|
214
221
|
| ("request_id" name) -> ::String
|
|
215
222
|
| ("completion_callbacks" name) -> ::Google::Protobuf::RepeatedField
|
|
216
223
|
| ("links" name) -> ::Google::Protobuf::RepeatedField
|
|
224
|
+
| ("propagated_nexus_serialization_context" name) -> ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext?
|
|
217
225
|
|
|
218
226
|
def []=:
|
|
219
227
|
("meta" name, ::Temporalio::Api::Update::V1::Meta? value) -> void
|
|
@@ -221,6 +229,7 @@ module Temporalio
|
|
|
221
229
|
| ("request_id" name, (::String | ::Symbol) value) -> void
|
|
222
230
|
| ("completion_callbacks" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
223
231
|
| ("links" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
232
|
+
| ("propagated_nexus_serialization_context" name, ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext? value) -> void
|
|
224
233
|
end
|
|
225
234
|
|
|
226
235
|
# An Update protocol message indicating that a Workflow Update has been rejected.
|
|
@@ -660,17 +660,23 @@ module Temporalio
|
|
|
660
660
|
|
|
661
661
|
RUNTIME_TYPE_ROADRUNNER: 10
|
|
662
662
|
|
|
663
|
+
# Report when the application is compiled ahead-of-time as a GraalVM native image.
|
|
664
|
+
RUNTIME_TYPE_GRAAL_AOT: 11
|
|
665
|
+
|
|
666
|
+
# Report when any registered Workflow or Activity implementation is a Kotlin class.
|
|
667
|
+
RUNTIME_TYPE_KOTLIN: 12
|
|
668
|
+
|
|
663
669
|
def self.lookup: (::Integer number) -> ::Symbol
|
|
664
670
|
|
|
665
671
|
|
|
666
672
|
def self.resolve: (::Symbol name) -> ::Integer
|
|
667
673
|
|
|
668
674
|
|
|
669
|
-
type names = :RUNTIME_TYPE_UNSPECIFIED | :RUNTIME_TYPE_JVM | :RUNTIME_TYPE_CPYTHON | :RUNTIME_TYPE_NODE | :RUNTIME_TYPE_BUN | :RUNTIME_TYPE_CRUBY | :RUNTIME_TYPE_GO | :RUNTIME_TYPE_DOTNET_FRAMEWORK | :RUNTIME_TYPE_DOTNET_CORE | :RUNTIME_TYPE_NATIVE | :RUNTIME_TYPE_ROADRUNNER
|
|
675
|
+
type names = :RUNTIME_TYPE_UNSPECIFIED | :RUNTIME_TYPE_JVM | :RUNTIME_TYPE_CPYTHON | :RUNTIME_TYPE_NODE | :RUNTIME_TYPE_BUN | :RUNTIME_TYPE_CRUBY | :RUNTIME_TYPE_GO | :RUNTIME_TYPE_DOTNET_FRAMEWORK | :RUNTIME_TYPE_DOTNET_CORE | :RUNTIME_TYPE_NATIVE | :RUNTIME_TYPE_ROADRUNNER | :RUNTIME_TYPE_GRAAL_AOT | :RUNTIME_TYPE_KOTLIN
|
|
670
676
|
|
|
671
|
-
type strings = "RUNTIME_TYPE_UNSPECIFIED" | "RUNTIME_TYPE_JVM" | "RUNTIME_TYPE_CPYTHON" | "RUNTIME_TYPE_NODE" | "RUNTIME_TYPE_BUN" | "RUNTIME_TYPE_CRUBY" | "RUNTIME_TYPE_GO" | "RUNTIME_TYPE_DOTNET_FRAMEWORK" | "RUNTIME_TYPE_DOTNET_CORE" | "RUNTIME_TYPE_NATIVE" | "RUNTIME_TYPE_ROADRUNNER"
|
|
677
|
+
type strings = "RUNTIME_TYPE_UNSPECIFIED" | "RUNTIME_TYPE_JVM" | "RUNTIME_TYPE_CPYTHON" | "RUNTIME_TYPE_NODE" | "RUNTIME_TYPE_BUN" | "RUNTIME_TYPE_CRUBY" | "RUNTIME_TYPE_GO" | "RUNTIME_TYPE_DOTNET_FRAMEWORK" | "RUNTIME_TYPE_DOTNET_CORE" | "RUNTIME_TYPE_NATIVE" | "RUNTIME_TYPE_ROADRUNNER" | "RUNTIME_TYPE_GRAAL_AOT" | "RUNTIME_TYPE_KOTLIN"
|
|
672
678
|
|
|
673
|
-
type numbers = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
|
|
679
|
+
type numbers = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
|
|
674
680
|
end
|
|
675
681
|
|
|
676
682
|
# The type of the runtime.
|
|
@@ -337,6 +337,11 @@ module Temporalio
|
|
|
337
337
|
def has_time_skipping_info?: () -> bool
|
|
338
338
|
def clear_time_skipping_info: () -> void
|
|
339
339
|
|
|
340
|
+
# Serialization context propagated from the Nexus caller that started this workflow.
|
|
341
|
+
attr_accessor propagated_nexus_serialization_context(): ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext?
|
|
342
|
+
def has_propagated_nexus_serialization_context?: () -> bool
|
|
343
|
+
def clear_propagated_nexus_serialization_context: () -> void
|
|
344
|
+
|
|
340
345
|
type init_map = {
|
|
341
346
|
execution_expiration_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
342
347
|
"execution_expiration_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
@@ -356,6 +361,8 @@ module Temporalio
|
|
|
356
361
|
"pause_info" => (::Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo | ::Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo::init_map)?,
|
|
357
362
|
time_skipping_info: (::Temporalio::Api::Common::V1::TimeSkippingInfo | ::Temporalio::Api::Common::V1::TimeSkippingInfo::init_map)?,
|
|
358
363
|
"time_skipping_info" => (::Temporalio::Api::Common::V1::TimeSkippingInfo | ::Temporalio::Api::Common::V1::TimeSkippingInfo::init_map)?,
|
|
364
|
+
propagated_nexus_serialization_context: (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
|
|
365
|
+
"propagated_nexus_serialization_context" => (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
|
|
359
366
|
}
|
|
360
367
|
|
|
361
368
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -370,6 +377,7 @@ module Temporalio
|
|
|
370
377
|
| ("request_id_infos" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Workflow::V1::RequestIdInfo])
|
|
371
378
|
| ("pause_info" name) -> ::Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo?
|
|
372
379
|
| ("time_skipping_info" name) -> ::Temporalio::Api::Common::V1::TimeSkippingInfo?
|
|
380
|
+
| ("propagated_nexus_serialization_context" name) -> ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext?
|
|
373
381
|
|
|
374
382
|
def []=:
|
|
375
383
|
("execution_expiration_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
@@ -381,6 +389,7 @@ module Temporalio
|
|
|
381
389
|
| ("request_id_infos" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Workflow::V1::RequestIdInfo]) value) -> void
|
|
382
390
|
| ("pause_info" name, ::Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo? value) -> void
|
|
383
391
|
| ("time_skipping_info" name, ::Temporalio::Api::Common::V1::TimeSkippingInfo? value) -> void
|
|
392
|
+
| ("propagated_nexus_serialization_context" name, ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext? value) -> void
|
|
384
393
|
end
|
|
385
394
|
|
|
386
395
|
# Holds all the information about worker versioning for a particular workflow execution.
|
|
@@ -1534,6 +1543,12 @@ module Temporalio
|
|
|
1534
1543
|
attr_writer blocked_reason(): ::String | ::Symbol
|
|
1535
1544
|
def clear_blocked_reason: () -> void
|
|
1536
1545
|
|
|
1546
|
+
# Server-generated request ID used as an idempotency token when invoking callbacks.
|
|
1547
|
+
# It has no relation to caller-side request_id sent in operations like StartWorkflowExecutionRequest.
|
|
1548
|
+
attr_reader request_id(): ::String
|
|
1549
|
+
attr_writer request_id(): ::String | ::Symbol
|
|
1550
|
+
def clear_request_id: () -> void
|
|
1551
|
+
|
|
1537
1552
|
type init_map = {
|
|
1538
1553
|
callback: (::Temporalio::Api::Common::V1::Callback | ::Temporalio::Api::Common::V1::Callback::init_map)?,
|
|
1539
1554
|
"callback" => (::Temporalio::Api::Common::V1::Callback | ::Temporalio::Api::Common::V1::Callback::init_map)?,
|
|
@@ -1553,6 +1568,8 @@ module Temporalio
|
|
|
1553
1568
|
"next_attempt_schedule_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1554
1569
|
blocked_reason: (::String | ::Symbol)?,
|
|
1555
1570
|
"blocked_reason" => (::String | ::Symbol)?,
|
|
1571
|
+
request_id: (::String | ::Symbol)?,
|
|
1572
|
+
"request_id" => (::String | ::Symbol)?,
|
|
1556
1573
|
}
|
|
1557
1574
|
|
|
1558
1575
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -1567,6 +1584,7 @@ module Temporalio
|
|
|
1567
1584
|
| ("last_attempt_failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
1568
1585
|
| ("next_attempt_schedule_time" name) -> ::Google::Protobuf::Timestamp?
|
|
1569
1586
|
| ("blocked_reason" name) -> ::String
|
|
1587
|
+
| ("request_id" name) -> ::String
|
|
1570
1588
|
|
|
1571
1589
|
def []=:
|
|
1572
1590
|
("callback" name, ::Temporalio::Api::Common::V1::Callback? value) -> void
|
|
@@ -1578,6 +1596,7 @@ module Temporalio
|
|
|
1578
1596
|
| ("last_attempt_failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
1579
1597
|
| ("next_attempt_schedule_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
1580
1598
|
| ("blocked_reason" name, (::String | ::Symbol) value) -> void
|
|
1599
|
+
| ("request_id" name, (::String | ::Symbol) value) -> void
|
|
1581
1600
|
end
|
|
1582
1601
|
|
|
1583
1602
|
# PendingNexusOperationInfo contains the state of a pending Nexus operation.
|