forked from microsoft/durabletask-java
-
Notifications
You must be signed in to change notification settings - Fork 9
Feat cross app wf + use Java 11, not Java 8 #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
cfb9da3
update protos
cicoyle f46600c
update to use dapr release
cicoyle ee93882
add appID support for cross app wf and unit tests for task options
cicoyle f47fa4f
wip cross app call activity for wf
cicoyle 3302911
cross app activity calls works
cicoyle 216be0c
merge in master
cicoyle 2c5c5a3
builder pattern + use latest protobuf commit
cicoyle 2f417d0
deprecate java 8, use java 11 to align with java-sdk
cicoyle 4e6dadf
update contrib md
cicoyle 5b6bb56
try bulid.gradle tweak
cicoyle 81e2803
PR feedback
cicoyle d6d3f47
up version to 1.5.8 to queue up for release
cicoyle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,52 @@ | ||
| Verify Compilation: | ||
| ```shell | ||
| ./gradlew compileJava | ||
| ``` | ||
|
|
||
| Build & test: | ||
|
|
||
| ```shell | ||
| ./gradlew build | ||
| ``` | ||
| ``` | ||
|
|
||
| ## Verify Build Components | ||
|
|
||
| To ensure all build components work correctly after making changes: | ||
|
|
||
| ```shell | ||
| # Build without tests | ||
| ./gradlew build -x test | ||
|
|
||
| # Run unit tests | ||
| ./gradlew test | ||
|
|
||
| # Run SpotBugs | ||
| ./gradlew spotbugsMain spotbugsTest | ||
| ``` | ||
|
|
||
| ## Updating Protobuf Definitions | ||
|
|
||
| When updating the protobuf definitions in `internal/durabletask-protobuf/protos/orchestrator_service.proto`: | ||
|
|
||
| 1. Manually copy the updated protobuf file from dapr/durabletask-protobuf | ||
| 2. Update the commit hash in `internal/durabletask-protobuf/PROTO_SOURCE_COMMIT_HASH` to reflect the new commit | ||
| 3. Regenerate the Java classes from the protobuf definitions: | ||
|
|
||
| ```shell | ||
| ./gradlew generateProto | ||
| ``` | ||
|
|
||
| ## Test locally from dapr/java-sdk | ||
|
|
||
| ```shell | ||
| ./gradlew publishToMavenLocal | ||
| ``` | ||
|
|
||
| or simply `./gradlew build publishToMavenLocal` | ||
|
|
||
| Check if it was released locally with: | ||
| ```shell | ||
| ls ~/.m2/repository/io/dapr/durabletask-client/ | ||
| ``` | ||
|
|
||
| Then update the durabletask-client in the java-sdk pom.xml file to the newest version you released locally. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.