Commit Graph

15 Commits

Author SHA1 Message Date
vinayada1 80f2319fe4
Handle rpc exception thrown for operation cancellation (#455)
* Handle cancelled cancellation token

* add UTs

* add secrets UT

* fix review comments

* invoke and await in one call

* fix await

* Add test for multiple calls to UseActors (#459)

Fixes: #411

The bug was actually addressed in PR #453 - this change adds a test that
verifies that we actually fixed it.

Co-authored-by: vinayada1 <28875764+vinayada1@users.noreply.github.com>

* use grpcChannelOptions ThrowOperationCanceledOnCancellation

* Add doc

* add link to doc

Co-authored-by: Ryan Nowak <nowakra@gmail.com>
2020-11-19 11:22:33 -08:00
Dasith Wijesiriwardena f6f434d6e6
Fluent methods for creating and manipulating HTTPExtension (#473)
* HTTPExtension fluent methods

* add tests

Co-authored-by: vinayada1 <28875764+vinayada1@users.noreply.github.com>
2020-11-17 12:58:02 -08:00
vinayada1 6ce5e319fd
fix docs (#475) 2020-11-13 14:02:01 -08:00
vinayada1 2d83efb4c9
grpc exception handling sample (#427)
* rpc exception handling
2020-10-14 10:15:42 -07:00
vinayada1 a55a2cdd08
remove some debug statements from sample (#404) 2020-09-28 13:52:38 -07:00
vinayada1 e93357cb9d
State Transaction API changes (#385)
* State Transaction API changes
* Add the optional fields as per API reference
* Fix review comments
* Added transactional state api to sample
2020-09-17 16:12:50 -07:00
Leon Mai 11f6ea45e1
Multi pubsub (#374)
* Prepping for multi pubsub

* Add pubsub name, some cleanup

* multi pubsub changes

Co-authored-by: Aman Bhardwaj <amanbha@microsoft.com>
Co-authored-by: LM <lemai>
2020-08-17 13:58:50 -07:00
Leon Mai f138d75192
Update readme for api changes (#296)
Co-authored-by: LM <lemai>
2020-05-01 13:38:44 -07:00
Leon Mai 44ca6496d8
Move to new invoke proto, specify contenttype in response to the dapr… (#295)
* Move to new invoke proto, specify contenttype in response to the dapr/config message, clarify sample

* Update for additional proto changes

* cr

Co-authored-by: LM <lemai>
2020-04-30 11:47:29 -07:00
ArieJones c73afa9882
Update to Readme.md (#293)
Fixing slight spelling issue
2020-04-27 19:05:26 -07:00
Aman Bhardwaj 3cf3f702fe
Small Renaming in samples (#291) 2020-04-23 17:12:32 -07:00
Damir Dobric 3875995461
Added new samples in existing project. (#284)
* Added invoke example for RoutingSample.

* Added .NET samples for Service Invokation vis POST, GET and Events.

* Removed unused code.

* comments changed

* Removed obsolete method InvokeMethodOnHttpServiceAsync

* Code samples simplified

* Added curl for Linux and MacOS

Co-authored-by: Damir Dobric <ddobric@daenet.com>
2020-04-23 16:45:01 -07:00
Aman Bhardwaj 2ecb92d746
Updating client sample readme 2020-03-13 09:55:15 -07:00
Aman Bhardwaj 8979e9f5ac
Updating .netcore version requirement 2020-03-12 16:46:32 -07:00
Aman Bhardwaj 51fc48fb74
Adding & enhancing client apis over gRPC (#244)
* adding IDAprClient interface

* Adding DaprClientBuilder and adding methods for Publish

* updating the method name for publish

* Adding unit tests for publishevent api

* Removing individual clients for publish

* Renaming base class to DaprClient and implementation calss to DparClientGrpc

* Moving State api to grpc and adding helpers to unittest grpc calls.

* More DaprClient logic

* metadata, etag, options, etc are optional

* Revert "metadata, etag, options, etc are optional"

This reverts commit ea5dc12c5d.

* Default params, 2 new Try- methods, overload refactor for InvokeMethodAsync

* Move some classes/enums to different files.  Documentation

* Code refactor and changing tests to use grpc

* Adding tests with state options

* Adding test for getting etag and state

* More refactoring and adding INvokeBinding test

* Fixing tests and tidying up things.

* Updating solutions for renamed project

* Updating projects for rename.

* Oneclient secret (#245)

* ADding Secret Apis

* Using Task for secret

* Format (#242)

* Updating samples.slm

* awaint the call to grpc in common method so that common error handling can be done there.

* Addressing review comments

* fixing test.sln

* updating prod.sln

* Addressing review comments from James.

* Add doc and example for method invocation on http app

* Updating arg validation.

* Updating example.

Co-authored-by: LM <lemai>
Co-authored-by: Carlos Mendible <cmendible@gmail.com>
2020-03-09 20:52:12 -07:00