mirror of https://github.com/dapr/java-sdk.git
14 Commits
Author | SHA1 | Message | Date |
---|---|---|---|
|
99e21db465
|
Add Conversation AI to Java SDK (#1235)
* Conversation first commit Signed-off-by: Siri Varma Vegiraju <svegiraju@microsoft.com> Signed-off-by: sirivarma <siri.varma@outlook.com> Signed-off-by: siri-varma <siri.varma@outlook.com> * Add unit tests Signed-off-by: sirivarma <siri.varma@outlook.com> Signed-off-by: siri-varma <siri.varma@outlook.com> * change ai to conv Signed-off-by: sirivarma <siri.varma@outlook.com> Signed-off-by: siri-varma <siri.varma@outlook.com> * Move to single module Signed-off-by: sirivarma <siri.varma@outlook.com> Signed-off-by: siri-varma <siri.varma@outlook.com> * Remove module Signed-off-by: sirivarma <siri.varma@outlook.com> Signed-off-by: siri-varma <siri.varma@outlook.com> * Add Integration tests Signed-off-by: siri-varma <siri.varma@outlook.com> * Update sdk-tests/src/test/java/io/dapr/it/testcontainers/DaprConversationIT.java Co-authored-by: Cassie Coyle <cassie.i.coyle@gmail.com> Signed-off-by: Siri Varma Vegiraju <siri.varma@outlook.com> Signed-off-by: siri-varma <siri.varma@outlook.com> * Fix things Signed-off-by: siri-varma <siri.varma@outlook.com> * Address comments Signed-off-by: siri-varma <siri.varma@outlook.com> * Import tag Signed-off-by: siri-varma <siri.varma@outlook.com> * Address comments Signed-off-by: siri-varma <siri.varma@outlook.com> * Make common config Signed-off-by: siri-varma <siri.varma@outlook.com> * Address comments Signed-off-by: siri-varma <siri.varma@outlook.com> * fix constant Signed-off-by: siri-varma <siri.varma@outlook.com> * fix constant Signed-off-by: siri-varma <siri.varma@outlook.com> * fix constant Signed-off-by: siri-varma <siri.varma@outlook.com> * fix s Signed-off-by: siri-varma <siri.varma@outlook.com> * Fix things Signed-off-by: siri-varma <siri.varma@outlook.com> * Fix things Signed-off-by: siri-varma <siri.varma@outlook.com> * Fix things Signed-off-by: siri-varma <siri.varma@outlook.com> * Make common config Signed-off-by: siri-varma <siri.varma@outlook.com> * Update README.md Signed-off-by: Siri Varma Vegiraju <siri.varma@outlook.com> * Update README.md Signed-off-by: Siri Varma Vegiraju <siri.varma@outlook.com> --------- Signed-off-by: Siri Varma Vegiraju <svegiraju@microsoft.com> Signed-off-by: sirivarma <siri.varma@outlook.com> Signed-off-by: siri-varma <siri.varma@outlook.com> Signed-off-by: Siri Varma Vegiraju <siri.varma@outlook.com> Co-authored-by: Cassie Coyle <cassie.i.coyle@gmail.com> Co-authored-by: Cassie Coyle <cassie@diagrid.io> |
|
|
86893a0742
|
Support distributed lock API (#764)
* support distributed lock API Signed-off-by: crazyhzm <crazyhzm@gmail.com> * add Distributed Lock API Example Signed-off-by: crazyhzm <crazyhzm@gmail.com> * fix bash Signed-off-by: crazyhzm <crazyhzm@gmail.com> * fix bash Signed-off-by: crazyhzm <crazyhzm@gmail.com> * update dapr proto version Signed-off-by: crazyhzm <crazyhzm@gmail.com> * revert update dapr proto version Signed-off-by: crazyhzm <crazyhzm@gmail.com> * changed to json serializable Signed-off-by: crazyhzm <crazyhzm@gmail.com> * fix checkstyle Signed-off-by: crazyhzm <crazyhzm@gmail.com> * Fix compilation error due to Mono version change. Signed-off-by: Artur Souza <asouza.pro@gmail.com> --------- Signed-off-by: crazyhzm <crazyhzm@gmail.com> Signed-off-by: Artur Souza <asouza.pro@gmail.com> Co-authored-by: Artur Souza <asouza.pro@gmail.com> |
|
|
6d659913b1
|
Initial Workflow SDK (#857)
* Init for workflows Signed-off-by: Bill DeRusha <billderusha@microsoft.com> * Updating some javadocs and Years. Signed-off-by: Hannah Kennedy <hakenned@microsoft.com> * Add missing Header Signed-off-by: Hannah Kennedy <hakenned@microsoft.com> * respond to PR feedback Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * Update workflow example README Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * Address PR feedback Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * fixup deprecated pom.xml variable Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * Updates based on PR feedback Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * Update pom files per feedback Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * Add unit testing example Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * update pom Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * Fix dependency conflict Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * Use Mono and refactor GRPC managed channel builder Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * Fix example unit tests Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * Implement PR feedback Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * PR Feedback: Revert Mono usage + pom.xml changes Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * pom.xml version fixes Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> * Remove Mono entirely from workflows Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> --------- Signed-off-by: Bill DeRusha <billderusha@microsoft.com> Signed-off-by: Hannah Kennedy <hakenned@microsoft.com> Signed-off-by: Bill DeRusha <444835+bderusha@users.noreply.github.com> Co-authored-by: Hannah Kennedy <hakenned@microsoft.com> |
|
|
81591b9f5b
|
initial bulk publish impl for java (#789)
* initial bulk publish impl for java Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * add UTs and clean up java doc for new interface methods. Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * add more interface methods for bulk publish Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * adding examples and ITs for bulk publish Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * addressing review comments Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * use latest ref from dapr branch Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * add example validation Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix bindings example validation Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * make changes for latest bulk publish dapr changes Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix examples Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix examples Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix typo Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * test against java 11 only Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * change to latest dapr commit Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * run only pubsub IT, upload failsafe reports as run artifact Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix checkstyle Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix IT report upload condition Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix compile issues Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix spotbugs issue Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * run pubsubIT only Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * change upload artifact name for IT Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix tests Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * introduce sleep Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * test bulk publish with redis Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * change longvalues test to kafka Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * change bulk pub to kafka and revert long values changes Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * remove kafka pubsub from pubsub IT Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * change match order in examples Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * set fail fast as false Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix Internal Invoke exception in ITs Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * address review comments Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix IT Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix app scopes in examples Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * add content to daprdocs Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * address review comments Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix mm.py step comment Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * reset bindings examples readme Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix example, IT and make classes immutable Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Co-authored-by: Artur Souza <asouza.pro@gmail.com> |
|
|
e2d4d1e1ea
|
replace vault to local (#719)
* replace vault to local Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * change secret store name style Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * delete vault token file Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * remove vault int validate.yml Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * fix it secret case Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * replace vault to local Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * change secret store name style Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * delete vault token file Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * remove vault int validate.yml Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * fix it secret case Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * fix it dead loop Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> Co-authored-by: zjx244729 <zjx244729@alibaba-inc.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> |
|
|
06d92dafca
|
Query State Preview API implementation. (#697)
* Query State Preview API implementation. Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com> * Use latest dapr ref and fix grpc query state api Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com> * fix service invocation automatic unesacpe Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com> * add more unit tests Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com> * Add query state API docs Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com> * Fix example to be user friendly Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com> * Fix example in docs Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com> * make pagination immutable Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com> Co-authored-by: Artur Souza <artursouza.ms@outlook.com> |
|
|
185cdba293
|
Config api support (#670)
* inital draft for config api Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com> * Introducing new client for preview apis and code refactoring Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com> * Unit tests and code refactoring Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com> * Adding integration test Signed-off-by: pravinpushkar <ppushkar@microsoft.com> * Copyright changes Signed-off-by: pravinpushkar <ppushkar@microsoft.com> * Review comments fixes Signed-off-by: pravinpushkar <ppushkar@microsoft.com> * Removed DaprPreviewClientProxy and updated example README Signed-off-by: pravinpushkar <ppushkar@microsoft.com> * Adding validate workflow for cofiguration api example Signed-off-by: pravinpushkar <ppushkar@microsoft.com> * fixing example autovalidation and code coverage Signed-off-by: pravinpushkar <ppushkar@microsoft.com> * Fixing autovalidation and removing getAllConfiguration Signed-off-by: pravinpushkar <ppushkar@microsoft.com> * Fixing review comments Signed-off-by: pravinpushkar <ppushkar@microsoft.com> * Add regex header checkstyle. Signed-off-by: Artur Souza <artursouza.ms@outlook.com> * Fix headers and add javadocs to some. Signed-off-by: Artur Souza <artursouza.ms@outlook.com> Co-authored-by: Artur Souza <artursouza.ms@outlook.com> |
|
|
0a826d0726
|
fix examples for latest rc. validate build with latest rc (#487) | |
|
c5b4cbd3f5
|
Add version to Components. (#455) | |
|
b0f1a44a3c
|
Split components dir for samples + other fixes. (#417) | |
|
66b1cad71f
|
Support for GetSecret + ITs + sample. (#249) | |
|
bbbd4be648
|
Add support for dapr 0.4 (multi-state store) (#199)
* Updating proto file from dapr. * Adding support for multi-state store. * Allow PubSubIT to get accept events out of order. Co-authored-by: Shalabh Mohan Shrivastava <shalabhms@gmail.com> |
|
|
cf68f24289
|
Java SDK with all features implemented for milestone 0.4 (#154)
* Basic Dapr HTTP Client for Actors. * ActorTypeInformation with parsing logic + some stubs. * Fixing license. * Adding MethodContext + StateSerializer. * Add ActorRuntime (#44) * Add ActorRuntime * split DaprAsyncClient hierarchy into 2 hierarchies for the different directions of communication * Rename DaprClientBase to AbstractDaprClient * Add ActorId * Encapsulating async call in AbstractDaprClient as a single method. (#46) * Add ActorMethodInfoMap (#47) * Add ActorMethodInfoMap * Add ConverterUtils class (#49) * Add ConverterUtils + unit test * 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) * More reformatting to 2 spaces indentation. (#50) * Add ActorTimer and related (#51) * Add ActorTimer and related * cr * ActorService + DaprStateProvider + some more. (#53) * Faster JSON building + separate auto-gen jar + tests. (#55) * closed the response objects and returning a string (#56) * Add ReminderInfo (#54) * Add ReminderInfo * remove extra var * More Actors Stuff (#57) * ActorManager * More work done. * Adding example for actor runtime service. * Implements ActorStateManager + fixes + javadocs. * ActorProxy + some refactoring (#62) * 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> * Adding new methods for Http Client (#60) * 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 * Adding gRPC client adapter, to encapsulate gRPC logic from the user (#61) * 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 * Unit tests for ActorManager + fixes for Timer and Reminder. (#63) * 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> * Starting package to handle SpringBoot integration. (#69) * Request body must be null on get for okhttp, empty body does not work… (#70) * 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 * Refactoring HTTP Client and creating Client HTTP Adapter (#68) * 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 * PubSub + related fixes. (#71) * Fixing issue regarding GET and DELETE method (#76) * Unit tests for PubSub + JavaDocs. (#75) * Invoke service + unit tests. (#78) * 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> * pubsub sample needs update for listener interface (#80) * Fix bindings + add samples (#81) * 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 * Spliting Actor client and runtime into a separate jar. (#83) * Unit testing + bug fixing in GRPC Adapter (#79) * 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 * Addressing comments regarding where to build the query parameters forthe HTTP Client calls. (#84) * Addressing comments regarding where to build the query parameters for the HTTP Client calls. * Making map immutable while also preventing a NPE * Fixing DaprHttp and its tests. (#93) * Increasing test coverage for DaprClientGrpcAdapter (#94) * Upload jacoco test coverage report to artifact storage (#95) * set jacoco report output dir * upload test report * add dapr version info * #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> * Fixing and finishing unit tests (#97) * Fixing and finishing unit tests * Fixing styling Issues and adding new test * Unit tests for stateful actors + fixes. (#104) * Receiving the StateOptions on save as part of the State, to comply with the DAPR API (#105) * 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> * 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> * deactivate should not call save (#108) Co-authored-by: Artur Souza <artursouza.ms@outlook.com> * Fixing bug, where call should be deferred instead of async (#102) * 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 * Disable GPG sign by default (#111) * [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 * Fix GPG plugin * [CD] Conditional SNAPSHOT and final release (#115) * Release pkg based on tag and branch * Update build.yml * Update build.yml * Creating unit tests for HttpAdapter + Adding junit 5 dependency + Reformating code (#112) Co-authored-by: Artur Souza <artursouza.ms@outlook.com> * Removing springboot jar and adding some unit tests for ActorRuntime. (#114) * Release SNAPSHOT pkg for every build (#118) * Release SNAPSHOT build every build * fix * Fix sample (#119) Co-authored-by: Artur Souza <artursouza.ms@outlook.com> * Unit tests for actors, no state. (#117) * actor unit tests, no state clean up a bit * Rename class * Fix merge Co-authored-by: Artur Souza <artursouza.ms@outlook.com> * Moving io.dapr.runtime to test + fixing examples accordingly. (#121) * mvn integration-test doesn't work w/o this plugin (#122) * Resolving conflict for PR #110 (#130) * 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> * Refactor StateOptions and add IT consistency testing (#110) * 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> * Fix IT issues, to run the integration test rember to add the parameter skipITs=false (#131) * Addresses multiple items from design review (#124) * 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. * Fix arg parsing problem -Dexec.args= seems to not allow hyphens inside (#136) * Fix bug in Actor due to timer serialization. (#139) * Missing block (#140) * Install local test kafka before running build and tests (#142) * local test kafka docker-compose yaml * add kafka install step * Separate serializer for state. (#135) * Add gRPC State Integration Test (#138) * 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> * Actor Activation / Deactivation Integartion Test (#144) * 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 * Adding more unit test to reach 80% Coverage (#149) * Adding checkstyle + fix style in sdk-actos. (#146) * Update debug instructions since LB is not needed. (#150) * 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> * Adding documentation for examples (#153) Co-authored-by: Leon Mai <lemai@microsoft.com> Co-authored-by: ji11er <57505038+ji11er@users.noreply.github.com> Co-authored-by: Juan Jose Herrera <35985447+JuanJose-Herrera@users.noreply.github.com> Co-authored-by: mestizoLopez <ing.javierlg@gmail.com> Co-authored-by: Andres Robles <15348598+AndresRoblesMX@users.noreply.github.com> Co-authored-by: Young Bu Park <youngp@microsoft.com> Co-authored-by: Marcos Reyes <59033058+marcosreyes05@users.noreply.github.com> |
|
|
340ab1a17e | Initial add. |