Commit Graph

962 Commits

Author SHA1 Message Date
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
yellow chicks 6e48068067
upgrade/pulsar: upgrade pulsar from v0.1.0 to master (#1247) 2021-11-01 18:34:42 -07:00
Willem Meints 84f8ae6389
Fix body content parsing (#1254)
This fixes a problem with the body of e-mail messages sent by the
SMTP binding.

When the SMTP binding was invoked over GRPC it would not translate the
data of the request to the right format in the e-mail. Instead it would
send an empty body. When the SMTP binding was invoked over HTTP it would
correctly unquote the data of the request.
2021-10-31 15:00:48 -07:00
Simon Leet 62d17de1fa
Add certification test workflow (#1242) 2021-10-29 13:36:03 -07:00
Bernd Verst 8a6f7dfdc5
remove port allocation code in favor of dapr runtime testing package (#1245) 2021-10-28 13:05:12 -07:00
Bernd Verst a806951157
Azure KeyVault Integration Tests Part 1 (#1238)
* AKV Integration test - WIP

* KeyVault integration test

* Adds network interruption capabilities

* wip

* remove async handling

* Azure Secret Store test

* get with the flow

* Remove network interruption because it is pointless here

* newlines

* Address code review

* Updte Readme to remove section on basic conformance

* Allocate random ports
2021-10-28 12:05:23 -07:00
Phil Kedy 9a3fe3f683
Kafka certification: Adding infra and network interruption tests (#1241)
* Adding infra and network interruption tests

* Tweak

* Using multierr.Combine

* Adding consumeRetryInterval setting to Kafka pubsub component
2021-10-27 17:41:27 -07:00
Simon Leet 0fdeb429c6
Address flakiness in Azure SQL conformance test (#1219)
* Add script to update Azure SQL firewall rules from GitHub meta API

* Update state.azure.sql test to use unique DB names

- Add use of `databaseName` metadata to state.azure.sql test.
- Add dynamic generation of test `databaseName` to conformance.yml to
  avoid multiple test instances from racing.
- Add wait before clean-up of Azure SQL DB instance in conformance.yml
  to prevent test flakiness and accumulation of undeleted DBs.
- Remove dynamic Azure SQL firewall rule injection from conformance.yml.
- The workflow relies on IPs used by GitHub Actions to be provisioned
  in the firewall rules already.
- Update documentation for managing Azure SQL and testing instructions.

Co-authored-by: Long Dai <long.dai@intel.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-10-27 13:38:48 -07:00
Artur Souza c4303d55db
Revert "Merge pull request #1143 from jigargandhi/content-type" (#1239)
This reverts commit e373b95489, reversing
changes made to 8505c1a1db.
2021-10-27 11:41:25 -07:00
Long Dai 8078c5e8c4
Merge pull request #1221 from CodeMonkeyLeet/add_amqp_properties
Support `message-id` property from IoTHub device events in EventHubs
2021-10-27 13:21:22 +08:00
Long Dai 8b939a2e95
Merge branch 'master' into add_amqp_properties 2021-10-27 13:11:42 +08:00
Long Dai f9e5abe893
Merge pull request #1236 from CodeMonkeyLeet/fix_mqtt_bindings_deadlock
Fix MQTT bindings deadlock on `Close()`
2021-10-27 13:11:13 +08:00
Long Dai 6a5d7b0c22
Merge branch 'master' into add_amqp_properties 2021-10-27 12:10:11 +08:00
Long Dai 5073f82e65
Merge branch 'master' into fix_mqtt_bindings_deadlock 2021-10-27 12:04:03 +08:00
Bernd Verst 07c7a042e2
Fix for network interruption in flow (#1237)
Co-authored-by: Long Dai <long.dai@intel.com>
2021-10-26 20:59:50 -07:00
Long Dai a2b7c69894
Merge branch 'master' into add_amqp_properties 2021-10-27 10:58:50 +08:00
Long Dai e373b95489
Merge pull request #1143 from jigargandhi/content-type
Added content type to SetRequest struct
2021-10-27 10:58:30 +08:00
Long Dai 426c4589d3
Merge branch 'master' into content-type 2021-10-27 10:32:23 +08:00
Long Dai cffa32b1da
Merge branch 'master' into add_amqp_properties 2021-10-27 10:32:19 +08:00
Long Dai 8505c1a1db
Merge pull request #1222 from Taction/fix_opa_middleware
fix opa middleware termination judgment condition
2021-10-27 10:32:11 +08:00
Long Dai d242c6ba61
Merge branch 'master' into content-type 2021-10-27 10:14:46 +08:00
Long Dai 925773dd21
Merge branch 'master' into add_amqp_properties 2021-10-27 10:14:38 +08:00
Long Dai a93127eaf2
Merge branch 'master' into fix_opa_middleware 2021-10-27 10:14:30 +08:00
Long Dai 30fd98a40d
Merge pull request #1227 from halspang/service_queue
Reconnect forever in ASB Queue Binding
2021-10-27 10:14:22 +08:00
Long Dai d5a4ca983f
Merge branch 'master' into content-type 2021-10-27 09:55:48 +08:00
Long Dai b6101f6c13
Merge branch 'master' into add_amqp_properties 2021-10-27 09:54:49 +08:00
Long Dai d7b8900bce
Merge branch 'master' into fix_opa_middleware 2021-10-27 09:54:22 +08:00
Long Dai 4532481035
Merge branch 'master' into service_queue 2021-10-27 09:53:57 +08:00
Long Dai 4cbeec8975
Merge branch 'master' into fix_mqtt_bindings_deadlock 2021-10-27 09:53:34 +08:00
Bernd Verst 845e876c29
Certification Framework: Add network interruption / blocking capabilities (#1233)
* Adds network interruption capabilities

* remove async handling

* update example docstring

* no need for loop

* small optimization

* newline for good measure

* update dapr version
2021-10-26 18:10:32 -07:00
Simon Leet cdb2c6167e
Merge branch 'master' into service_queue 2021-10-26 17:18:42 -07:00
Simon Leet 7fedcfc751 Fix bindings.mqtt deadlock on Disconnect()
Update bindings.mqtt component to avoid deadlocking on Close() when the
app-provided message handler is blocked.

- Run the app-provided message handler in a separate goroutine so that
  the wrapper handler function it passes to the mqtt library can be
  canceled.
- Cancel the read context to terminate any in flight message handling
  before calling Disconnect() in Close()
2021-10-26 23:58:09 +00:00
Simon Leet dfb9e90ede Add more tracing to bindings conformance tests 2021-10-26 23:28:08 +00:00
zhangchao 3dc1d962d7 add notes 2021-10-26 22:32:24 +08:00
zhangchao b02b06be09 fix tests 2021-10-26 22:17:54 +08:00
Long Dai 67185db54e
Merge branch 'master' into content-type 2021-10-26 09:35:23 +08:00