Commit Graph

161 Commits

Author SHA1 Message Date
Artur Souza 3f51e29dde
Fix actor sample + remove HTTP reference in docs and code. (#407)
* Fix actor sample + remove HTTP reference in docs and code.

* Fix logging for IT.
2020-12-11 13:54:23 -08:00
Artur Souza f871b1f51f
IT for recovering reminder after sidecar restart. (#406) 2020-12-09 21:40:08 -08:00
Artur Souza adce91f743
Throw DaprException consistently + doc + example. (#403) 2020-12-08 15:58:07 -08:00
Artur Souza cf1c10d85a
Actor over GRPC. (#395) 2020-11-24 15:23:35 -08:00
Artur Souza a5c9bf73ba
Upgrade the version to 0.11.0-SNAPSHOT (#390) 2020-11-16 12:34:44 -08:00
Artur Souza c466e211f1
Fix build due to deprecated maven repo, using jcenter now. (#392) 2020-11-16 12:01:53 -08:00
Artur Souza 43107c3492
Update cli and runtime ITs to 1.0.0-rc.1 (#387)
* Fix ITs due to change in logs in daprd.

* Update to 1.0.0-rc.1 runtime and cli.
2020-11-12 15:32:23 -08:00
Artur Souza 2bafc05e4c
Updating proto, daprd and cli + fix ITs for v1.0.0 Milestone 1. (#384)
* Updating proto, daprd and cli prior to v1.0.0 Milestone 1.

* Fixes integration tests.
2020-11-10 09:29:39 -08:00
Mukundan Sundararajan 97eacf9598
update open telemetry lib version 0.7.1 (#380)
* update readme with secrets example link

* Update opentelemetry to 0.7.1, change repo id for sping

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-11-09 21:52:36 -08:00
Mukundan Sundararajan 751ea2168c
upgrade dependency versions (#378) 2020-11-04 16:22:39 -08:00
dependabot[bot] f911756444
Bump junit from 4.12 to 4.13.1 in /sdk-tests (#359)
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-10-16 15:38:18 -07:00
Artur Souza 76c848bb6f
Fixes timer invocation after app restarts. (#363) 2020-10-16 14:29:31 -07:00
Artur Souza 9076d9f60e
Fix save bytes (#353)
* IT for save byte error in actor state.

* Update proto version.

* Fixes bug on read/write byte[] in actor state.

* Addresses comments round 1.
2020-10-08 15:55:14 -07:00
Artur Souza 7f261be7ed
Upgrade the version to 0.10.0-SNAPSHOT (#345) 2020-09-28 11:15:38 -07:00
Mukundan Sundararajan 75efc3a633
Fix port collision in java ITs (#342) 2020-09-22 10:18:37 -07:00
Mukundan Sundararajan f6b56bb376
Initial transaction API changes (#337)
* Initial transaction API changes

* Add more unit tests

* Refactor IT
2020-09-16 14:00:57 -07:00
Artur Souza baab109202
Bulk get state (#335)
* unfinished work

* Working version of Bulk get state API.

Co-authored-by: Haishi2016 <hbai@microsoft.com>
2020-09-16 11:29:01 -07:00
Artur Souza fe027d0c54
Refactoring properties and constants. (#333) 2020-09-02 11:54:12 -07:00
Artur Souza eede480403
Support W3C tracing + example. (#320) 2020-08-25 11:20:33 -07:00
Artur Souza 811728133d
Remove EmptyService and use dapr run -- instead. (#321) 2020-08-24 08:44:02 -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
Artur Souza 56927daedd
Removing RetryPolicy for state API. (#315) 2020-07-30 14:13:41 -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 25e6e158dc
Adding --components-path in all examples. (#304) 2020-07-14 18:41:00 -07:00
Artur Souza 5eba96437f
Updating build pipeline for 0.9 rc. (#302) 2020-07-14 18:10:11 -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
Artur Souza dbdab2ed69
Upgrade the version to 0.7.0-SNAPSHOT (#292) 2020-06-05 20:01:51 -07:00
Artur Souza 30fc85efe6
Reference to 0.8.0-rc.0. (#291) 2020-06-05 18:16:48 -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
Artur Souza 7ec969c50a
Fix bug in actor contains state API. (#268) 2020-04-09 18:26:29 -07:00
Artur Souza 1ca2751828
Fix instability due to race condition on stop. (#265) 2020-04-02 19:22:28 -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
Artur Souza 85e9d2de02
Setting GRPC as default protocol for non-actor APIs. (#239)
* Setting GRPC as default protocol for non-actor APIs.

* Fixes issues in GRPC client + ITs for both GRPC and HTTP.

* Update MethodInvokeIT.java
2020-02-18 10:55:14 -08:00
Artur Souza 1739391f2a
Upgrade the version to 0.3.0-SNAPSHOT (#232) 2020-02-12 11:55:34 -08:00
Artur Souza 311875af7c
Remove special case for String in serializer + serialize state value "directly". (#225) 2020-02-10 11:55:02 -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
Yaron Schneider 93bb3b55d6
move from localhost to 127.0.0.1 (#213) 2020-02-05 12:13:16 -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
Juan Jose Herrera 54fee52d98
Add Integration Test for Method Invoke (#194)
* Fix Metata for Invoke Method

* Add Integration Test for Method Invoke

* Remove javafaker dependncy

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-02-03 15:19:22 -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
Juan Jose Herrera c487294143
Fix Metata for Invoke Method (#189) 2020-01-31 13:41:42 -08:00
Andres Robles b7d6b1cc58
Renaming Adapters, to be just Clients for GRPC and HTTP (#179) 2020-01-30 13:05:42 -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 91ac017f7f
IT for actor state + handle actor config. (#163) 2020-01-29 21:50:46 -08:00
Leon Mai e72f1fa919
Actor IT - timers, reminders, turn-based concurrency (#162)
* Actor IT - timers, reminders, turn-based concurrency

IT for actor timer, reminder, turn-based concurrency

* Remove commented out code

* Remove comment

* Update MyActorService.java

* Update ActorTurnBasedConcurrencyIT.java

* Keep the latest stable version of junit. (#169)

* merge with changes in master

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-01-29 15:17:33 -08:00
Artur Souza 93b990be79
Keep the latest stable version of junit. (#169) 2020-01-29 14:01:39 -08:00
Juan Jose Herrera ebea096bef
Adding Integration Test for Pub Sub over HTTP (#167)
* Adding Integration Test for Pub Sub over HTTP

* Update PubSubIT.java

* Remove unneeded thread sleep

* Serializer is now optional in client builder.

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-01-29 11:46:58 -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
Artur Souza a40afafca4
Refactor IT into new jar + use JVM sytem properties (#156)
* Refactor IT into new jar + use JVM sytem properties

* Fixing ITs and silence flaky tests.

* Fix flaky tests.
2020-01-28 11:32:29 -08:00