Commit Graph

3297 Commits

Author SHA1 Message Date
akhilac1 c8d69ad465 fixed errors identified during functional testing
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-15 15:22:31 +05:30
Deepanshu Agarwal 70a418bfbb Merge branch 'ps_batch_c' of github.com:DeepanshuA/components-contrib into ps_batch_c_kafka 2022-09-15 15:08:36 +05:30
Deepanshu Agarwal c913c5593c Docs update as per comments
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2022-09-15 14:27:54 +05:30
akhilac1 874b7b5980 fixed errors identified during functional testing
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-15 14:13:33 +05:30
Dapr Bot d8b5d14330
Merge branch 'master' into workflow-dev 2022-09-14 20:57:08 -07:00
Bernd Verst 13257d43eb
Merge pull request #2057 from amulyavarote/cert_postgres_bindings 2022-09-14 20:04:02 -07:00
Dapr Bot 0703277879
Merge branch 'master' into cert_postgres_bindings 2022-09-14 18:48:40 -07:00
Dapr Bot 9553464682
Merge branch 'master' into workflow-dev 2022-09-14 18:48:39 -07:00
Bernd Verst 39ac6b8900
Includes image of contributors in Readme.md (#2083)
Includes image of contributors in Readme.md

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

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-14 18:28:44 -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 9f7bd5244c
Merge branch 'master' into postgresql_config_store 2022-09-14 16:29:36 -07: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
Ryan Lettieri 5d112f4d33 Fixing linter issues
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-14 15:58:57 -06:00
Dapr Bot a9e4e1dd11
Merge branch 'master' into cert_postgres_bindings 2022-09-14 14:54:25 -07:00
Dapr Bot 56e3d93e78
Merge branch 'master' into workflow-dev 2022-09-14 14:54:23 -07:00
Ryan Lettieri 8a9b4b4986 Updated cosmos query to be compliant with new format/structure
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-14 15:50:58 -06:00
Bruce Huang a6ad8cb4bf
RocketMQ fix metadata properties (#1817)
* Removes the useless metadata attributes, AccessProto and ConsumerBatchSize, rename GroupName to ProducerGroup

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

* RocketMQ SendTimeout unit is seconds

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

* avoid breaking change

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

* implement ConsumerBatchSize option

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

* avoid breaking change

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

* add deprecated log

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

* backwards-compatibility sendTimeOut

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

* fix lint

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

* add logger import

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: addjuarez <addiajuarez@gmail.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-14 14:45:47 -07:00
Bernd Verst 8f4d10352c
Merge branch 'master' into workflow-dev 2022-09-14 14:36:02 -07:00
Dapr Bot ae32a0953a
Merge branch 'master' into cert_postgres_bindings 2022-09-14 14:30:57 -07:00
Bernd Verst 3fabf17a55
Merge pull request #2081 from berndverst/coverage
calculate cert test coverage only on scheduled runs
2022-09-14 14:19:07 -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
Bernd Verst 7c736b153c
Merge branch 'master' into coverage 2022-09-14 14:01:00 -07:00
Bernd Verst 2669655fe1 calculate cert coverage only on scheduled runs
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-14 13:58:11 -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 cfcca09460 make modtidy-all
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-14 13:40:26 -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
Bernd Verst d4f2b108de
Add pubsub.redis conformance test accidentally removed in #2058 (#2080)
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-14 13:23:53 -07:00
Deepanshu Agarwal 31a38e5aaa Change marking message logic
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2022-09-14 13:01:30 +05:30
Mukundan Sundararajan 2e5ed91a4c
Merge branch 'master' into fix-kafka-metadata 2022-09-14 12:44:44 +05:30
Deepanshu Agarwal e483dfe334 Merge branch 'ps_batch_c' of github.com:DeepanshuA/components-contrib into ps_batch_c_kafka 2022-09-14 12:20:51 +05:30
Deepanshu Agarwal 5f50fd96ae Event Type name correction
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2022-09-14 11:54:30 +05:30
AkhilaC 2709bee4b4
Merge branch 'master' into postgresql_config_store 2022-09-14 11:43:10 +05:30
Deepanshu Agarwal a1b1e3b871 Segregating Bulk Publisher and Bulk Subscriber and removing them as mandatory
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2022-09-14 10:55:48 +05:30
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
Xingru ed483dc88b
refactored aws sqs policy inserting (#1807)
* refactored aws sqs policy inserting

Signed-off-by: Xingru <x.xingruxu@student.maastrichtuniversity.nl>

* Add tests and fixed tryInsertCondition not inserting bug

Signed-off-by: Xingru <x.xingruxu@student.maastrichtuniversity.nl>

* fixed lint in snssqs_test.go

Signed-off-by: Xingru <x.xingruxu@student.maastrichtuniversity.nl>

* fixed lint

Signed-off-by: Xingru <x.xingruxu@student.maastrichtuniversity.nl>

* fixed lint error in policy.go

Signed-off-by: Xingru <x.xingruxu@student.maastrichtuniversity.nl>

Signed-off-by: Xingru <x.xingruxu@student.maastrichtuniversity.nl>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Loong Dai <long.dai@intel.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2022-09-13 17:11:58 -07:00
Artur Souza 5932b490a3
Merge branch 'master' into postgresql_config_store 2022-09-13 15:58:17 -07:00
Shivam Kumar 9c9df2ff76
Update log level for successful retry (#2066)
* Update log level for successful retry

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

* Logging error after retries exhausted

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

* Fix linter error

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

Signed-off-by: shivam <shivamkm07@gmail.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-09-13 15:57:47 -07:00
Tiago Alves Macambira 8eec2a8c06
SecretStores advertise supported Features(). (#2069)
This PR is aimed at addressing issue #2047.

In the [Secret API Documentation](https://docs.dapr.io/reference/api/secrets_api/#response-body) it is stated:

> If a secret store has support for multiple keys in a secret, a JSON payload is returned with the key names as fields and their respective values.
>
> In case of a secret store that only has name/value semantics, a JSON payload is returned with the name of the secret as the field and the value of the secret as the value.

There are two classes of secret stores but there isn't a way to tell them apart at run-time. This limits the ability of conformance tests to verify the behavior of secret stores supporting multiple keys.

We address this by augmenting SecretStores with the ability to advetise `Features`. This is similar
to what PubSub and StateStores do. Feature `MULTIPLE_KEY_VALUES_PER_SECRET` was added and is
advertised by Hashicorp Vault (default behaviour) and by Local File SecretStore (depending on its configuration).

Updated tests to account to new method and ensure expected behavior.

Fixes #2047

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

Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-13 15:55:39 -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 9b43de7009
Merge branch 'master' into Cosmosdb_track2 2022-09-13 11:20:11 -06:00
Ryan Lettieri 8425950aac Temporary revert of cosmosdb item marshalling
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-13 11:19:22 -06:00
amulyavarote fc9f0d8281
Merge branch 'master' into cert_postgres_bindings 2022-09-13 08:45:35 -07:00
Ryan Lettieri 560b760977
Merge branch 'master' into workflow-dev 2022-09-13 09:37:16 -06:00
AkhilaC fafad589a1
Merge branch 'master' into postgresql_config_store 2022-09-13 19:38:22 +05:30