Commit Graph

908 Commits

Author SHA1 Message Date
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
Shubham Sharma 518f5a7abf
Modify tests.yml (#2133)
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-09-27 21:11:01 -07:00
Mukundan Sundararajan eab68d1a7e
Merge branch 'master' into feature/pubsub-batching 2022-09-28 09:14:03 +05:30
Alessandro (Ale) Segala f15a50581d
Component metadata schema and tools (#2077)
* Component metadata schema and tools

Includes tools to generate and validate components' schema, and a CI check to ensure the schema is always up-to-date.

Also, includes schemas for 4 components as a starter

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

* Changed version as requested

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

* fix workflow

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>
2022-09-27 10:44:54 -07:00
Mukundan Sundararajan 803c0591c2
Merge branch 'master' into feature/pubsub-batching 2022-09-25 12:35:33 +05:30
Bernd Verst 7107eee52e
Merge branch 'master' into memcached_certification_i1929-rebased 2022-09-23 14:36:34 -07:00
Shubham Sharma 4f406a597f
Add bulk subscribe support to Azure Service Bus (#2100)
* Initial implementation

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* 

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Add tests

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Add comment

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Refactor messages.go and add tests

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update message tests

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Refactor servicebus.go logic

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Refactor handleAsync

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Refactor ReceiveAndBlock

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update binding

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Review comments addressed

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Lint

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update metadata name

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update activeMessagesChan logic for concurrency control

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Fix tests

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update metadata name

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Use request metadata instead of component metadata

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Review comments addressed

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Fix merge issue with metadata

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Remove unused metadata key

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Fix merge issue with metadata

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Lint!!!

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-09-23 10:49:06 -07:00
deepanshuagarwal 8500da577c
Conf test for Bulk Subscribe and Kafka fixes (#2113)
* Conf test for Bulk Sub and Kafka Fixes

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

* Fix linting

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

* Incorporating comments

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

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2022-09-23 09:54:21 -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 e1697ba115 Merge branch 'master' into feature/pubsub-batching 2022-09-23 06:47:47 +05:30
Mukundan Sundararajan 2817724483
Merge branch 'master' into postgresql_config_store 2022-09-22 13:41:16 +05:30
Mukundan Sundararajan db0ace71bc address review comments
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-09-22 13:30:56 +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 9725da7cc6 Use Go 1.19 everywhere
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-21 14:56:20 -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
Mukundan Sundararajan fffb91aed6 fix skipping bulk publish scenario
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-09-21 14:06:07 +05:30
Mukundan Sundararajan 0f185d9e38 add conf test for bulk publish
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-09-21 12:10:51 +05:30
Mukundan Sundararajan a45f7db8b2 add bulkpublish-conf-test
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-09-21 11:46:46 +05:30
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 b8be7ecf5b
Merge branch 'master' into workflow-dev 2022-09-16 13:36:13 -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
Dapr Bot d8b5d14330
Merge branch 'master' into workflow-dev 2022-09-14 20:57:08 -07: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
Dapr Bot 7fced084f8
Merge branch 'master' into workflow-dev 2022-09-14 15:31:59 -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
Bernd Verst 8f4d10352c
Merge branch 'master' into workflow-dev 2022-09-14 14:36:02 -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
Bernd Verst e181b59d0d
Merge branch 'master' into workflow-dev
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-14 13:39:12 -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
Bernd Verst ddfe292bc7
Merge branch 'master' into workflow-dev 2022-09-13 15:53:47 -07:00
addjuarez 80ae331c7d
Add confluent kafka to conformance test (#2058)
* Add confluent kafka to conformance test

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

* Fix ports

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

* Fix port

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

* rename test

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

* change expression

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

* refactor

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

* Add to pubsub

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

* fixes

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

Signed-off-by: Addison Juarez <adjuarez@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-09-13 13:43:56 -07:00
Ryan Lettieri e1efc3aa5e Fixing mod tidy errors
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-12 16:27:22 -06: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
Ryan Lettieri a193af3abb Fixed linter errors in workflows
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-12 15:49:26 -06:00
Ryan Lettieri 50473bfccf Addressing more review comments from workflows building block review
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-12 15:19:32 -06:00
Ryan Lettieri d3bdfa5281
Merge branch 'master' into workflow-dev
Signed-off-by: Ryan Lettieri <67934986+RyanLettieri@users.noreply.github.com>
2022-09-12 10:27:18 -06: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
Ryan Lettieri 1205859e3e Addressing review comments for workflow building block API
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-08 16:17:19 -06: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
Ryan Lettieri b52df7150a Updates to workflows and temporal for testing and API Changes
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-02 16:22:28 -06:00
amulyavarote 57e4ca0f29
Added postgres conformance test for binding (#2034)
* Added postgres conformance test for binding

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

* Added quotations to the connection string

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

* Added postgres docker for bindings

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

* Changes based on the review comment

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

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-30 12:06:40 -07:00
Tiago Alves Macambira b84adbf03a Conformance tests for Hashicorp Vault.
This PR adds conformance tests for Hashicorp Vault secret store component.
This will help brining this component to stable status.

This addresses (but does not fix) #1926.

Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
2022-08-29 21:26:51 -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
Ryan Lettieri 405984a6cc Adding readme for workflows 2022-08-29 09:54:05 -06:00
Bernd Verst 385bb9fe82
Azure Service Bus Queues Binding: disable entity management option (#2022) 2022-08-26 23:49:39 -07:00
Bernd Verst 5aae9c1126
RethinkDB: Remove falsely advertised transation support. (#2020)
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 10:04:46 -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
Bernd Verst 587156bead
Enable conformance tests for rethink db. Make it Beta. Remove Etag feature. (#2015)
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:04:19 -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
Ryan Lettieri 3066378a62 Updates to workflow requests and responses 2022-08-24 15:14:08 -06: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
Alessandro (Ale) Segala 8b48210e3e
Fixes to MySQL state store (#1978) 2022-08-18 11:50:53 -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
Ryan Lettieri a154700b7e Missing workflows file 2022-08-17 14:07:00 -06: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
yellow chicks d30b773eab
optimize: add e2etests buildtags for e2e (#1951)
* optimize: skip fatal when pubsub/jetstream server don't start in unit test

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

* optimize: skip fatal when pubsub/jetstream server don't start in unit test

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

* optimize: skip fatal when pubsub/jetstream server don't start in unit test

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

* optimize: add e2etests buildtags for e2e

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

Signed-off-by: 1046102779 <seachen@tencent.com>
Co-authored-by: Loong Dai <long.dai@intel.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-11 16:40:13 -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
Bernd Verst e818de3590
Enable conformance test for memcached state store (#1949) 2022-08-09 16:12:33 -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
Ryan Lettieri 80d2d2977e
Merge branch 'master' into workflow-dev 2022-08-08 15:53:29 -06: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
Christian Kaps 295f66a9dd
Add auto-completion flag for Zeebe (#1908)
Signed-off-by: Christian Kaps <ck-github@mohiva.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 19:47:31 -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
Ryan Lettieri 7233fefcb3 Initial creation of workflows building block
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-08-01 11:55:01 -06:00
amulyavarote e639685e83
Added conformance tests for rabbitmq bindings (#1910)
* Added conformance tests for rabbitmq bindings

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

* Fixing lint issues

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
2022-07-31 12:31:57 -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
Alessandro (Ale) Segala d38c786771
Add contexts to input bindings (#1831)
This is the last part of the "shutdown sequence fix": it allows shutting down input bindings before output ones.

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-07-12 12:19:27 -07:00
Andrew 2b3712b755
Ft/sasl scram sha 256 512 (#1856)
* working with hardcoded SHA-512

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* cleanup code

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* Do not hardcode specific testTopicName

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Andrew Duss <andy.duss@storable.com>

* Ensure context propagation in MySQL binding (#1829)

Spin-off from PR adding contexts to input bindings

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

Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Signed-off-by: Andrew Duss <andy.duss@storable.com>

* Add support for AAD auth in Azure Storage Queues binding (#1842)

* Add support for AAD auth in Azure Storage Queues binding

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

* 🧹

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

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Signed-off-by: Andrew Duss <andy.duss@storable.com>

* Moved authentication to be an internal pkg (#1855)

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Andrew Duss <andy.duss@storable.com>

* Azure AD support in SignalR (#1852)

* WIP: Azure AD support in SignalR

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

* Correct SignalR AAD details

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

* Misc fixes

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

* azauth package name

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Andrew Duss <andy.duss@storable.com>

* rename SCRAM properly as SASL

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* update gomod/sum

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* gofmt

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* mod tidy

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* goval

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* use xdg-go instead of depreicated xdg library

Signed-off-by: Andrew Duss <andy.duss@storable.com>

Co-authored-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2022-07-08 06:08:40 -07:00