Commit Graph

908 Commits

Author SHA1 Message Date
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
Tomasz Pietrek 766b2df2fe
Fix heartbeat typo (#2430)
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>

Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
Co-authored-by: Bernd Verst <github@bernd.dev>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2023-01-12 11:21:05 -08: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
Roberto J Rojas ebc818116f adds conformance tests
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
2023-01-11 18:57:54 -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
shivam 550e6fa7d9 linter fix
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-10 01:19:42 +05:30
shivam ead9f5e6d4 better impl of AddKey redis
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-10 01:08:30 +05:30
Bernd Verst 5246de2c53
Merge branch 'master' into conformance_configAPI 2023-01-09 10:24:40 -08:00
addjuarez 31c7a8bbbf mod tidy
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-09 15:22:56 +00:00
shivam c0504b422f Removing operation from Updatevent
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 20:43:41 +05:30
addjuarez e2598e56cc Add pulsar cert tests
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2023-01-09 15:06:27 +00:00
shivam 171a61e36c making client public
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 15:29:38 +05:30
shivam d1e888afc1 Using internal redisClient interface
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 10:47:13 +05:30
shivam e9d9449a2c Handling non-existing key scenario in get
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 10:47:13 +05:30
shivam 256cd8915e Fix linter errors
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 10:47:13 +05:30
shivam bc1b84883b Fix linter errors
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 10:47:13 +05:30
shivam 4d2332aee6 Adding delete scenario in conformance test
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 10:47:13 +05:30
shivam 5ddb9dbba9 Add more scenarios
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 10:47:13 +05:30
shivam 4aff123b46 Adding Redis 7 support
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 10:47:13 +05:30
shivam d5d45350ac Formatting Changes/Comments
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 10:47:13 +05:30
shivam a23607fed2 Adding wait for subscribe to complete
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 10:47:13 +05:30
shivam c662fd2e5b Init config conformance framework
Signed-off-by: shivam <shivamkm07@gmail.com>
2023-01-09 10:47:13 +05:30
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 3efab74b51
Merge branch 'master' into postgres-pgx 2022-12-29 12:34:21 -08:00
Roberto Rojas c1a89423f6
Merge branch 'master' into aws-pubsub-cert-tests-1339 2022-12-29 09:04:08 -05:00
Mukundan Sundararajan 82c02e07c6
Merge branch 'master' into remove-replace-runtime 2022-12-29 11:44:56 +05:30
Bernd Verst 9845a76288 Merge remote-tracking branch 'upstream/master' into solacese/master 2022-12-28 17:39:08 -08:00
Bernd Verst e794fb9529
Merge branch 'master' into master 2022-12-28 16:42:34 -08:00
Bernd Verst 3645576781
Merge branch 'master' into aws-pubsub-cert-tests-1339 2022-12-28 10:57:30 -08:00
Bernd Verst df5197959a Add random docs string to trigger workflow
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-27 17:21:33 -08:00
Bernd Verst 216d9802f5
Update tests/conformance/README.md
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-27 15:52:55 -08:00
Alessandro (Ale) Segala c55a77c96a
Merge branch 'master' into remove-replace-runtime 2022-12-27 15:00:58 -08:00
Dapr Bot 31b0ab842e
Merge branch 'master' into certInfrastructure 2022-12-27 14:27:19 -08:00
ItalyPaleAle 4b5d6ceb38 Update & Fix Actions:
- Correct the path for the cloudflare.workerskv config file
- Update all Actions to newer versions to avoid warnings about Node.js 12 being deprecated soon
- Removed the deprecated Azure/get-keyvault-secrets action

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-27 19:48:59 +00: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 61300bfe60 Merge branch 'master' into aws-dynamodb-cert-tests-1539
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-23 11:24:57 -05:00
Roberto Rojas f4be75db7d Merge branch 'master' into aws-pubsub-cert-tests-1339
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-23 11:17:44 -05:00
TKTheTechie 9c28641594 Fixing linting issues, conformance infrastructure
* Fixing linting issues
* Adding infrastructure to .github/workflows
* Fixing conformance tests config to account for default anonymous config on the event broker

Signed-off-by: TKTheTechie <thomas.kunnumpurath@solace.com>
2022-12-23 08:58:41 -05:00
Bernd Verst 18de3427d4
Merge branch 'master' into certInfrastructure
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-22 16:08:13 -08:00
Alessandro (Ale) Segala ae48594e7e
Merge branch 'master' into postgres-pgx 2022-12-22 15:39:08 -08:00
Yaron Schneider 0a55ad311d
Merge branch 'master' into certInfrastructure 2022-12-22 13:12:45 -08:00
Roberto Rojas 1a8c98bfc7 adds dynamodb helper
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-22 14:25:41 -05:00
Alessandro (Ale) Segala 1629ee5972
Merge branch 'master' into cfqueues-binding 2022-12-22 11:00:26 -08:00
ItalyPaleAle 52e2589f38 Merge branch 'master' of https://github.com/dapr/components-contrib into postgres-pgx 2022-12-22 18:51:13 +00:00
TKTheTechie 57c2324670 Refactoring package names
Signed-off-by: TKTheTechie <thomas.kunnumpurath@solace.com>
2022-12-22 08:35:22 -05:00
TKTheTechie 619c35693e Adding conformance tests
Signed-off-by: TKTheTechie <thomas.kunnumpurath@solace.com>
2022-12-22 08:35:21 -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
Roberto Rojas 287ef44d7e Merge branch 'master' into aws-pubsub-cert-tests-1339
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
2022-12-21 09:16:34 -05:00
Yaron Schneider 1cd4c2182b
Merge branch 'master' into fix-nats-conformance-tests 2022-12-20 14:50:09 -08:00
Alessandro (Ale) Segala ec5791492e
Merge branch 'master' into cfqueues-binding 2022-12-20 14:49:46 -08:00
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
addjuarez 79857d2044
Merge branch 'master' into certInfrastructure 2022-12-20 13:40:18 -06: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
Tomasz Pietrek 9bfb0b1718 Fix NATS JetStream conformance tests
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
2022-12-20 11:06:47 +01:00
addjuarez f1dd26960c Use timestamp
Signed-off-by: addjuarez <addiajuarez@gmail.com>
2022-12-19 18:28:37 -06:00
Bernd Verst a7d1e9e250
Merge branch 'master' into master 2022-12-19 15:02:32 -08:00
Bernd Verst af1d2036d6
Merge branch 'master' into certInfrastructure 2022-12-19 14:48:05 -08:00
addjuarez 22ed300301 Add readme
Signed-off-by: addjuarez <addiajuarez@gmail.com>
2022-12-19 16:46:37 -06:00
Alessandro (Ale) Segala bb42483ff0
Merge branch 'master' into feature/pubsub_20221214 2022-12-19 14:05:43 -08:00
addjuarez 256959cb45 Readd docker snssqs test
Signed-off-by: addjuarez <addiajuarez@gmail.com>
2022-12-19 13:55:50 -06:00
ItalyPaleAle 280c35ed58 Workers KV: add TTL support
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-19 18:50:59 +00:00
Yaron Schneider 9a93c67b27
Merge branch 'master' into certInfrastructure 2022-12-19 10:00:24 -08:00
Mukundan Sundararajan 5ad884d924
Merge branch 'master' into optimize-bulkpubres-struct 2022-12-19 23:10:12 +05:30
ItalyPaleAle 2446a698cb Renamed KV -> Workers KV to be consistent with branding
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-19 17:35:53 +00:00
ItalyPaleAle d50ad603be Merge branch 'master' of https://github.com/dapr/components-contrib into cfqueues-binding 2022-12-19 17:33:19 +00:00
Marcos Candeia d680006c33
Allow bindings conformance tests for uninitialized components (#2348)
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-19 09:26:24 -08:00
addjuarez c096a8586f Merge branch 'master' into certInfrastructure 2022-12-18 20:35:48 -06: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
Bernd Verst adc7bd8ca5
Merge branch 'master' into cfqueues-binding
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-12-16 14:46:03 -08:00
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
addjuarez cf54e37503
Merge branch 'master' into certInfrastructure 2022-12-16 13:23:22 -06: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
addjuarez fb9e0bdbf1
Merge branch 'master' into certInfrastructure 2022-12-15 13:49:01 -06:00
addjuarez 1f7c4850d5 use east
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2022-12-15 19:48:09 +00:00
addjuarez dfd00d4152 rework comformance
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2022-12-15 19:48:09 +00:00
addjuarez e24ee7d915 add terraform support
Signed-off-by: addjuarez <6789375+addjuarez@users.noreply.github.com>
2022-12-15 19:48:09 +00:00
ItalyPaleAle b5373355e2 Merge branch 'master' of https://github.com/dapr/components-contrib into postgres-ttl 2022-12-15 10:18:57 -08:00
ItalyPaleAle e8353379e1 Merge branch 'master' of https://github.com/dapr/components-contrib into cfqueues-binding 2022-12-15 10:01:54 -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 807de3ba7b feature: add context to lock&pubsub API
Signed-off-by: seachen <seachen@tencent.com>
2022-12-15 09:56:35 +08:00
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
seachen e59dfd63c0 feature: add context to lock&pubsub API
Signed-off-by: seachen <seachen@tencent.com>
2022-12-14 19:37:24 +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
ItalyPaleAle ab10db95dd 💄
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-14 01:33:04 +00:00
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 717bfcf23a Enabled conf tests for state.cloudflare.kv
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-14 00:34:09 +00: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
ItalyPaleAle a1c863d7fd Small fixes
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-12-13 10:11:36 -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 2b61b61dad use slices contains function from import
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-13 21:23:06 +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
Mukundan Sundararajan 72695529f6 optimize bulk pub response to contain only failed entries
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-13 11:49:04 +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
ItalyPaleAle c8398ad33e Merge branch 'master' of https://github.com/dapr/components-contrib into postgres-ttl 2022-12-05 18:34:53 +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
ItalyPaleAle b782b520aa Merge branch 'master' of https://github.com/dapr/components-contrib into postgres-ttl 2022-12-01 19:17:41 +00: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
Bernd Verst efa96b26ed
Merge branch 'master' into postgres-ttl 2022-11-28 17:57:53 -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
Bernd Verst 54a1514ec4 Merge remote-tracking branch 'upstream/master' into azblobbindingtrack2 2022-11-28 15:48:57 -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
Bernd Verst 2dc64721e8
Merge branch 'master' into azblobbindingtrack2 2022-11-22 16:14:06 -08:00
Bernd Verst c7ad79222e
Merge branch 'master' into master 2022-11-22 15:55:23 -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
mecoding1 5cd8c1207a Add custom application property to be sent in test script
Signed-off-by: mecoding1 <118708378+mecoding1@users.noreply.github.com>
2022-11-22 12:48:19 +00:00
Alessandro (Ale) Segala b042e87127
Merge branch 'master' into postgres-ttl
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-21 21:57:57 -08:00
Alessandro (Ale) Segala bd76503d27
Merge branch 'master' into ttl-conf-tests 2022-11-21 21:56:37 -08:00
Alessandro (Ale) Segala 4dde34c2d1
Fix state.in-memory and enable conformance tests (#2303)
* Fix state.in-memory and enable conf tests

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

* Fixed unit tests

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>
2022-11-21 21:53:51 -08:00
ItalyPaleAle 7ee30a411b MongoDB doesn't support TTLs
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-22 04:57:41 +00:00
ItalyPaleAle 4d4b98d339 Add conformance test for TTL in state stores
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-22 04:33:47 +00:00
ItalyPaleAle 1c3a0a1ea2 Fixed query
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-22 03:22:54 +00:00
ItalyPaleAle da4190e8c3 Updated operations for tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-22 02:24:05 +00:00
ItalyPaleAle 4a012a28bb Revert this change - will be in a separate PR
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-22 02:21:17 +00:00
ItalyPaleAle c54286a60d Added TTL support for postgres
TODO: garbage collection
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-22 00:24:04 +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 3af0953516 Postgres State Store: Add Support for First-Write concurrency
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-16 20:13:57 -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
Ryan Lettieri deb647c241 Updating workflows request struct
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-11-14 12:39:35 -07:00
Ryan Lettieri 4ebe7ea400
Merge branch 'dapr:master' into master 2022-11-14 10:10:02 -07:00
Ryan Lettieri 9d39e9ee87 Adding in optional parameter for a namespace into temporal
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-11-12 11:04:32 -07:00
KubeMQ adb840bb84
Merge branch 'dapr:master' into master 2022-11-11 23:34:39 +02:00
Bernd Verst 462e2faadc Upgrade linter and fix linter issues
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-11 13:19:57 -08:00
KubeMQ ead1843aab
Merge branch 'master' into master 2022-11-11 21:36:57 +02: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
Lior Nabat a47d8f87dd Adding KubeMQ Binding - Queue
Signed-off-by: Lior Nabat <lior.nabat@gmail.clom>
2022-11-11 16:03:25 +02:00
Bernd Verst 0d3e794986
Merge branch 'master' into explicitly-add-consumer 2022-11-10 12:23:59 -08:00
Bernd Verst eec3698d72 Use nats.go v1.19.1 and modtidy-all
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-10 12:08:36 -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
Lior Nabat 0e783e593e Update - adding conformance tests
Signed-off-by: Lior Nabat <lior.nabat@gmail.clom>
2022-11-04 17:42:01 +02: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
Bernd Verst bfc482d3e4 Merge remote-tracking branch 'upstream/master' into kubemq-io/master 2022-11-02 15:14:33 -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
1046102779 5a350f1dd6 Merge branch 'master' into feature/state_context1021 2022-11-01 09:23:57 +08:00
Bernd Verst f240581313
Merge branch 'master' into mysql-cert--test 2022-10-31 16:21:06 -07: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 c4b63b3975 Run conf tests for state.mysql against MariaDB too
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-31 19:48:11 +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
Ryan Lettieri 79ba329b3e Fixed typo for workflows test function
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-24 21:55:34 -06:00
Ryan Lettieri b0818bfd31 Fixing yaml file for temporal workflow
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-24 21:22:04 -06: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
Ryan Lettieri 7a004c74ff Re-removing the unused certification tests for workflows since they aren't ready yet
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-23 02:17:37 -06:00
Ryan Lettieri 05d33197a8
Merge branch 'master' into workflow-dev 2022-10-25 12:54:23 -06:00
Ryan Lettieri 8dc0afcf95
Merge branch 'master' into workflow-dev 2022-10-24 16:22:34 -06:00
Lior Nabat bed3d69a6f Add new PubSub component - KubeMQ Kubernetes message broker 2022-10-22 18:51:11 +03:00
Bernd Verst 98742f7b1b
Merge branch 'master' into workflow-dev 2022-10-24 14:35:40 -07:00
Ryan Lettieri d7ef6d41bc Updating responses from workflows building block to be more generic
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-21 23:58:48 -06:00
Ryan Lettieri d8d8d3d5bd Merging master into branch
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-21 20:07:50 -06: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
1046102779 5a367b401a feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-21 17:25:14 +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
Ryan Lettieri 89ca4cc2b6 Hopefully fixing go.mod and go.sum issue in workflows building block commits
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 11:11:20 -06:00
Ryan Lettieri 181519615a Fixing all the include errors in workflows building block review and merging in master
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 10:45:35 -06:00
Ryan Lettieri cb642b0b99 Ran make modtidy-all
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 10:17:34 -06:00
Bernd Verst a7bc8874d5 make modtidy-all
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-12 10:11:52 -06:00
Ryan Lettieri 3c5cf3f6ee Fixing mod tidy errors
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 10:10:07 -06:00
Ryan Lettieri 9ba415b893 Initial creation of workflows building block
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 09:58:35 -06:00
Ryan Lettieri 63c547f1ad Fixing go sdk version in cert tests
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-11 16:28:35 -06:00
Ryan Lettieri de36f3d337 Running make modtidy-all
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-11 16:06:03 -06:00
Ryan Lettieri ec066e6262 Merging master
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-11 15:58:52 -06: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
Ryan Lettieri 384feabe04 Go mod tidy in cert test dir
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-10 11:54:17 -06:00
Ryan Lettieri bce1401fda Moving go sdk inclusion into correct location
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-10 11:28:33 -06:00
Ryan Lettieri 2deb9d084c Ran make modtidy-all
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-10 09:48:39 -06:00
Ryan Lettieri 21cbd928e8 Merged in changes from master into workflows
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-10 09:44:27 -06:00
Tomasz Pietrek 0aa3b0d688 Tidy go modules
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
2022-10-07 09:56:00 +02:00
Tomasz Pietrek 2ed178c8a0 Bump e2e nats dependencies
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
2022-10-07 09:21:12 +02:00
Alessandro (Ale) Segala 55a282caee
Merge branch 'master' into release-1.9-merge 2022-10-05 13:47:22 -07: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
Bernd Verst dca60c5ae0
Merge pull request #2141 from DeepanshuA/feature_update_2
Update EntryID to EntryId
2022-10-04 11:16:45 -07:00
Alessandro (Ale) Segala 9fbf4356e1
Merge branch 'master' into feature/pubsub-batching 2022-10-04 11:13:35 -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
Deepanshu Agarwal f74b4d648d Update EntryID to EntryId
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2022-09-29 15:49:45 +05:30
deepanshuagarwal bcd101abad
Keys rename (#2135)
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2022-09-28 09:52:59 -07:00