Commit Graph

3297 Commits

Author SHA1 Message Date
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
Long Dai dd81ef7e42
Merge branch 'master' into fix_opa_middleware 2021-10-26 09:34:14 +08:00
Long Dai 77bf26a676
Merge branch 'master' into add_amqp_properties 2021-10-26 09:29:57 +08:00
Long Dai 36b75e9ae2
Merge pull request #1232 from berndverst/cosmosdbuseragent
Adds Dapr User Agent for Cosmos DB components
2021-10-26 09:18:13 +08:00
Bernd Verst aa4f949838 Adds Dapr User Agent for Cosmos DB components 2021-10-25 17:59:34 -07:00
Hal Spang ce4ab8f40f Move to atomics instead of locks 2021-10-25 16:06:30 -07:00
Hal Spang 3d3f142c19 Reconnect forever in ASB Queue Binding
We reconnect/retry forever now in Azure Service Bus Queue binding
while reading. We have to reconnect for every error because the
errors that surface from the client involve connection issues.
2021-10-25 16:06:30 -07:00
richgo 3df47a52bd
middleware opa add body (#1165)
* included body in opa middleware which is required to do graphql field level authorisation

* fix broken test and middleware

* Update middleware_test.go

* go fmt

* goimports + gofumpt

Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Long Dai <long.dai@intel.com>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-10-25 15:43:43 -07:00
Taction c63fee5bec
Add tls support for kafka pubsub component (#1196)
* add tls support for kafka pubsub component

* fix review

* fix review

* delete unused json tag

Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Long Dai <long.dai@intel.com>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-10-25 15:40:53 -07:00
Bernd Verst 53a04bc120
Enhancement for integration test helpers (#1223)
* Add option to run sidecar without app

* Allow specifying custom components path

Co-authored-by: Long Dai <long.dai@intel.com>
2021-10-25 15:10:40 -07:00
Simon Leet 2006bcccb0 Support message-id in Event Hubs components 2021-10-25 18:12:16 +00:00
jigargandhi a5bb76bcfa fixing newline lint issue 2021-10-25 15:27:32 +05:30
jigargandhi 63f87f0641 Merge branch 'content-type' of github.com:jigargandhi/components-contrib into content-type 2021-10-25 15:13:50 +05:30
jigargandhi 54e2c1e01a Fix linting issues 2021-10-25 15:13:40 +05:30
Long Dai 89e6291d71
Merge branch 'master' into content-type 2021-10-25 09:31:29 +08:00
Long Dai 8f7222e880
Merge branch 'master' into fix_opa_middleware 2021-10-25 09:30:16 +08:00