ItalyPaleAle
6f30dbf6c6
Updated Azure Event Hubs and Azure Blob Storage SDKs
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-02-16 00:21:56 +00:00
1046102779
2dd7433a59
feature: add context to state API
...
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-12-08 15:56:51 +08:00
Bernd Verst
23d36a08d7
more refactoring and address code review
...
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-18 17:56:02 -08:00
Bernd Verst
8811d5e64f
AzBlob components: Extract shared code
...
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-17 21:37:17 -08:00
Bernd Verst
70eb9f3a9c
Address code review comments
...
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-17 20:35:05 -08:00
Bernd Verst
7ccca4def8
AzBlob State: Migrate to Track2 SDK
...
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-17 19:55:02 -08:00
Bernd Verst
ede060959a
Refactors all state store to standardize metadata parsing ( #2257 )
2022-11-05 15:36:44 -07:00
Alessandro (Ale) Segala
ca3e80b76b
Updated depguard linter config ( #2245 )
...
* Updated depguard linter config
1. Add older (pre-v4) versions of `github.com/cenkalti/backoff` to the denylist
2. Add `github.com/agrea/ptr` to the denylist (use `github.com/dapr/kit/ptr` instead)
3. Fixed error messages for denied deps
Port of dapr/dapr#5438
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* ⚙️ 🧹
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Remove some github.com/pkg/errors
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* make modtidy-all after rebase
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2022-11-03 22:19:21 -07:00
1046102779
5a367b401a
feature: add context to state API
...
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-21 17:25:14 +08:00
Alessandro (Ale) Segala
bcea284c7b
Components' init functions should return interfaces ( #1997 )
...
* Components' init functions should return interfaces
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* 💄
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* pin latest berndverst contrib fork
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Fixed component registration in tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Updated all cert tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-25 18:27:45 -07:00
ItalyPaleAle
3060cc7a42
Reporting ETag failures correctly in delete method
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-07-07 15:50:22 -07:00
ItalyPaleAle
6f00a83546
state.azure.blobstorage now passes conformance tests
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-07-07 15:50:22 -07:00
Alessandro (Ale) Segala
a2f3a84b96
Moved authentication to be an internal pkg ( #1855 )
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-07-06 11:05:34 -07:00
Alessandro (Ale) Segala
a193cc1ede
Add support for AAD auth in Azure Storage Queues binding ( #1842 )
...
* Add support for AAD auth in Azure Storage Queues binding
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* 🧹
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-07-03 14:17:38 -07:00
Alessandro (Ale) Segala
cedaacbb7c
Make metadata keys uniform for Azure Storage components ( #1837 )
...
* Make metadata keys uniform for Azure Storage components
By using aliases we are preserving backwards-compatibility
Fixes #1832
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Updated bindings.azure.storagequeues too
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Updated state.azure.tablestorage too
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* 💄
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* 🧹
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Loong Dai <long.dai@intel.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2022-07-01 12:05:11 -07:00
Jigar
9078f11985
Added ContentType to pubsub/binding/state request-response ( #1376 )
...
Signed-off-by: jigargandhi <jigarr.gandhi@gmail.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Looong Dai <long.dai@intel.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-01-28 10:17:04 -08:00
Gehhilfe
44199ca4dc
Fix #1351 Fail with useful error message when an invalid account name is used ( #1403 )
...
* state azure blobstorage: fail for invalid account name
Signed-off-by: Tim Burkert <burkert.tim@gmail.com>
* state azure blobstorage: Remove duplicated code and add error check for common entpoint
Signed-off-by: Tim Burkert <burkert.tim@gmail.com>
Co-authored-by: Looong Dai <long.dai@intel.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2022-01-13 09:02:07 -08:00
Dmitry Shmulevich
c7adb917f3
update license to Apache v2.0 ( #1406 )
2022-01-04 19:53:31 -08:00
Artur Souza
c4303d55db
Revert "Merge pull request #1143 from jigargandhi/content-type" ( #1239 )
...
This reverts commit e373b95489
, reversing
changes made to 8505c1a1db
.
2021-10-27 11:41:25 -07:00
jigargandhi
54e2c1e01a
Fix linting issues
2021-10-25 15:13:40 +05:30
jigargandhi
a09c7ade7b
Added test for blob storage
2021-10-22 18:02:01 +05:30
Jigar Gandhi
34c20b0c0f
removed nil check
2021-10-21 18:32:48 +05:30
Jigar
1acb76ee1c
Merge branch 'master' into content-type
2021-10-21 12:10:08 +05:30
Bernd Verst
ac85ba2a8e
Add dapr user agent for Azure Components ( #1152 )
...
* Add dapr useragent for Service Bus and EventHubs
* Add useragent for tablestorage
* send dapr useragent
* more user agents
* formatting
2021-09-27 17:04:27 -07: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
Jigar
4f27152ec9
Merge branch 'master' into content-type
2021-09-14 18:29:46 +05:30
jigargandhi
ecfbbd58ad
Added content type to SetRequest struct
2021-09-14 18:26:36 +05:30
Simon Leet
52bac7be17
Fix parseErr return in blobstorage Init() ( #1108 )
...
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-09-01 13:05:32 -07:00
Alessandro (Ale) Segala
d0816e32a8
Updated to use common Azure auth logic ( #972 )
...
* Common Azure auth logic
- Currently implemented on secretstores/azure/keyvault and state/azure/blobstorage
- Supports Azure AD via service principal (client credentials, client certificate, MSI) - based on the previous authorizer for AKV
- Allows using other Azure clouds (China, Germany, etc)
- For Blob Storage state, supports using custom endpoints (like emulators like Azurite)
* Add environment variable aliases
* Address linter warnings
* another lint thing
* Fixed typo in method description
* Updated metadata key names so they're more consistent
* Fix test
* Some more linter things
Co-authored-by: Bernd Verst <me@bernd.dev>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Bernd Verst <berndverst@users.noreply.github.com>
2021-08-10 15:06:24 -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
Daniel Beall
a35a715f9c
Update state/blobstorage.go to add metadata. ( #786 )
...
Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
2021-04-15 21:40:09 -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
Sivamuthu Kumar
6085834d79
Add blob storage as state store ( #348 )
...
* Add blob storage as state store
* Updated comments for blob storage
Co-authored-by: Young Bu Park <youngp@microsoft.com>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-07-22 08:49:20 -07:00