Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
f87d558
Migrated samples from Maven to Gradle (#1)
mfateev Feb 25, 2018
df8a0e9
Added Hellow Async, AsyncLambda and Periodic. Removed PeriodicWorkflo…
mfateev Feb 25, 2018
56104c6
Added HelloActivityRetry (#3)
mfateev Feb 25, 2018
735b350
HelloException added (#4)
mfateev Feb 25, 2018
843eb52
Added timeouts to annotations
Mar 1, 2018
72a6024
Added RegisterDomain
Mar 1, 2018
5b867b5
Comment
Mar 1, 2018
8ea5ea1
Fixed task list names
Mar 5, 2018
e2f6db0
Switched to slf4j and logback. Fixed README
Mar 6, 2018
24ae3be
Rewrote fileprocessing to not use S3 (#5)
mfateev Mar 8, 2018
5768858
Removed calculator example and all S3 usage. (#6)
mfateev Mar 8, 2018
59de7d4
Wrap error fixes and doNotCompleteOnReturn (#7)
mfateev Mar 8, 2018
544caf6
Readme merge (#8)
mfateev Mar 9, 2018
5066f7b
Updated peridoic hello world to use annotation for all options (#10)
mfateev Mar 12, 2018
f35756e
Included CLI and UI sections into README (#9)
mfateev Mar 13, 2018
2e8d8eb
Converter Async.invoke to Async.function (#11)
mfateev Mar 13, 2018
4a05065
IWorkflowService and WorkflowClient.start (#12)
mfateev Mar 16, 2018
469c91f
Changed HelloAsyncActvityCompletion to use WorkflowClient.execute (#13)
mfateev Mar 16, 2018
02a65c6
Added unit tests for all samples. (#14)
mfateev Apr 13, 2018
031dfcc
Updated to public cadence-client library (#16)
mfateev May 3, 2018
fe933c7
Update README.md
mfateev Jul 18, 2018
b633fad
expand HelloSignal example to send multiple signals (#1)
halakaraki Jul 31, 2018
bef1375
Update package (#2)
halakaraki Aug 22, 2018
7261516
Switched to cadence-client v2.2.0
Dec 18, 2018
0f43420
Merge pull request #5 from mfateev/version_bump
mfateev Dec 23, 2018
4d87163
Removed workfow.wait as it doesn't belong to the sample
Apr 26, 2019
1f5fd9d
Merge pull request #9 from mfateev/hello_signal_fix
mfateev Apr 26, 2019
5788037
Removed misleading comment.
denyska Jun 13, 2019
fe98f09
Merge pull request #12 from denyska/patch-1
mfateev Jun 13, 2019
4a1c099
Updated README CLI instructions
Jun 28, 2019
31a391c
Merge pull request #14 from mfateev/readme_cli
mfateev Jun 28, 2019
224e4f5
Add saga example
Jul 19, 2019
1ffffd9
Review comments
Jul 19, 2019
693f71a
Add comments
Jul 19, 2019
a28d189
Review comments
Jul 19, 2019
da16f36
Add saga example (#17)
mfateev Jul 19, 2019
8d4173c
Fixed warnings due to missing @Override
spicypepper999 Jul 21, 2019
9c33c23
Merge pull request #19 from CommunistSquared/warnings
mfateev Jul 21, 2019
e6a8fda
Added bookingsaga sample
Jul 28, 2019
d001427
Merge pull request #20 from mfateev/bookingsaga
mfateev Jul 28, 2019
55e61ed
Added link to unit test
mfateev Jul 28, 2019
e2b4412
Added license to HelloSaga.java
barakalon Aug 12, 2019
ca693db
Merge pull request #21 from barakalon/update-license
mfateev Aug 15, 2019
61a5568
Fix broken build
vancexu Aug 15, 2019
acbf99a
Merge pull request #22 from vancexu/fixbuild
mfateev Aug 16, 2019
a27a868
Added stub creation by id to HelloSignal
Aug 22, 2019
4b2ad89
Changed id generation to alphanumeric
Aug 22, 2019
7f4b4e2
Merge pull request #24 from mfateev/signal
mfateev Aug 22, 2019
235b0bc
Update HelloChild.java
mfateev Aug 23, 2019
5c57298
Merge pull request #25 from uber/mfateev-updated-comment
mfateev Aug 23, 2019
9d35e99
Add example for start workflow with search attributes
vancexu Oct 4, 2019
53198ef
Remove local maven
vancexu Oct 4, 2019
ad2343f
Merge pull request #28 from vancexu/sa
meiliang86 Oct 7, 2019
01f012e
Changes to comply with the new Java SDK API. (#2)
mfateev Mar 20, 2020
904efbf
Update README.md (#3)
shawnhathaway Mar 21, 2020
16e8781
Updated DataConverter package (#4)
mfateev Mar 23, 2020
1b270da
Updated to reflect SDK changes (#6)
mfateev Apr 8, 2020
ba8f24e
Update README (#7)
shawnhathaway Apr 8, 2020
9671e6b
Use temporal-sdk-0.19.0 instead of snapshot (#9)
mfateev May 21, 2020
d615681
Changes to work with v0.23.1 of service and Java SDK (#11)
mfateev May 23, 2020
5a49557
Update readme to use latest temporal server drop (#12)
samarabbas May 23, 2020
d462cd8
Gradle upgrade to 6.3 (#8)
mfateev May 23, 2020
979aac3
CustomDatetimeField changed to RFC 3339 (#13)
shawnhathaway May 23, 2020
f0ca691
Added HelloPolymorphicActivity (#14)
mfateev May 26, 2020
f53abaf
Added updatabletimer sample (#15)
mfateev May 29, 2020
8d23b12
Samples used during presentations (#5)
mfateev Jun 9, 2020
9363a27
25.0 Release (#18)
mfateev Jun 27, 2020
787d146
Update README.md
mfateev Jun 27, 2020
f208fb8
Change to v0.26.0 release of SDK (#21)
mfateev Jun 28, 2020
b25077f
0.27.0 release merge from develop (#27)
mfateev Jul 15, 2020
d0a4871
Update README.md
mfateev Jul 21, 2020
1ce093a
Gradle wrapper validation (#28)
sullis Jul 31, 2020
ac9669f
add Dependabot (#19)
sullis Jul 31, 2020
d955382
Release master with 0.28 sdk (#34)
mastermanu Aug 3, 2020
a162d2f
0.29.0 JavaSDK release (#39)
mfateev Aug 25, 2020
49e3e3d
Updated temporal-sdk to 0.29.1 (#43)
mfateev Sep 16, 2020
f0bc42f
dsl example
darewreck54 Sep 25, 2020
7646098
fix issue with args and workflow1 yaml def
darewreck54 Sep 26, 2020
7ce9d90
remove comments
darewreck54 Sep 26, 2020
22da528
Working solution
darewreck54 Sep 26, 2020
e3d961c
trigger CLA
darewreck54 Sep 26, 2020
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
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
10 changes: 10 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: "Validate Gradle Wrapper"
on: [push, pull_request]

jobs:
validation:
name: "Gradle wrapper validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/com
target
.*.swp
.*.swo
*.iml
.DS_Store
.idea
.gradle
/build
/out
16 changes: 4 additions & 12 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
Cadence Java Client
Copyright (c) 2017 Uber Technologies, Inc. All Rights Reserved
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
file except in compliance with the License. You may obtain a copy of the License at
Temporal Java SDK

http://www.apache.org/licenses/LICENSE-2.0
Copyright (c) 2020 Temporal Technologies, Inc. All Rights Reserved

Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

Cadence Java Client uses the following projects:
Copyright (c) 2017 Uber Technologies, Inc. All Rights Reserved

AWS Simple Workflow Flow Library
Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
file except in compliance with the License. You may obtain a copy of the License at

Expand Down
229 changes: 153 additions & 76 deletions README.md

Large diffs are not rendered by default.

37 changes: 0 additions & 37 deletions access.properties

This file was deleted.

86 changes: 86 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
// Run 'gradle checkUpdates' to find out which dependencies have newer versions

plugins {
id 'net.minecrell.licenser' version '0.4.1'
id 'com.github.sherter.google-java-format' version '0.9'
id "net.ltgt.errorprone" version "1.2.1"
id 'name.remal.check-updates' version '1.0.211'
}

apply plugin: 'java'
apply plugin: 'com.github.sherter.google-java-format'

googleJavaFormat {
toolVersion '1.7'
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
mavenCentral()
}

dependencies {
implementation group: 'io.temporal', name: 'temporal-sdk', version: '0.29.1'
implementation group: 'commons-configuration', name: 'commons-configuration', version: '1.10'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'

implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.9.8'
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.9.8'
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-parameter-names', version: '2.4.1'

testImplementation group: 'junit', name: 'junit', version: '4.13'
testImplementation group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
testImplementation group: 'org.powermock', name: 'powermock-api-mockito', version: '1.7.4'

errorproneJavac("com.google.errorprone:javac:9+181-r4173-1")
errorprone("com.google.errorprone:error_prone_core:2.4.0")
}

compileJava {
dependsOn 'googleJavaFormat'
}

task execute(type: JavaExec) {
main = findProperty("mainClass") ?: ""
classpath = sourceSets.main.runtimeClasspath
}

license {
header rootProject.file('license-header.txt')
}

// Executes most of the hello workflows as a sanity check
task runHello {
doLast {
// Cron and Periodic are not in the list as they take long time to stop
["io.temporal.samples.hello.HelloActivity",
"io.temporal.samples.hello.HelloActivityRetry",
"io.temporal.samples.hello.HelloAsync",
"io.temporal.samples.hello.HelloAsyncActivityCompletion",
"io.temporal.samples.hello.HelloAsyncLambda",
"io.temporal.samples.hello.HelloChild",
"io.temporal.samples.hello.HelloException",
"io.temporal.samples.hello.HelloPolymorphicActivity",
"io.temporal.samples.hello.HelloQuery",
"io.temporal.samples.hello.HelloSaga",
"io.temporal.samples.hello.HelloSearchAttributes",
"io.temporal.samples.hello.HelloSignal"
].each { mainClass ->
println mainClass
javaexec {
classpath = sourceSets.main.runtimeClasspath
main = mainClass
}
}
}
}
10 changes: 0 additions & 10 deletions build.properties

This file was deleted.

Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
183 changes: 183 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading