* Request body must be null on get for okhttp, empty body does not work. Also, expose the ActorStateManager methods that ought to be exposed to user.
* Make ctor package private and use equals for string compare
* Change from unwrapMethodResponse to deserialize, because the response from an actor method is not wrapped in "Data" object
Add Unit test for the ActorProxy class
* #24 Implement more testing to the ActorProxyImpl and refactor how we manage the errors with Mono
#20 Add the coverage tool JaCoCo, the rules are commented at this moment in order to allow to execute the examples at this moment, if we enable the rules, the compilation fails.
* Enable rules for unit test coverage with a minimum of 0 in order to allow the developers to success compile, the minimum should be set to .8 before the projects ends
* Use the unwrapMethodResponse of the serilizer in order to deserilize actor responses.
* Reverting ActorProxyImpl.java
There is not need to change ActorProxyImpl since the previous change to not wrap it with the "data" structure was incorrect.
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Adding a common adapter to be exposed to users, for calling either the gRPC or the HTTP Clients.
Implementing gRPC adapter based on interface.
Moving ActorStateSerializer and renamed to be used as a generic utility for Serializing objects
* Creating a builder for the GrpcClient
Abstracting generic serialize and deserialize methods into a generic base class while leaving Actor specific stuff into the ActorStateSerializer class
Adding Javadocs
* Adding new methods for Http Client
* Finishing implementation for HttpClient
* Adding JavaDoc and Changing return Type to new Methods
* Using ObjectSerializer and changing Constants values
* ActorManager
* More work done.
* Adding example for actor runtime service.
* Implements ActorStateManager + fixes + javadocs.
* Fix OrderManager example in order to process http 201
Change the implement the calls to DAPR using the class AbstractDaprClient because before the change the class always return Mono.Empty
Implementation of the ActorAsyncProxy
Change the name of the Actor Dapr Http Async Client
* Update code with the changes proposed by Artur in the code review
* Changes to support ActorProxy + Fixes.
Co-authored-by: Juan Jose Herrera <35985447+JuanJose-Herrera@users.noreply.github.com>
* Add ActorRuntime
* split DaprAsyncClient hierarchy into 2 hierarchies for the different directions of communication
* Rename DaprClientBase to AbstractDaprClient