Shubham Sharma
487e8bc089
Change BulkDelete error handling in transaction
...
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-02-21 15:40:58 +05:30
Shubham Sharma
e703874f42
Add logic to fix transaction ordering
...
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-02-21 12:41:03 +05:30
Dmitry Shmulevich
c7adb917f3
update license to Apache v2.0 ( #1406 )
2022-01-04 19:53:31 -08:00
Long Dai
988fed05ab
ci: standard linter config ( #1102 )
...
* ci: standard linter config
Signed-off-by: Long <long.dai@intel.com>
* Update utils.go
* fix pulsar issue
Signed-off-by: Long <long.dai@intel.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-09-21 15:21:59 -07:00
Bernd Verst
059dc8c0d2
Conformance tests & bugfixes for SQLServer ( #1078 )
...
* enable sqlserver conformance test
* Update SQL Server conformance test setup
* Fix sqlserver bug introduced in Go 1.16
* sqlserver almost conformant
* Fix conformance tests and stored procedure
* all sqlserver tests passing
* Minor touchup
* lint
* Remove unnecessary condition
* Add conformance test to GitHub workflow
* remove env variable
* Update stored procedure
* Simplify error handling
* Update state/sqlserver/sqlserver.go
Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
* Update state/sqlserver/sqlserver.go
Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Bernd Verst <me@bernd.dev>
Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-08-19 17:47:56 -07:00
Donovan Brown
5f8cb50306
Darquewarrior issue798 ( #819 )
...
* Reduced cyclomatic complexity of Multi
There was a lint warning on this function.
* Reduced cyclomatic complexity of Init
* Updated existing unit tests.
Added test for default table and database names.
And invalid database name.
* Got all Integration tests passing after refactor.
* All tests passing.
* Increasing code coverage
* Creating db in sqlserver state store is complete.
* Fixing gofumpt issues
Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
2021-08-04 14:05:18 -07:00
문찬용
b387fcdff3
add Ping operation to`store` interface. ( #757 )
...
* add `Ping` operation.
* add `Ping` implementation of GA components
* add context to an argument for Ping
* add `Ping` implementation of blobstorage
* fix error string for passing lint
* Update blobstorage.go
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-05-25 23:48:46 -07:00
Phil Kedy
688df9bda4
Removed dependency on dapr/dapr in favor of dapr/kit. Fixed go mod dependencies afterwards. Go 1.16 in go.mod. Removed accidental log dependency. ( #807 )
2021-04-19 12:06:10 -07:00
Artur Souza
931048aa60
Add Feature list for state store. ( #744 )
...
* Add Feature list for state store.
* List Transactional as a feature for state store.
* Fixing comments about etag.
2021-03-05 14:55:23 -08:00
Phil Kedy
a15c616bb0
Make state.GetResponse ETag to a *string ( #733 )
...
* Make state.GetResponse ETag to a *string
* Small fixes post merge of #716
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-03-03 13:28:59 -08:00
Yaron Schneider
3ef025c604
change headers ( #679 )
2021-02-09 18:57:55 -08:00
Yaron Schneider
99256e6bec
Provide distinction between missing and empty etags ( #600 )
...
* provide distinction between missing and empty etags
* linter
* linter 2
2021-01-14 10:41:38 -08:00
Yaron Schneider
4d3e1be105
Treat etag errors across all state stores ( #579 )
...
* treat etag errors across all state stores
* linter
* linter
2021-01-08 18:59:42 -08:00
Sky/敖小剑
5dc3587f7d
Add bulk get in state store - Plan B ( #532 )
...
* add BulkGet method on state store
* add a bool value in bulk get method to tell dapr if this store supports bulk get or not
* add BulkGetResponse for bulk get; rollback GetResponse to remove new added filed key
* update to use BulkGetResponse for bulk get
* fix lint issues
* fix lint issues
* fix lnit issues
2020-11-26 23:07:27 -08:00
halspang
f647d9eedb
Upgrade golang lint to 1.31 ( #490 )
...
Upgrade golang lint to 1.31.0
https://github.com/dapr/components-contrib/issues/439
2020-10-12 12:54:15 -07:00
Mukundan Sundararajan
d2ee3200cd
Properly handle serialization deserizliation for redis transaction api. ( #460 )
...
* Properly handle serialization deserizliation for redis, postgres transaction api.
* Convert marshaler to a utils function.
* Add license comment
* init error inline
2020-09-15 12:54:29 -07:00
Young Bu Park
c69d5ea2ca
Add metadata property to TransactionalRequest ( #430 )
...
* Add Metadata to transactional request
* Use new transactional request strcut
2020-08-12 09:30:37 -07:00
Leon Mai
65575593c1
Sql component should save db object on Init instead of creating a new ( #399 )
...
one per operation.
Separately, if data arrives as []byte (as in grpc case) don't Marshal
it.
Co-authored-by: LM <lemai>
2020-07-29 15:26:07 -07:00
Mukundan Sundararajan
5c62707aba
Upgrade go version to 1.14.3 and linter version to 1.26.0 ( #352 )
...
* Upgrade to go 1.14.3 and linter version to 1.26.0
2020-05-29 15:26:33 -07:00
Young Bu Park
ee97c3c56a
Use dapr logger ( #238 )
...
* Use dapr logger
* skip linter false alarm
2020-02-28 15:49:49 -08:00
Yaron Schneider
d40be01831
fix sql server get ( #233 )
2020-02-25 03:23:40 -08:00
Young Bu Park
5a24823c89
Upgrade go to 1.13.7 and linter to 1.23.2 ( #205 )
...
* upgrade go
* Fix all linter errors
2020-02-03 14:29:29 -08:00
Francisco Beltrao
1a37f892aa
Move SQLServer state store from azure folder ( #181 )
2020-01-07 23:38:44 -08:00