Skip to content

Commit 3aa4ab7

Browse files
committed
feat: add include for nexus base package in nexus variant samples
nexuscancellation, nexuscontextpropagation, and nexusmultipleargs import classes from the base nexus package. The include field tells the CLI to extract the nexus package alongside the variant.
1 parent e523c22 commit 3aa4ab7

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

temporal-sample.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ samples:
4343
dest: src/main/java/io/temporal/samples/nexuscancellation
4444
description: Cancel a Nexus operation using WaitRequested cancellation
4545
sdk_version: "1.32.1"
46+
include:
47+
- path: core/src/main/java/io/temporal/samples/nexus
48+
dest: src/main/java/io/temporal/samples/nexus
4649
commands:
4750
- cmd: "temporal operator namespace create --namespace my-target-namespace"
4851
- cmd: "temporal operator namespace create --namespace my-caller-namespace"
@@ -56,6 +59,9 @@ samples:
5659
dest: src/main/java/io/temporal/samples/nexuscontextpropagation
5760
description: Propagate MDC context from Workflows to Nexus operations
5861
sdk_version: "1.32.1"
62+
include:
63+
- path: core/src/main/java/io/temporal/samples/nexus
64+
dest: src/main/java/io/temporal/samples/nexus
5965
commands:
6066
- cmd: "temporal operator namespace create --namespace my-target-namespace"
6167
- cmd: "temporal operator namespace create --namespace my-caller-namespace"
@@ -69,6 +75,9 @@ samples:
6975
dest: src/main/java/io/temporal/samples/nexusmultipleargs
7076
description: Map a Nexus operation to a workflow with multiple input arguments
7177
sdk_version: "1.32.1"
78+
include:
79+
- path: core/src/main/java/io/temporal/samples/nexus
80+
dest: src/main/java/io/temporal/samples/nexus
7281
commands:
7382
- cmd: "temporal operator namespace create --namespace my-target-namespace"
7483
- cmd: "temporal operator namespace create --namespace my-caller-namespace"

0 commit comments

Comments
 (0)