Commit Graph

3297 Commits

Author SHA1 Message Date
Laurence 53c6ed7636
fix: add config subscription gr done (#1315)
* fix: add config subscription gr done

* unexpected comments

* fix comment

Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-29 11:54:00 -08:00
Phil Kedy a49f4283fd
Forcing dapr/dapr commit to fix compatibility w/ components-contrib (#1345) 2021-11-29 11:08:35 -08:00
Dmitry Shmulevich 3c52b73608
fixed typo in Query JSON (#1344) 2021-11-29 09:44:28 -08:00
Amit Mor da7e8cfde7
#1335 bugfix - multi SNS topics publishing policy to SQS (#1337)
* bugfix for sns topic deletion upon termination

* removed upstream github workflow files

* Update snssqs.go

* dapr bot schedule

* read and append queue attributes

* unnecessary escaping in json tag

* unexporting structs
2021-11-26 08:39:56 -08:00
huazhongming 63d6329ae5
Support tracestate can be propagated in PubSub (#1264)
* support tracestate can be propagated in PubSub

* add trace state

Co-authored-by: Long Dai <long.dai@intel.com>
Co-authored-by: Ian Luo <ian.luo@gmail.com>
Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-24 12:30:35 -08:00
Simon Leet 4a203bb034
Update conformance and certification workflow github ref handling (#1273)
Co-authored-by: Long Dai <long.dai@intel.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-24 11:59:54 -08:00
xj524598 3a7137f9a1
update some ratelimit_middleware.go comments (#1330)
Co-authored-by: xujie <xujie1@shein.com>
2021-11-24 16:16:57 +02:00
Taction 4bf0dcbfcf
Fix the Route of subscription API does not work on pubsub.pulsar (#1283)
* feat(pulsar): add tenant and namesapce. fix topic parsing.

* add test

* fix review add topic format unit test

* fix review: add persistent to metadata, fix nits

* fix lint

Co-authored-by: Long Dai <long.dai@intel.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-22 18:57:53 -08:00
halspang d5a68041c9
Move Service Bus Pubsub/Binding to common auth (#1201)
* Move Service Bus Pubsub/Binding to common auth

Both the pubsub and input/output binding for Azure Service Bus were
connecting via a connection string. This is still supported but will
now fallback to using AAD from the common auth library. This is also
the recommended auth pattern going forward.

* Move AMPQ specific auth and fix linter issues

* Make conn string and namespace mutually exclusive

* Move resourceName to a constant

* Update auth_amqp.go

* Update auth.go

Co-authored-by: Long Dai <long.dai@intel.com>
Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-22 18:20:11 -08:00
Dmitry Shmulevich f1be130563
bump up go to v1.17 (#1323) 2021-11-22 17:47:01 -08:00
Simon Leet 915180bfe5
Add internal retry to MQTT bindings Invoke() (#1289)
There is an internal race condition in MQTT client Publish method when
configured with autoreconnect (default) where the call can fail if the
connection is broken right after the outgoing event is queued but before
the dead connection is blocked.

This change mitigates that on the Dapr side with a limited retry loop
3 times at fixed 200ms interval as a patch before the Dapr resiliency
feature is introduced that exposes more generalized retry controls to
the dev.

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Long Dai <long.dai@intel.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-19 15:20:12 -08:00
Tao Jiang c75cb3ee96
upgrade vmware-go-kcl to v1.5.0 (#1257)
Upgrade vmware-go-kcl dependency to the latest v1.5.0.
update mod tidy

Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-19 10:50:05 -08:00
Artur Souza 8fe2a4b56c
Allow DaprBot to auto update all open PRs. (#1314) 2021-11-18 21:35:26 -08:00
Simon Leet d4040f2dab
Add make modtidy-all action (#1308)
With the addition of the certification tests, changes in the go.mod
definition for component-contrib will also need to be propagated to the
go.mod for each of the tests under tests/certification.

- Add a `make modtidy-all` action to support updating all go.mod files.
- Update developing-component.md to include use of `make modtidy-all`.

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-18 17:02:18 -08:00
Simon Leet b04b4c735b
Expand ngrok logging in conformance.yml (#1304)
Co-authored-by: Long Dai <long.dai@intel.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-11-18 16:11:11 -08:00
Simon Leet dfe52cf88f
Remove Cloudstate component (#1303)
- Remove cloudstate state store component
- Update state/Readme.md

Fixes #1297

Co-authored-by: Long Dai <long.dai@intel.com>
2021-11-18 15:30:40 -08:00
Alessandro (Ale) Segala 3eafb8bcd4
Azure SDK "track 2": authentication and secretstore/azure/keyvault (#1290)
* Authentication for new Azure SDK

* Updated keyvault to use new Azure SDK

* 🙈

* Update authentication/azure/auth.go

* Update authentication/azure/auth.go

* Update authentication/azure/auth.go

* Reintroduce changes from PR 1132 without updating ASB

* Lint 💄

* Marking contexts as TODO as they'll need a timeout
As per conversation with @berndverst

* Update certification tests with no auth libraries

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2021-11-16 10:59:51 -08:00
Dmitry Shmulevich ad433a27e1
add troubleshooting info (#1278)
add retries for pubsub subscribe
fix race conditions
2021-11-15 16:33:21 -08:00
Bernd Verst 3e3b64c0a2
Merge pull request #1302 from berndverst/master-release-1.5-merge
Merge Release 1.5 into Master
2021-11-12 13:10:15 -08:00
Bernd Verst 09fb60c5e7 Update to use latest Dev Container 2021-11-12 11:59:35 -08:00
Bernd Verst ad1c08d218 Update certification tests to Runtime v1.5.0 (#1295) 2021-11-12 11:59:35 -08:00
halspang f5d8317c41 Revert "Bumping ASB version and fixing test for azure auth (MSI_ENDPOINT) (#1132)" (#1291) 2021-11-12 11:59:35 -08:00
yellow chicks 0268491990
feature(middleware/routerchecker): avoid sending dirty data to opentelemetry system and logic servers. (#1155)
* feature/pubsub: add delay queue params for pulsar

* feature/pubsub: add delay queue params for pulsar

* feature/pubsub: add delay queue params for pulsar

* feature: add middleware/routerchecker to reduce dirty data report opentelemetry

* feature: add middleware/routerchecker to reduce dirty data report opentelemetry

* Update pulsar.go

* feature: add middleware/routerchecker to reduce dirty data report opentelemetry

* feature: add middleware/routerchecker to reduce dirty data report opentelemetry

Co-authored-by: Long Dai <long.dai@intel.com>
Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-11-09 18:49:29 -08:00
Bernd Verst 2b5f81660d
Merge pull request #1275 from krutsko/kafka_borker_version_3806
Add option to override Kafka Broker version
2021-11-09 16:34:56 -08:00
Phil Kedy 1667932bf9
Merge branch 'master' into kafka_borker_version_3806 2021-11-09 18:43:40 -05:00
Bernd Verst b25d95849a
go mod tidy for KV certification (#1286) 2021-11-09 11:26:28 -08:00
Sergey Krutsko ebf343cd4b Merge branch 'kafka_borker_version_3806' of https://github.com/krutsko/components-contrib into kafka_borker_version_3806 2021-11-05 10:22:39 +03:00
Sergey Krutsko a269d62138 change assert -> require 2021-11-05 10:22:13 +03:00
Long Dai 204d5bfe33
Merge branch 'master' into kafka_borker_version_3806 2021-11-05 11:11:10 +08:00
Bernd Verst c3a8f0faa1
Merge pull request #1279 from pkedy/cert_tests_update_go_mods
Certification go.mod updates to latest dapr/dapr
2021-11-04 14:35:22 -07:00
Phil Kedy 5af43a9850 Tweak 2021-11-04 17:26:47 -04:00
Phil Kedy b2cc826e1e Tweak 2021-11-04 17:25:59 -04:00
Phil Kedy af2c499855 Updating certification go.mod files to the latest dapr/dapr commit in master 2021-11-04 17:20:40 -04:00
Simon Leet de0d631e1e
Merge branch 'master' into kafka_borker_version_3806 2021-11-04 09:56:38 -07:00
Hossam Kandil 399d1230d0
rename CosmosGraphDB binding component to CosmosDBGremlinAPI #1246 (#1276) 2021-11-04 09:35:32 -07:00
Sergey Krutsko 418fd96299 add kafkaVersion 2021-11-04 15:54:03 +03:00
Bernd Verst 42e80890ec
Add missing env variable for KV certification test (#1274) 2021-11-04 00:37:08 -07:00
Bernd Verst 8b5d8d3690
Managed Identity Certification Test for Azure KeyVault Component (#1272) 2021-11-03 20:22:07 -07:00
Phil Kedy 77564a34c0
RabbitMQ certification: Fixing publish/subscribe race condition. (#1271)
* Fixing publish/subscribe race condition in RabbitMQ component.
Added amqpReady function to tests to wait for RabbitMQ readiness.
Tweaks to when subscribed is signaled in the test.

* Update go.mod(s)
2021-11-03 16:37:52 -07:00
Bernd Verst f9de272a9f
Merge pull request #1270 from berndverst/keyvaultmsi
KeyVault Conformance: Fix test by running go mod tidy
2021-11-03 15:46:54 -07:00
Bernd Verst 8e7aa414d8 go mod tidy 2021-11-03 19:02:02 +00:00
Simon Leet 395f769738
Always run test wokflows on repository dispatch (#1269)
The existing Skip Duplicate Actions pre-job will effectively ignore the
command `/ok-to-test` from repository_dispatch because the testing
triggered by a PR will usually be seen as transferrable, even though
the intention for `/ok-to-test` is to run a superset of tests triggered
by the PR.

To fix this, both the conformance and certification workflows will
always generate the test matrix if the trigger is a respository_dispatch
regardless of the test duplication check.
2021-11-03 11:37:44 -07:00
Bernd Verst d1d5033dd3
SQL Server Certification Tests (#1265)
* SQL Server certification test: WIP

* Certification tests certifiably certifying

* Custom schema

* Verify custom schema and indexed properties

* docker startup retry backoff

* some refactoring

* Adds SQL injection testing

* linter

* Adds SQL Server to certification workflow

* Update SQL Server certification README

* Add line break at EOF

* go mod tidy

* Update Readme
2021-11-03 10:35:34 -07:00
Dmitry Shmulevich daf99fd3c2
add README for State Query API (#1258) 2021-11-02 16:46:03 -07:00
Dmitry Shmulevich ad9ebba204
update package name (#1267) 2021-11-02 15:47:07 -07:00
Phil Kedy 1d0ce9ce23
Kafka certification: Adding more consumers and verifying messages are consumed (#1262)
* Adding second consumer and verifying messages are consumed

* Removed commented out code

* Adding async steps

* Added third consumer

* Adding consumer rebalance test

* Renaming watcher variables

* Update README.md

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-11-02 13:51:15 -07:00
Amit Mor e9deaf3781
Snssqs subscription policy (#1259)
* bugfix for sns topic deletion upon termination

* removed upstream github workflow files

* gitignore

* restrict SQS send message policy

* linting mostly of unwrapped errors

* refactoring

* pr changes

* Update .gitignore

* Update dapr-bot-schedule.yml

* Update dapr-bot-schedule.yml

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-02 10:38:10 -07:00
Dmitry Shmulevich f6a64f73fe
add PR job for pubsub.rabbitmq certification test (#1266) 2021-11-02 10:23:39 -07:00
Willem Meints ba268aa424
Fix warning in smtp binding when user and password are set (#1256)
* Fix warning in smtp binding when user and password are set

* Remove nolint comment

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-02 09:53:35 -07:00
Dmitry Shmulevich cb604e08d6
add component certification test for pubsub.rabbitmq (#1240) 2021-11-02 09:21:47 -07:00