Commit Graph

16 Commits

Author SHA1 Message Date
Juan Jose Herrera 4ba8f4e8d1 Add E2E testing for bindings (#148)
* 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>
2020-01-24 11:59:05 -08:00
mestizoLopez 57d0aff93a Adding more unit test to reach 80% Coverage (#149) 2020-01-24 10:48:12 -08:00
Juan Jose Herrera 1725247761 Fix IT issues, to run the integration test rember to add the parameter skipITs=false (#131) 2020-01-20 19:12:07 -08:00
mestizoLopez bcf653bc5e Creating unit tests for HttpAdapter + Adding junit 5 dependency + Reformating code (#112)
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-01-17 09:27:06 -08:00
Young Bu Park 7374cf0138
[CD] Fix gpg private key import (#113)
* fix gpg key import process

* add GPG_TTY env setting

* revert

* rename dapr-sdk to dapr-actors

* fix
2020-01-16 16:23:57 -08:00
Young Bu Park df99cc7345 Deploy Jar packages to Nexus via CI (#106)
* Add SNAPSHOT suffix to version

* set deployment setup

* add ossrh  repostiory

* OSSRH setting

* add deployment steps

* exclude examples jar

* remove condition

* exclude spring boot pkg

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-01-16 11:06:42 -08:00
Juan Jose Herrera a0250fd002 #26 Integretion Testing Initial Example (#74)
* #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>
2020-01-13 17:59:27 -08:00
Young Bu Park e6dbde5182
Upload jacoco test coverage report to artifact storage (#95)
* set jacoco report output dir

* upload test report

* add dapr version info
2020-01-13 17:52:13 -08:00
mestizoLopez 44a2806659 Java sdk wip (#77)
* 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>
2020-01-10 14:52:21 -08:00
Artur Souza 30b784cb86
Starting package to handle SpringBoot integration. (#69) 2020-01-07 14:22:30 -08:00
Juan Jose Herrera d4c467aec5 Add UnitTest to ActorProxyImpl and JaCoCo (coverage tool) implementation (#67)
* 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>
2020-01-06 10:28:53 -08:00
Artur Souza 9a10a960e8
Faster JSON building + separate auto-gen jar + tests. (#55) 2019-12-19 12:58:58 -08:00
ji11er 78fec8f840 Improved async call to okhttp. Former solution just wrapped a blocking call, now we using asynch call and collect the results via callbacks. Mono's are created based on the result. This make more efficient use of the resources since nothing is blocking now. Reformatted according new checkstyle (#48) 2019-12-16 15:43:06 -08:00
Artur Souza 72388cce56 Basic Dapr HTTP Client for Actors. 2019-12-10 23:35:25 -08:00
Artur Souza c3b7c41dfd
Remove . in description for pom.xml 2019-12-06 11:17:59 -08:00
Artur Souza b10a6fd039 Renames project to . Fixes examples. Adds proto files from release-0.3. 2019-12-05 18:30:13 -08:00