Commit Graph

23 Commits

Author SHA1 Message Date
Roberto Rojas d02f9524d9
V1.10 Update Protos & Go Modules (#356)
* updates grpc proto for v1.10

Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>

* updates go mod tidy for v1.10

Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>

---------

Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
2023-02-01 08:35:20 -08:00
Alessandro (Ale) Segala c5377994aa
Various fixes and cleanups (#346)
* Various fixed and cleanups

1. Fixed SDK not compiling and tests failing
2. Increased minimum Go version to 1.18
3. Removed `github.com/pkg/errors` and `go.uber.org/atomic` - replaced with the standard library instead (the old packages have been added to the "depguard" linter)
4. Upgraded all dependencies
5. Upgraded golangci-lint to support Go 1.18+

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Do not wrap error if nil

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Run CI on Go 1.18 and 1.19

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Restore compatibility with Go 1.18

Looks like the newer methods were added in Go 1.19 only

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Should fix validate_examples CI

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Updated (most) deprecated Actions

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Fix helm repo

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Determine latest Dapr version in a better way

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Fix validate.sh

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-01-09 10:38:37 -08:00
Yaron Schneider b465b1fa07
update protos (#327)
Signed-off-by: yaron2 <schneider.yaron@live.com>

Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-10-04 10:58:45 -07:00
HaoTian 7bcbf27f51
chore: remove the binary and add gitignore (#315)
Signed-off-by: 117503445 <t117503445@gmail.com>

Signed-off-by: 117503445 <t117503445@gmail.com>
2022-09-30 20:28:16 -07:00
yellow chicks c4217cfaf9
optimize: using `go mod init` to upgrade examples (#305)
* fix/typo: modify state  annotation

Signed-off-by: 1046102779 <seachen@tencent.com>

* optimize: upgrade go1.17->go1.18

Signed-off-by: 1046102779 <seachen@tencent.com>

* optimize: upgrade examples

Signed-off-by: 1046102779 <seachen@tencent.com>

* optimize: upgrade examples

Signed-off-by: 1046102779 <seachen@tencent.com>

* optimize: using go mod init to upgrade examples

Signed-off-by: 1046102779 <seachen@tencent.com>
2022-07-22 09:19:50 -07:00
Yaron Schneider 40c5fd5a19
Update dependencies (#302)
* update dependencies

Signed-off-by: yaron2 <schneider.yaron@live.com>

* update dependencies

Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-07-08 06:33:24 -07:00
Yaron Schneider 0b65cca826
Add distributed lock api support (#297)
* add distributed lock api support

Signed-off-by: yaron2 <schneider.yaron@live.com>

* go mod tidy for pub/sub

Signed-off-by: yaron2 <schneider.yaron@live.com>

* go mod tidy for state

Signed-off-by: yaron2 <schneider.yaron@live.com>

* go mod tidy for service invocation

Signed-off-by: yaron2 <schneider.yaron@live.com>

* linter

Signed-off-by: yaron2 <schneider.yaron@live.com>

* added unlock tests

Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-06-22 10:37:17 +08:00
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
greenie-msft f1f5c7a84c
Update docs link for hello world tutorial (#270)
Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>
2022-03-31 12:27:10 -07:00
Dmitry Shmulevich a0a4a9e70a
allow passage of metadata to state store API (#262)
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2022-02-24 09:39:05 +08:00
Dmitry Shmulevich d9be62fa69
chore - update dependencies (#240)
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2022-01-20 09:25:39 -08:00
Looong Dai f912500536
add Unix domain socket support (#206)
* add Unix domain socket support

Signed-off-by: Long <long0dai@foxmail.com>

* update examples

Signed-off-by: Long <long.dai@intel.com>
2022-01-13 09:40:24 -08:00
Phil Kedy 40d8a4eabe
Pub/Sub routing support (#227)
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
2022-01-06 10:19:24 -08:00
Dmitry Shmulevich 67e5c4ee3b
update go.mod in examples (#234)
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2021-12-14 15:08:18 -08: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
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
penghuima b5d09e8e57
minor fix (#214)
Signed-off-by: penghuima <2992426202@qq.com>
2021-10-31 14:55:04 -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
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 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
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
Dmitry Shmulevich 04ac0f1aba
Added 'hello-world' example (#171) 2021-06-18 15:21:05 -07:00