Commit Graph

214 Commits

Author SHA1 Message Date
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 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 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
Sky/敖小剑 8cc33b5598
fix a small copy-paste issue (#398) 2020-11-30 15:49:33 -08:00
Artur Souza cf1c10d85a
Actor over GRPC. (#395) 2020-11-24 15:23:35 -08:00
Artur Souza 183a9fef92
Generate updated javadocs for 0.10.0 (#391) 2020-11-16 13:35:07 -08:00
Artur Souza a5c9bf73ba
Upgrade the version to 0.11.0-SNAPSHOT (#390) 2020-11-16 12:34:44 -08:00
Artur Souza 6acae187d9
Fixing instructions for secrets API example. (#389) 2020-11-16 12:18:11 -08:00
Artur Souza c466e211f1
Fix build due to deprecated maven repo, using jcenter now. (#392) 2020-11-16 12:01:53 -08:00
haidao 9dcff43ef0
open telemetry upgrade to 0.10.0 (#386)
* open telemetry upgrade to 0.10.0

* open telemetry upgrade to 0.10.0

* open telemetry upgrade to 0.10.0

* open telemetry upgrade to 0.10.0

* open telemetry upgrade to 0.10.0

Co-authored-by: haidao <wlf190783@alibaba-inc.com>
2020-11-13 13:00:21 -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 2ebb94e413
Add maven central badge to readme (#383) 2020-11-09 22:21:24 -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
Aaron Crawfis e22695b591
Merge pull request #376 from dapr/docs-update
Update docs links
2020-10-26 15:41:55 -07:00
Aaron Crawfis e65cdf1b7e Update docs links 2020-10-23 11:46:41 -07:00
Artur Souza 54cc82043b
Fixing repo config instructions. (#375) 2020-10-20 13:09:17 -07:00
Artur Souza 44a209ec70
Generate updated javadocs for 0.9.2 (#374) 2020-10-19 17:13:45 -07:00
Mukundan Sundararajan 44732875cb
Increase test coverage. Fix some code inspection issues. (#372) 2020-10-19 16:35:06 -07:00
Artur Souza eb7763f126
Fix high mem usage due to many OkHttpClient instances. (#373) 2020-10-19 15:23:41 -07:00
Artur Souza 604eff8cd4
Generate updated javadocs for 0.9.1 (#366) 2020-10-16 17:07:53 -07: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
dependabot[bot] 272b40ded6
Bump junit from 4.12 to 4.13.1 (#358)
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>
2020-10-16 14:51:31 -07:00
Artur Souza 76c848bb6f
Fixes timer invocation after app restarts. (#363) 2020-10-16 14:29:31 -07:00
Artur Souza 1573a46ed4
Add release note instructions to issue template. (#360) 2020-10-16 00:10:38 -07:00
Artur Souza c67bc4719b
Fix missing type in withObjectSerializer() for Actor. (#357) 2020-10-12 21:37:12 -07:00