Commit Graph

9 Commits

Author SHA1 Message Date
Dmitry Shmulevich a38be4e38b
replace license headers (#232)
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2021-12-14 12:06:12 -08:00
Laurence d9ad49d2a6
Feat: Add Go-sdk Actor Support (#196)
* ftr: init go-sdk action

* fix: finished design of actor-api's invoke feature

* fix: add readme

* fix: lint

* fix: add manager unit test

* fix: add actor state suport

* fix: add comments

* fix: add comment

* fix the change reqeust of pr

* fix: validate example test

* fix: linter

* add actor validation

* add actor validation

* fix: update actor validation init sleep time

* fix: add init time for validate example server

* fix: change actor to the end of test in order not to let reminder bother other test

* fix: validate test

* fix: typo of factory

* fix: add init time

* fix: ut

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Long Dai <long.dai@intel.com>
2021-11-02 14:45:27 -07:00
Phil Kedy de68193d5c
Use proto packages that exist in dapr/dapr instead of generating them locally in the SDK. This enables the ability to embed Dapr and also use the SDK to interact with the Dapr APIs. Also moved go mod to 1.17. (#211) 2021-10-17 11:23:06 +08:00
Long Dai de5cf935fb
ci: standard linter config (#199)
Signed-off-by: Long <long0dai@foxmail.com>
2021-09-22 11:02:52 -07:00
Mark Chmarny d6ce657c0f
proto updates (#107) 2020-11-11 16:09:35 -08:00
Mark Chmarny 433dbb87b1
consistent pubsub event handling codes, retry logic (#70)
* codified pubsub event response code behavior

* consistent pubsub response code. retry logic

* removes nil event data check

* updates comments/tests to v1.0 cloud event
2020-09-10 08:53:46 -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 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