* Use app health check in ITs to minimize flakiness.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Fix DaprRun and update Dapr runtime ref.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Add retry logic to tracing example's validation
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Printing validation steps.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Change retry logic for tracing it
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Updare Dapr ref.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Revert secret.json
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Add gRPC HealthCheck.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Change expectations for invoke tests.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Fix typo causing compilation error.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Update Dapr ref to latest master.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Fix binding and method invoke ITs.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Add wait time to reduce flakiness of ApiIT.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Re-enable health-check.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Remove AppHealth as it breaks actor ITs.
Signed-off-by: Artur Souza <artur.barbalho@outlook.com>
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <artur.barbalho@outlook.com>
* Query State Preview API implementation.
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* Use latest dapr ref and fix grpc query state api
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* fix service invocation automatic unesacpe
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* add more unit tests
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* Add query state API docs
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* Fix example to be user friendly
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* Fix example in docs
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
* make pagination immutable
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Update CLI and runtime to 1.6.0-rc.x
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Upgrade the version to 1.5.0-SNAPSHOT
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Update LICENSE to Apache 2.0
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Update headers to Apache 2.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Added fixed versions for maven-deploy-plugin & spring-boot-maven-plugin as this would otherwise break in a future maven version.
Also fixed some indenting and removed duplicate declarations.
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
* deprecate builders and add setters for domain classes
exclude builders from coverage checks
properly set parallelism for getbulkstaterequest
Initialize default metadata to empty HashMap PublishEventRequest
Decrease code coeverage ratio for dapr-sdk
* Fix casing
* Declare CloudEvent generic
* Fix timestamp in logging
* Declare Spring Boot version once
* Simplify administration of received events
* Update docs
* Always return a list, even if it's empty
Rather than returning `null` when no
messages are present for a topic.
* [WIP] Added SPEL evaluation against spring boot @Topic name and pubsubname attributes
* [WIP] Updated SubscriberController to use SPEL in @Topic
* 554 - SPEL for @Topic attributes: Updated documentation and examples
* Updated documentation as discussed
* Update README.md
* Update SubscriberController.java
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Adjusted the configuration of Maven.
* Update pom.xml
* Remove os-maven-plugin and spring-boot-maven-plugin in parent pom
* Add version of spring-boot-maven-plugin in the example pom.
Add spring-boot-dependencies dependency management in sdk-springboot.
Add maven-compiler-plugin to the parent pom's pluginManagement
Remove protoc-jar-maven-plugin in example's dependencies.
* Update pom.xml
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
* 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>
* 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.
* Adding Dapr Spring Boot Starter.
* Move Dapr Spring Boot Starter into existing sdk-springboot project.
Co-authored-by: Darren Wang <darren_wang@outlook.com>
* 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
* 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>
* 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>
* 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>
* 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.
* 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>