Commit Graph

62 Commits

Author SHA1 Message Date
Hal Spang 1fb9d9f164 Upgrade version to 1.1.0 2021-05-26 10:47:04 -07:00
Hal Spang 1a75739aff Release 1.1.0-rc-1 2021-05-19 13:15:58 -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
Charlie Stanley 8362c6347b
SDK update for breaking changes in dapr core. (#287)
* 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>
2020-05-28 18:42:01 -07:00
Artur Souza c48c8870c8 Upgrade the version to 0.6.0-SNAPSHOT 2020-05-05 11:09:30 -07:00
Artur Souza 7ec969c50a
Fix bug in actor contains state API. (#268) 2020-04-09 18:26:29 -07:00
Artur Souza 53adaa9ce8
Release 0.5.0-SNAPSHOT (#262) 2020-04-01 14:25:00 -07:00
Artur Souza 46a1e5b8b4
Upgrade the version to 0.4.0-SNAPSHOT (#253) 2020-03-11 17:41:08 -07:00
Artur Souza eb27994e78
Fixing bug in exception handling from actor impl. (#247) 2020-03-09 12:36:56 -07:00
Artur Souza 7fd4e39b56
Strong typed actors. (#243) 2020-02-25 15:45:28 -08:00
Artur Souza 1739391f2a
Upgrade the version to 0.3.0-SNAPSHOT (#232) 2020-02-12 11:55:34 -08:00
Artur Souza 4e6c55f94e
Enable findbugs + fixes sdk and sdk-actors. (#228) 2020-02-11 16:58:51 -08:00
Artur Souza 311875af7c
Remove special case for String in serializer + serialize state value "directly". (#225) 2020-02-10 11:55:02 -08:00