Skip to content

Parallelbranchsample#1

Closed
mfateev wants to merge 37 commits intotsurdilo:masterfrom
mfateev:parallelbranchsample
Closed

Parallelbranchsample#1
mfateev wants to merge 37 commits intotsurdilo:masterfrom
mfateev:parallelbranchsample

Conversation

@mfateev
Copy link
Copy Markdown

@mfateev mfateev commented Jun 25, 2021

No description provided.

Sushisource and others added 30 commits April 12, 2021 11:21
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
* Update hello samples

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* updated signal example

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* fixing tests

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* formatting fixes

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* Updates per review

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
* Add an example for encrypting payloads.
* Fixing HelloSearchAttributes example

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* update per comments and rebased

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
* Adding SideEffect example

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* fix test - setting same workflowfactoryoptions as in example

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* updates per review

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* updated per review

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* typo

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* updates per comments

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* formatting

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
* Timeouts

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* updates per comments

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
* Add hello world example for local activity

* Rename the activity

* Add unit tests

* Update comments/javadocs

* Use startToClose instead of scheduleToClose for timeout

* Fix typo in docs
Bumps [junit](https://github.com/junit-team/junit4) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](junit-team/junit4@r4.13.1...r4.13.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [error_prone_core](https://github.com/google/error-prone) from 2.4.0 to 2.7.1.
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.4.0...v2.7.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.cadixdev.licenser from 0.5.1 to 0.6.0.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed off by: fossabot <badges@fossa.com>

Co-authored-by: Tihomir Surdilovic <tihomir@temporal.io>
* Upgrade Mockito to 3.x

* Upgrade Mockito and PowerMock to the latest version
* Fix deprecation warnings
* Use withSettings().withoutAnnotations() in HelloActivityTest to
  prevent Mockito from copying annotations from activity interface to
  mock class
* Re-enable HelloChildTest.testMockedChild() and
  HelloExceptionTest.testChildWorkflowTimeout() as they no longer fail
  with Mockito 3

* Bump Mockito to 3.8.0

* Bump Mockito to 3.9.0

* Bump Mockito to 3.10.0

* Add @ActivityMethod annotation

The annotation is added for illustration purposes to show that Mockito's
withSettings().withoutAnnotations() is required to mock an activity that
has that annotation on a method.

* Update HelloLocalActivityTest to Mockito 3
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
* Update readme

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* small typo fix

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* Update README.md

Co-authored-by: Cully <cully@temporal.io>

* Update README.md

Co-authored-by: Cully <cully@temporal.io>

Co-authored-by: Cully <cully@temporal.io>
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Workflow Interceptor sample

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* impr temporalio#1 per comments

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* impr temporalio#2 per comments

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* use logger

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* update to sample

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* adding couple comments

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* remove silly sysout

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v3.11.0...v3.11.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Adding Parallel Async Activity Sample

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* use list<string> than variable args in workflow methos as its not working with WorkflowClient.start

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
* Detached Cancellation Scope Sample

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* updated sample based on suggestions

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloDetachedCancellationScope.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloDetachedCancellationScope.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloDetachedCancellationScope.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloDetachedCancellationScope.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloDetachedCancellationScope.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloDetachedCancellationScope.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloDetachedCancellationScope.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloDetachedCancellationScope.java

Co-authored-by: Cully <cully@temporal.io>

Co-authored-by: Cully <cully@temporal.io>
Bumps name.remal.check-updates from 1.3.1 to 1.3.4.

---
updated-dependencies:
- dependency-name: name.remal.check-updates
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.cadixdev.licenser from 0.6.0 to 0.6.1.

---
updated-dependencies:
- dependency-name: org.cadixdev.licenser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
tsurdilo and others added 7 commits June 21, 2021 22:24
* Fix samples comments

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloActivity.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloActivityExclusiveChoice.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloAsync.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloAsyncActivityCompletion.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloAsyncActivityCompletion.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloCancellationScope.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloChild.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloPolymorphicActivity.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloQuery.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloAsyncActivityCompletion.java

Co-authored-by: Cully <cully@temporal.io>

* Update src/main/java/io/temporal/samples/hello/HelloAsyncLambda.java

Co-authored-by: Cully <cully@temporal.io>

Co-authored-by: Cully <cully@temporal.io>
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
@mfateev mfateev closed this Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants