Commit Graph

61 Commits

Author SHA1 Message Date
snyk-bot 95bb575453
fix: examples/pom.xml to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHETOMCATEMBED-538488
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHETOMCATEMBED-557361
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHETOMCATEMBED-570072
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHETOMCATEMBED-584427
- https://snyk.io/vuln/SNYK-JAVA-ORGHIBERNATEVALIDATOR-568163
- https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-1009832
- https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-542933
- https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-559346
- https://snyk.io/vuln/SNYK-JAVA-ORGYAML-537645
2020-10-06 19:22:45 +00:00
Artur Souza 7f261be7ed
Upgrade the version to 0.10.0-SNAPSHOT (#345) 2020-09-28 11:15:38 -07:00
Mukundan Sundararajan 9539f23fb5
Fix State example readme (#343) 2020-09-22 11:31:55 -07:00
Mukundan Sundararajan fb8580f71b
Update state, secrets examples. Fix state toString. Ignore sdk-autogen in code coverage. (#340)
* Update state, secrets example. Fix state toString. Ignore sdk-autogen in code coverage.

* Update StateClient.java

* Update README.md

* Update Readme.md

Co-authored-by: Nghia Tran <tcnghia@gmail.com>

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Nghia Tran <tcnghia@gmail.com>
2020-09-21 15:06:46 -07:00
Artur Souza a9ee8e00ea
Fix tracing imgs (#338)
* Fix broken images in tracing sample.

* Update README.md
2020-09-16 11:55:05 -07:00
Artur Souza eede480403
Support W3C tracing + example. (#320) 2020-08-25 11:20:33 -07:00
Charlie Stanley d72e4cc49b Upgrade the version to 0.9.0-SNAPSHOT 2020-08-19 13:38:16 -07:00
Charlie Stanley 63f591e877 Add support for multi-pubsub (#309) 2020-08-18 18:20:17 -07:00
Pruthvidhar R Dhodda bc4c5e1cee
Replace deprecated cli options with new ones (#318)
* Replace deprecated cli options with new ones

* Change DAPR_CLI_REF in build.yaml

* Change DAPR_REF in build.yaml

* Revert "Change DAPR_CLI_REF in build.yaml"

This reverts commit 7d9621f3aa.
2020-08-10 17:51:07 -07:00
Mukundan Sundararajan 14fded8d18
Make DaprClient Closeable and properly close GRPC Managed Channel (#311) 2020-07-30 13:34:04 -07:00
Mukundan Sundararajan a388a6a90f
Upgrade the version to 0.8.0-SNAPSHOT (#314) 2020-07-30 12:00:53 -07:00
Mukundan Sundararajan 55b0e3a1e5
Change Service Invocation API. Fix metadata bug. (#312)
* Change Service Invocation API

* Address review comments
2020-07-30 10:44:25 -07:00
Artur Souza 7963560066
Fix directory for examples. (#306) 2020-07-15 10:29:36 -07:00
Artur Souza 25e6e158dc
Adding --components-path in all examples. (#304) 2020-07-14 18:41:00 -07:00
Artur Souza bd4b24cdb9
Use TypeRef for deserialization and client APIs. (#301)
* Use TypeRef for deserialization and client APIs.

* Making TypeRef class constructor private to force use of .get()
2020-07-09 11:47:25 -07:00
Mukundan Sundararajan f5aff5e0bd
Update README.md (#297)
Closes #285
2020-07-07 11:50:09 -07:00
Artur Souza dbdab2ed69
Upgrade the version to 0.7.0-SNAPSHOT (#292) 2020-06-05 20:01:51 -07:00
Mohammad Derakhshani 68454b8f52
fixed typo in README (#290)
* fixed typo in README

* Update README.md

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-06-01 00:45:00 -07:00
Artur Souza 5cf8cb13f3
Bi-directional output binding + 'data' to refer to PubSub event (#289)
* Use 'data' to refer to pubsub payload.

* Add support for bi-directional output binding.
2020-05-31 20:59:04 -07:00
Charlie Stanley 8362c6347b
SDK update for breaking changes in dapr core. (#287)
* Update proto files for 0.8.0 release (#283)

* Bump dapr core to master

* Update integration tests for 0.8.0 proto changes

* Added unit tests to ensure StateOptions enums always map to their equivalent gRPC enums

* Remove some uneed comments/imports

* Update pub/sub subscription to match new route/metdata format (#278)

* Automatically initialize actor on first invocation (#284)

* Update integration tests to publish to more than one pubsub topic/route

* Bump dapr CLI version

* Remove uneeded interface and exception

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-05-28 18:42:01 -07:00
Artur Souza c48c8870c8 Upgrade the version to 0.6.0-SNAPSHOT 2020-05-05 11:09:30 -07:00
Artur Souza 7cf5f8b354
Update for proto from dapr runtime version 0.7 (#273) 2020-04-30 16:50:13 -07:00
Aakash Muttineni cbab5a858f
Fix broken link in actors example README (#271) 2020-04-29 21:22:39 -07:00
Artur Souza 53adaa9ce8
Release 0.5.0-SNAPSHOT (#262) 2020-04-01 14:25:00 -07:00
Artur Souza 4611f40cb5
Springboot integration. (#256) 2020-03-30 09:49:31 -07:00
Artur Souza 46a1e5b8b4
Upgrade the version to 0.4.0-SNAPSHOT (#253) 2020-03-11 17:41:08 -07:00
Artur Souza 66b1cad71f
Support for GetSecret + ITs + sample. (#249) 2020-03-10 11:39:17 -07:00
Artur Souza 7fd4e39b56
Strong typed actors. (#243) 2020-02-25 15:45:28 -08:00
Leon Mai ff7c6ebe53
add log/comment at end of some samples (#234)
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-02-12 14:23:37 -08:00
Artur Souza c000a95891
Fix docs for invoke examples. (#233) 2020-02-12 13:42:08 -08:00
Artur Souza 1739391f2a
Upgrade the version to 0.3.0-SNAPSHOT (#232) 2020-02-12 11:55:34 -08:00
Artur Souza cc7975d6c8
Fix invoke http example. (#230) 2020-02-11 18:46:28 -08:00
Rinita De dad47d251f
Update to remove mvn exec and use java -jar fatjar for examples (#227)
* 1. Added Spring boot maven plugin to create fat jar.
2. Created new main class as entry point for the fat jar.
3. Updated Readme and comments for all the examples

* 1) Configured spring boot maven plugin to not include version in the generated fat jar name and updated readme and comments
2) Removed SpringBootApplication annotation from DaprMainApplication.
3) Minor formating changes

* Update DaprMainApplication.java

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-02-11 18:35:12 -08:00
Artur Souza 4e6c55f94e
Enable findbugs + fixes sdk and sdk-actors. (#228) 2020-02-11 16:58:51 -08:00
Artur Souza d1cc7f2222
More documentation for Java SDK (#226)
* Adding documentation to reference Project Reactor.

* Explain how to implement and use custom serializer.

* Adding multi-state store in the state example.
2020-02-11 13:26:16 -08:00
Marcos Reyes 943512f042
Reducing verbosity by setting log level to INFO in samples and tests (#221)
* Reducing verbosity in logs by setting log level to INFO in examples and tests

* Reducing verbosity in logs by setting log level to INFO in examples and tests

* Delete application.properties

* Delete application.properties

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-02-07 14:16:43 -08:00
Ricardo Niepel e948bf60ef
Remove debugging args #207 (#214) 2020-02-05 14:26:05 -08:00
Artur Souza bbbd4be648
Add support for dapr 0.4 (multi-state store) (#199)
* Updating proto file from dapr.

* Adding support for multi-state store.

* Allow PubSubIT to get accept events out of order.

Co-authored-by: Shalabh Mohan Shrivastava <shalabhms@gmail.com>
2020-02-04 13:31:57 -08:00
Andres Robles af44053198
Creating documentation site (#197)
* Fixing java docs issues.

* Configuring site plugin, maven site:deploy goal will put all generated site inside the "docs" directory in the root of the local repo, changes will need to be manually pushed.

* Adding site to be deployed in github pages.

* Including link for javadocs in parent landing page, ignoring examples module.

* Updating documentation site to default o javadocs

* Configuring site plugin to only generate javadocs

* Deleting javadocs for modules

* Adding to GIT Ignore list directories for the javadocs for each module.
2020-02-04 12:51:54 -08:00
Artur Souza 24232eee08
Fix release due to missing javadocs + fix headers. (#195)
* Fixing release pipeline due to Nexus rules.

* Enforcing header and fixing missing header in files.
2020-01-31 18:26:59 -08:00
Artur Souza b2083187df
Add support for metadata in Bindings + fix serialization of output bi… (#186)
* Add support for metadata in Bindings + fix serialization of output binding."

* Remove generics from new bindings method.
2020-01-31 15:20:22 -08:00
Artur Souza 7510276a1b
Upgrading checkstyle version + fixing style. (#190)
Co-authored-by: Leon Mai <lemai@microsoft.com>
2020-01-31 14:38:16 -08:00
Artur Souza 187a22725c
Fixing small issue with sleep time in Actor example. (#187) 2020-01-31 14:27:24 -08:00
Haishi2016 d10cd91169
fixes #180 (#183)
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-01-30 17:44:43 -08:00
Artur Souza 082c4a46fc
Refactoring actor example. (#182)
Co-authored-by: Young Bu Park <youngp@microsoft.com>
2020-01-30 16:32:09 -08:00
Artur Souza 838224f18a
Use SDK in GRPC invoke + add more invoke overloads. (#176) 2020-01-30 13:44:03 -08:00
Marcos Reyes 1af0bee418
Updates in test documentation (#175)
* Updates in test documentation

* Update README.md

* Update StateClient.java

* Update README.md

* Update StateClient.java

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-01-30 13:31:29 -08:00
Leon Mai 313730c308
Fixes checkstyle in existing code and enables error on checkstyle warning (#172)
* checkstyle

* Fix checkstyle and enable build error on checkstyle warning

* Merge from master
2020-01-29 23:19:38 -08:00
Artur Souza 45fe471c48
Make serializers optional + javadocs about default serializers. (#168) 2020-01-29 11:18:29 -08:00
Artur Souza 0bdf939f91
Removing some dependencies after review. (#164)
Co-authored-by: Leon Mai <lemai@microsoft.com>
2020-01-29 10:09:45 -08:00