Skip to content

Commit 0ace7f6

Browse files
author
Maxim Fateev
committed
Switched to cadence-client v2.2.0
1 parent fcabede commit 0ace7f6

File tree

5 files changed

+3
-72
lines changed

5 files changed

+3
-72
lines changed

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ repositories {
3333
}
3434

3535
dependencies {
36-
compile group: 'com.uber.cadence', name: 'cadence-client', version: '2.0.0'
37-
compile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.274'
36+
compile group: 'com.uber.cadence', name: 'cadence-client', version: '2.2.0'
3837
compile group: 'commons-configuration', name: 'commons-configuration', version: '1.9'
3938
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
4039
testCompile group: 'junit', name: 'junit', version: '4.12'

src/main/java/com/uber/cadence/samples/common/QueryWorkflowExecutionLocalReplay.java

Lines changed: 0 additions & 65 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static void main(String[] args) {
4545
workerForCommonTaskList.registerActivitiesImplementations(storeActivityImpl);
4646

4747
// Get worker to poll the host-specific task list.
48-
final Worker workerForHostSpecificTaskList =factory.newWorker(hostSpecifiTaskList);
48+
final Worker workerForHostSpecificTaskList = factory.newWorker(hostSpecifiTaskList);
4949
workerForHostSpecificTaskList.registerActivitiesImplementations(storeActivityImpl);
5050

5151
// Start all workers created by this factory.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import java.time.Duration;
2929
import java.util.ArrayList;
3030
import java.util.List;
31-
import java.util.concurrent.CompletableFuture;
3231

3332
/**
3433
* Demonstrates asynchronous signalling of a workflow. Requires a local instance of Cadence server

src/test/java/com/uber/cadence/samples/hello/HelloSignalTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
import com.uber.cadence.worker.Worker;
2727
import java.time.Duration;
2828
import java.util.List;
29-
import java.util.concurrent.CompletableFuture;
30-
3129
import org.junit.After;
3230
import org.junit.Before;
3331
import org.junit.Rule;
@@ -70,7 +68,7 @@ public void setUp() {
7068
public void tearDown() {
7169
testEnv.close();
7270
}
73-
71+
7472
@Test
7573
public void testSignal() {
7674
// Get a workflow stub using the same task list the worker uses.

0 commit comments

Comments
 (0)