* Add GRP State Integration Test
* Explain ignored test cases for GRPC
* Explain ignored test cases for GRPC
* Update DaprClientTestBuilder.java
* Add binding E2E testing.
* Add fix binding E2E testing after merge with new changes
* Remove example comments
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Adding common setup for starting dapr applications in Integration Tests.
Adding integration test for Actor Activation and Reactivation.
* Changing the way parameters are sent to the application running under Dapr in ITs to fix issue found in Ubuntu about wrong parsing.
Moving logic of the ActivationClient into the IT class
* Fixing compilation issues in test due to rebase from upstream.
* Addressing PR comments
* Add GRP State Integration Test
* Explain ignored test cases for GRPC
* Explain ignored test cases for GRPC
* Update DaprClientTestBuilder.java
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Use byte[] for customer data and serialized data.
Fixes for actor demo.
* Simplifying ObjectSerializer + handling CloudEvent properly.
* Split DaprClient into 3 parts to hide actor APIs.
* Remove Actor "dummy" interface.
* Supports custom serializer.
* Change seriaizer to receive Object directly.
* Handling custom serialization in State APIs + enhancements to the state APIs.
* Addressing small comment on Mono chain in ActorManager.
* Make serializer mandatory, throwing exception when null.
* Renaming State domain object.
Removing duplicate use of State Options.
Adding custom serialize and deserialize classes for StateOptions objects.
* #26 Refractor StateOptions to clean unused code
* Fixing merge issues.
* #26 Add integration test for states using Retry policies
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Renaming State domain object.
Removing duplicate use of State Options.
Adding custom serialize and deserialize classes for StateOptions objects.
* #26 Refractor StateOptions to clean unused code
* Fixing merge issues.
* Fixing unit test for DaprClientHttpAdapterTest after refactoring.
Co-authored-by: Juan Jose Herrera <35985447+JuanJose-Herrera@users.noreply.github.com>
* Fixing bug, where call should be deferred instead of async
* Removing unused pool property
Returning null as response body if empty response is found.
Adding Test case for validating callback is executed when expected.
* Fixing assertion based on previous changes
* Adding test case to verify that the call to grpc only happens when the requestor block the thread, instead of in parallel immediately after calling the methods in the adapter.
Documenting complex test case
* Fixing merge conflicts
* Documenting complex test case
* Receiving the StateOptions on save as part of the State, to comply with the DAPR API
* #26 Add integration test for Concurrency funtionality in the states module
Co-authored-by: Juan Jose Herrera <35985447+JuanJose-Herrera@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* #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