Laurence
6f2ae7df71
fix: config api ( #200 )
...
* Fix: Finished Configuration API
Signed-off-by: LaurenceLiZhixin <382673304@qq.com>
* Fix: add configuration validation
Signed-off-by: LaurenceLiZhixin <382673304@qq.com>
* Fix: fix validation test
Signed-off-by: LaurenceLiZhixin <382673304@qq.com>
* Fix: remove validation
Signed-off-by: LaurenceLiZhixin <382673304@qq.com>
* add ut
Signed-off-by: LaurenceLiZhixin <382673304@qq.com>
* Fix: comment
Signed-off-by: LaurenceLiZhixin <382673304@qq.com>
2022-04-05 17:43:32 -07:00
Taction
365078470b
Simplify the use of pubsub rawPayload ( #264 )
...
* fix: simplify the use of pubsub rawPayload
Signed-off-by: zhangchao <zchao9100@gmail.com>
* add test
Signed-off-by: zhangchao <zchao9100@gmail.com>
2022-03-25 09:18:39 -07:00
Dmitry Shmulevich
a38be4e38b
replace license headers ( #232 )
...
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2021-12-14 12:06:12 -08: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
Alessandro (Ale) Segala
9fceff83a1
Rationalize PublishEvent* APIs ( #179 )
...
* Rationalize PublishEvent* APIs
Allow passing options such as Content-Type and Metadata in a flexible and future-proof way.
The method `PublishEventfromCustomContent` is now deprecated and shows a warning in the console when used.
Fixes #174 , #164
* Do not wrap errors for invocations
Fix #186
* Updated variable name
* Added error check
* Oops
* Linting
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
2021-10-07 10:18:57 -07:00
Long Dai
de5cf935fb
ci: standard linter config ( #199 )
...
Signed-off-by: Long <long0dai@foxmail.com>
2021-09-22 11:02:52 -07:00
浩
aec809a7d5
Fix #161 Add missing JSON DataContentType ( #163 )
...
Co-authored-by: Ben.li <ben.li@shapejoy.com>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-05-04 09:03:22 -07:00
gaoxinge
ee170a232a
fix some typo ( #131 )
...
* fix some typo
* log format
* remove useless code
2021-01-25 18:15:56 -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
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
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
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
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
92c2f3d177
removed JSON methods, standarized method naming
2020-06-17 12:12:52 -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
dcb92e33aa
removed connection and client Client exports
2020-05-01 12:25:41 -07:00
Mark Chmarny
f81cceb04a
added bespoke client
2020-05-01 10:34:38 -07:00