Commit Graph

78 Commits

Author SHA1 Message Date
Mark Chmarny 12c82d50a2
streamlines names (#121)
* request method verb on service invocation

* missing args tests

* merge custom serialize

* removes IDE specific stuff from project

* consistent names
2020-12-09 11:55:49 -08:00
Mark Chmarny ec13ce3483
request method verb on service invocation (#119)
* request method verb on service invocation

* missing args tests

* merge custom serialize

* removes IDE specific stuff from project
2020-12-09 11:35:43 -08:00
Juan Carlos Zamora bd7d126b4f
Pub, service invocation methods support structs without serialization (#104)
* added PublishEventfromStruct to client

* PublishEventfromStruct refactor

* updated PublishEventfromStruct description

* fixed unit tests for PublicEventfromStruct

* added InvokeServiceWithCustomContent service invocation method supporting structs

* renamed PublishEventfromStruct to PublishEventfromCustomContent

Co-authored-by: Mark Chmarny <mchmarny@users.noreply.github.com>
2020-12-09 10:48:14 -08:00
Sky/敖小剑 32dbe98dc7
support metadata in state bulk get state (#114)
* update GetBulkState method: add metedata, change return struct to BulkStateItem

* generate code from dapr proto files; support metadata in get response

* update for code review
2020-12-07 05:33:47 -08:00
Sky/敖小剑 309bf13bbe
rename SaveStateItems() to SaveBulkState(); rename GetStateItems() to GetBulkState(); (#105) 2020-11-11 05:27:19 -08:00
Sky/敖小剑 7e20fe99ea
add meta in state delete api (#82)
* add meta in state delete api

* add testcase for state delete, also cover all the get/save/delete method with meta and options
2020-09-29 03:31:41 -07:00
Mark Chmarny c368bf0455
issue 62 metadata in get state operation (#65) 2020-09-17 16:12:47 -07:00
Mark Chmarny fa162dcd0f
explicit Dapr API authentication token support (#73)
* explicit Dapr API authentication token

* avoiding race condition on api token

* allows for env var override
2020-09-17 13:28:03 -07:00
Mark Chmarny 9004be9ddf
adds append trace parent id to ctx method (#67)
* adds append trace parent id to ctx method

* spelling
2020-09-10 08:56:53 -07:00
Mark Chmarny d6de57c71a
HTTP serving implementation (#45)
* http service implementation

* http coverage

* common serving interface

* multi pubsub support

* multi-pubsub serving

* ensures unique componennt/topic

* cleaned samples in docs

* cleaned up examples in callback docs

* removes Parallel from callback tests

* multi-pupsub support

* updated tests for empty pubsub data

* cleaned up example client

* header parsing in HTTP per  issue 1894 in dapr

* refactored client binding

* refactored service invoke

* updated client and serving docs

* removed v0.9 from makefile action descr

* renamed based on PR review

* updated names globally
2020-08-17 17:14:55 -07:00
Mark Chmarny 74a1ab5682
multi pub/sub support (#50)
* multi pubsub support

* multi-pubsub serving

* ensures unique componennt/topic

* cleaned samples in docs

* cleaned up examples in callback docs

* removes Parallel from callback tests

* clarified the comments on ListTopicSubscriptions

* clarified validation error messages

* removed in data requirement
2020-08-17 13:14:07 -07:00
Mark Chmarny 3b57737ad8
bulk get, transaction exec support (#47)
* bulk get #46, transaction exrc

* updated examples

* ntis from PR review

* fixes lint errors

* mod tidied
2020-08-17 08:08:05 -07:00
Mark Chmarny eddc378eb0
gRPC serving implementation addressing #26 (#27)
* WIP: server

* gRPC server implementaiton

* http serving

* grpc ports as string vs int

* bump tag

* adds ctx, fixes linting errors

* v0.8.2 bump

* fixes serving options

* cleans up cloud events in gttp serving

* v0.8.4 version bump

* uses http method constant

* adds grpc serving tests

* pubsub evnet as bytes

* adds tests, seperate payload between http, grpc

* refactored names, tests

* fixes release names

* fixes versoin number

* http invoke test, grpc invoke params

* makefile updates

* readme updates, fixes grpc to http invocations

* readme updates

* comments, refactored http service

* more serving tests

* more client tests

* test verbocity

* fixes grpc error serializtion error

* adds serving to readme

* code formatting

* adds support for TypeUrl in case of a proto conten

* added binding in http service

* cron in grpc example

* single interface for grpc and http sdks

* normalized serving interfaces across http and grpc

* unit, rest api tests for grpc, html serving

* updated tests

* resolved master conflicts

* changes from @youngbupark review

* overloaded AddTopicEventHandler for ease of use

* updated to go 1.15, dependancies

* updated actions to go 1.15

* service test coverage

* readme and release version updates

* makefile flag options for dapr v0.9

* serving to grpc package for ease of http imp
2020-08-12 13:00:32 -07:00
Mark Chmarny 3bd9a9afde
Removes retry options from state apis (#39) 2020-08-11 06:28:17 -07:00
Mark Chmarny 08c05ad522
adds only once for default cleint constructor (#35) 2020-07-23 13:41:48 -07:00
Mark Chmarny c9110e404a client interface, test client errs 2020-06-22 07:54:32 -07:00
Mark Chmarny 7ca6c9c75c comments, examples in readme, end readme for example 2020-06-19 17:15:20 -07:00
Mark Chmarny 39af2eba1e tests infra, naive tests implemented 2020-06-18 06:29:04 -07:00
Mark Chmarny 7af1e50a17 WIP: testing 2020-06-13 06:57:25 -07:00
Mark Chmarny 81ea43e1dd addresses previous PR feedback 2020-06-13 05:17:46 -07:00
Mark Chmarny 05a6fd2940 auth support for when DAPR_API_TOKEN env is defined 2020-06-12 16:03:42 -07:00
Mark Chmarny 08b1729df6 v0.8 upgrade, proto update fixed, readme sync 2020-06-12 14:29:20 -07:00
Mark Chmarny 4f128a8329 http binding 2020-05-02 05:23:53 -07:00
Mark Chmarny f184c9c943 log and port 2020-05-02 05:06:58 -07:00
Mark Chmarny c0c9f0166b updated examples 2020-05-02 04:49:33 -07:00
Mark Chmarny dcb92e33aa removed connection and client Client exports 2020-05-01 12:25:41 -07:00
Mark Chmarny bf663dc8dd fixed refs in serving 2020-05-01 12:21:21 -07:00
Mark Chmarny f81cceb04a added bespoke client 2020-05-01 10:34:38 -07:00