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
8a7a61b443
Decode CloudEvent Data consistently between HTTP and gRPC ( #230 )
...
* Decode CloudEvent Data consistently between HTTP and gRPC
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* linter issue
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* Added parsing media type
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* Adding extension json media type handling
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* add TTL to actor timer/reminder requests (#225 )
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* Adding more tests
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* Tweak
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
Co-authored-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2021-12-08 21:06:35 -08:00
Dmitry Shmulevich
15fc672e08
add support for state query API ( #216 )
...
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2021-12-08 10:27:52 +08:00
Dmitry Shmulevich
b93a185fa4
add TTL to actor timer/reminder requests ( #225 )
2021-12-08 09:36:48 +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
Michael Nussbaum
5d3a4ad3f2
Make client init fail if server connection fails ( #213 )
...
* Make client init fail if server connection fails
This prevents client/server connectivity issues from resulting in silent
failure modes and ensures they're caught as early as possible
* Fix linter errors
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-10-31 14:59:07 -07:00
penghuima
b5d09e8e57
minor fix ( #214 )
...
Signed-off-by: penghuima <2992426202@qq.com>
2021-10-31 14:55:04 -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
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
Michael Nussbaum
84d4cb0726
Implement HTTP service stop with a 5 sec timeout ( #209 )
...
* Implement HTTP service stop with a 5 sec timeout
* No need to wrap the cancellation in an extra func
* Address lint errors, camel case variables
2021-10-05 11:24:18 -07:00
Alexsel
624e871870
decode data_base64 cloudEvent for http service ( #201 )
...
Co-authored-by: Long Dai <long.dai@intel.com>
2021-09-29 22:44:21 -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
Alvin Henrick
994f9b69f2
Add documentation and example to deal with gRPC 4mb limit ( #197 )
...
* Add documentation and example to deal with gRPC 4mb limit
* update doc
* update doc again
* try fixing validation
Co-authored-by: Alvin Henrick <alvin@equilibriumenergy.com>
2021-08-31 07:19:27 -07:00
Aaron Crawfis
c0d859d658
Fix CODEOWNERS ( #183 )
...
* Update CODEOWNERS
* Update CODEOWNERS
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-08-16 16:50:15 -07:00
Gaojin CAO
8615ff9477
minor fix ( #191 )
...
1. remove unneeded sentence;
2. typos and indention;
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-07-26 09:08:35 -07:00
Yaron Schneider
7de7a96cfe
Delete order ( #194 )
2021-07-26 08:51:50 -07:00
Bernd Verst
f4a9a1f5eb
Pick latest Dapr CLI and Runtime ( #192 )
...
* Pick latest Dapr CLI and Runtime
* Update validate_examples.yaml
* Update validate_examples.yaml
2021-07-23 15:46:54 -07:00
Bernd Verst
3f73517a87
Automates validating Go examples ( #190 )
...
* Automatically validate examples
This uses dapr's mechnical markdown
* Fix workflow default branch name
2021-07-23 11:09:20 -07:00
greenie-msft
fc67f725e0
Change directory name from go-server to go-service ( #185 )
2021-07-13 11:17:05 -07:00
Alessandro (Ale) Segala
0dcc1509de
Do not wrap errors for invocations ( #187 )
...
Fix #186
2021-07-06 08:53:43 -07:00
greenie-msft
a9c6bcb4f4
Add Dapr Docs for Go SDK ( #182 )
...
* Add Dapr Docs for Go SDK
* Fix section titles
* Update grpc-service.md
* Update cards links
2021-07-01 11:40:22 -07:00
Long Dai
4122595b0e
issue: hide tips ( #176 )
...
Signed-off-by: Long Dai <long0dai@foxmail.com>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-06-24 09:57:50 -07:00
Dmitry Shmulevich
aebdb62d4b
minor reorg of 'examples' folder ( #178 )
...
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-06-24 09:51:01 -07:00
Bernd Verst
d4549380f6
Also run tests and linter on PRs ( #177 )
...
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-06-22 09:38:37 -07:00
Dmitry Shmulevich
04ac0f1aba
Added 'hello-world' example ( #171 )
2021-06-18 15:21:05 -07:00
Dmitry Shmulevich
116732ed41
fixed typos ( #172 )
2021-06-18 15:04:11 -07:00
wenxuwan
ff2b836a2e
fix typo ( #167 )
...
Co-authored-by: 文徐 <wangwenxue.wwx@alibaba-inc.com>
2021-06-01 12:11:55 -07:00
yellow chicks
b6ac9208a7
feat(state): SaveState expose StateOptions ( #160 )
...
* optimize: state consistency from strong to eventual
* feat(state): SaveState expose StateOptions
* Update state.go
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-05-04 09:08:17 -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
浩
dea02bd1e3
move set header to top ( #158 )
2021-04-27 11:58:26 -07:00
Yao Yao
ab924fba7d
fix docs ( #157 )
...
* fix readme.md
* fix readme.md
* fix readme.md
* fix readme.md
* fix grpc readme.md
* fix grpc readme.md
* fix grpc readme.md
* fix readme.md
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-04-15 11:43:27 -07:00
Yao Yao
d5be5422b4
fix readme.md ( #153 )
...
* fix readme.md
* fix readme.md
* fix readme.md
* fix readme.md
* fix grpc readme.md
* fix grpc readme.md
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-04-08 14:14:51 -07:00
Sky/敖小剑
7f6e8c9594
update code according to queryString changed from map to string in proto definetion ( #155 )
2021-04-08 14:13:54 -07:00
Hugome
562562aaef
feat: add shutdown api ( #151 )
2021-03-25 14:45:54 +08:00
springe2004
7a89cf3c41
Update pub.go ( #145 )
...
remove os
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-03-13 08:34:06 -08:00
大可
81b5dc2d54
doc: fix typo ( #148 )
2021-03-13 08:32:39 -08:00
Betula-L
2d711a5644
fix go-sdk example doc ( #144 )
2021-03-01 10:18:33 -08:00
Sky/敖小剑
e9a069acee
upgrade protoc from v3.11.2 to v3.14.0 ( #141 )
...
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-02-09 13:56:37 -08:00
Sky/敖小剑
22f00ec23f
add bulk delete state method in client sdk ( #139 )
2021-02-09 13:55:34 -08:00
Yaron Schneider
8114d3f1ab
fix pub/sub example ( #138 )
2021-02-01 11:35:08 -08:00
Yaron Schneider
cc9fd55cea
make amends ( #137 )
2021-01-29 14:40:24 -08:00
Yaron Schneider
b972d70edc
add support for etag and bulk secret modifications ( #135 )
2021-01-25 18:37:46 -08:00
gaoxinge
ee170a232a
fix some typo ( #131 )
...
* fix some typo
* log format
* remove useless code
2021-01-25 18:15:56 -08:00
Sky/敖小剑
7a4b57c436
add metadata in state get response ( #128 )
2021-01-06 18:19:19 -08:00
Mark Chmarny
55e5285438
removes cache from release
2020-12-18 03:09:27 -08:00
Mark Chmarny
8ff078dabb
updated workflows
2020-12-18 03:04:59 -08:00
Mark Chmarny
c09e723b01
v1.0.0-rc-2
2020-12-17 16:45:31 -08:00
Mark Chmarny
071003043a
make fix
2020-12-15 16:36:39 -08:00
Mark Chmarny
a593e8a9a9
readme updates
2020-12-15 10:22:56 -08:00
Mark Chmarny
f593ee84c1
fixed make spell
2020-12-15 10:16:05 -08:00