-
Notifications
You must be signed in to change notification settings - Fork 224
Add Cryptography APIs to the Java SDK #1599
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
Add Cryptography APIs to the Java SDK #1599
Conversation
ed91b07 to
213240d
Compare
cicoyle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit history seems to have a lot of extra things in it. Can you confirm you branched from master originally and remove the extra commits showing in the history? Also, CI seems a bit red - mind taking a look?
2d296ed to
e719567
Compare
8884991 to
21a30ce
Compare
…r#1575) * fixing checkstyle and javadocs Signed-off-by: salaboy <[email protected]> * Replace openjdk:17-jdk-slim to eclipse-temurin:17-jdk-jammy (dapr#1574) Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: salaboy <[email protected]> * Align Java API with other languages (dapr#1560) * Align Java API with other languages Signed-off-by: Matheus Cruz <[email protected]> * Update documentation Signed-off-by: Matheus Cruz <[email protected]> * Change return type of waitForWorkflowStart method Signed-off-by: artur-ciocanu <[email protected]> --------- Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * use built in durable task Signed-off-by: salaboy <[email protected]> * exclude jacoco rules for examples and durabletask-client Signed-off-by: salaboy <[email protected]> * increasing timeout for IT Signed-off-by: salaboy <[email protected]> * removing dt build from matrix Signed-off-by: salaboy <[email protected]> * adding java to dt build Signed-off-by: salaboy <[email protected]> * Fix dependencies multi app build and add proper test deps (dapr#1572) * Force Jackson version to override the SB Jackson version Signed-off-by: Artur Ciocanu <[email protected]> * Move all the Jackson deps to parent POM. Signed-off-by: Artur Ciocanu <[email protected]> * Ensure app JAR build order Signed-off-by: Artur Ciocanu <[email protected]> * Remove explicit Jackson from sdk-tests module. Signed-off-by: Artur Ciocanu <[email protected]> * Make sure <scope>test</scope> is used for test dependencies. Signed-off-by: Artur Ciocanu <[email protected]> * Remove extra Jackson modules. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * docs: add architecture diagram to README (dapr#1549) * Preview New README * Preview New README 2 * Preview New README 3 * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime CORRECTION (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) --------- Co-authored-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Signed-off-by: salaboy <[email protected]> * Add statestore example with Outbox pattern (dapr#1582) * Add statestore example with Outbox pattern Signed-off-by: Matheus Cruz <[email protected]> * Clean events after each test Signed-off-by: Matheus Cruz <[email protected]> * Add license header Signed-off-by: Matheus Cruz <[email protected]> * Apply pull request suggestions Signed-off-by: Matheus Cruz <[email protected]> --------- Signed-off-by: Matheus Cruz <[email protected]> Co-authored-by: salaboy <[email protected]> Signed-off-by: salaboy <[email protected]> * adding new method signature plus test (dapr#1570) * adding new method signature plus test Signed-off-by: salaboy <[email protected]> * re adding imports Signed-off-by: salaboy <[email protected]> * fixing style Signed-off-by: salaboy <[email protected]> * checking empty metadata Signed-off-by: salaboy <[email protected]> * copy meta for safety and check if key is present Signed-off-by: salaboy <[email protected]> * Centralize Maven dependency version management (dapr#1564) Signed-off-by: salaboy <[email protected]> * Fix dependencies multi app build and add proper test deps (dapr#1572) * Force Jackson version to override the SB Jackson version Signed-off-by: Artur Ciocanu <[email protected]> * Move all the Jackson deps to parent POM. Signed-off-by: Artur Ciocanu <[email protected]> * Ensure app JAR build order Signed-off-by: Artur Ciocanu <[email protected]> * Remove explicit Jackson from sdk-tests module. Signed-off-by: Artur Ciocanu <[email protected]> * Make sure <scope>test</scope> is used for test dependencies. Signed-off-by: Artur Ciocanu <[email protected]> * Remove extra Jackson modules. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * reverting pom Signed-off-by: salaboy <[email protected]> * fix codestyle Signed-off-by: salaboy <[email protected]> * using metaCopy Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Bump actions/upload-artifact from 4 to 5 (dapr#1587) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: salaboy <[email protected]> * Add gRPC support to Dapr testcontainer (dapr#1586) * Add gRPC support to Dapr testcontainer Signed-off-by: wlfgang <[email protected]> * Avoid using null to indicate default value Signed-off-by: wlfgang <[email protected]> --------- Signed-off-by: wlfgang <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: wlfgang <[email protected]> Signed-off-by: salaboy <[email protected]> * Use dependencies BOM and remove duplicates. (dapr#1588) Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Examples + Docs for App API Token authentication for gRPC and HTTP (dapr#1589) * example Signed-off-by: Cassandra Coyle <[email protected]> * docs for example Signed-off-by: Cassandra Coyle <[email protected]> --------- Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: salaboy <[email protected]> * Another set of Maven version, properties and plugin improvements (dapr#1596) Signed-off-by: salaboy <[email protected]> * Adding a Flux based subscribeToEvents method (dapr#1598) * Adding a Flux based subscribeToEvents method Signed-off-by: Artur Ciocanu <[email protected]> * Simplify GRPC stream handling Signed-off-by: Artur Ciocanu <[email protected]> * Simplify Javadoc Signed-off-by: Artur Ciocanu <[email protected]> * Fix unit tests and simplify implementation Signed-off-by: Artur Ciocanu <[email protected]> * Adding event subscriber stream observer to simplify subscription logic Signed-off-by: Artur Ciocanu <[email protected]> * Use start() method to start stream subscription Signed-off-by: Artur Ciocanu <[email protected]> * Add unit test for event suscriber observer Signed-off-by: Artur Ciocanu <[email protected]> * Improve the tests a little bit Signed-off-by: Artur Ciocanu <[email protected]> * Remove the unnecessary method Signed-off-by: Artur Ciocanu <[email protected]> * Improve error handling and use CloudEvent wrapper Signed-off-by: Artur Ciocanu <[email protected]> * Fix unit tests asserts Signed-off-by: Artur Ciocanu <[email protected]> * Adjust Java examples for Subscriber Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Remove SDK docs due to migration to main Docs repo (dapr#1593) * Remove SDK docs due to migration to main Docs repo Signed-off-by: Marc Duiker <[email protected]> * Remove sed lines related to sdk docs Signed-off-by: Marc Duiker <[email protected]> --------- Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: salaboy <[email protected]> Signed-off-by: salaboy <[email protected]> * cleaning up sdk version script Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: wlfgang <[email protected]> Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: Matheus Cruz <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Raymundo Zamora <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wlfgang <[email protected]> Co-authored-by: wlfgang <[email protected]> Co-authored-by: Marc Duiker <[email protected]> Signed-off-by: siri-varma <[email protected]>
ad3dae4 to
5bc40d5
Compare
- Add EncryptRequestAlpha1 and DecryptRequestAlpha1 domain classes - Implement encrypt() and decrypt() methods in DaprPreviewClient - Add CryptoExample and StreamingCryptoExample with documentation - Add integration tests for crypto operations - Add localstorage crypto component configuration Signed-off-by: siri-varma <[email protected]>
Signed-off-by: siri-varma <[email protected]>
…/siri-varma/java-sdk into users/svegiraju/add-cryptography
Signed-off-by: Siri Varma Vegiraju <[email protected]>
Signed-off-by: siri-varma <[email protected]>
…/siri-varma/java-sdk into users/svegiraju/add-cryptography
Signed-off-by: siri-varma <[email protected]>
|
@dapr/approvers-java-sdk/ @dapr/maintainers-java-sdk This PR is ready for review. Thank you |
cicoyle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just a conflict and can you make a docs PR to the java sdk section noting the crypto api?
Signed-off-by: Siri Varma Vegiraju <[email protected]>
Signed-off-by: siri-varma <[email protected]>
|
@cicoyle Thank you for the review. Will start working on the quickstarts/docs pr. |
cicoyle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 thx!
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1599 +/- ##
============================================
+ Coverage 76.91% 78.91% +2.00%
- Complexity 1592 2073 +481
============================================
Files 145 227 +82
Lines 4843 6256 +1413
Branches 562 684 +122
============================================
+ Hits 3725 4937 +1212
- Misses 821 970 +149
- Partials 297 349 +52 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
* Bringing Durable Task Java as a Maven module inside the Java SDK (dapr#1575) * fixing checkstyle and javadocs Signed-off-by: salaboy <[email protected]> * Replace openjdk:17-jdk-slim to eclipse-temurin:17-jdk-jammy (dapr#1574) Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: salaboy <[email protected]> * Align Java API with other languages (dapr#1560) * Align Java API with other languages Signed-off-by: Matheus Cruz <[email protected]> * Update documentation Signed-off-by: Matheus Cruz <[email protected]> * Change return type of waitForWorkflowStart method Signed-off-by: artur-ciocanu <[email protected]> --------- Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * use built in durable task Signed-off-by: salaboy <[email protected]> * exclude jacoco rules for examples and durabletask-client Signed-off-by: salaboy <[email protected]> * increasing timeout for IT Signed-off-by: salaboy <[email protected]> * removing dt build from matrix Signed-off-by: salaboy <[email protected]> * adding java to dt build Signed-off-by: salaboy <[email protected]> * Fix dependencies multi app build and add proper test deps (dapr#1572) * Force Jackson version to override the SB Jackson version Signed-off-by: Artur Ciocanu <[email protected]> * Move all the Jackson deps to parent POM. Signed-off-by: Artur Ciocanu <[email protected]> * Ensure app JAR build order Signed-off-by: Artur Ciocanu <[email protected]> * Remove explicit Jackson from sdk-tests module. Signed-off-by: Artur Ciocanu <[email protected]> * Make sure <scope>test</scope> is used for test dependencies. Signed-off-by: Artur Ciocanu <[email protected]> * Remove extra Jackson modules. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * docs: add architecture diagram to README (dapr#1549) * Preview New README * Preview New README 2 * Preview New README 3 * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime CORRECTION (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) --------- Co-authored-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Signed-off-by: salaboy <[email protected]> * Add statestore example with Outbox pattern (dapr#1582) * Add statestore example with Outbox pattern Signed-off-by: Matheus Cruz <[email protected]> * Clean events after each test Signed-off-by: Matheus Cruz <[email protected]> * Add license header Signed-off-by: Matheus Cruz <[email protected]> * Apply pull request suggestions Signed-off-by: Matheus Cruz <[email protected]> --------- Signed-off-by: Matheus Cruz <[email protected]> Co-authored-by: salaboy <[email protected]> Signed-off-by: salaboy <[email protected]> * adding new method signature plus test (dapr#1570) * adding new method signature plus test Signed-off-by: salaboy <[email protected]> * re adding imports Signed-off-by: salaboy <[email protected]> * fixing style Signed-off-by: salaboy <[email protected]> * checking empty metadata Signed-off-by: salaboy <[email protected]> * copy meta for safety and check if key is present Signed-off-by: salaboy <[email protected]> * Centralize Maven dependency version management (dapr#1564) Signed-off-by: salaboy <[email protected]> * Fix dependencies multi app build and add proper test deps (dapr#1572) * Force Jackson version to override the SB Jackson version Signed-off-by: Artur Ciocanu <[email protected]> * Move all the Jackson deps to parent POM. Signed-off-by: Artur Ciocanu <[email protected]> * Ensure app JAR build order Signed-off-by: Artur Ciocanu <[email protected]> * Remove explicit Jackson from sdk-tests module. Signed-off-by: Artur Ciocanu <[email protected]> * Make sure <scope>test</scope> is used for test dependencies. Signed-off-by: Artur Ciocanu <[email protected]> * Remove extra Jackson modules. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * reverting pom Signed-off-by: salaboy <[email protected]> * fix codestyle Signed-off-by: salaboy <[email protected]> * using metaCopy Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Bump actions/upload-artifact from 4 to 5 (dapr#1587) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: salaboy <[email protected]> * Add gRPC support to Dapr testcontainer (dapr#1586) * Add gRPC support to Dapr testcontainer Signed-off-by: wlfgang <[email protected]> * Avoid using null to indicate default value Signed-off-by: wlfgang <[email protected]> --------- Signed-off-by: wlfgang <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: wlfgang <[email protected]> Signed-off-by: salaboy <[email protected]> * Use dependencies BOM and remove duplicates. (dapr#1588) Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Examples + Docs for App API Token authentication for gRPC and HTTP (dapr#1589) * example Signed-off-by: Cassandra Coyle <[email protected]> * docs for example Signed-off-by: Cassandra Coyle <[email protected]> --------- Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: salaboy <[email protected]> * Another set of Maven version, properties and plugin improvements (dapr#1596) Signed-off-by: salaboy <[email protected]> * Adding a Flux based subscribeToEvents method (dapr#1598) * Adding a Flux based subscribeToEvents method Signed-off-by: Artur Ciocanu <[email protected]> * Simplify GRPC stream handling Signed-off-by: Artur Ciocanu <[email protected]> * Simplify Javadoc Signed-off-by: Artur Ciocanu <[email protected]> * Fix unit tests and simplify implementation Signed-off-by: Artur Ciocanu <[email protected]> * Adding event subscriber stream observer to simplify subscription logic Signed-off-by: Artur Ciocanu <[email protected]> * Use start() method to start stream subscription Signed-off-by: Artur Ciocanu <[email protected]> * Add unit test for event suscriber observer Signed-off-by: Artur Ciocanu <[email protected]> * Improve the tests a little bit Signed-off-by: Artur Ciocanu <[email protected]> * Remove the unnecessary method Signed-off-by: Artur Ciocanu <[email protected]> * Improve error handling and use CloudEvent wrapper Signed-off-by: Artur Ciocanu <[email protected]> * Fix unit tests asserts Signed-off-by: Artur Ciocanu <[email protected]> * Adjust Java examples for Subscriber Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Remove SDK docs due to migration to main Docs repo (dapr#1593) * Remove SDK docs due to migration to main Docs repo Signed-off-by: Marc Duiker <[email protected]> * Remove sed lines related to sdk docs Signed-off-by: Marc Duiker <[email protected]> --------- Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: salaboy <[email protected]> Signed-off-by: salaboy <[email protected]> * cleaning up sdk version script Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: wlfgang <[email protected]> Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: Matheus Cruz <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Raymundo Zamora <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wlfgang <[email protected]> Co-authored-by: wlfgang <[email protected]> Co-authored-by: Marc Duiker <[email protected]> Signed-off-by: siri-varma <[email protected]> * Add Cryptography API support with encrypt/decrypt operations - Add EncryptRequestAlpha1 and DecryptRequestAlpha1 domain classes - Implement encrypt() and decrypt() methods in DaprPreviewClient - Add CryptoExample and StreamingCryptoExample with documentation - Add integration tests for crypto operations - Add localstorage crypto component configuration Signed-off-by: siri-varma <[email protected]> * Add keys Signed-off-by: siri-varma <[email protected]> * Update localstorage.yaml key path to relative Signed-off-by: Siri Varma Vegiraju <[email protected]> * Fix things Signed-off-by: siri-varma <[email protected]> * fix things Signed-off-by: siri-varma <[email protected]> * Add missing imports Signed-off-by: siri-varma <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: wlfgang <[email protected]> Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: Marc Duiker <[email protected]> Signed-off-by: siri-varma <[email protected]> Signed-off-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: salaboy <[email protected]> Co-authored-by: Matheus Cruz <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Raymundo Zamora <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wlfgang <[email protected]> Co-authored-by: wlfgang <[email protected]> Co-authored-by: Marc Duiker <[email protected]> Signed-off-by: salaboy <[email protected]>
* Bringing Durable Task Java as a Maven module inside the Java SDK (dapr#1575) * fixing checkstyle and javadocs Signed-off-by: salaboy <[email protected]> * Replace openjdk:17-jdk-slim to eclipse-temurin:17-jdk-jammy (dapr#1574) Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: salaboy <[email protected]> * Align Java API with other languages (dapr#1560) * Align Java API with other languages Signed-off-by: Matheus Cruz <[email protected]> * Update documentation Signed-off-by: Matheus Cruz <[email protected]> * Change return type of waitForWorkflowStart method Signed-off-by: artur-ciocanu <[email protected]> --------- Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * use built in durable task Signed-off-by: salaboy <[email protected]> * exclude jacoco rules for examples and durabletask-client Signed-off-by: salaboy <[email protected]> * increasing timeout for IT Signed-off-by: salaboy <[email protected]> * removing dt build from matrix Signed-off-by: salaboy <[email protected]> * adding java to dt build Signed-off-by: salaboy <[email protected]> * Fix dependencies multi app build and add proper test deps (dapr#1572) * Force Jackson version to override the SB Jackson version Signed-off-by: Artur Ciocanu <[email protected]> * Move all the Jackson deps to parent POM. Signed-off-by: Artur Ciocanu <[email protected]> * Ensure app JAR build order Signed-off-by: Artur Ciocanu <[email protected]> * Remove explicit Jackson from sdk-tests module. Signed-off-by: Artur Ciocanu <[email protected]> * Make sure <scope>test</scope> is used for test dependencies. Signed-off-by: Artur Ciocanu <[email protected]> * Remove extra Jackson modules. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * docs: add architecture diagram to README (dapr#1549) * Preview New README * Preview New README 2 * Preview New README 3 * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime CORRECTION (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) --------- Co-authored-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Signed-off-by: salaboy <[email protected]> * Add statestore example with Outbox pattern (dapr#1582) * Add statestore example with Outbox pattern Signed-off-by: Matheus Cruz <[email protected]> * Clean events after each test Signed-off-by: Matheus Cruz <[email protected]> * Add license header Signed-off-by: Matheus Cruz <[email protected]> * Apply pull request suggestions Signed-off-by: Matheus Cruz <[email protected]> --------- Signed-off-by: Matheus Cruz <[email protected]> Co-authored-by: salaboy <[email protected]> Signed-off-by: salaboy <[email protected]> * adding new method signature plus test (dapr#1570) * adding new method signature plus test Signed-off-by: salaboy <[email protected]> * re adding imports Signed-off-by: salaboy <[email protected]> * fixing style Signed-off-by: salaboy <[email protected]> * checking empty metadata Signed-off-by: salaboy <[email protected]> * copy meta for safety and check if key is present Signed-off-by: salaboy <[email protected]> * Centralize Maven dependency version management (dapr#1564) Signed-off-by: salaboy <[email protected]> * Fix dependencies multi app build and add proper test deps (dapr#1572) * Force Jackson version to override the SB Jackson version Signed-off-by: Artur Ciocanu <[email protected]> * Move all the Jackson deps to parent POM. Signed-off-by: Artur Ciocanu <[email protected]> * Ensure app JAR build order Signed-off-by: Artur Ciocanu <[email protected]> * Remove explicit Jackson from sdk-tests module. Signed-off-by: Artur Ciocanu <[email protected]> * Make sure <scope>test</scope> is used for test dependencies. Signed-off-by: Artur Ciocanu <[email protected]> * Remove extra Jackson modules. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * reverting pom Signed-off-by: salaboy <[email protected]> * fix codestyle Signed-off-by: salaboy <[email protected]> * using metaCopy Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Bump actions/upload-artifact from 4 to 5 (dapr#1587) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: salaboy <[email protected]> * Add gRPC support to Dapr testcontainer (dapr#1586) * Add gRPC support to Dapr testcontainer Signed-off-by: wlfgang <[email protected]> * Avoid using null to indicate default value Signed-off-by: wlfgang <[email protected]> --------- Signed-off-by: wlfgang <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: wlfgang <[email protected]> Signed-off-by: salaboy <[email protected]> * Use dependencies BOM and remove duplicates. (dapr#1588) Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Examples + Docs for App API Token authentication for gRPC and HTTP (dapr#1589) * example Signed-off-by: Cassandra Coyle <[email protected]> * docs for example Signed-off-by: Cassandra Coyle <[email protected]> --------- Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: salaboy <[email protected]> * Another set of Maven version, properties and plugin improvements (dapr#1596) Signed-off-by: salaboy <[email protected]> * Adding a Flux based subscribeToEvents method (dapr#1598) * Adding a Flux based subscribeToEvents method Signed-off-by: Artur Ciocanu <[email protected]> * Simplify GRPC stream handling Signed-off-by: Artur Ciocanu <[email protected]> * Simplify Javadoc Signed-off-by: Artur Ciocanu <[email protected]> * Fix unit tests and simplify implementation Signed-off-by: Artur Ciocanu <[email protected]> * Adding event subscriber stream observer to simplify subscription logic Signed-off-by: Artur Ciocanu <[email protected]> * Use start() method to start stream subscription Signed-off-by: Artur Ciocanu <[email protected]> * Add unit test for event suscriber observer Signed-off-by: Artur Ciocanu <[email protected]> * Improve the tests a little bit Signed-off-by: Artur Ciocanu <[email protected]> * Remove the unnecessary method Signed-off-by: Artur Ciocanu <[email protected]> * Improve error handling and use CloudEvent wrapper Signed-off-by: Artur Ciocanu <[email protected]> * Fix unit tests asserts Signed-off-by: Artur Ciocanu <[email protected]> * Adjust Java examples for Subscriber Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Remove SDK docs due to migration to main Docs repo (dapr#1593) * Remove SDK docs due to migration to main Docs repo Signed-off-by: Marc Duiker <[email protected]> * Remove sed lines related to sdk docs Signed-off-by: Marc Duiker <[email protected]> --------- Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: salaboy <[email protected]> Signed-off-by: salaboy <[email protected]> * cleaning up sdk version script Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: wlfgang <[email protected]> Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: Matheus Cruz <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Raymundo Zamora <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wlfgang <[email protected]> Co-authored-by: wlfgang <[email protected]> Co-authored-by: Marc Duiker <[email protected]> Signed-off-by: siri-varma <[email protected]> * Add Cryptography API support with encrypt/decrypt operations - Add EncryptRequestAlpha1 and DecryptRequestAlpha1 domain classes - Implement encrypt() and decrypt() methods in DaprPreviewClient - Add CryptoExample and StreamingCryptoExample with documentation - Add integration tests for crypto operations - Add localstorage crypto component configuration Signed-off-by: siri-varma <[email protected]> * Add keys Signed-off-by: siri-varma <[email protected]> * Update localstorage.yaml key path to relative Signed-off-by: Siri Varma Vegiraju <[email protected]> * Fix things Signed-off-by: siri-varma <[email protected]> * fix things Signed-off-by: siri-varma <[email protected]> * Add missing imports Signed-off-by: siri-varma <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: wlfgang <[email protected]> Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: Marc Duiker <[email protected]> Signed-off-by: siri-varma <[email protected]> Signed-off-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: salaboy <[email protected]> Co-authored-by: Matheus Cruz <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Raymundo Zamora <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wlfgang <[email protected]> Co-authored-by: wlfgang <[email protected]> Co-authored-by: Marc Duiker <[email protected]> Signed-off-by: salaboy <[email protected]>
* Bringing Durable Task Java as a Maven module inside the Java SDK (dapr#1575) * fixing checkstyle and javadocs Signed-off-by: salaboy <[email protected]> * Replace openjdk:17-jdk-slim to eclipse-temurin:17-jdk-jammy (dapr#1574) Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: salaboy <[email protected]> * Align Java API with other languages (dapr#1560) * Align Java API with other languages Signed-off-by: Matheus Cruz <[email protected]> * Update documentation Signed-off-by: Matheus Cruz <[email protected]> * Change return type of waitForWorkflowStart method Signed-off-by: artur-ciocanu <[email protected]> --------- Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * use built in durable task Signed-off-by: salaboy <[email protected]> * exclude jacoco rules for examples and durabletask-client Signed-off-by: salaboy <[email protected]> * increasing timeout for IT Signed-off-by: salaboy <[email protected]> * removing dt build from matrix Signed-off-by: salaboy <[email protected]> * adding java to dt build Signed-off-by: salaboy <[email protected]> * Fix dependencies multi app build and add proper test deps (dapr#1572) * Force Jackson version to override the SB Jackson version Signed-off-by: Artur Ciocanu <[email protected]> * Move all the Jackson deps to parent POM. Signed-off-by: Artur Ciocanu <[email protected]> * Ensure app JAR build order Signed-off-by: Artur Ciocanu <[email protected]> * Remove explicit Jackson from sdk-tests module. Signed-off-by: Artur Ciocanu <[email protected]> * Make sure <scope>test</scope> is used for test dependencies. Signed-off-by: Artur Ciocanu <[email protected]> * Remove extra Jackson modules. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * docs: add architecture diagram to README (dapr#1549) * Preview New README * Preview New README 2 * Preview New README 3 * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime CORRECTION (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) --------- Co-authored-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Signed-off-by: salaboy <[email protected]> * Add statestore example with Outbox pattern (dapr#1582) * Add statestore example with Outbox pattern Signed-off-by: Matheus Cruz <[email protected]> * Clean events after each test Signed-off-by: Matheus Cruz <[email protected]> * Add license header Signed-off-by: Matheus Cruz <[email protected]> * Apply pull request suggestions Signed-off-by: Matheus Cruz <[email protected]> --------- Signed-off-by: Matheus Cruz <[email protected]> Co-authored-by: salaboy <[email protected]> Signed-off-by: salaboy <[email protected]> * adding new method signature plus test (dapr#1570) * adding new method signature plus test Signed-off-by: salaboy <[email protected]> * re adding imports Signed-off-by: salaboy <[email protected]> * fixing style Signed-off-by: salaboy <[email protected]> * checking empty metadata Signed-off-by: salaboy <[email protected]> * copy meta for safety and check if key is present Signed-off-by: salaboy <[email protected]> * Centralize Maven dependency version management (dapr#1564) Signed-off-by: salaboy <[email protected]> * Fix dependencies multi app build and add proper test deps (dapr#1572) * Force Jackson version to override the SB Jackson version Signed-off-by: Artur Ciocanu <[email protected]> * Move all the Jackson deps to parent POM. Signed-off-by: Artur Ciocanu <[email protected]> * Ensure app JAR build order Signed-off-by: Artur Ciocanu <[email protected]> * Remove explicit Jackson from sdk-tests module. Signed-off-by: Artur Ciocanu <[email protected]> * Make sure <scope>test</scope> is used for test dependencies. Signed-off-by: Artur Ciocanu <[email protected]> * Remove extra Jackson modules. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * reverting pom Signed-off-by: salaboy <[email protected]> * fix codestyle Signed-off-by: salaboy <[email protected]> * using metaCopy Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Bump actions/upload-artifact from 4 to 5 (dapr#1587) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: salaboy <[email protected]> * Add gRPC support to Dapr testcontainer (dapr#1586) * Add gRPC support to Dapr testcontainer Signed-off-by: wlfgang <[email protected]> * Avoid using null to indicate default value Signed-off-by: wlfgang <[email protected]> --------- Signed-off-by: wlfgang <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: wlfgang <[email protected]> Signed-off-by: salaboy <[email protected]> * Use dependencies BOM and remove duplicates. (dapr#1588) Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Examples + Docs for App API Token authentication for gRPC and HTTP (dapr#1589) * example Signed-off-by: Cassandra Coyle <[email protected]> * docs for example Signed-off-by: Cassandra Coyle <[email protected]> --------- Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: salaboy <[email protected]> * Another set of Maven version, properties and plugin improvements (dapr#1596) Signed-off-by: salaboy <[email protected]> * Adding a Flux based subscribeToEvents method (dapr#1598) * Adding a Flux based subscribeToEvents method Signed-off-by: Artur Ciocanu <[email protected]> * Simplify GRPC stream handling Signed-off-by: Artur Ciocanu <[email protected]> * Simplify Javadoc Signed-off-by: Artur Ciocanu <[email protected]> * Fix unit tests and simplify implementation Signed-off-by: Artur Ciocanu <[email protected]> * Adding event subscriber stream observer to simplify subscription logic Signed-off-by: Artur Ciocanu <[email protected]> * Use start() method to start stream subscription Signed-off-by: Artur Ciocanu <[email protected]> * Add unit test for event suscriber observer Signed-off-by: Artur Ciocanu <[email protected]> * Improve the tests a little bit Signed-off-by: Artur Ciocanu <[email protected]> * Remove the unnecessary method Signed-off-by: Artur Ciocanu <[email protected]> * Improve error handling and use CloudEvent wrapper Signed-off-by: Artur Ciocanu <[email protected]> * Fix unit tests asserts Signed-off-by: Artur Ciocanu <[email protected]> * Adjust Java examples for Subscriber Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Remove SDK docs due to migration to main Docs repo (dapr#1593) * Remove SDK docs due to migration to main Docs repo Signed-off-by: Marc Duiker <[email protected]> * Remove sed lines related to sdk docs Signed-off-by: Marc Duiker <[email protected]> --------- Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: salaboy <[email protected]> Signed-off-by: salaboy <[email protected]> * cleaning up sdk version script Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: wlfgang <[email protected]> Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: Matheus Cruz <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Raymundo Zamora <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wlfgang <[email protected]> Co-authored-by: wlfgang <[email protected]> Co-authored-by: Marc Duiker <[email protected]> Signed-off-by: siri-varma <[email protected]> * Add Cryptography API support with encrypt/decrypt operations - Add EncryptRequestAlpha1 and DecryptRequestAlpha1 domain classes - Implement encrypt() and decrypt() methods in DaprPreviewClient - Add CryptoExample and StreamingCryptoExample with documentation - Add integration tests for crypto operations - Add localstorage crypto component configuration Signed-off-by: siri-varma <[email protected]> * Add keys Signed-off-by: siri-varma <[email protected]> * Update localstorage.yaml key path to relative Signed-off-by: Siri Varma Vegiraju <[email protected]> * Fix things Signed-off-by: siri-varma <[email protected]> * fix things Signed-off-by: siri-varma <[email protected]> * Add missing imports Signed-off-by: siri-varma <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: wlfgang <[email protected]> Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: Marc Duiker <[email protected]> Signed-off-by: siri-varma <[email protected]> Signed-off-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: salaboy <[email protected]> Co-authored-by: Matheus Cruz <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Raymundo Zamora <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wlfgang <[email protected]> Co-authored-by: wlfgang <[email protected]> Co-authored-by: Marc Duiker <[email protected]> Signed-off-by: salaboy <[email protected]>
* Bringing Durable Task Java as a Maven module inside the Java SDK (dapr#1575) * fixing checkstyle and javadocs Signed-off-by: salaboy <[email protected]> * Replace openjdk:17-jdk-slim to eclipse-temurin:17-jdk-jammy (dapr#1574) Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: salaboy <[email protected]> * Align Java API with other languages (dapr#1560) * Align Java API with other languages Signed-off-by: Matheus Cruz <[email protected]> * Update documentation Signed-off-by: Matheus Cruz <[email protected]> * Change return type of waitForWorkflowStart method Signed-off-by: artur-ciocanu <[email protected]> --------- Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * use built in durable task Signed-off-by: salaboy <[email protected]> * exclude jacoco rules for examples and durabletask-client Signed-off-by: salaboy <[email protected]> * increasing timeout for IT Signed-off-by: salaboy <[email protected]> * removing dt build from matrix Signed-off-by: salaboy <[email protected]> * adding java to dt build Signed-off-by: salaboy <[email protected]> * Fix dependencies multi app build and add proper test deps (dapr#1572) * Force Jackson version to override the SB Jackson version Signed-off-by: Artur Ciocanu <[email protected]> * Move all the Jackson deps to parent POM. Signed-off-by: Artur Ciocanu <[email protected]> * Ensure app JAR build order Signed-off-by: Artur Ciocanu <[email protected]> * Remove explicit Jackson from sdk-tests module. Signed-off-by: Artur Ciocanu <[email protected]> * Make sure <scope>test</scope> is used for test dependencies. Signed-off-by: Artur Ciocanu <[email protected]> * Remove extra Jackson modules. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * docs: add architecture diagram to README (dapr#1549) * Preview New README * Preview New README 2 * Preview New README 3 * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime CORRECTION (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) * docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) --------- Co-authored-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Signed-off-by: salaboy <[email protected]> * Add statestore example with Outbox pattern (dapr#1582) * Add statestore example with Outbox pattern Signed-off-by: Matheus Cruz <[email protected]> * Clean events after each test Signed-off-by: Matheus Cruz <[email protected]> * Add license header Signed-off-by: Matheus Cruz <[email protected]> * Apply pull request suggestions Signed-off-by: Matheus Cruz <[email protected]> --------- Signed-off-by: Matheus Cruz <[email protected]> Co-authored-by: salaboy <[email protected]> Signed-off-by: salaboy <[email protected]> * adding new method signature plus test (dapr#1570) * adding new method signature plus test Signed-off-by: salaboy <[email protected]> * re adding imports Signed-off-by: salaboy <[email protected]> * fixing style Signed-off-by: salaboy <[email protected]> * checking empty metadata Signed-off-by: salaboy <[email protected]> * copy meta for safety and check if key is present Signed-off-by: salaboy <[email protected]> * Centralize Maven dependency version management (dapr#1564) Signed-off-by: salaboy <[email protected]> * Fix dependencies multi app build and add proper test deps (dapr#1572) * Force Jackson version to override the SB Jackson version Signed-off-by: Artur Ciocanu <[email protected]> * Move all the Jackson deps to parent POM. Signed-off-by: Artur Ciocanu <[email protected]> * Ensure app JAR build order Signed-off-by: Artur Ciocanu <[email protected]> * Remove explicit Jackson from sdk-tests module. Signed-off-by: Artur Ciocanu <[email protected]> * Make sure <scope>test</scope> is used for test dependencies. Signed-off-by: Artur Ciocanu <[email protected]> * Remove extra Jackson modules. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * reverting pom Signed-off-by: salaboy <[email protected]> * fix codestyle Signed-off-by: salaboy <[email protected]> * using metaCopy Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Bump actions/upload-artifact from 4 to 5 (dapr#1587) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: salaboy <[email protected]> * Add gRPC support to Dapr testcontainer (dapr#1586) * Add gRPC support to Dapr testcontainer Signed-off-by: wlfgang <[email protected]> * Avoid using null to indicate default value Signed-off-by: wlfgang <[email protected]> --------- Signed-off-by: wlfgang <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: wlfgang <[email protected]> Signed-off-by: salaboy <[email protected]> * Use dependencies BOM and remove duplicates. (dapr#1588) Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Examples + Docs for App API Token authentication for gRPC and HTTP (dapr#1589) * example Signed-off-by: Cassandra Coyle <[email protected]> * docs for example Signed-off-by: Cassandra Coyle <[email protected]> --------- Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: salaboy <[email protected]> * Another set of Maven version, properties and plugin improvements (dapr#1596) Signed-off-by: salaboy <[email protected]> * Adding a Flux based subscribeToEvents method (dapr#1598) * Adding a Flux based subscribeToEvents method Signed-off-by: Artur Ciocanu <[email protected]> * Simplify GRPC stream handling Signed-off-by: Artur Ciocanu <[email protected]> * Simplify Javadoc Signed-off-by: Artur Ciocanu <[email protected]> * Fix unit tests and simplify implementation Signed-off-by: Artur Ciocanu <[email protected]> * Adding event subscriber stream observer to simplify subscription logic Signed-off-by: Artur Ciocanu <[email protected]> * Use start() method to start stream subscription Signed-off-by: Artur Ciocanu <[email protected]> * Add unit test for event suscriber observer Signed-off-by: Artur Ciocanu <[email protected]> * Improve the tests a little bit Signed-off-by: Artur Ciocanu <[email protected]> * Remove the unnecessary method Signed-off-by: Artur Ciocanu <[email protected]> * Improve error handling and use CloudEvent wrapper Signed-off-by: Artur Ciocanu <[email protected]> * Fix unit tests asserts Signed-off-by: Artur Ciocanu <[email protected]> * Adjust Java examples for Subscriber Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: salaboy <[email protected]> * Remove SDK docs due to migration to main Docs repo (dapr#1593) * Remove SDK docs due to migration to main Docs repo Signed-off-by: Marc Duiker <[email protected]> * Remove sed lines related to sdk docs Signed-off-by: Marc Duiker <[email protected]> --------- Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: salaboy <[email protected]> Signed-off-by: salaboy <[email protected]> * cleaning up sdk version script Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: wlfgang <[email protected]> Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: Matheus Cruz <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Raymundo Zamora <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wlfgang <[email protected]> Co-authored-by: wlfgang <[email protected]> Co-authored-by: Marc Duiker <[email protected]> Signed-off-by: siri-varma <[email protected]> * Add Cryptography API support with encrypt/decrypt operations - Add EncryptRequestAlpha1 and DecryptRequestAlpha1 domain classes - Implement encrypt() and decrypt() methods in DaprPreviewClient - Add CryptoExample and StreamingCryptoExample with documentation - Add integration tests for crypto operations - Add localstorage crypto component configuration Signed-off-by: siri-varma <[email protected]> * Add keys Signed-off-by: siri-varma <[email protected]> * Update localstorage.yaml key path to relative Signed-off-by: Siri Varma Vegiraju <[email protected]> * Fix things Signed-off-by: siri-varma <[email protected]> * fix things Signed-off-by: siri-varma <[email protected]> * Add missing imports Signed-off-by: siri-varma <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Matheus Cruz <[email protected]> Signed-off-by: artur-ciocanu <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: wlfgang <[email protected]> Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: Marc Duiker <[email protected]> Signed-off-by: siri-varma <[email protected]> Signed-off-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: salaboy <[email protected]> Co-authored-by: Matheus Cruz <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Raymundo Zamora <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wlfgang <[email protected]> Co-authored-by: wlfgang <[email protected]> Co-authored-by: Marc Duiker <[email protected]> Signed-off-by: salaboy <[email protected]>
Description
Implements the Cryptography Alpha1 API (
EncryptAlpha1/DecryptAlpha1) for the Dapr Java SDK, enabling streaming encryption and decryption operations using Dapr's cryptography building block.Changes
EncryptRequestAlpha1andDecryptRequestAlpha1domain objects with fluent settersencrypt()anddecrypt()methods toDaprPreviewClientinterfaceDaprClientImplIssue reference
Closes #1073
Checklist