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
Artur Souza
446cd17e18
Support ActorMethod to change method's name. ( #448 )
2021-01-19 23:34:14 -08:00
Artur Souza
d43272fdc6
Rename InvokeServiceRequest to InvokeMethodRequest. ( #443 )
...
* Rename InvokeServiceRequest to InvokeMethodRequest.
* Organize imports.
2021-01-15 04:51:48 -08:00
Artur Souza
019dee9a8b
Fix handling of metadata, headers. Removes etag from getState. ( #440 )
...
* Fix handling of metadata, headers. Removes etag from getState().
* Update CLI and runtime.
* Fix ITs.
2021-01-14 15:01:22 -08:00
xiazuojie
76d877c9c0
Fix blocking calls for gRPC even though using Reactor ( #435 )
...
* Fix blocking calls for gRPC even though using Reactor
* delete unused wrap method
* add: throw exception if fatal
* Add "NoHotMono" unit tests for DaprClientGrpc
Co-authored-by: 刘禅 <zuojie@alibaba-inc.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-01-11 19:40:15 -08:00
Artur Souza
9e13586ecc
Refactor tracing demo to show A->B->C call stack. ( #436 )
2021-01-08 15:03:00 -08:00
Artur Souza
6a44d51279
Adds method to wait for Dapr sidecar. ( #433 )
2020-12-30 19:29:23 -08:00
Artur Souza
1a6675add8
Support TTL in PubSub. Fixes + refactor of CloudEvent. Fix handling content-type in PubSub over GRPC ( #431 )
2020-12-30 13:37:15 -08:00
Artur Souza
2714402a0e
Fix input encoding and error parsing for HTTP calls. ( #428 )
...
* Fix input encoding and error parsing for HTTP calls.
* Adds tests for special char in HTTP call.
* Rename path to pathSegments
2020-12-29 18:17:57 -08:00
Arghya Sadhu
4c1773c8cd
refactor to move duplicate code to method ( #429 )
...
Signed-off-by: Arghya Sadhu <arghya88@gmail.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-12-29 14:20:31 -08:00
Sky/敖小剑
b5dd421142
add metadata in get bulk state request ( #401 )
...
* add metadata in get bulk state request
* rollback DaprClientGrpcTest which should be comitted in another PR
* fix compile error after merge
* update unit test for metadata in getBulkState()
* re-trigger build again
* add test for withMetadata()
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2020-12-29 14:03:41 -08:00
Artur Souza
08f133dd1b
Throws IllegalArgumentException without wrapping as DaprException. ( #426 )
2020-12-21 16:21:01 -08:00
kerr
3b51b5b6c4
Rename ActorProxy invoke to invokeMethod. ( #420 )
...
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-12-18 14:41:16 -08:00
Arghya Sadhu
a35e41480e
set etag to be null if it's empty ( #414 )
...
Signed-off-by: Arghya Sadhu <arghya88@gmail.com>
2020-12-18 12:13:46 -08:00
Artur Souza
8c79d7c265
Update zipkin detail page for tracing sample. ( #422 )
2020-12-17 01:21:02 -08:00
Artur Souza
7f1ce0bed7
Update zipkin detail page for tracing sample. ( #423 )
2020-12-17 01:20:33 -08:00
Artur Souza
b0f1a44a3c
Split components dir for samples + other fixes. ( #417 )
2020-12-16 12:48:06 -08:00
Arghya Sadhu
11d9e3b0b8
Rename methods and parameters for consistency across SDKs ( #410 )
...
Signed-off-by: Arghya Sadhu <arghya88@gmail.com>
2020-12-16 00:06:54 -08:00
Artur Souza
de4c37e3a5
Upgrade the version to 1.0.0-SNAPSHOT ( #413 )
2020-12-15 23:34:20 -08:00
Artur Souza
db9166ee22
Split components dir for samples + other fixes. ( #416 )
2020-12-15 23:34:05 -08:00
Artur Souza
17c969010f
Generate updated javadocs for 1.0.0-rc-2
2020-12-14 18:43:57 -08:00
Artur Souza
17831bed51
Release 1.0.0-rc-2
2020-12-14 18:28:08 -08:00
Artur Souza
3b34267750
Update CLI and runtime for milestone. ( #412 )
2020-12-14 17:19:37 -08:00
Artur Souza
85bdb24fa9
IT for failover actor reminder. ( #411 )
...
* IT for failover actor reminder.
* Refactoring for actor tests.
2020-12-11 15:28:55 -08:00
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
Sky/敖小剑
16faa43795
support metadata in get state and bulk get state response ( #402 )
2020-12-03 11:25:32 -08:00
Sky/敖小剑
912ff7a781
Add metadata for state save operation ( #397 )
...
* add metadata for state save
* add test case for state hashcode() and equals()
* add metadata for state tansactional
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-12-01 21:13:25 -08:00