@@ -25,319 +25,171 @@ samples:
2525 dest : src/main/java/io/temporal/samples/hello
2626 description : Single-file hello world samples demonstrating core SDK features
2727 sdk_version : " 1.32.1"
28- commands :
29- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.hello.HelloActivity"
3028 - path : core/src/main/java/io/temporal/samples/nexus
3129 dest : src/main/java/io/temporal/samples/nexus
3230 description : Nexus service definition and operation handlers
3331 sdk_version : " 1.32.1"
34- commands :
35- - cmd : " temporal operator namespace create --namespace my-target-namespace"
36- - cmd : " temporal operator namespace create --namespace my-caller-namespace"
37- - cmd : " temporal operator nexus endpoint create --name my-nexus-endpoint-name --target-namespace my-target-namespace --target-task-queue my-handler-task-queue --description-file ./src/main/java/io/temporal/samples/nexus/service/description.md"
38- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexus.handler.HandlerWorker --args=\" -target-host localhost:7233 -namespace my-target-namespace\" "
39- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexus.caller.CallerWorker --args=\" -target-host localhost:7233 -namespace my-caller-namespace\" "
40- new_terminal : true
41- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexus.caller.CallerStarter --args=\" -target-host localhost:7233 -namespace my-caller-namespace\" "
42- new_terminal : true
4332 - path : core/src/main/java/io/temporal/samples/nexuscancellation
4433 dest : src/main/java/io/temporal/samples/nexuscancellation
4534 description : Cancel a Nexus operation using WaitRequested cancellation
4635 sdk_version : " 1.32.1"
4736 include :
4837 - path : core/src/main/java/io/temporal/samples/nexus
4938 dest : src/main/java/io/temporal/samples/nexus
50- commands :
51- - cmd : " temporal operator namespace create --namespace my-target-namespace"
52- - cmd : " temporal operator namespace create --namespace my-caller-namespace"
53- - cmd : " temporal operator nexus endpoint create --name my-nexus-endpoint-name --target-namespace my-target-namespace --target-task-queue my-handler-task-queue"
54- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexuscancellation.handler.HandlerWorker --args=\" -target-host localhost:7233 -namespace my-target-namespace\" "
55- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexuscancellation.caller.CallerWorker --args=\" -target-host localhost:7233 -namespace my-caller-namespace\" "
56- new_terminal : true
57- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexuscancellation.caller.CallerStarter --args=\" -target-host localhost:7233 -namespace my-caller-namespace\" "
58- new_terminal : true
5939 - path : core/src/main/java/io/temporal/samples/nexuscontextpropagation
6040 dest : src/main/java/io/temporal/samples/nexuscontextpropagation
6141 description : Propagate MDC context from Workflows to Nexus operations
6242 sdk_version : " 1.32.1"
6343 include :
6444 - path : core/src/main/java/io/temporal/samples/nexus
6545 dest : src/main/java/io/temporal/samples/nexus
66- commands :
67- - cmd : " temporal operator namespace create --namespace my-target-namespace"
68- - cmd : " temporal operator namespace create --namespace my-caller-namespace"
69- - cmd : " temporal operator nexus endpoint create --name my-nexus-endpoint-name --target-namespace my-target-namespace --target-task-queue my-handler-task-queue"
70- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexuscontextpropagation.handler.HandlerWorker --args=\" -target-host localhost:7233 -namespace my-target-namespace\" "
71- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexuscontextpropagation.caller.CallerWorker --args=\" -target-host localhost:7233 -namespace my-caller-namespace\" "
72- new_terminal : true
73- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexuscontextpropagation.caller.CallerStarter --args=\" -target-host localhost:7233 -namespace my-caller-namespace\" "
74- new_terminal : true
7546 - path : core/src/main/java/io/temporal/samples/nexusmultipleargs
7647 dest : src/main/java/io/temporal/samples/nexusmultipleargs
7748 description : Map a Nexus operation to a workflow with multiple input arguments
7849 sdk_version : " 1.32.1"
7950 include :
8051 - path : core/src/main/java/io/temporal/samples/nexus
8152 dest : src/main/java/io/temporal/samples/nexus
82- commands :
83- - cmd : " temporal operator namespace create --namespace my-target-namespace"
84- - cmd : " temporal operator namespace create --namespace my-caller-namespace"
85- - cmd : " temporal operator nexus endpoint create --name my-nexus-endpoint-name --target-namespace my-target-namespace --target-task-queue my-handler-task-queue"
86- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexusmultipleargs.handler.HandlerWorker --args=\" -target-host localhost:7233 -namespace my-target-namespace\" "
87- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexusmultipleargs.caller.CallerWorker --args=\" -target-host localhost:7233 -namespace my-caller-namespace\" "
88- new_terminal : true
89- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.nexusmultipleargs.caller.CallerStarter --args=\" -target-host localhost:7233 -namespace my-caller-namespace\" "
90- new_terminal : true
9153 - path : core/src/main/java/io/temporal/samples/bookingsaga
9254 dest : src/main/java/io/temporal/samples/bookingsaga
9355 description : Trip booking Saga pattern with compensation
9456 sdk_version : " 1.32.1"
95- commands :
96- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.bookingsaga.TripBookingWorker"
97- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.bookingsaga.TripBookingClient"
98- new_terminal : true
9957 - path : core/src/main/java/io/temporal/samples/moneytransfer
10058 dest : src/main/java/io/temporal/samples/moneytransfer
10159 description : Separate processes for workflows, activities, and transfer requests
10260 sdk_version : " 1.32.1"
103- commands :
104- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.moneytransfer.AccountTransferWorker"
105- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.moneytransfer.AccountActivityWorker"
106- new_terminal : true
107- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.moneytransfer.TransferRequester"
108- new_terminal : true
10961 - path : core/src/main/java/io/temporal/samples/dsl
11062 dest : src/main/java/io/temporal/samples/dsl
11163 description : DSL-driven workflow steps defined in JSON
11264 sdk_version : " 1.32.1"
11365 include :
11466 - path : core/src/main/resources/dsl
11567 dest : src/main/resources/dsl
116- commands :
117- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.dsl.Starter"
11868 - path : core/src/main/java/io/temporal/samples/fileprocessing
11969 dest : src/main/java/io/temporal/samples/fileprocessing
12070 description : Route tasks to specific Workers for host-local download/process/upload
12171 sdk_version : " 1.32.1"
122- commands :
123- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.fileprocessing.FileProcessingWorker"
124- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.fileprocessing.FileProcessingStarter"
125- new_terminal : true
12672 - path : core/src/main/java/io/temporal/samples/encryptedpayloads
12773 dest : src/main/java/io/temporal/samples/encryptedpayloads
12874 description : End-to-end payload encryption
12975 sdk_version : " 1.32.1"
130- commands :
131- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.encryptedpayloads.EncryptedPayloadsActivity"
13276 - path : core/src/main/java/io/temporal/samples/apikey
13377 dest : src/main/java/io/temporal/samples/apikey
13478 description : Connect to Temporal using API key authentication
13579 sdk_version : " 1.32.1"
136- commands :
137- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.apikey.ApiKeyWorker"
138- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.apikey.Starter"
139- new_terminal : true
14080 - path : core/src/main/java/io/temporal/samples/asyncchild
14181 dest : src/main/java/io/temporal/samples/asyncchild
14282 description : Invoke a Child Workflow asynchronously outliving the parent
14383 sdk_version : " 1.32.1"
144- commands :
145- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.asyncchild.Starter"
14684 - path : core/src/main/java/io/temporal/samples/asyncuntypedchild
14785 dest : src/main/java/io/temporal/samples/asyncuntypedchild
14886 description : Invoke an untyped Child Workflow asynchronously outliving the parent
14987 sdk_version : " 1.32.1"
150- commands :
151- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.asyncuntypedchild.Starter"
15288 - path : core/src/main/java/io/temporal/samples/autoheartbeat
15389 dest : src/main/java/io/temporal/samples/autoheartbeat
15490 description : Auto-heartbeating interceptor for long-running activities
15591 sdk_version : " 1.32.1"
156- commands :
157- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.autoheartbeat.Starter"
15892 - path : core/src/main/java/io/temporal/samples/batch
15993 dest : src/main/java/io/temporal/samples/batch
16094 description : Batch processing patterns using sliding window, iterator, and heartbeating
16195 sdk_version : " 1.32.1"
162- commands :
163- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.batch.slidingwindow.SlidingWindowBatchWorker"
164- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.batch.slidingwindow.SlidingWindowBatchStarter"
165- new_terminal : true
16696 - path : core/src/main/java/io/temporal/samples/bookingsyncsaga
16797 dest : src/main/java/io/temporal/samples/bookingsyncsaga
16898 description : Synchronous trip booking Saga with early client unblock via update
16999 sdk_version : " 1.32.1"
170- commands :
171- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.bookingsyncsaga.TripBookingWorker"
172- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.bookingsyncsaga.TripBookingClient"
173- new_terminal : true
174100 - path : core/src/main/java/io/temporal/samples/countinterceptor
175101 dest : src/main/java/io/temporal/samples/countinterceptor
176102 description : Worker and client interceptors that count executions, signals, and queries
177103 sdk_version : " 1.32.1"
178- commands :
179- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.countinterceptor.InterceptorStarter"
180104 - path : core/src/main/java/io/temporal/samples/customannotation
181105 dest : src/main/java/io/temporal/samples/customannotation
182106 description : Custom annotation via interceptor to mark exceptions as benign
183107 sdk_version : " 1.32.1"
184- commands :
185- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.customannotation.CustomAnnotation"
186108 - path : core/src/main/java/io/temporal/samples/customchangeversion
187109 dest : src/main/java/io/temporal/samples/customchangeversion
188110 description : Upsert a custom search attribute when adding workflow version changes
189111 sdk_version : " 1.32.1"
190- commands :
191- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.customchangeversion.CustomChangeVersionStarter"
192112 - path : core/src/main/java/io/temporal/samples/earlyreturn
193113 dest : src/main/java/io/temporal/samples/earlyreturn
194114 description : Early return from a workflow using Update-with-Start
195115 sdk_version : " 1.32.1"
196- commands :
197- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.earlyreturn.EarlyReturnWorker"
198- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.earlyreturn.EarlyReturnClient"
199- new_terminal : true
200116 - path : core/src/main/java/io/temporal/samples/encodefailures
201117 dest : src/main/java/io/temporal/samples/encodefailures
202118 description : Encode and decode failure messages using a payload codec
203119 sdk_version : " 1.32.1"
204- commands :
205- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.encodefailures.Starter"
206120 - path : core/src/main/java/io/temporal/samples/envconfig
207121 dest : src/main/java/io/temporal/samples/envconfig
208122 description : Configure the Temporal client from TOML configuration files
209123 sdk_version : " 1.32.1"
210- commands :
211- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.envconfig.LoadFromFile"
212124 - path : core/src/main/java/io/temporal/samples/excludefrominterceptor
213125 dest : src/main/java/io/temporal/samples/excludefrominterceptor
214126 description : Exclude specific workflow and activity types from interceptors
215127 sdk_version : " 1.32.1"
216- commands :
217- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.excludefrominterceptor.RunMyWorkflows"
218128 - path : core/src/main/java/io/temporal/samples/getresultsasync
219129 dest : src/main/java/io/temporal/samples/getresultsasync
220130 description : Get workflow results asynchronously using getResultAsync
221131 sdk_version : " 1.32.1"
222- commands :
223- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.getresultsasync.Worker"
224- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.getresultsasync.Starter"
225- new_terminal : true
226132 - path : core/src/main/java/io/temporal/samples/keymanagementencryption
227133 dest : src/main/java/io/temporal/samples/keymanagementencryption
228134 description : Payload encryption using the AWS Encryption SDK with KMS keyrings
229135 sdk_version : " 1.32.1"
230- commands :
231- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.keymanagementencryption.awsencryptionsdk.EncryptedPayloads"
232136 - path : core/src/main/java/io/temporal/samples/listworkflows
233137 dest : src/main/java/io/temporal/samples/listworkflows
234138 description : List workflow executions using custom search attributes
235139 sdk_version : " 1.32.1"
236- commands :
237- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.listworkflows.Starter"
238140 - path : core/src/main/java/io/temporal/samples/metrics
239141 dest : src/main/java/io/temporal/samples/metrics
240142 description : Set up SDK metrics with a Prometheus scrape endpoint
241143 sdk_version : " 1.32.1"
242- commands :
243- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.metrics.MetricsWorker"
244- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.metrics.MetricsStarter"
245- new_terminal : true
246144 - path : core/src/main/java/io/temporal/samples/moneybatch
247145 dest : src/main/java/io/temporal/samples/moneybatch
248146 description : Batch multiple withdrawals into a single deposit using signal-with-start
249147 sdk_version : " 1.32.1"
250- commands :
251- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.moneybatch.AccountTransferWorker"
252- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.moneybatch.AccountActivityWorker"
253- new_terminal : true
254- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.moneybatch.TransferRequester"
255- new_terminal : true
256148 - path : core/src/main/java/io/temporal/samples/packetdelivery
257149 dest : src/main/java/io/temporal/samples/packetdelivery
258150 description : Parallel async packet deliveries with per-item cancellation support
259151 sdk_version : " 1.32.1"
260- commands :
261- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.packetdelivery.Starter"
262152 - path : core/src/main/java/io/temporal/samples/payloadconverter
263153 dest : src/main/java/io/temporal/samples/payloadconverter
264154 description : Custom payload converters for crypto and CloudEvents serialization
265155 sdk_version : " 1.32.1"
266- commands :
267- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.payloadconverter.crypto.Starter"
268156 - path : core/src/main/java/io/temporal/samples/peractivityoptions
269157 dest : src/main/java/io/temporal/samples/peractivityoptions
270158 description : Set per-activity-type options via WorkflowImplementationOptions
271159 sdk_version : " 1.32.1"
272- commands :
273- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.peractivityoptions.Starter"
274160 - path : core/src/main/java/io/temporal/samples/polling
275161 dest : src/main/java/io/temporal/samples/polling
276162 description : Polling patterns for frequent, infrequent, and periodic activity execution
277163 sdk_version : " 1.32.1"
278- commands :
279- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.polling.frequent.FrequentPollingStarter"
280164 - path : core/src/main/java/io/temporal/samples/retryonsignalinterceptor
281165 dest : src/main/java/io/temporal/samples/retryonsignalinterceptor
282166 description : Interceptor that waits for a signal to retry or fail an activity
283167 sdk_version : " 1.32.1"
284- commands :
285- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.retryonsignalinterceptor.MyWorkflowWorker"
286- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.retryonsignalinterceptor.RetryRequester"
287- new_terminal : true
288168 - path : core/src/main/java/io/temporal/samples/safemessagepassing
289169 dest : src/main/java/io/temporal/samples/safemessagepassing
290170 description : Safe signal and update handling with locking and continue-as-new
291171 sdk_version : " 1.32.1"
292- commands :
293- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.safemessagepassing.ClusterManagerWorkflowWorker"
294- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.safemessagepassing.ClusterManagerWorkflowStarter"
295- new_terminal : true
296172 - path : core/src/main/java/io/temporal/samples/sleepfordays
297173 dest : src/main/java/io/temporal/samples/sleepfordays
298174 description : Workflow that periodically sleeps for days between actions
299175 sdk_version : " 1.32.1"
300- commands :
301- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.sleepfordays.Worker"
302- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.sleepfordays.Starter"
303- new_terminal : true
304176 - path : core/src/main/java/io/temporal/samples/ssl
305177 dest : src/main/java/io/temporal/samples/ssl
306178 description : Connect to Temporal using mTLS authentication
307179 sdk_version : " 1.32.1"
308- commands :
309- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.ssl.Starter"
310180 - path : core/src/main/java/io/temporal/samples/terminateworkflow
311181 dest : src/main/java/io/temporal/samples/terminateworkflow
312182 description : Terminate a workflow execution using the client API
313183 sdk_version : " 1.32.1"
314- commands :
315- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.terminateworkflow.Starter"
316184 - path : core/src/main/java/io/temporal/samples/tracing
317185 dest : src/main/java/io/temporal/samples/tracing
318186 description : Distributed tracing with OpenTracing and OpenTelemetry via Jaeger
319187 sdk_version : " 1.32.1"
320- commands :
321- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.tracing.TracingWorker"
322- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.tracing.Starter"
323- new_terminal : true
324188 - path : core/src/main/java/io/temporal/samples/updatabletimer
325189 dest : src/main/java/io/temporal/samples/updatabletimer
326190 description : Blocking sleep that can be updated via signal at any time
327191 sdk_version : " 1.32.1"
328- commands :
329- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.updatabletimer.DynamicSleepWorkflowWorker"
330- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.updatabletimer.DynamicSleepWorkflowStarter"
331- new_terminal : true
332192 - path : core/src/main/java/io/temporal/samples/workerversioning
333193 dest : src/main/java/io/temporal/samples/workerversioning
334194 description : Worker Versioning with auto-upgrading and pinned workflow deployments
335195 sdk_version : " 1.32.1"
336- commands :
337- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.workerversioning.Starter"
338- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.workerversioning.WorkerV1"
339- new_terminal : true
340- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.workerversioning.WorkerV1_1"
341- new_terminal : true
342- - cmd : " ./gradlew -q execute -PmainClass=io.temporal.samples.workerversioning.WorkerV2"
343- new_terminal : true
0 commit comments