Commit Graph

10 Commits

Author SHA1 Message Date
landlord b6b6d06110
feat: Invoke will extract querystring from method (#127)
Co-authored-by: 李锐 <lirui@meican.com>
2020-12-15 10:07:21 -08:00
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
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 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 335a86ac3e
TestMain, test coverage (#24) 2020-06-24 09:39:26 -07:00
Mark Chmarny c9110e404a client interface, test client errs 2020-06-22 07:54:32 -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