Commit Graph

572 Commits

Author SHA1 Message Date
Bernd Verst 9fd9543fd4
Merge branch 'master' into pulsarTests 2023-01-19 16:26:03 -08:00
Roberto J Rojas c156bd5337 Merge branch 'master' into snssqs-cert-test-1339-message-visibility
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
2023-01-19 17:41:22 -05:00
Roberto J Rojas 79edc550d6 adds message visibility timeout certification test
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
2023-01-19 17:36:22 -05:00
ItalyPaleAle 130afe5c1a Merge branch 'master' of https://github.com/dapr/components-contrib into eventhubs-track2
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-01-19 00:13:26 +00:00
ItalyPaleAle 0157bf0b72 WIP
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-01-19 00:12:10 +00:00
Shivam Kumar fd7dfe63ef
Fix mqtt pubsub: remove republishing when application is unhealthy (#2446)
* Remove re-publishing in case of failures

Signed-off-by: shivam <shivamkm07@gmail.com>

* Remove maxRetriableErrorsPerSec field in metadata

Signed-off-by: shivam <shivamkm07@gmail.com>

* Remove backoffmaxretries from cert test

Signed-off-by: shivam <shivamkm07@gmail.com>

* go mod changes

Signed-off-by: shivam <shivamkm07@gmail.com>

* Testing higher value of timeout

Signed-off-by: shivam <shivamkm07@gmail.com>

* Testing even higher value of timeout

Signed-off-by: shivam <shivamkm07@gmail.com>

* Testing even higher value of timeout

Signed-off-by: shivam <shivamkm07@gmail.com>

* Resetting timeout

Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>

* Removing mosquitto from pubsub conformance

Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>

* Update pubsub/mqtt3/metadata.go

Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Bernd Verst <github@bernd.dev>

Signed-off-by: shivam <shivamkm07@gmail.com>
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
Signed-off-by: Bernd Verst <github@bernd.dev>
Co-authored-by: Bernd Verst <github@bernd.dev>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2023-01-18 15:53:45 -08:00
Alessandro (Ale) Segala fe8479f2d9
bindings.localstorage fixes (#2449)
* bindings.localstorage: enforcements on rootPath

Also includes ability to disallow certain root paths such as /var/run/secrets

Fixes #2444

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

* Fixed tests on Windows

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

* Fixed tests on Windows pt 2

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

* 💄

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

* Fixes #2374

- Close file descriptor after reading a file
- Report a more specific error if the file doesn't exist

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

* Updated cert tests

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

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-01-18 15:27:22 -08:00
Bernd Verst 624bb4adaf Addresses UUID CVE in Apache Dubbo Binding
Signed-off-by: Bernd Verst <github@bernd.dev>
2023-01-18 09:57:15 -08:00
addjuarez 8f634e6143 mod tidy
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-18 01:44:09 +00:00
addjuarez c8c5fe1350
Merge branch 'master' into pulsarTests
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-17 18:13:25 -06:00
Bernd Verst 20a872bfdd Update SDKs to their latest minor versions
Signed-off-by: Bernd Verst <github@bernd.dev>
2023-01-13 15:26:02 -08:00
addjuarez 869ed1019b mod tidy
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-13 19:26:45 +00:00
addjuarez 82bcb8cede
Merge branch 'master' into pulsarTests 2023-01-13 13:25:39 -06:00
addjuarez 29d543599b Add deliverAt Test
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-13 19:15:46 +00:00
ItalyPaleAle 2afca71c2a Renamed mqtt components to mqtt3
Fixes #2359

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-01-13 09:51:30 -08:00
Bernd Verst cfa2f662f0 modtidy-all
Signed-off-by: Bernd Verst <github@bernd.dev>
2023-01-12 18:11:39 -08:00
Alessandro (Ale) Segala 6f68f17b22
Merge branch 'master' into s3-fix 2023-01-12 17:55:15 -08:00
ItalyPaleAle 9eaccaf01f Merge branch 'master' of https://github.com/dapr/components-contrib into s3-fix
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-01-12 15:16:47 -08:00
Roberto J Rojas 53789885c5 changes for conformance and certification tests
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
2023-01-12 16:15:34 -05:00
Roberto J Rojas c18fe85d46 changes for conformance and certification tests
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
2023-01-12 15:47:02 -05:00
addjuarez 329d84c552 fix go mod
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-12 18:39:33 +00:00
addjuarez 3bd4c1ddcb
Merge branch 'master' into pulsarTests 2023-01-12 11:06:54 -06:00
Bernd Verst ec3ede5fbb
Merge branch 'master' into aws-dynamodb-cert-tests-1539 2023-01-12 08:59:18 -08:00
Deepanshu Agarwal 70171fc0e1 Set runtime Running to true for cert tests
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2023-01-12 17:46:20 +05:30
Deepanshu Agarwal bb7a2ec60e drop dapr runtime fork replace
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2023-01-12 16:38:29 +05:30
addjuarez baa25a33c4 typo
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-12 06:32:28 +00:00
addjuarez 81a4375dfb refactor
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-12 06:24:55 +00:00
Roberto J Rojas 0be8350b0d adds partition key cert test
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
2023-01-11 20:42:53 -05:00
addjuarez 646aaa802c mod tidy again
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-11 22:03:09 +00:00
addjuarez 0d9fab9bf1 Merge branch 'pulsarTests' of https://github.com/addjuarez/components-contrib into pulsarTests 2023-01-11 21:52:55 +00:00
addjuarez 7d82d6ba51 mod tidy
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-11 21:52:19 +00:00
Roberto J Rojas bd0d235547 go mod tidy
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
2023-01-11 13:37:51 -05:00
Roberto Rojas 91d7e75c6d
Merge branch 'master' into aws-dynamodb-cert-tests-1539 2023-01-10 18:22:28 -05:00
ItalyPaleAle 2634e85e81 Merge branch 'master' of https://github.com/dapr/components-contrib into s3-fix 2023-01-10 14:47:10 -08:00
Bernd Verst 69652317fd
Merge branch 'master' into pulsarTests 2023-01-10 14:23:54 -08:00
ItalyPaleAle 80dbd4f878 Misc improvements and fixes to S3 binding
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-01-10 18:14:01 +00:00
ItalyPaleAle e948bef04a ⚙️🧹
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-01-10 18:10:25 +00:00
ItalyPaleAle 02d478785b Merge branch 'master' of https://github.com/dapr/components-contrib into fix-2422 2023-01-10 17:44:39 +00:00
ItalyPaleAle d6bb5a7232 ⚙️🧹
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-01-10 17:44:37 +00:00
Deepanshu Agarwal b2d8e6013b
Add bulkSubscribe request params to SubscribeRequest (#2405)
* Add bulkSubscribe configuration params

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* Replace dapr/dapr package to run cert tests

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* Change bulkSubscribe param types

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* Update latest dapr/dapr fork

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* Update correct dapr/dapr version

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* change BulkSubscribeRequest to Config

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* Update dapr/dapr version for cert

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* Update with latest dapr fork

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2023-01-10 09:30:25 -08:00
Bernd Verst 627e09ca4f
Merge branch 'master' into pulsarTests 2023-01-09 17:24:27 -08:00
addjuarez 31c7a8bbbf mod tidy
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-09 15:22:56 +00:00
addjuarez e2598e56cc Add pulsar cert tests
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-09 15:06:27 +00:00
Bernd Verst 4a600d1bf2
Merge branch 'master' into berndverst-patch-6 2023-01-08 18:50:00 -08:00
Roberto Rojas 88593fff0e
AWS SNS/SQS PubSub Certification Tests - Exiting Queue/Topics tests (#2416)
* adds exiting queue/topic tests

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

* fixes as per PR review

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

Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
Co-authored-by: Bernd Verst <github@bernd.dev>
2023-01-06 18:59:40 -08:00
Bernd Verst a637faea22
Fix State Azure Blob cert test
State Azure Blob Cert test: AAD test was not actually using AAD

Signed-off-by: Bernd Verst <github@bernd.dev>
2023-01-06 16:15:08 -08:00
Roberto Rojas d47921f0f9
Merge branch 'master' into aws-dynamodb-cert-tests-1539 2023-01-06 18:26:37 -05:00
Joni Collinge 382f84f30c
Add support for Azure Service Bus sessions for topics (#2346)
* WIP: ASB sessions

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* WIP: Support ASB sessions

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Add metadata

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* remove dead code

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* lint

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Add sessionIdleTimeoutInSec md

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Support blank session IDs

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* If require sessions and no session id, set blank

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* move session config to per subscription metadata

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* add some unit tests

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* lint

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* remove auto blank session id

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* go mod tidy

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* add basic cert test

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* update comment

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* remove dead code

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* remove dead code

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Update certification test

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Add comment

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Add cert test for roundrobin

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* go mod tidy

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Update readme

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Use struct for NewSubscription to simplify parameters

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Address feedback

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Address feedback

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Only async receive

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* isTruthy on map without check

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Use if not select for context check

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* Feedback

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* lint

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

Signed-off-by: Joni Collinge <jonathancollinge@live.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2023-01-06 09:59:26 -08:00
Roberto J Rojas e4719d7d7a Merge branch 'master' into aws-pubsub-cert-tests-1339
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
2023-01-05 11:32:40 -05:00
Bernd Verst be093538f7
Merge branch 'master' into master 2023-01-04 14:35:59 -08:00
Roberto Rojas 390a2fa78d uses AWS environment variables
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2023-01-03 18:43:18 -05:00
Roberto Rojas 97d6ba323b fixes go mod tidy
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2023-01-03 15:28:42 -05:00
Roberto Rojas 84783c12e3
Merge branch 'master' into aws-pubsub-cert-tests-1339 2023-01-03 13:08:25 -05:00
Bernd Verst 01ce51c8eb
Merge branch 'master' into postgres-pgx 2022-12-29 13:24:09 -08:00
Bernd Verst 8e74935ff3 remove replace of dapr runtime
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-29 12:41:46 -08:00
Bernd Verst e794fb9529
Merge branch 'master' into master 2022-12-28 16:42:34 -08:00
Roberto Rojas 76f2911548 adds ttl test
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-23 12:33:39 -05:00
Roberto Rojas 1a8c98bfc7 adds dynamodb helper
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-22 14:25:41 -05:00
Roberto Rojas 1eb684a0c7 starts AWS DynamoDB certification tests
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-21 14:25:19 -05:00
Roberto Rojas e6480a3e5b go mod tidy fixes
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-21 12:36:58 -05:00
Roberto Rojas e108696af0 Merge branch 'aws-pubsub-cert-tests-1339-delete-queues' into aws-pubsub-cert-tests-1339
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-21 10:49:21 -05:00
Mukundan Sundararajan bc63181106 drop replace for dapr runtime in cert tests
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-21 20:57:44 +05:30
ItalyPaleAle 80b1bb14b7 Changed postgres state store to use pgx instead of db/sql
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-20 22:45:38 +00:00
Roberto Rojas 5f905d3b99
Merge branch 'master' into aws-pubsub-cert-tests-1339 2022-12-20 16:26:28 -05:00
Mukundan Sundararajan 805d7c17d3 remove replace for k8s client
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-20 23:44:30 +05:30
Mukundan Sundararajan fac573de8e fix dependency for dapr/dapr based on PR
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-20 23:13:31 +05:30
Mukundan Sundararajan cff6d7b6b1 Merge remote-tracking branch 'upstream/master' into optimize-bulkpubres-struct 2022-12-20 23:04:19 +05:30
Bernd Verst a7d1e9e250
Merge branch 'master' into master 2022-12-19 15:02:32 -08:00
seachen 5dda098868 feature: add context to lock&pubsub API
Signed-off-by: seachen <seachen@tencent.com>
2022-12-19 09:11:53 +08:00
Roberto Rojas 242f842bbe adds delete queues as part of test teardown
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-17 18:27:16 -05:00
Roberto Rojas 8fbb123509 starts tests teardown
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-17 12:11:06 -05:00
Mukundan Sundararajan 3d02c56842 Fixed go.mod issues
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-17 11:19:25 +05:30
Mukundan Sundararajan b7817c0ee7 Merge branch 'master' into optimize-bulkpubres-struct 2022-12-17 11:05:39 +05:30
Roberto Rojas 55015adfe2
Merge branch 'master' into aws-pubsub-cert-tests-1339 2022-12-16 17:41:57 -05:00
Bernd Verst 3e08736911
Add support for Redis 7 in all Dapr Components (#2228)
* Add support for Redis 7

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Add Redis 7 to conformance tests

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* automatically detect redis version, make redis7 state conformant

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Additions for REDIS without JSON support

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Return helpful query API error when missing redis-json

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Change Redis 7 port for conformance test

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Fix nil reference

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

* Update Redis7 port

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Enable ContextTimeoutEnabled for Redis v9 client

Co-Authored-By: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Add timeouts, address code review

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Add another timeout

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Redis: so much more context

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* modtidy

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* fix issue from latest merge

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* modtidy

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Add generic redis nil error

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* fix redis version check

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* upgrade redis v9 client

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Remove flaky redis v7 pubsub conformance test

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* modtidy

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-16 14:12:11 -08:00
Mukundan Sundararajan f69306a123
Merge branch 'master' into optimize-bulkpubres-struct 2022-12-17 01:51:53 +05:30
Bernd Verst 16e1be02d1
Merge branch 'master' into master 2022-12-16 11:54:51 -08:00
Bernd Verst 26bdd61c23
Merge branch 'master' into postgres-ttl 2022-12-16 10:43:18 -08:00
Bernd Verst 05fbe79162
Merge branch 'master' into fix_kafka_cert 2022-12-15 16:28:23 -08:00
ItalyPaleAle b5373355e2 Merge branch 'master' of https://github.com/dapr/components-contrib into postgres-ttl 2022-12-15 10:18:57 -08:00
Mukundan Sundararajan 5a2be14231 fix cert test dependency to dapr/dapr PR dependency
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-15 23:05:11 +05:30
Mukundan Sundararajan 0841b3d846 Merge branch 'master' into optimize-bulkpubres-struct 2022-12-15 23:00:34 +05:30
seachen 1ea2cff9fd feature: add context to lock&pubsub API
Signed-off-by: seachen <seachen@tencent.com>
2022-12-15 09:53:32 +08:00
Roberto Rojas 9eb0951514 fixes go mod tidy
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 20:45:47 -05:00
Roberto Rojas 9ba6374e96
Merge branch 'master' into aws-pubsub-cert-tests-1339 2022-12-14 20:09:32 -05:00
Roberto Rojas c9b74c2faf fixes go mod tidy error
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Roberto Rojas c2031db618 adds running tests instructions
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Roberto Rojas 8849a39856 adds Verify data with an optional parameter `defaultMessageTimeToLiveInSec` set test
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Roberto Rojas ecf18343c4 adds Verify with an optional parameter `disableEntityManagement` set to true test
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Roberto Rojas 0bfca37e9f adds data with a topic that does not exist test
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Roberto Rojas 830a5eed63 adds multiple publishers / multiple subscribers with different consumerIDs tests
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Roberto Rojas 28ef94342e adds single publisher / multiple subscribers with different consumerIDs
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Roberto Rojas e529d60c9b message changes
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Roberto Rojas 728f83e058 adds single publisher / multiple subscribers with same consumerID test
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Roberto Rojas abb6185dff adds README
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Roberto Rojas 61fb0731d1 better message assert reporting
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Roberto Rojas 79d863761e starts AWS SNS/SQS Certification Test Code
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-14 19:54:35 -05:00
Bernd Verst 64a2c3aad1 Revert "revert amqp changes, eventhubs library update"
This reverts commit b236279d81.
2022-12-14 16:19:06 -08:00
Bernd Verst b236279d81 revert amqp changes, eventhubs library update
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-14 15:05:56 -08:00
seachen 6052c9a8be feature: add context to lock&pubsub API
Signed-off-by: seachen <seachen@tencent.com>
2022-12-14 22:26:50 +08:00
seachen d4594c9acd feature: add context to lock&pubsub API
Signed-off-by: seachen <seachen@tencent.com>
2022-12-14 20:57:07 +08:00
seachen 49ee0616be feature: add context to lock&pubsub API
Signed-off-by: seachen <seachen@tencent.com>
2022-12-14 20:48:13 +08:00
Mukundan Sundararajan 412bf8f2a9 fix cert test dependency to dapr/dapr PR dependency
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-14 11:42:32 +05:30
Mukundan Sundararajan 71a543aed7 fix cert test dependency to dapr/dapr PR dependency
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-14 11:01:51 +05:30
Mukundan Sundararajan 4b1bb38820 Merge branch 'master' into optimize-bulkpubres-struct 2022-12-14 10:52:40 +05:30
Bernd Verst efc91ce507 pin cert test kube client to match pinned dapr/dapr
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-13 17:20:29 -08:00
Bernd Verst 0d7a7e73db pin latest dapr
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-13 17:10:10 -08:00
ItalyPaleAle b1cc54f62c Merge branch 'master' of https://github.com/dapr/components-contrib into postgres-ttl
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-13 21:16:57 +00:00
Bernd Verst c6801c49a1 Pin custom form due to state interface change
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-13 13:09:04 -08:00
Bernd Verst 946221d594 Merge remote-tracking branch 'upstream/master' into upgradesdks 2022-12-13 12:55:58 -08:00
Bernd Verst 0a65b3df73 pin cert test kube client to match pinned dapr/dapr
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-13 12:54:15 -08:00
Bernd Verst b9bf63f462 make modtidy-all
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-13 12:30:01 -08:00
Bernd Verst fce17f592e Update SDKs again
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-13 12:27:40 -08:00
Bernd Verst 12f87715a3
Merge branch 'master' into upgradesdks 2022-12-13 10:05:27 -08:00
Sarthak Sharma 89d0f1e3e0 enable retry in component manifest
Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>
2022-12-13 22:02:41 +05:30
Mukundan Sundararajan 2399f2abe4 fix cert test dependency to dapr/dapr PR dependency
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-13 19:54:11 +05:30
Mukundan Sundararajan f7cd6785b4 fix cert test dependency to dapr/dapr PR dependency
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-13 17:52:50 +05:30
Mukundan Sundararajan e83da86040 fix cert test dependency to dapr/dapr PR dependency
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-13 17:40:53 +05:30
Mukundan Sundararajan 3f5431f76d fix cert test dependency to dapr/dapr PR dependency
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-13 17:26:40 +05:30
Mukundan Sundararajan 0b61655fd0 fix cert test dependency to dapr/dapr PR dependency
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-13 11:52:24 +05:30
Sarthak Sharma 83553cedd7 merge retry test
Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>
2022-12-09 15:49:33 +05:30
Sarthak Sharma deee1bfb10 change binding test to no auth
Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>
2022-12-09 01:24:31 +05:30
Sarthak Sharma 240ea25ac1 change pubsub test to no auth
Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>
2022-12-09 00:53:59 +05:30
1046102779 eeadb56d22 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-12-08 16:41:11 +08:00
1046102779 0b0a7298f6 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-12-08 16:24:53 +08:00
1046102779 2dd7433a59 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-12-08 15:56:51 +08:00
ItalyPaleAle 413ee92d88 We don't need locks when we do things atomically
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-06 01:27:17 +00:00
ItalyPaleAle 64a70c230c Fixed handling of concurrent background cleanups and added cert tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-06 01:24:22 +00:00
ItalyPaleAle d4dcc54e29 Improved concurrency handling for migrations
And added cert test for that

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-05 21:00:31 +00:00
ItalyPaleAle 4d9bae154f First new conformance tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-05 20:03:23 +00:00
Sarthak Sharma a4b27ae49b
fix flaky tests (#2338) 2022-12-03 13:59:42 -08:00
Bernd Verst 433be3c32c upgrade a bunch of SDKs
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-02 14:40:20 -08:00
Sarthak Sharma 0e0cf8fe58
Add certification tests for Cron Binding (#2191)
* fix typos

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* add basic tests

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* update tests

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* add Readme

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* update mod file

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* add entry in workflow

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* add conformance test

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* add conformance tests to workflow

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* use watcher to assert

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* update readme

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* fix linting

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* Apply suggestions from code review

Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* change to dapr/go-sdk from hunter007/dapr-go-sdk

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* fix cron delete operation

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* add check if cron not triggered after delete

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* update README

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* parameterise application and assertions

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* use mock clock for cron

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* change cron to input only binding

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* add forked cron library to internal/cron

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* use cron internal fork for binding

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* resolve comments

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* resolve comments

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* add test matrix to test various schedules

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* add cron init unit tests

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* resolve comments

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* fix linting

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* fix linting

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* go modtidy all

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* go modtidy

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* move cron fork to dapr/kit

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

* use pinned v0.0.3 for dapr/kit

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.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: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2022-12-02 02:30:01 -08:00
Tiago Alves Macambira b56d13a904
Merge branch 'master' into VaultMoreTestsRebased 2022-11-30 11:09:24 -08:00
Ryan Lettieri 46fabfa0fe
Creation of Certification Test for CockroachDB (#2222)
* First commit of cockroachDB cert test but it has some errors when stopping/starting container

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Creation of CockroachDB certification test

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Removing ping function from cockroachDB deleteValue func

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Spelling mistake and moving Ping function in cockroachDB into Init method

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* First set of updates for cockroachDB cert PR

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* More updates to cockroachDB cert test

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Lint fix for cockrochdb

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Fixes to go.mod and go.som files for cockroachDB

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Renaming variable for number of connection retry attempts

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Removing ttl from cockroach metadata in test

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Updating go.mod files to master and updating retry in cockroachDB

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
Co-authored-by: Ryan Lettieri <ryanLettieri@microsoft.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-29 09:35:48 -08:00
Tiago Alves Macambira 5e6d7c13ce
Merge branch 'master' into VaultMoreTestsRebased 2022-11-28 17:40:23 -08:00
Tiago Alves Macambira cdac8123f3 Small fixes (documentation, comments)
Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
2022-11-28 17:39:59 -08:00
Tiago Alves Macambira 97bb296ffc Fixes in response to code review.
* Removes emojis from output
* Auto-generate certificates on the fly
* Move helper methods out of vault_test.go and into helper files.

Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
2022-11-28 17:08:03 -08:00
Bernd Verst b76192b4f7
Merge branch 'master' into azblobbindingtrack2 2022-11-28 16:19:58 -08:00
Ryan Lettieri f540465689 Cleaning up cosmosdb statestore test
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-11-28 15:27:24 -08:00
Ryan Lettieri c736bcc506 Hotfix for StateTransactionRequest with etag crash
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-11-28 15:27:14 -08:00
Tiago Alves Macambira 9d6f1e0ded Additional tests for Hashicorp Vaul Secret Store certification.
* This PR adds additional tests to complete vault certification.
  A detailed test plann is added to its README.
* Fixes a vault behaviour regarding its multiple key-values per
  secret behaviour when its `valueType` flag is set to `text`.

This is a follow up to dapr/components-contrib#2140.

Closes #1926.

Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
2022-11-25 19:19:02 -08:00
mecoding1 eaf64b36c4 add custom application properties customValue to custom-value
Signed-off-by: mecoding1 <118708378+mecoding1@users.noreply.github.com>
2022-11-22 12:48:19 +00:00
mecoding1 093b6aa525 Add custom application properties to tests/certification/pubsub/azure/eventhubs/send-iot-device-events.sh
Signed-off-by: mecoding1 <118708378+mecoding1@users.noreply.github.com>
2022-11-22 12:48:19 +00: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 17d38d7f65 fix blob storage cert test
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-17 19:54:32 -08:00
Bernd Verst 51e0aa992c Azure Blobstorage Binding: Migrate to Track2 Azure SDK
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-17 19:54:32 -08:00
Bernd Verst a76d4b25af fix servicebus topics certification test
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-16 16:12:42 -08:00
Bernd Verst d7dd4799d0 ASQ Binding: Cert Test: Add queue visibilityTimeout test
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-16 15:28:10 -08:00
Taction 9870c5e33b
Add pubsub rabbitmq TTL support (#2093)
* Add pubsub rabbitmq TTL support

Signed-off-by: zhangchao <zchao9100@gmail.com>

* fix review: remove queue level ttl, both ttl is handled when publishing, to make message ttl has priority over queue level ttl

Signed-off-by: zhangchao <zchao9100@gmail.com>

* add rabbitmq ttl certificate test

Signed-off-by: zhangchao <zchao9100@gmail.com>

* fix lint

Signed-off-by: zhangchao <zchao9100@gmail.com>

* fix ttl certificate test precreate topic

Signed-off-by: zhangchao <zchao9100@gmail.com>

* tiny fix tests

Signed-off-by: zhangchao <zchao9100@gmail.com>

Signed-off-by: zhangchao <zchao9100@gmail.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-11 11:34:33 -08:00
Bernd Verst 73ec4e3cfc Storage Queues Binding: Add b64encoding option for messages
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-08 21:35:56 -08:00
Bernd Verst 4b490adff9 Merge remote-tracking branch 'upstream/master' into kubemq-io/master
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-07 11:28:25 -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
Crypt Keeper f96873428e
Adds http-wasm middleware to replace basic (#2239)
* Adds http-wasm middleware to replace basic

Signed-off-by: Adrian Cole <adrian@tetrate.io>

* pre-release dapr/kit for logging

Signed-off-by: Adrian Cole <adrian@tetrate.io>

* Log.IsEnabled

Signed-off-by: Adrian Cole <adrian@tetrate.io>

Signed-off-by: Adrian Cole <adrian@tetrate.io>
2022-11-03 20:03:48 -07:00
Bernd Verst 6df7f09927 Fix linter issues, update test config, rebase upstream
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-02 15:15:45 -07:00
1046102779 61d82465c2 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-11-02 20:18:45 +08:00
1046102779 c64de57361 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-11-02 09:57:27 +08:00
1046102779 8c2df7e873 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-11-02 09:54:44 +08:00
Bernd Verst dda9539ba7 modtidy-all
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-01 16:15:19 -07:00
Bernd Verst 27365fbb35 Update many libraries again
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-01 16:00:27 -07:00
Bernd Verst 74b0d10d00 Update cert tests dapr/dapr
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-01 16:00:27 -07:00
ItalyPaleAle f7a01e65b0 Merge branch 'master' of https://github.com/dapr/components-contrib into feature/state_context1021
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-01 21:45:59 +00:00
ItalyPaleAle 4d34ced8e5 ⚙️🧹
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-01 20:02:26 +00:00
ItalyPaleAle 33ac069736 Work on cert tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-01 19:42:55 +00:00
ItalyPaleAle 576c62b0f1 Added tests for metadata properties schemaName/tableName
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-01 16:27:16 +00:00
ItalyPaleAle 14a46122e4 Fixed missing import
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-31 19:49:49 +00:00
ItalyPaleAle 374a26c681 Added cert test for state.mysql
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-31 19:30:33 +00:00
1046102779 8d856480a7 Merge branch 'master' into feature/state_context1021 2022-10-26 17:23:35 +08:00
1046102779 b42d9ab730 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-25 07:26:56 +08:00
1046102779 203c6c7757 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-25 07:21:35 +08:00
ItalyPaleAle d33cc5963e More fixes to ASB cert tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-24 22:23:29 +00:00
Alessandro (Ale) Segala cc856d4e13
Fix Azure Service Bus cert/conf tests (#2218)
* Correct location for certification test

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

* Removed log file added by mistake

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

* Fixed parsing metadata for ASB Queue binding

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

* Fixed replace path

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

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-24 15:05:36 -07:00
Alessandro (Ale) Segala 04242ce38a
New PubSub component: Azure Service Bus Queues (#2211)
* Implementation for Azure Service Bus Queue pubsub component

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

* Fixed syntax errors in unused files

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

* Moved components to subfolders and enabled conf tests

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-10-24 14:07:23 -07:00
1046102779 35b85d8458 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-24 11:27:34 +08:00
1046102779 1ed4c39d8c feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-24 10:16:21 +08:00
1046102779 9ef3f315cb feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-21 21:25:07 +08:00
1046102779 08f665cb83 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-21 21:05:47 +08:00
1046102779 d58e6a3445 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-21 19:08:52 +08:00
shivam 8533feb87f Upgrade mqtt component to upstream
Signed-off-by: shivam <shivamkm07@gmail.com>
2022-10-21 14:39:46 +05:30
Bernd Verst e1ce892c3f upgrade more libraries again
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-19 18:19:35 -07:00
Bernd Verst 345dcbd2a9 Postgresql Certification: Fix wrong Etag test
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-14 17:53:37 -07:00
Bernd Verst 72ffacf656 Update more libraries and clean up go.mod
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-14 15:16:02 -07:00
Bernd Verst 83a562d71a update lots of dependencies
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-11 14:01:38 -07:00
Bernd Verst b9654bd979 upgrade to v5 of jackc/pgx
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-10 15:08:07 -07:00
Bernd Verst 4d57dedd88 Upgrade deps of stable components to latest minor releases
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-10 14:15:26 -07:00
Tomasz Pietrek 0aa3b0d688 Tidy go modules
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
2022-10-07 09:56:00 +02:00
Yaron Schneider 7c3843f988
Change hunter007 fork to latest go-sdk (#2151)
* change hunter007 fork to latest go-sdk

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

* add GOLANG_PROTOBUF_REGISTRATION_CONFLICT

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

Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-10-05 12:19:52 -07:00
amulyavarote 166d91db0d
Added dapr RC version in the certification tests (#2149)
* Added dapr RC version in the certification tests

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Result of make modtidy-all command

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
2022-10-03 16:58:06 -07:00
Tiago Alves Macambira 4b09c92ca5
Certification tests for HashiCorp Vault Secret Store. (#2140)
* Certification tests for HashiCorp Vault Secret Store.

Closes #1926

Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>

* Remove check for Feature/Capabilities as it is not exposed correctly under dapr 1.8.

We can re-enable those tests and verifications when this is fixed on dapr/dapr.

Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>

* Add network instability to test plan and execution.

Signed-off-by: Tiago Alves Macambira <macambira@gmail.com>

* Fix typo

Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>

* Ensure Vault exposes feature FeatureMultipleKeyValuesPerSecret.

We now depend on a pinned version of dapr/dapr, one that includes
dapr/dapr#5208. By doing so we could enable feature/capabilities
introspection using the metadata API.

Signed-off-by: Tiago Alves Macambira <macambira@gmail.com>

* Fix mod tidy

Signed-off-by: Tiago Alves Macambira <macambira@gmail.com>

* Remove mention to memcache

Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>

Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
Signed-off-by: Tiago Alves Macambira <macambira@gmail.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-29 12:20:20 -07:00
Bernd Verst 7107eee52e
Merge branch 'master' into memcached_certification_i1929-rebased 2022-09-23 14:36:34 -07:00
Tiago Alves Macambira 8e4af0a3a4 Certification tests for MemCached State Store component.
* Add network instability tests.
* Fixed gofumpt issues.
* Addresses TTL translation from Dapr and Memcache domains.

    Memcached uses `0` as the non-expiring marker TTL.
    [src](https://github.com/memcached/memcached/wiki/Commands#set).

    On the other hand, Dapr uses `-1` for that.
    [src](https://docs.dapr.io/developing-applications/building-blocks/state-management/state-store-ttl/)

    This PR updates certification and memcached code and tests so Dapr -1 (and negative)
    values are translated to Memcached's `0`.

Closes #1929

Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
2022-09-22 18:26:55 -07:00
Mukundan Sundararajan 2817724483
Merge branch 'master' into postgresql_config_store 2022-09-22 13:41:16 +05:30
Bernd Verst aab8d44df3 import latest dapr/dapr in cert tests
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-21 23:18:41 -07:00
Bernd Verst 44027d34cc
Merge branch 'master' into certtestupdate 2022-09-21 23:16:27 -07:00
Bernd Verst ad4149493b make modtidy-all
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-21 23:52:53 +00:00
Bernd Verst bfab257f4d reset certification tests
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-21 23:52:23 +00:00
Bernd Verst 4f2e533c3c pin latest dapr/dapr in cert tests
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-21 15:44:01 -07:00
Bernd Verst 5fb80ebf10 pin latest dapr/dapr in cert tests
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-21 15:35:06 -07:00
Bernd Verst 0510b094bf Use latest Azure SDK for Go minor / patch SDK versions
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-21 14:54:24 -07:00
Bernd Verst 3e8b706dce import latest dapr/dapr in cert tests
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-21 14:12:34 -07:00
akhilac1 90ba8a441d fix modtidy
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-21 09:48:41 +05:30
akhilac1 10ec970b0f Merge remote-tracking branch 'upstream/master' into postgresql_config_store 2022-09-19 16:45:19 +05:30
akhilac1 1e1fa2ccfa Fixing mod tidy
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-19 16:29:08 +05:30
Artur Souza dfb8dbce41
Merge branch 'master' into Cosmosdb_track2 2022-09-18 19:42:10 -07:00
Ryan Lettieri 831f3d0dd2 Make mod tidy error
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-16 15:09:53 -06:00
Alessandro (Ale) Segala 31a8be18da
Merge branch 'master' into Cosmosdb_track2 2022-09-16 13:49:29 -07:00
Bernd Verst f4a149763f make modtidy-all
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-16 13:34:28 -07:00
Bernd Verst d63ccc3713
Merge branch 'master' into redis_binding 2022-09-15 16:03:54 -07:00
Ryan Lettieri b2f4f1fe17
Merge branch 'master' into Cosmosdb_track2 2022-09-15 15:25:26 -06:00
Yash Nisar f8ef22be0a Add Redis binding certification tests
Closes https://github.com/dapr/components-contrib/issues/1939

Signed-off-by: Yash Nisar <yashnisar@microsoft.com>
2022-09-14 19:06:25 -05:00
Bernd Verst fdf5d6eedd pin custom dapr/dapr for secretstore ctx
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-14 16:28:18 -07:00
Dapr Bot 6f574eac0a
Merge branch 'master' into cert_postgres_bindings 2022-09-14 15:32:00 -07:00
yellow chicks 57b5acc1cb
feature(secretstore): add context to api and tencent/ssm (#1973)
* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* feature(secretstore): add context to api and tencent/ssm

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

* Add Features list to Tencent SSM

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* pin custom dapr in cert tests for bindings context change

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* feature(secretstore): add context to api and tencent/ssm

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

* optimize(middleware): Middleware to middleware.Middleware API

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

* fix pinning of custom dapr in cert tests

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update cassandra cert test with new secretstore context

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* modtidy again

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: 1046102779 <seachen@tencent.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-09-14 15:18:12 -07:00
Dapr Bot 84304d7b65
Merge branch 'master' into cert_postgres_bindings 2022-09-14 14:07:00 -07:00
Bernd Verst b68448184b Merge remote-tracking branch 'upstream/master' into Cosmosdb_track2 2022-09-14 14:06:58 -07:00
addjuarez 81848149eb
Add apache cassandra certification tests (#1985)
* Add apache cassandra certification tests

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* go mod tidy

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* add cassandra to pr

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* update mod

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* wait for sidecar

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* shorten time

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* uncomment

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* tidy

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* fix docker reset

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* remove caps

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* update copyright date

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* go mod tidy

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* tidy

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* go-sdk

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* add component changes

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* update tests

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* typo

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* updates

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* update readme

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* go mod tidy

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* go mod tidy

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

* uncomment network

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>

Signed-off-by: Addison Juarez <adjuarez@microsoft.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-09-14 13:56:25 -07:00
Dapr Bot d141064ff1
Merge branch 'master' into cert_postgres_bindings 2022-09-14 13:47:20 -07:00
Crypt Keeper b379f80b75
middleware: changes wasm basic to use waPC (#1833)
Updates wasm basic middleware and simplifies some code inside of it,
notably by using [waPC](https://github.com/wapc/wapc-go).

This changes the entrypoint function to be named "rewrite" and
uses a pool because known memory allocators are not goroutine
safe.

Signed-off-by: Adrian Cole <adrian@tetrate.io>

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-09-13 17:12:59 -07:00
Amulya Varote 0f61e54fa0 Changes based on the review comments
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
2022-09-12 15:17:44 -07:00
Amulya Varote 71416dd6cd Added certification tests for postgres output binding
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
2022-09-12 15:17:44 -07:00
Bernd Verst 5d7367c335 CosmosDB State: Use document enveloped, handle doc NotFound
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-09 00:24:48 +00:00
Bernd Verst 6d72aff573 modtidy
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-08 15:25:54 -07:00
Ryan Lettieri e012a807b7 Upgrading cosmosdb statestore to track2SDK
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-08 15:25:33 -07:00
Shivam Kumar 2b5650c2fa
Certification test for Azure CosmosDB Statestore (#1972)
* Certification test for Azure CosmosDB

Signed-off-by: shivam <shivamkm07@gmail.com>

* Updating go.mod

Signed-off-by: shivam <shivamkm07@gmail.com>

* make motidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* CosmosDB Cert Test: Apply Dapr Runtime updates, Go version update etc

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: shivam <shivamkm07@gmail.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-08 15:18:03 -07:00
Yash Nisar 8e4dade7ed Add certification tests for MongoDB state store
Closes https://github.com/dapr/components-contrib/issues/1938

Signed-off-by: Yash Nisar <yashnisar@microsoft.com>
2022-09-07 18:45:50 -05:00
Bernd Verst d7105612e8 Add Go vulnerability check to workflow
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-06 10:07:06 -07:00
Bruce Huang c59d27f9e6
Add certification tests for the local storage binding and fix module name & package version conflicts (#1986)
* fix package name & package version conflicts

Signed-off-by: helbing <helbingxxx@gmail.com>

* add certification tests for local_storage binding

Signed-off-by: helbing <helbingxxx@gmail.com>

* fix conflict

Signed-off-by: helbing <helbingxxx@gmail.com>

* Update tests/certification/bindings/alicloud/nacos/go.mod

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update tests/certification/bindings/alicloud/dubbo/go.mod

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update tests/certification/bindings/localstorage/go.mod

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Pin latest dapr/dapr in certification tests and modtidy

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* update certification test due to API changes

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update component loader codepath

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: helbing <helbingxxx@gmail.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-29 13:05:37 -07:00
Bernd Verst 385bb9fe82
Azure Service Bus Queues Binding: disable entity management option (#2022) 2022-08-26 23:49:39 -07:00
Bernd Verst 615ed7acb3
pin latest dapr/dapr in certification tests (#2019)
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-26 09:46:47 -07: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
Ian Luo b4ac2406c0
fix: Converting configuration API response from an array to dictionary (#1771)
* fix: Converting configuration API response from an array to dictionary #1770

Signed-off-by: Ian Luo <ian.luo@gmail.com>

* fix compilation error in unit test

Signed-off-by: Ian Luo <ian.luo@gmail.com>

* fix lint issue

Signed-off-by: Ian Luo <ian.luo@gmail.com>

* Also update appconfig configuration store to return dict

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* temporarily pin custom dapr/dapr

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* modtidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* remove embedded stream request body option

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* pin custom go-sdk with config dict change

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: Ian Luo <ian.luo@gmail.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Loong Dai <long.dai@intel.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-25 13:35:02 -07:00
Marcos Candeia 8964d8bf41
Define common metadata across components (#1994)
* Add base metadata for all components

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

* Fix lint issues on consul and mysql tests

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

* Pin candeia/dapr runtime version

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

* Add replace directive to use mcandeia/dapr on all go submodules

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

* Fixed runtime config instantiation

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
2022-08-25 10:10:53 -07:00
amulyavarote 5595de67e3
Corrected module name in go mod file (#2002)
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
2022-08-23 09:49:51 -07:00
amulyavarote a69b9b946c
Added certification tests to rabbitMQ bindings (#1919)
* Added certification tests to rabbitMQ bindings

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Resolving merge conflicts

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Keep queue names different

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* go mod tidy changes

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Branch update

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Added a test case for network interruption

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Fixed network interruption test case

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Changed go mod file

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Added a test case for exclusive attribute

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* go mod tidy execution changes

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Modified test case for rabbitmq

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* changed exclusive mode test case

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* go mod tidy fix

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* remove unnecessary imports, use go1.19 and modtidy

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update tests/certification/bindings/rabbitmq/rabbitmq_test.go

* Changed README file

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

Signed-off-by: Amulya Varote <amulyavarote@microsoft.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-22 18:07:57 -07:00
amulyavarote aad920f307
Added certification tests for azure service bus pubsub (#1937)
* Added certification tests for azure service bus

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Changed connection string to the key name

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* go mod tidy diff check

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Added network interruption and corrected README

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Changed config file

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Changed topic name

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Added default topic

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Changes based on the review comments

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Executed go mod tidy

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Enabled the test

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Enabled the test

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Seperate flows for the tests

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Added network interruption case

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Changed a couple of test cases

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Infrastructure change to include service bus namespace

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* go mod tidy fix

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Update .github/infrastructure/conformance/azure/setup-azure-conf-test.sh

* Update .github/workflows/certification.yml

* Grant test service principal access to service bus

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Remove unnecessary replacement of OTEL library

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update tests/certification/pubsub/azure/servicebus/go.mod

Signed-off-by: Amulya Varote <amulyavarote@microsoft.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-22 17:26:04 -07:00
Bernd Verst 7ea9a4258b
Upgrade cert tests to go1.19, latest dapr (#1995)
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-22 13:11:18 -07:00
Bernd Verst e87cd5e4cb
Go 1.19 support and linter fixes (#1975)
* Go 1.19 support and linter fixes

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update workflows for Go1.19 and new linter version

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Remove unnecessary space in nolint directive

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* disable additional linters which aren't used because of Go generics

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* enable gosec linter again

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update bindings/zeebe/command/publish_message_test.go

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update bindings/output_binding.go

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Use prepared statement for mysql table creation

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Ping is not ping

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* c'mon linter

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Fix MySQL gosec issue

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* revert mysql to be fixed later

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-18 00:45:23 -07:00
halspang 4bc800f612
Allow metadata to flow through service bus queue (#1911)
* Allow metadata to flow through service bus queue

This commit lets metadata bind to a message and be read when
the message is received. This allows for the distributed tracing
of events.

Signed-off-by: Hal Spang <halspang@microsoft.com>

* Remove saved fields from ApplicationProperties

Signed-off-by: Hal Spang <halspang@microsoft.com>

* Add a certification test for metadata

Signed-off-by: Hal Spang <halspang@microsoft.com>

Signed-off-by: Hal Spang <halspang@microsoft.com>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-15 17:31:14 -07:00
qiangmzsx 79a3cd990a
Removing the use of the ioutil package And Fix CVE-2021-42576 (#1954)
* fix CVE-2021-42576

Signed-off-by: qiangmzsx <qiangmzsx@gmail.com>

* Removing the use of the ioutil package

Signed-off-by: qiangmzsx <qiangmzsx@gmail.com>

* Update middleware/http/nethttpadaptor/nethttpadaptor.go

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: qiangmzsx <qiangmzsx@gmail.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-10 13:45:00 -07:00
dependabot[bot] 823dd0bead
Bump github.com/open-policy-agent/opa from 0.40.0 to 0.42.0 (#1945)
* Bump github.com/open-policy-agent/opa from 0.40.0 to 0.42.0

Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.40.0 to 0.42.0.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v0.40.0...v0.42.0)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* make modtidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-09 15:45:58 -07:00
Carlos Mendible 794362c6c0
updated local secret stores certification test dependencies (#1948) 2022-08-09 13:28:10 -07:00
Ryan Lettieri ac1e16f58f
Adding in track2 SDK support for CosmosDB Bindings (#1876)
* Adding in track2 SDK support for CosmosDB Bindings

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Removing non needed ID check

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Addressing container read operation

Signed-off-by: Ryan Lettieri <67934986+RyanLettieri@users.noreply.github.com>

* Updating linting

Signed-off-by: Ryan Lettieri <67934986+RyanLettieri@users.noreply.github.com>

Co-authored-by: Ryan Lettieri <ryanLettieri@microsoft.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2022-08-09 12:30:00 -07:00
Carlos Mendible 5b14b00290
Certification tests for env/file secrets stores #1761 (#1846)
* Certification tests for env/file secrets store #1761

Signed-off-by: cmendible <cmendible@gmail.com>

* using testing setEnv

Signed-off-by: cmendible <cmendible@gmail.com>

* removing nestedSeparator to test default behaviour

Signed-off-by: cmendible <cmendible@gmail.com>

* make modtidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Remove unnecessary replace in go.mod s

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-08-05 16:20:11 -07:00
hypernova3 9a17d327f3
add ipfs binding (#1849)
* add web3.ipfs binding

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* Replaced go module as old versions brought in a dep with LGPL license

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* lint

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* changed cid -> path

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* add "ls" command

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* pin-ls returns cids

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* just "bindings.ipfs"

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* updated library to kubo

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* added tests

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* linted

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-05 12:53:59 -07:00
Alessandro (Ale) Segala afee7dbfb7
Ensure we're using the right version of cenkalti/backoff (#1904)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@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-08-04 18:04:37 -07:00
tanvigour 3b96384de9
Certification test for Azure Blob storage state store component (#1896)
* Certification test for Azure Blob storage state store component

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* fix comments

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* fix comments

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* rebase and run mod tidy

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* Update Readme

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-07-21 16:24:39 -07:00
Alessandro (Ale) Segala 66eee69188
pubsub.mqtt: support wildcard and shared subscriptions (#1882)
Fixes #1881

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-07-18 17:26:07 -07:00
Alessandro (Ale) Segala a6791f47dd
Updated pinned version of dapr/dapr in cert tests (#1877)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-07-13 16:17:51 -07:00