Skip to content

Commit 6a337cd

Browse files
author
Maxim Fateev
committed
Fixed task list names
1 parent 11c31c4 commit 6a337cd

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/main/java/com/uber/cadence/samples/fileprocessing/FileProcessingWorkflowZipImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public FileProcessingWorkflowZipImpl() {
4949
public void processFile(Arguments args) {
5050
history.add("Started");
5151
// Use runId as a way to ensure that downloaded files do not get name collisions
52-
String workflowRunId = Workflow.getContext().getWorkflowExecution().getRunId();
52+
String workflowRunId = Workflow.getWorkflowInfo().getRunId();
5353
File localSource = new File(args.getSourceBucketName());
5454
final String localSourceFilename = workflowRunId + "_" + localSource.getName();
5555
File localTarget = new File(args.getTargetFilename());

src/main/java/com/uber/cadence/samples/hello/HelloActivityRetry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*/
3737
public class HelloActivityRetry {
3838

39-
private static final String TASK_LIST = "HelloActivity";
39+
private static final String TASK_LIST = "HelloActivityRetry";
4040

4141
public interface GreetingWorkflow {
4242
/**

src/main/java/com/uber/cadence/samples/hello/HelloAsync.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*/
3535
public class HelloAsync {
3636

37-
private static final String TASK_LIST = "HelloActivity";
37+
private static final String TASK_LIST = "HelloAsync";
3838

3939
public interface GreetingWorkflow {
4040
@WorkflowMethod(executionStartToCloseTimeoutSeconds = 15, taskList = TASK_LIST)

src/main/java/com/uber/cadence/samples/hello/HelloAsyncActivityCompletion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
*/
3636
public class HelloAsyncActivityCompletion {
3737

38-
private static final String TASK_LIST = "HelloActivity";
38+
private static final String TASK_LIST = "HelloAsyncActivityCompletion";
3939

4040
public interface GreetingWorkflow {
4141
/**

src/main/java/com/uber/cadence/samples/hello/HelloAsyncLambda.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
*/
3636
public class HelloAsyncLambda {
3737

38-
private static final String TASK_LIST = "HelloActivity";
38+
private static final String TASK_LIST = "HelloAsyncLambda";
3939

4040
public interface GreetingWorkflow {
4141
/**

src/main/java/com/uber/cadence/samples/hello/HelloException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
*/
9999
public class HelloException {
100100

101-
private static final String TASK_LIST = "HelloChild";
101+
private static final String TASK_LIST = "HelloException";
102102

103103
public interface GreetingWorkflow {
104104
@WorkflowMethod

src/main/java/com/uber/cadence/samples/hello/HelloPeriodic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*/
4242
public class HelloPeriodic {
4343

44-
private static final String TASK_LIST = "HelloActivity";
44+
private static final String TASK_LIST = "HelloPeriodic";
4545

4646
public interface GreetingWorkflow {
4747
@WorkflowMethod

0 commit comments

Comments
 (0)