Commit Graph

72 Commits

Author SHA1 Message Date
Artur Souza 68161616d4 Upgrade version to 1.6.0
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-07-08 09:43:35 -07:00
Artur Souza 986e5651fc Release 1.6.0-rc-1
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-06-23 15:37:10 -07:00
Artur Souza bb6db2ec6b
Upgrade the version to 1.6.0-SNAPSHOT (#727)
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-03-31 22:11:32 -07:00
Mukundan Sundararajan 06d92dafca
Query State Preview API implementation. (#697)
* 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>
2022-03-20 21:03:11 -07:00
Artur Souza 0c2fcb48a2
Update for next release: 1.5.0 snapshot (#672)
* 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>
2022-01-18 12:28:35 +05:30
greenie-msft d37881b469
Update LICENSE to Apache 2.0 (#657)
* 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>
2021-12-09 20:15:47 +05:30
Maarten Mulders be7edb17f6
Migrated out of JCenter as a Maven repository manager (#648)
* Upgrade okhttp-mock dependency

Version 1.3.2 was never deployed to Maven Central

* No longer refer to JCenter, as it has been shut down
2021-10-29 14:51:10 -07:00
Artur Souza ed1fac1f89
Upgrade the version to 1.4.0-SNAPSHOT (#632) 2021-09-15 22:03:12 -07:00
Bernd Verst c3e60bb2ef
Update GRPC libraries for security updates (#573)
* Update pom.xml

* Update pom.xml

* Update pom.xml

* Define GRPC version as build property

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-07-14 16:39:24 -07:00
Bernd Verst 48b2d44aa7
Add support for configuring actor reminder storage partitions (#574)
* Update GRPC libraries for security updates

* AdConfigurable actor reminder storage patitions

* autoformat code

* Fix test and linter error

* more autoformatting

* competing style checker :(

Co-authored-by: Ubuntu <beverst@beverst-ubuntu.4gvshbv0hrpejbsei5kugsxnoc.xx.internal.cloudapp.net>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-07-12 16:02:25 -07:00
Artur Souza 5c05f3d9c7
Change Actor gRPC client to async. (#564) 2021-06-14 13:37:31 -07:00
halspang 2eb6e1d9e3
Upgrade the version to 1.2.0-SNAPSHOT (#549) 2021-05-19 22:01:28 -07:00
Artur Souza 7467575a97
Revert "Adjusted the configuration of Maven. (#532)" (#536)
This reverts commit 5cc79811cb.
2021-04-29 18:48:29 -07:00
LLLLimbo 5cc79811cb
Adjusted the configuration of Maven. (#532)
* 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>
2021-04-26 23:26:11 -07:00
Artur Souza c9ab3a6390
Revert "Merge pull request #504 from abogdanov37/feature_fix-statestore-serialization" (#519)
This reverts commit 1eff655d82, reversing
changes made to a5051e07a8.
2021-03-23 17:09:52 -07:00
Andrey Bogdanov db97c19bd0 Fix unit tests. Add comments. 2021-03-11 10:23:55 +03:00
Andrey Bogdanov 9bf4adeae5 Revert changes with ObjectSerializer class. 2021-03-11 09:54:44 +03:00
Andrey Bogdanov a3c7056be2 Revert changes with ObjectSerializer class. 2021-03-11 09:52:57 +03:00
Andrey Bogdanov 4c0d043fb4 Change strategy to find Json serializer by content type 2021-03-10 15:42:09 +03:00
Andrey Bogdanov c58b9b3bca Refactor ObjectSerializer class to add ability set custom object mapper. Refactor DaprStateAsyncprovider class to use custom serializers based on ObjectSerializer class as Json serializer. Add unit tests. 2021-03-09 16:10:23 +03:00
Artur Souza 45c81afa06
Upgrade the version to 1.1.0-SNAPSHOT (#494) 2021-02-16 18:14:23 -08:00
Artur Souza 1b3077071f
Update license header. (#483) 2021-02-06 00:18:47 -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 ba496064d1
Removing OpenTelemetry and OpenCensus SDK. (#463) 2021-01-29 09:23:48 -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 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
Artur Souza 446cd17e18
Support ActorMethod to change method's name. (#448) 2021-01-19 23:34:14 -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
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 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 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 a5c9bf73ba
Upgrade the version to 0.11.0-SNAPSHOT (#390) 2020-11-16 12:34:44 -08:00
Artur Souza c466e211f1
Fix build due to deprecated maven repo, using jcenter now. (#392) 2020-11-16 12:01:53 -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
Artur Souza 76c848bb6f
Fixes timer invocation after app restarts. (#363) 2020-10-16 14:29:31 -07:00
Artur Souza c67bc4719b
Fix missing type in withObjectSerializer() for Actor. (#357) 2020-10-12 21:37:12 -07:00
Artur Souza 9076d9f60e
Fix save bytes (#353)
* IT for save byte error in actor state.

* Update proto version.

* Fixes bug on read/write byte[] in actor state.

* Addresses comments round 1.
2020-10-08 15:55:14 -07:00
Artur Souza 7f261be7ed
Upgrade the version to 0.10.0-SNAPSHOT (#345) 2020-09-28 11:15:38 -07:00
Pruthvidhar R Dhodda 361a0e48a3
Add content type metadata support in gRPC invoke service calls (#334)
* Add content type metadata support in gRPC invoke service calls

* Add content type to serializer, change tests accordingly

* Remove content type parameter

* Update InvokeServiceRequest.java

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-09-13 16:38:30 -07:00
Artur Souza fe027d0c54
Refactoring properties and constants. (#333) 2020-09-02 11:54:12 -07:00
Artur Souza eede480403
Support W3C tracing + example. (#320) 2020-08-25 11:20:33 -07:00
Charlie Stanley d72e4cc49b Upgrade the version to 0.9.0-SNAPSHOT 2020-08-19 13:38:16 -07:00
Mukundan Sundararajan a388a6a90f
Upgrade the version to 0.8.0-SNAPSHOT (#314) 2020-07-30 12:00:53 -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
Artur Souza dbdab2ed69
Upgrade the version to 0.7.0-SNAPSHOT (#292) 2020-06-05 20:01:51 -07:00