Commit Graph

86 Commits

Author SHA1 Message Date
Artur Souza 27ce598369
Bring back stop examples, use 1.2 RCs (#548)
* Revert "Update refs to release-1.2-rc1 (#547)"

This reverts commit 30c008939a.

* Update CLI and daprd to 1.2.0 RCs.
2021-05-19 13:08:05 -07:00
halspang 30c008939a
Update refs to release-1.2-rc1 (#547) 2021-05-18 20:28:37 -07:00
Artur Souza dfd0d5c7af
Modify the pubsub example to have custom span. (#538) 2021-05-03 11:26:21 -07:00
Artur Souza 1d36d550f9
Merge branch 'master' into tracing_example_validate 2021-03-11 10:20:29 -08:00
Artur Souza 157d5bef11 Auto-validation for tracing sample. 2021-03-10 23:59:27 -08:00
Artur Souza c574955214 Remove all example PNGs that are text only. 2021-03-10 22:12:42 -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 6b9a0e1bce Merge branch 'master' into release-1.0 2021-02-10 21:11:44 -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 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 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 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 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 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 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 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 08f133dd1b
Throws IllegalArgumentException without wrapping as DaprException. (#426) 2020-12-21 16:21:01 -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 db9166ee22
Split components dir for samples + other fixes. (#416) 2020-12-15 23:34:05 -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 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 6acae187d9
Fixing instructions for secrets API example. (#389) 2020-11-16 12:18:11 -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
Aaron Crawfis e65cdf1b7e Update docs links 2020-10-23 11:46:41 -07:00
Artur Souza 76c848bb6f
Fixes timer invocation after app restarts. (#363) 2020-10-16 14:29:31 -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 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 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