Commit a6f028e
Add Cryptography APIs to the Java SDK (dapr#1599)
* Bringing Durable Task Java as a Maven module inside the Java SDK (dapr#1575)
* fixing checkstyle and javadocs
Signed-off-by: salaboy <Salaboy@gmail.com>
* Replace openjdk:17-jdk-slim to eclipse-temurin:17-jdk-jammy (dapr#1574)
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* Align Java API with other languages (dapr#1560)
* Align Java API with other languages
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
* Update documentation
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
* Change return type of waitForWorkflowStart method
Signed-off-by: artur-ciocanu <artur.ciocanu@gmail.com>
---------
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
Signed-off-by: artur-ciocanu <artur.ciocanu@gmail.com>
Co-authored-by: artur-ciocanu <artur.ciocanu@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* use built in durable task
Signed-off-by: salaboy <Salaboy@gmail.com>
* exclude jacoco rules for examples and durabletask-client
Signed-off-by: salaboy <Salaboy@gmail.com>
* increasing timeout for IT
Signed-off-by: salaboy <Salaboy@gmail.com>
* removing dt build from matrix
Signed-off-by: salaboy <Salaboy@gmail.com>
* adding java to dt build
Signed-off-by: salaboy <Salaboy@gmail.com>
* 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 <artur.ciocanu@gmail.com>
* Move all the Jackson deps to parent POM.
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Ensure app JAR build order
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Remove explicit Jackson from sdk-tests module.
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Make sure <scope>test</scope> is used for test dependencies.
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Remove extra Jackson modules.
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
---------
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* 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 <siri.varma@outlook.com>
Co-authored-by: artur-ciocanu <artur.ciocanu@gmail.com>
Co-authored-by: Cassie Coyle <cassie.i.coyle@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* Add statestore example with Outbox pattern (dapr#1582)
* Add statestore example with Outbox pattern
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
* Clean events after each test
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
* Add license header
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
* Apply pull request suggestions
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
---------
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
Co-authored-by: salaboy <Salaboy@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* adding new method signature plus test (dapr#1570)
* adding new method signature plus test
Signed-off-by: salaboy <Salaboy@gmail.com>
* re adding imports
Signed-off-by: salaboy <Salaboy@gmail.com>
* fixing style
Signed-off-by: salaboy <Salaboy@gmail.com>
* checking empty metadata
Signed-off-by: salaboy <Salaboy@gmail.com>
* copy meta for safety and check if key is present
Signed-off-by: salaboy <Salaboy@gmail.com>
* Centralize Maven dependency version management (dapr#1564)
Signed-off-by: salaboy <Salaboy@gmail.com>
* 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 <artur.ciocanu@gmail.com>
* Move all the Jackson deps to parent POM.
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Ensure app JAR build order
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Remove explicit Jackson from sdk-tests module.
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Make sure <scope>test</scope> is used for test dependencies.
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Remove extra Jackson modules.
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
---------
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* reverting pom
Signed-off-by: salaboy <Salaboy@gmail.com>
* fix codestyle
Signed-off-by: salaboy <Salaboy@gmail.com>
* using metaCopy
Signed-off-by: salaboy <Salaboy@gmail.com>
---------
Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
Co-authored-by: artur-ciocanu <artur.ciocanu@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* 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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* Add gRPC support to Dapr testcontainer (dapr#1586)
* Add gRPC support to Dapr testcontainer
Signed-off-by: wlfgang <wlfgang@westridgesystems.com>
* Avoid using null to indicate default value
Signed-off-by: wlfgang <wlfgang@westridgesystems.com>
---------
Signed-off-by: wlfgang <wlfgang@westridgesystems.com>
Co-authored-by: artur-ciocanu <artur.ciocanu@gmail.com>
Co-authored-by: wlfgang <wlfgang@westridgesystems.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* Use dependencies BOM and remove duplicates. (dapr#1588)
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* Examples + Docs for App API Token authentication for gRPC and HTTP (dapr#1589)
* example
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
* docs for example
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
---------
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: salaboy <Salaboy@gmail.com>
* Another set of Maven version, properties and plugin improvements (dapr#1596)
Signed-off-by: salaboy <Salaboy@gmail.com>
* Adding a Flux based subscribeToEvents method (dapr#1598)
* Adding a Flux based subscribeToEvents method
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Simplify GRPC stream handling
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Simplify Javadoc
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Fix unit tests and simplify implementation
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Adding event subscriber stream observer to simplify subscription logic
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Use start() method to start stream subscription
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Add unit test for event suscriber observer
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Improve the tests a little bit
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Remove the unnecessary method
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Improve error handling and use CloudEvent wrapper
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Fix unit tests asserts
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
* Adjust Java examples for Subscriber
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
---------
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* 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 <marcduiker@users.noreply.github.com>
* Remove sed lines related to sdk docs
Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
---------
Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
Co-authored-by: salaboy <Salaboy@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* cleaning up sdk version script
Signed-off-by: salaboy <Salaboy@gmail.com>
---------
Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
Signed-off-by: artur-ciocanu <artur.ciocanu@gmail.com>
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: wlfgang <wlfgang@westridgesystems.com>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
Co-authored-by: Matheus Cruz <56329339+mcruzdev@users.noreply.github.com>
Co-authored-by: artur-ciocanu <artur.ciocanu@gmail.com>
Co-authored-by: Raymundo Zamora <raymundo.zamora@encora.com>
Co-authored-by: Siri Varma Vegiraju <siri.varma@outlook.com>
Co-authored-by: Cassie Coyle <cassie.i.coyle@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: wlfgang <14792753+wlfgang@users.noreply.github.com>
Co-authored-by: wlfgang <wlfgang@westridgesystems.com>
Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com>
Signed-off-by: siri-varma <siri.varma@outlook.com>
* 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 <siri.varma@outlook.com>
* Add keys
Signed-off-by: siri-varma <siri.varma@outlook.com>
* Update localstorage.yaml key path to relative
Signed-off-by: Siri Varma Vegiraju <siri.varma@outlook.com>
* Fix things
Signed-off-by: siri-varma <siri.varma@outlook.com>
* fix things
Signed-off-by: siri-varma <siri.varma@outlook.com>
* Add missing imports
Signed-off-by: siri-varma <siri.varma@outlook.com>
---------
Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
Signed-off-by: artur-ciocanu <artur.ciocanu@gmail.com>
Signed-off-by: Artur Ciocanu <artur.ciocanu@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: wlfgang <wlfgang@westridgesystems.com>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
Signed-off-by: siri-varma <siri.varma@outlook.com>
Signed-off-by: Siri Varma Vegiraju <siri.varma@outlook.com>
Co-authored-by: salaboy <Salaboy@gmail.com>
Co-authored-by: Matheus Cruz <56329339+mcruzdev@users.noreply.github.com>
Co-authored-by: artur-ciocanu <artur.ciocanu@gmail.com>
Co-authored-by: Raymundo Zamora <raymundo.zamora@encora.com>
Co-authored-by: Cassie Coyle <cassie.i.coyle@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: wlfgang <14792753+wlfgang@users.noreply.github.com>
Co-authored-by: wlfgang <wlfgang@westridgesystems.com>
Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com>
Signed-off-by: salaboy <Salaboy@gmail.com>1 parent fc4ad5e commit a6f028e
File tree
15 files changed
+2942
-13
lines changed- .github/workflows
- examples
- components/crypto
- keys
- src/main/java/io/dapr/examples/crypto
- sdk-tests/src/test/java/io/dapr/it/testcontainers/crypto
- sdk/src
- main/java/io/dapr/client
- domain
- test/java/io/dapr/client
- domain
15 files changed
+2942
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| |||
186 | 190 | | |
187 | 191 | | |
188 | 192 | | |
| 193 | + | |
| 194 | + | |
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
Lines changed: 173 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
Lines changed: 178 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
0 commit comments