Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ target
.gradle
/build
/out
.vscode
31 changes: 15 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
plugins {
id 'net.minecrell.licenser' version '0.4.1'
id 'com.github.hierynomus.license' version '0.16.1'
id "com.github.sherter.google-java-format" version "0.9"
id "net.ltgt.errorprone" version "1.3.0"
id "net.ltgt.errorprone" version "3.1.0"
id 'org.springframework.boot' version '2.7.15'

}

apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'com.github.sherter.google-java-format'
apply plugin: 'io.spring.dependency-management'

Expand Down Expand Up @@ -37,18 +36,17 @@ repositories {
}

dependencies {
errorproneJavac("com.google.errorprone:javac:9+181-r4173-1")
errorprone("com.google.errorprone:error_prone_core:2.4.0")
compile group: 'com.uber.cadence', name: 'cadence-client', version: '3.7.2'
compile group: 'commons-configuration', name: 'commons-configuration', version: '1.9'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'com.uber.m3', name: 'tally-core', version: '0.10.0'
compile group: 'com.uber.m3', name: 'tally-prometheus', version: '0.10.0'
compile group: 'io.prometheus', name: 'simpleclient', version: '0.10.0'
compile group: 'io.prometheus', name: 'simpleclient_httpserver', version: '0.10.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
testCompile group: 'org.powermock', name: 'powermock-api-mockito', version: '1.7.3'
errorprone("com.google.errorprone:error_prone_core:2.23.0")
implementation group: 'com.uber.cadence', name: 'cadence-client', version: '3.7.2'
implementation group: 'commons-configuration', name: 'commons-configuration', version: '1.9'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
implementation group: 'com.uber.m3', name: 'tally-core', version: '0.10.0'
implementation group: 'com.uber.m3', name: 'tally-prometheus', version: '0.10.0'
implementation group: 'io.prometheus', name: 'simpleclient', version: '0.10.0'
implementation group: 'io.prometheus', name: 'simpleclient_httpserver', version: '0.10.0'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
testImplementation group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
testImplementation group: 'org.powermock', name: 'powermock-api-mockito', version: '1.7.4'
implementation 'org.springframework.boot:spring-boot-starter-web'
}

Expand All @@ -67,4 +65,5 @@ task execute(type: JavaExec) {

license {
header rootProject.file('license-header.txt')
include "**/*.java"
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ public void testReplay_continueAsNew_moreFrequency() throws Exception {
// }

// Continue as new case: when continue as new has child workflow as well
//EXPECTED: FAIL ACTUAL: FAIL
// @Test
// public void testReplay_continueAsNew_withChildWorkflows() throws Exception {
// WorkflowReplayer.replayWorkflowExecutionFromResource(
// "replaytests/HelloPeriodic.json",
// HelloPeriodic_withChildWorkflows.GreetingWorkflowImpl.class);
// }
// EXPECTED: FAIL ACTUAL: FAIL
// @Test
// public void testReplay_continueAsNew_withChildWorkflows() throws Exception {
// WorkflowReplayer.replayWorkflowExecutionFromResource(
// "replaytests/HelloPeriodic.json",
// HelloPeriodic_withChildWorkflows.GreetingWorkflowImpl.class);
// }
}
Loading