* #26 Add Hello World Integration Testing working on Windows, need work to work on MAC and Linux
* #26 Add new Integration Test to test DAPR state functionality
* #26 Add Hello World Integration Testing working on Windows, need work to work on MAC and Linux
* Update Integration Testing getting free ports automatically
* #26 Refractor to use a base class for all the integration tests
* #26 Make StateOptions as optional in order to not throw a null pointer exception
* #26 Remove empty lines and correct the ident
* Adding license to DaprIntegrationTestingRunner
Co-authored-by: Young Bu Park <youngp@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Adding mockito plugin to be able to mock final classes
Increasing test coverage for ObjectSerializer
Fixing bug in GRPC Adapter while creating the envelopes, found during unit testing.
* First step into returning Http Headers as part of the response for the DaprClientHttpAdapter
Updating State object to match the API.
Fixing Broken Unit Tests and increasing coverage for DaprClientGrpcAdapter
* Adding documentation, fixing typos and renaming support method to be more descriptive.
* Addressing PR comments
Increasing test coverage
Fixing Merge conflicts
* Addressing PR comments
* Fix binding and add samples
* Fix sample command line
* update comment for name change
* lowercase d matches runtime, though it looks like it is case insensitive
* Fixing issue regarding GET and DELETE method
* Adding unit test for DaprHttp.java
* Adding test scope
* Renaming a property and fixing conflict to merge.
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Refactoring HTTP Client to follow same pattern as the GRPC Client.
Creating DaprClientHttpAdapter to be exposed to the users.
Refactor all uses of the http Client to use the adapter instead following composition rather than inheritance.
Dealing with conflicts
* Renaming AppToDaprHttpAsync to AppToDaprHttpAsyncClient changed previously by mistake
* Refactor Adapters to centralize all generic and actor specific functionality in the same place, having a single entry point for all communications to DAPR.
Leaving GRPC Adapter implemented, but without the possibility to create an instance of it.
Fixing Test cases
* Addressing PR comments
* 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