Commit Graph

266 Commits

Author SHA1 Message Date
Artur Souza a080e44467
Merge pull request #516 from artursouza/fix_state_trx (#517)
Fix HTTP save state transaction.
2021-03-17 11:08:16 -07:00
Artur Souza 69606d0639
Merge pull request #513 from artursouza/hotfix_101
Merge pull request #504 from abogdanov37/feature_fix-statestore-seria…
2021-03-16 14:09:51 -07:00
Artur Souza 59e3198d9d Merge pull request #504 from abogdanov37/feature_fix-statestore-serialization
Fix issue where custom JSOn serializer generates Base64 encoded data in state store
2021-03-14 21:29:50 -07:00
Artur Souza 048d934041 Generate updated javadocs for 1.0.0 2021-02-16 18:01:14 -08:00
Artur Souza 564b0870f9 Upgrade version to 1.0.0 2021-02-16 17:56:14 -08:00
Artur Souza a47cfb880d
Update README for v1.0.0 release. (#490) 2021-02-16 17:45:20 -08:00
Artur Souza 9dd312310d Release 1.0.0-rc-6 2021-02-16 00:14:04 -08:00
Artur Souza c03441c782 Merge remote-tracking branch 'upstream/master' into release-1.0 2021-02-16 00:10:23 -08:00
Artur Souza ce7ecb9965
Allows override of content-type in pubsub publish. (#492) 2021-02-16 00:03:08 -08:00
Artur Souza 4e73440ef6 Merge remote-tracking branch 'upstream/master' into release-1.0 2021-02-12 20:10:09 -08:00
Mukundan Sundararajan 99c3794a62
update CLI version to rc6 (#489) 2021-02-12 08:26:58 -08:00
Artur Souza f4a35e7b7f
Merge pull request #488 from dapr/master 2021-02-12 08:26:02 -08:00
Mukundan Sundararajan 0a826d0726
fix examples for latest rc. validate build with latest rc (#487) 2021-02-11 17:01:26 -08:00
Artur Souza 207ed0231d Release 1.0.0-rc-5 2021-02-10 21:16:11 -08:00
Artur Souza 6b9a0e1bce Merge branch 'master' into release-1.0 2021-02-10 21:11:44 -08:00
Artur Souza e46ef319cd
Support many query strings in HTTP and binary data in Cloud Event for PubSub. (#485)
* Handles base64 data from CloudEvent.

* Support for multiple query strings.

* Addressing comments.
2021-02-09 19:38:13 -08:00
Artur Souza 1b3077071f
Update license header. (#483) 2021-02-06 00:18:47 -08:00
xiazuojie 0cd2f373d2
remove io.dapr.client.domain.Response from DaprClient APIs (#476)
* change: remove io.dapr.client.domain.Response from getState API. This is just a showcase of how to use reactor.util.context.Context

* fix: code style

* change: remove io.dapr.client.domain.Response from invokeMethod API

* change: completely remove io.dapr.client.domain.Response and update all APIs
change: remove reactor.util.context.Context from "request" classes.

* removed getStateContext test case
update README.md

* removed default impl from DaprClient

Co-authored-by: Xia Zuojie <zuojie@alibaba-inc.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-02-05 23:20:25 -08:00
Artur Souza a66337aa4b
Unit test to deserialize CloudEvent. (#480) 2021-02-04 14:11:39 -08:00
Charlie Stanley 717480d804
Merge pull request #481 from artursouza/discord_link
Switch to Discord.
2021-02-04 11:11:23 -08:00
Artur Souza 222c493597 Switch to Discord. 2021-02-04 10:49:58 -08:00
Andrey Pechkurov b7eb723445
Improve concurrent data structures in ActorRuntime (#479)
* Switch ActorManager registry to CHM in ActorRuntime

Synchronized HashMap may lead to unnecessary contention during
ActorManager lookups.

* Change ActorRuntimeConfig to be thread-safe
2021-02-04 09:45:33 -08:00
Artur Souza 5147ad0202
Adds IT to confirm eTag is parsed correctly to/from runtime. (#475) 2021-02-02 20:21:21 -08:00
Artur Souza 1527d31640
Enhancing validation for ActorTurnBasedConcurrencyIT. (#474) 2021-02-02 14:39:19 -08:00
Artur Souza 243342f627 Release 1.0.0-rc-4 2021-02-01 20:11:40 -08:00
Artur Souza 24eac052b8 Merge remote-tracking branch 'upstream/master' into release-1.0 2021-02-01 20:06:05 -08:00
Artur Souza 5d7700b570
Refactor params for State class + Unit test example (#473)
* Refactor order of params for State class.

* Example for unit testing.

* Change toString() for State class.

* Add unittesting example to main README.

* Fix cmd for unittesting example.

* Add sleep to http inputing binding example validation.

* Fix unittesting example check.
2021-02-01 19:03:25 -08:00
Artur Souza 277f9958a6
Fix PubSub publish + Update IT to use RC3 bits. (#471)
* Update IT to use RC3 bits.

* Fixing publish method not to handle content-type metadata in GRPC.

* Fix flaky actor ITs.
2021-02-01 18:19:50 -08:00
Artur Souza 3918db1758
Remove unused screenshot for state example. (#465) 2021-01-30 19:27:26 -08:00
Mukundan Sundararajan 135b68c09b
Setup auto validation of java examples (#464)
* Setup auto validation of java examples

* Update README.md

* Update validate.yml

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-01-30 16:12:51 -08:00
Artur Souza 72c7cdcbeb Release 1.0.0-rc-3 2021-01-29 10:53:31 -08:00
Artur Souza c2784b760f Merge branch 'master' into release-1.0 2021-01-29 10:48:34 -08:00
Artur Souza ba496064d1
Removing OpenTelemetry and OpenCensus SDK. (#463) 2021-01-29 09:23:48 -08:00
Artur Souza 2ca48be3ec
Merge pull request #462 from artursouza/it_invoke_grpc
Fix error handling in http invoke.
2021-01-28 10:27:46 -08:00
Artur Souza d7cc7974c7 handle method not found when proto class does not have parseFrom() 2021-01-27 23:39:13 -08:00
Artur Souza 5d20a217a7 Fix IT to switch to GRPC service invocation. 2021-01-27 23:19:27 -08:00
Artur Souza 7eacfcc88f Fix error handling in http invoke.
ITs to validate invoke errors on http and grpc services.
Handle serialization of proto objects.
2021-01-27 22:22:22 -08:00
Artur Souza e7ae72825e
Merge pull request #460 from artursouza/merge_master
Merge master
2021-01-27 16:50:18 -08:00
Artur Souza a42120f7f1 Merge branch 'master' into release-1.0 2021-01-27 15:58:15 -08:00
Artur Souza 6c26942dd5
Adds autoconfiguration for springboot apps. (#459)
* Adding Dapr Spring Boot Starter.

* Move Dapr Spring Boot Starter into existing sdk-springboot project.

Co-authored-by: Darren Wang <darren_wang@outlook.com>
2021-01-27 10:40:14 -08:00
karishma-chawla efee05681e
Updating state management example to include etag mismatch exception handling (#458)
* Updating state management example to include etag mismatch exception scenario. Dapr runtime grpc exception handling was recently updated to return aborted error code on etage mismatch for mutations, the example is updated to reflect that the runtime updates will be propagated through the java sdk.

* Addressed feedback to merge block call with api call.

* Updating readme with block() call updates, missed in previous commit
2021-01-26 17:14:51 -08:00
Artur Souza c5b4cbd3f5
Add version to Components. (#455) 2021-01-25 22:14:19 -08:00
Charlie Stanley faf3bec6f7
Merge pull request #454 from wcs1only/nullable-etag
Unit tests for nullable-etag (#442)
2021-01-25 14:09:57 -08:00
Charlie Stanley c35f0e11c6 Added unit tests for nullable etag #442 2021-01-25 13:52:21 -08:00
Charlie Stanley 233c699070
Merge pull request #452 from artursouza/get_bulk_secrets
Adding GetBulkSecret API.
2021-01-25 13:02:59 -08:00
Artur Souza 907748f162 Adding GetBulkSecret API. 2021-01-25 12:21:46 -08:00
Artur Souza 57345ebf3e
Use DaprChannel instead of closeable ActorProxyBuilder. (#451)
* Use DaprChannel instead of closeable ActorProxyBuilder.

* Refactor Actor channel into DaprChannel and out of ActorProxyBuilder.

* Rename DaprChannel to ActorClient and make it a DaprClient.

* Make ActorClient not implement DaprClient but implement same method.

* Update sdk-actors/src/main/java/io/dapr/actors/client/ActorProxyBuilder.java

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>

* Update sdk-actors/src/test/java/io/dapr/actors/client/ActorProxyBuilderTest.java

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>

* Rename ActorProxyForTestsImpl to ActorProxyImplForTests

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2021-01-25 12:04:58 -08:00
Artur Souza befed4a01b
Makes service method API invocations over HTTP by default. (#450)
* Makes service method API invocations over HTTP by default.

* Add logic to avoid building managedchannel in case of http API for actor runtime.
2021-01-23 12:12:34 -08:00
Phil Kedy 38b899d8b8
Add java.lang.reflect.Type to TypeRef per #331 (#449)
* Add support deserialization of generic types per #293

* Improving test coverage
2021-01-22 15:49:51 -08:00
Artur Souza 81b47f85b3
Makes http call async and allows timeout in Mono. (#445) 2021-01-21 15:23:24 -08:00