Mike Nguyen
59acca46a6
chore!: upgrade lint & go ( #649 )
...
* chore: bump go to 1.23.3 and golangci-lint to 1.61.0
Signed-off-by: mikeee <hey@mike.ee>
* fix: ineffective nolint directive removed
Signed-off-by: Mike Nguyen <hey@mike.ee>
* fix: perfsprint recommendations
Signed-off-by: Mike Nguyen <hey@mike.ee>
* fix: intrange recommendations - refactor loops
Signed-off-by: Mike Nguyen <hey@mike.ee>
* fix: remove existing dereferencing copies
Signed-off-by: Mike Nguyen <hey@mike.ee>
* fix!: address gosec overflows
BREAKING CHANGE: State consistency, concurrency and operation types are now int32 sized.
Panic on an overflow conversion for a proto duration
Signed-off-by: Mike Nguyen <hey@mike.ee>
* fix: tooling lint issues/ci update
Signed-off-by: Mike Nguyen <hey@mike.ee>
* fix: perfsprint suggestions on dapr-bot
Signed-off-by: Mike Nguyen <hey@mike.ee>
* chore(ci): remove gover remnants
Signed-off-by: Mike Nguyen <hey@mike.ee>
* chore(ci): upgrade golangci-lint action version
Signed-off-by: Mike Nguyen <hey@mike.ee>
---------
Signed-off-by: mikeee <hey@mike.ee>
Signed-off-by: Mike Nguyen <hey@mike.ee>
2024-11-13 22:01:59 -07:00
Mike Nguyen
967570515b
Implement distributed scheduler building block ( #562 )
...
* feat: add jobs/scheduling api (with validation override)
Signed-off-by: mikeee <hey@mike.ee>
* chore: fix deps
Signed-off-by: mikeee <hey@mike.ee>
* fix: use cli fix
Signed-off-by: mikeee <hey@mike.ee>
* fix: ci artifact path set for cli build
Signed-off-by: mikeee <hey@mike.ee>
* chore: remove sidecar step
Signed-off-by: mikeee <hey@mike.ee>
* chore: revert changes to other examples
Signed-off-by: mikeee <hey@mike.ee>
---------
Signed-off-by: mikeee <hey@mike.ee>
Signed-off-by: Mike Nguyen <hey@mike.ee>
2024-07-17 09:04:45 -07:00
Sam
feb4bb675c
fix(security): bump security vulnerabilities ( #582 )
...
* fix(security): bump security vulnerabilities
Signed-off-by: Samantha Coyle <sam@diagrid.io>
* style: make linter happy
Signed-off-by: Samantha Coyle <sam@diagrid.io>
---------
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Mike Nguyen <hey@mike.ee>
Co-authored-by: Mike Nguyen <hey@mike.ee>
2024-07-01 17:27:27 -07:00
mikeee
ac26e622c4
feat: workflow authoring and management support ( #487 )
...
* feat: initial workflow
Signed-off-by: mikeee <hey@mike.ee>
* test: add activity context test for input
Signed-off-by: mikeee <hey@mike.ee>
* test: add context texts
Signed-off-by: mikeee <hey@mike.ee>
* fix/test: identify anonymous functions and add tests to runtime
Signed-off-by: mikeee <hey@mike.ee>
* chore: lint and minor fixes
Signed-off-by: mikeee <hey@mike.ee>
* chore: improve readability+tests and implement context method
Signed-off-by: mikeee <hey@mike.ee>
* test: add nil coverage
Signed-off-by: mikeee <hey@mike.ee>
* feat: workflow implementation wip
Signed-off-by: mikeee <hey@mike.ee>
* chore: add missing actor, configuration and workflow runners for validation
Signed-off-by: mikeee <hey@mike.ee>
* chore: lint
Signed-off-by: mikeee <hey@mike.ee>
* fix: missing formatting directives
Signed-off-by: mikeee <hey@mike.ee>
* feat: implement wf state
Signed-off-by: mikeee <hey@mike.ee>
* feat: add workflow management
Signed-off-by: mikeee <hey@mike.ee>
* chore: fix direct proto field references and general lint
Signed-off-by: mikeee <hey@mike.ee>
* fix: correct states
Signed-off-by: mikeee <hey@mike.ee>
* fix: refactor workflow contexts
Signed-off-by: mikeee <hey@mike.ee>
* fix: increase verbosity and move channel
Signed-off-by: mikeee <hey@mike.ee>
* fix: implement full workflow validation
Signed-off-by: mikeee <hey@mike.ee>
* fix: add dapr-app-id to example
Signed-off-by: mikeee <hey@mike.ee>
* fix: set endpoint
Signed-off-by: mikeee <hey@mike.ee>
* chore: revert actor mod change
Signed-off-by: mikeee <hey@mike.ee>
* chore: revert sum addition
Signed-off-by: mikeee <hey@mike.ee>
* fix: wrap wf management set authtoken in context
Signed-off-by: mikeee <hey@mike.ee>
* fix: migrate to dapr builtin sdk client
Signed-off-by: mikeee <hey@mike.ee>
* fix: correct runtime testing logic and lint
The runtime creation should never be successful in test
Signed-off-by: mikeee <hey@mike.ee>
* fix: implement delayed cancellation
Signed-off-by: mikeee <hey@mike.ee>
* fix(minor): rename getDecorator to getFunctionName
Signed-off-by: mikeee <hey@mike.ee>
* fix: remove alpha workflow
Signed-off-by: mikeee <hey@mike.ee>
* fix(validation): remove redundant result line
Signed-off-by: mikeee <hey@mike.ee>
* feat: initial wfclient implementation
Signed-off-by: mikeee <hey@mike.ee>
* fix: remove redundant closer and fix comparison
Signed-off-by: mikeee <hey@mike.ee>
* tests: improve unit test coverage
Signed-off-by: mikeee <hey@mike.ee>
* fix: cleanup
Signed-off-by: mikeee <hey@mike.ee>
* fix: wording change
Co-authored-by: Chris Gillum <cgillum@gmail.com>
Signed-off-by: mikeee <hey@mike.ee>
* fix: wording change
Co-authored-by: Chris Gillum <cgillum@gmail.com>
Signed-off-by: mikeee <hey@mike.ee>
* chore: bump durabletask-go and deps
Signed-off-by: mikeee <hey@mike.ee>
* chore: add copyright
Signed-off-by: mikeee <hey@mike.ee>
* fix: refactor from runtime to worker and other minor changes
Signed-off-by: mikeee <hey@mike.ee>
* fix: update worker tests
Signed-off-by: mikeee <hey@mike.ee>
* fix: remove workflow component requirement and return worker error
Signed-off-by: mikeee <hey@mike.ee>
* fix: reason field validation removed
Signed-off-by: mikeee <hey@mike.ee>
* fix: remove reason tests
Signed-off-by: mikeee <hey@mike.ee>
* refactoring
Signed-off-by: mikeee <hey@mike.ee>
* fix: inputs
Signed-off-by: mikeee <hey@mike.ee>
* tests: add coverage to activity options
Signed-off-by: mikeee <hey@mike.ee>
* feat: add worker options
Signed-off-by: mikeee <hey@mike.ee>
* fix: remove unused logger
Signed-off-by: mikeee <hey@mike.ee>
* feat: add client options and testing
Signed-off-by: mikeee <hey@mike.ee>
* feat: decouple metadata
Signed-off-by: mikeee <hey@mike.ee>
* chore: remove unused client interface
Signed-off-by: mikeee <hey@mike.ee>
* chore: update tests
Signed-off-by: mikeee <hey@mike.ee>
* chore: lint
Signed-off-by: mikeee <hey@mike.ee>
* test: improve coverage
Signed-off-by: mikeee <hey@mike.ee>
* tests: improve unit coverage
Signed-off-by: mikeee <hey@mike.ee>
* feat: initial workflow
Signed-off-by: mikeee <hey@mike.ee>
* test: add activity context test for input
Signed-off-by: mikeee <hey@mike.ee>
* test: add context texts
Signed-off-by: mikeee <hey@mike.ee>
* fix/test: identify anonymous functions and add tests to runtime
Signed-off-by: mikeee <hey@mike.ee>
* chore: lint and minor fixes
Signed-off-by: mikeee <hey@mike.ee>
* chore: improve readability+tests and implement context method
Signed-off-by: mikeee <hey@mike.ee>
* test: add nil coverage
Signed-off-by: mikeee <hey@mike.ee>
* feat: workflow implementation wip
Signed-off-by: mikeee <hey@mike.ee>
* chore: add missing actor, configuration and workflow runners for validation
Signed-off-by: mikeee <hey@mike.ee>
* chore: lint
Signed-off-by: mikeee <hey@mike.ee>
* fix: missing formatting directives
Signed-off-by: mikeee <hey@mike.ee>
* feat: implement wf state
Signed-off-by: mikeee <hey@mike.ee>
* feat: add workflow management
Signed-off-by: mikeee <hey@mike.ee>
* chore: fix direct proto field references and general lint
Signed-off-by: mikeee <hey@mike.ee>
* fix: correct states
Signed-off-by: mikeee <hey@mike.ee>
* fix: refactor workflow contexts
Signed-off-by: mikeee <hey@mike.ee>
* fix: increase verbosity and move channel
Signed-off-by: mikeee <hey@mike.ee>
* fix: implement full workflow validation
Signed-off-by: mikeee <hey@mike.ee>
* fix: add dapr-app-id to example
Signed-off-by: mikeee <hey@mike.ee>
* fix: set endpoint
Signed-off-by: mikeee <hey@mike.ee>
* chore: revert actor mod change
Signed-off-by: mikeee <hey@mike.ee>
* chore: revert sum addition
Signed-off-by: mikeee <hey@mike.ee>
* fix: wrap wf management set authtoken in context
Signed-off-by: mikeee <hey@mike.ee>
* fix: migrate to dapr builtin sdk client
Signed-off-by: mikeee <hey@mike.ee>
* fix: correct runtime testing logic and lint
The runtime creation should never be successful in test
Signed-off-by: mikeee <hey@mike.ee>
* fix: implement delayed cancellation
Signed-off-by: mikeee <hey@mike.ee>
* fix(minor): rename getDecorator to getFunctionName
Signed-off-by: mikeee <hey@mike.ee>
* fix: remove alpha workflow
Signed-off-by: mikeee <hey@mike.ee>
* fix(validation): remove redundant result line
Signed-off-by: mikeee <hey@mike.ee>
* feat: initial wfclient implementation
Signed-off-by: mikeee <hey@mike.ee>
* fix: remove redundant closer and fix comparison
Signed-off-by: mikeee <hey@mike.ee>
* tests: improve unit test coverage
Signed-off-by: mikeee <hey@mike.ee>
* fix: cleanup
Signed-off-by: mikeee <hey@mike.ee>
* fix: wording change
Co-authored-by: Chris Gillum <cgillum@gmail.com>
Signed-off-by: mikeee <hey@mike.ee>
* fix: wording change
Co-authored-by: Chris Gillum <cgillum@gmail.com>
Signed-off-by: mikeee <hey@mike.ee>
* chore: bump durabletask-go and deps
Signed-off-by: mikeee <hey@mike.ee>
* chore: add copyright
Signed-off-by: mikeee <hey@mike.ee>
* fix: refactor from runtime to worker and other minor changes
Signed-off-by: mikeee <hey@mike.ee>
* fix: update worker tests
Signed-off-by: mikeee <hey@mike.ee>
* fix: remove workflow component requirement and return worker error
Signed-off-by: mikeee <hey@mike.ee>
* fix: reason field validation removed
Signed-off-by: mikeee <hey@mike.ee>
* fix: remove reason tests
Signed-off-by: mikeee <hey@mike.ee>
* refactoring
Signed-off-by: mikeee <hey@mike.ee>
* fix: inputs
Signed-off-by: mikeee <hey@mike.ee>
* tests: add coverage to activity options
Signed-off-by: mikeee <hey@mike.ee>
* feat: add worker options
Signed-off-by: mikeee <hey@mike.ee>
* fix: remove unused logger
Signed-off-by: mikeee <hey@mike.ee>
* feat: add client options and testing
Signed-off-by: mikeee <hey@mike.ee>
* feat: decouple metadata
Signed-off-by: mikeee <hey@mike.ee>
* chore: remove unused client interface
Signed-off-by: mikeee <hey@mike.ee>
* chore: update tests
Signed-off-by: mikeee <hey@mike.ee>
* chore: lint
Signed-off-by: mikeee <hey@mike.ee>
* test: improve coverage
Signed-off-by: mikeee <hey@mike.ee>
* tests: improve unit coverage
Signed-off-by: mikeee <hey@mike.ee>
* fix: implement code review suggestions/refactor and gracefully handle errors
Signed-off-by: mikeee <hey@mike.ee>
* fix: innerfailure handling
Signed-off-by: mikeee <hey@mike.ee>
* docs: add docs to public methods and functions
Signed-off-by: mikeee <hey@mike.ee>
* implements correction
Co-authored-by: Chris Gillum <cgillum@gmail.com>
Signed-off-by: mikeee <hey@mike.ee>
* change typecast assertion
Signed-off-by: mikeee <hey@mike.ee>
* improve clarity of notes
Signed-off-by: mikeee <hey@mike.ee>
* fix mod issues from rebasing interactively on github
Signed-off-by: mikeee <hey@mike.ee>
* implement suggestions from review
- task invoke documentation
- refactor type assertion for startworkflowbeta1
Signed-off-by: mikeee <hey@mike.ee>
* remoove unused definition
Signed-off-by: mikeee <hey@mike.ee>
* fix mod
Signed-off-by: mikeee <hey@mike.ee>
---------
Signed-off-by: mikeee <hey@mike.ee>
Co-authored-by: Chris Gillum <cgillum@gmail.com>
2024-02-09 07:32:36 -08:00
Josh van Leeuwen
cefbadb3d1
Update github.com/dapr/dapr to v1.13.0-rc.1 ( #503 )
...
* Update github.com/dapr/dapr to v1.13.0-rc.1
Signed-off-by: joshvanl <me@joshvanl.dev>
* Revert go.mod to use Go 1.20 as minimum version
Signed-off-by: joshvanl <me@joshvanl.dev>
* github actions: only perform go mod diff on same go version
Signed-off-by: joshvanl <me@joshvanl.dev>
---------
Signed-off-by: joshvanl <me@joshvanl.dev>
2024-02-07 07:54:01 -08:00
mikeee
04f7b595b6
feat: go1.20 and golangci-lint v1.55.2 ( #480 )
...
* fix: remove invalid 'unused' config and fix wsl trailing whitespace key name
Signed-off-by: mikeee <hey@mike.ee>
* fix: disable inamedparam linter
Signed-off-by: mikeee <hey@mike.ee>
* fix: update package and tool to go1.21.5
Signed-off-by: mikeee <hey@mike.ee>
* fix: correct majority of the testifylinter issues relating to error assertions
Signed-off-by: mikeee <hey@mike.ee>
* fix: reverse actual and expected values
Signed-off-by: mikeee <hey@mike.ee>
* fix: correct test cases
Signed-off-by: mikeee <hey@mike.ee>
* fix: correct misspell - upsert
Signed-off-by: mikeee <hey@mike.ee>
* fix: add missing import
Signed-off-by: mikeee <hey@mike.ee>
* update: bump validation workflow to 1.21
Signed-off-by: mikeee <hey@mike.ee>
* fix: refactor direct access references to proto fields
Signed-off-by: mikeee <hey@mike.ee>
* fix: revert to go1.20 retaining version-1 support
Signed-off-by: mikeee <hey@mike.ee>
* fix: update test-dapr-bot workflow golangci-lint ver to 1.55.2
Signed-off-by: mikeee <hey@mike.ee>
* fix: fix assertions for dapr-bot and check-lint-version
Signed-off-by: mikeee <hey@mike.ee>
* fix: remove length function call
Signed-off-by: mikeee <hey@mike.ee>
* fix: fix StateConsistency logic and add tests to satisfy codecov
Signed-off-by: mikeee <hey@mike.ee>
* tests: add coverage of empty store names for delete bulk state item method
Signed-off-by: mikeee <hey@mike.ee>
---------
Signed-off-by: mikeee <hey@mike.ee>
2023-12-11 10:51:26 +08:00
Alessandro (Ale) Segala
87bbb8cd69
Updates pinned runtime ( #469 )
...
This is needed in components-contrib as we cannot pin an updated runtime in cert tests without an updated Go SDK, due to a complex circular dependency
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-11-01 20:11:49 -07:00
Alessandro (Ale) Segala
69e788045d
Remove deprecated method RenameActorReminder ( #466 )
...
Fixes #465
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-10-13 20:26:04 -07:00
Mike
5779353f7a
migrate protos ( #439 )
...
* remove clean command for protos
Signed-off-by: mikeee <hey@mike.ee>
* delete internal protos
Signed-off-by: mikeee <hey@mike.ee>
* migrate refs to 1.11.1-rc.2
Signed-off-by: mikeee <hey@mike.ee>
* migrate metadata pb import
Signed-off-by: mikeee <hey@mike.ee>
* bump imports (dapr 1.12.0-rc.4)
Signed-off-by: mikeee <hey@mike.ee>
* fix wait test to allow more than one "client"
Signed-off-by: mikeee <hey@mike.ee>
---------
Signed-off-by: mikeee <hey@mike.ee>
2023-09-26 09:20:08 -07:00
Mike
5e2f457f63
Implement metadata api access to the sidecar ( #442 )
...
* Add metadata grpc interface
Signed-off-by: mikeee <hey@mike.ee>
* use errors package
Signed-off-by: mikeee <hey@mike.ee>
* remove allocations and explicitly populate returns
Signed-off-by: mikeee <hey@mike.ee>
* remove examples
Signed-off-by: mikeee <hey@mike.ee>
* lint
Signed-off-by: mikeee <hey@mike.ee>
---------
Signed-off-by: mikeee <hey@mike.ee>
2023-09-11 08:42:44 -07:00
hunter007
678b222072
Update protos and client's configuration methods with stable config api ( #391 )
...
* Update protos
Signed-off-by: zhaowentao <wentao79@gmail.com>
Signed-off-by: hunter007 <wentao79@gmail.com>
* update client's configuration methods with stable config api
Signed-off-by: hunter007 <wentao79@gmail.com>
* rename alpha1 to rsp
Signed-off-by: hunter007 <wentao79@gmail.com>
* update go.mod
Signed-off-by: hunter007 <wentao79@gmail.com>
* Update proto
Signed-off-by: hunter007 <wentao79@gmail.com>
* Fix document for examples
Signed-off-by: hunter007 <wentao79@gmail.com>
* base64ed data
Signed-off-by: hunter007 <wentao79@gmail.com>
* Revert "base64ed data"
This reverts commit 0f3b82fe45
.
Signed-off-by: hunter007 <wentao79@gmail.com>
* validate configuration
Signed-off-by: hunter007 <wentao79@gmail.com>
* update DAPR_REF in workflows to fix examples
Signed-off-by: hunter007 <wentao79@gmail.com>
* update GOVER from 1.18 to 1.20 in validate_examples.yaml because of dapr/dapr/master branch
Signed-off-by: hunter007 <wentao79@gmail.com>
---------
Signed-off-by: zhaowentao <wentao79@gmail.com>
Signed-off-by: hunter007 <wentao79@gmail.com>
2023-05-17 22:40:52 -07:00
Shivam Kumar
99dc3e31d5
update config subscribe method ( #389 )
...
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
2023-04-27 15:07:16 -07:00
Shubham Sharma
b48e8ade5b
Add support for bulk publish ( #384 )
...
* Initial implementation
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add a response type and more tests
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Change logic and add more tests
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add example
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add docs
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix lint
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* gofumpt
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
---------
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2023-03-31 14:57:57 +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
Alessandro (Ale) Segala
718044ad12
Report SDK version to Dapr as User-Agent ( #328 )
...
* Report SDK version to Dapr
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Fixed typos
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Fixes
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* 💄
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Making the linter happy-maybe
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Update linter to support go:embed comments
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-16 11:16:10 -08:00
yellow chicks
f182441168
feature(apphealth&configuration): add app health check & adapt new configuration API ( #323 )
...
* fix/typo: modify state annotation
Signed-off-by: 1046102779 <seachen@tencent.com>
* feature(apphealth): add app health check
Signed-off-by: 1046102779 <seachen@tencent.com>
* feature(apphealth): add app health check
Signed-off-by: 1046102779 <seachen@tencent.com>
* feature(apphealth): add app health check
Signed-off-by: 1046102779 <seachen@tencent.com>
* feature(apphealth): add app health check
Signed-off-by: 1046102779 <seachen@tencent.com>
* feature(apphealth): add app health check
Signed-off-by: 1046102779 <seachen@tencent.com>
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-09-30 15:19:16 -07:00
Ceres Cartman
7c38f5a607
fix: client default timeout ( #310 )
...
* fix: client default timeout #259
Signed-off-by: Ceres Cheng <chengzhoukun@gmail.com>
* Add documentation for client timeout environment variable
Signed-off-by: Ceres Cheng <chengzhoukun@gmail.com>
2022-08-05 16:58:03 -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
thielepaul
885ee8d326
Expose base grpcclient over client interface ( #272 )
...
Signed-off-by: Paul Thiele <thielepaul@gmail.com>
2022-04-14 07:04:24 -07: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
huazhongming
e53d1d8197
Support rename reminder ( #251 )
...
Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2022-01-29 10:06:10 +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
Dmitry Shmulevich
a38be4e38b
replace license headers ( #232 )
...
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2021-12-14 12:06:12 -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
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
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
Hugome
562562aaef
feat: add shutdown api ( #151 )
2021-03-25 14:45:54 +08:00
Sky/敖小剑
22f00ec23f
add bulk delete state method in client sdk ( #139 )
2021-02-09 13:55:34 -08:00
Yaron Schneider
b972d70edc
add support for etag and bulk secret modifications ( #135 )
2021-01-25 18:37:46 -08:00
Mark Chmarny
f2b03d2b4f
adds bulk secret ( #126 )
...
* adds bulk secret
* spelling
2020-12-14 17:32:18 -08:00
Mark Chmarny
f324f4d8bb
v0.10.0-rc-1 with few dep updates ( #108 )
...
* proto dep update
* v0.10.0-rc-1
* test server closed error cache
2020-11-12 09:08:09 -08:00
Mark Chmarny
d6ce657c0f
proto updates ( #107 )
2020-11-11 16:09:35 -08:00
Mark Chmarny
0a93facbba
mchmarny coverage config ( #99 )
...
* options
* service, topic test
* binding, invoke, topic tests
* split coveage on projects
* cleaned up test
* cleaned up release test
* badge to main vs master
* madditional trace ID test
* adds secret input test
* state tests and lint
2020-10-29 10:00:15 -07: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
3b57737ad8
bulk get, transaction exec support ( #47 )
...
* bulk get #46 , transaction exrc
* updated examples
* ntis from PR review
* fixes lint errors
* mod tidied
2020-08-17 08:08:05 -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
3349abcc39
test formatting cleanup
2020-06-22 08:17:21 -07:00
Mark Chmarny
515c5218fb
lint err cleanup
2020-06-22 08:11:02 -07:00
Mark Chmarny
c9110e404a
client interface, test client errs
2020-06-22 07:54:32 -07:00
Mark Chmarny
63d675f6d0
added secret and secret tests
2020-06-19 09:58:52 -07:00
Mark Chmarny
105973d508
testing fix for the automated test action
2020-06-18 10:49:53 -07:00
Mark Chmarny
5bb259d7ad
super-linter, log for test client errors
2020-06-18 10:39:00 -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