Commit Graph

3297 Commits

Author SHA1 Message Date
Nghia Tran cb63cda501
Conformance tests for Azure Blob Storage & Storage Queue output bindings (#624)
* Conformance tests for Azure Blob Storage & Storage Queue bindings

* Fix lint comments

* Unit tests for path util
2021-01-21 10:35:30 -08:00
halspang 2d0ebf8a8c
Add conformance tests for output bindings (#608)
This commit adds new conformance tests for output binding components.
Redis is being used as a the introductory binding example.

https://github.com/dapr/components-contrib/issues/409

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-01-20 18:23:15 -08:00
Nghia Tran 3086450ced
Add CosmosDB state store conformance tests (#622)
* Add CosmosDB conformance tests

* Fix workflow & lint

* Add more disclaimers to README.md
2021-01-20 14:38:09 -08:00
Mukundan Sundararajan 079d0b1bd0
Fix bulk get secret conformance tests (#621)
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-01-20 12:55:27 -08:00
Nghia Tran a887d70c31
Workflow to run conformance tests (#620)
* Workflow to run conformance tests

* Update conformance.yml

Fix typo
2021-01-20 12:45:58 -08:00
Mukundan Sundararajan 465d09e54d
Add initial set of conformance tests (#586)
* Add initial set of conformance tests

* remove go mod changes

* set and unset env var for test
2021-01-20 12:09:51 -08:00
Javier Vela d4b34e39b0
Update sample links (#611)
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-01-20 10:20:33 -08:00
Carlos Mendible 5018196c58
Updated GCP SecretManager BulkGetSecret #590 (#613) 2021-01-20 08:28:31 -08:00
Carlos Mendible f3524ff39e
Fixed #590 (#591) 2021-01-18 11:38:19 -08:00
Yaron Schneider 9fae71dada
Fix gcp pub/sub multiple subscriptions (#607)
* fix gcp pub/sub multiple subscriptions

* linter
2021-01-15 13:23:30 -08:00
Artur Souza 40e3d60d72
Remove useless random ID logic for mqtt's consumerID. (#605) 2021-01-15 11:56:54 -08:00
Artur Souza 01147e559d
Refactor and fix contenttype logic for pubsub. (#602)
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-01-14 14:28:52 -08:00
Yaron Schneider 99256e6bec
Provide distinction between missing and empty etags (#600)
* provide distinction between missing and empty etags

* linter

* linter 2
2021-01-14 10:41:38 -08:00
Bruno Rodrigues da Silva fe9faadb46
Added Exclusive Flag to RabbitMQ queues (#580)
* Added Exclusive Flag to RabbitMQ queues

* Fixing Linter issues

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-01-12 14:18:04 -08:00
Yaron Schneider 37815ad9a5
export etag error kind (#585) 2021-01-11 12:40:35 -08:00
Yaron Schneider f44673c311
add missing error checks for etag errors (#584) 2021-01-11 10:15:47 -08:00
Yaron Schneider 4d3e1be105
Treat etag errors across all state stores (#579)
* treat etag errors across all state stores

* linter

* linter
2021-01-08 18:59:42 -08:00
Yaron Schneider d7eeb2413f
Fix RabbitMQ concurrency (#576)
* fix rabbitmq concurrency

* linter

* add concurrency validation

* added tests and validation
2021-01-07 19:29:58 -08:00
Yaron Schneider 7465e4092d
Add concurrency mode to rabbitMQ pub/sub (#575)
* add concurrency mode to rabbitMQ pub/sub

* linter

* simplify
2021-01-07 15:02:58 -08:00
Mark Chmarny 8a5b1625e8
Adds BulkGetSecrets method to the SecretStore interface (#561)
Addresses #559

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-01-06 15:19:30 -08:00
Yaron Schneider 80e5f2ca52
fix data serialization in cloudevent (#571)
* fix data serialization in cloudevent

* fixes
2021-01-04 17:23:07 -08:00
Yaron Schneider a99b605db8
extend custom cloud event (#570) 2021-01-04 12:12:39 -08:00
Yaron Schneider b7584f670b
Add new cloudevents creation method (#568)
* add new cloudevents creation method

* linter
2020-12-30 19:10:47 -08:00
Yaron Schneider a7ff1b0aad
Replace content cloud event check, add settraceid (#567)
* replace content cloud event check, add settraceid

* change cloudeventenvelope to map

* change settraceid method
2020-12-30 17:06:32 -08:00
Yaron Schneider 3e7f473b0c
Add method to check if payload is a cloudevent (#566)
* add method to check if payload is a cloudevent

* linter

* remove old test
2020-12-30 12:26:22 -08:00
Artur Souza e82cf0c630
Fallback to NAMESPACE env for get secret on K8s. (#564) 2020-12-30 11:36:25 -08:00
Artur Souza e6dadfab6c
TTL in PubSub. (#565)
* TTL in PubSub.

* Handle message TTL only if component cannot handle it.

* Removig dead code for overflow check in pubsub expiration.
2020-12-29 14:28:52 -08:00
Trond Hindenes 660185b08c
Add support for prefetch (#562)
* Add support for prefetch

* Fixed test implementation

* Gofmt-ed files

* Re-arranged struct

* Moar tests
2020-12-21 10:42:16 -08:00
Yaron Schneider a03a96c282
update kubernetes packages to 1.20 (#557) 2020-12-16 10:43:27 -08:00
Joni Collinge e881e4ba28
mDNS round robin (#540)
* WIP mdns rr

* add callback mechanism

* add initial testing

* fix lint

* add debug logs

* register as unique instance

* update comments

* add continue when no address

* fix lint

* add test for empty address list next

* refresh on new app id in the background

* fix lint

* update comment

* add way to control mDNS instance ID

* update test case

* add guard for empty refreshes

* update log message to include app id

* update log message to include app id

* update comment

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-12-14 12:50:21 -08:00
Nghia Tran a4884f1d4b
Remove exporters component code (#553) 2020-12-10 13:38:26 -08:00
Michaël Hompus 6079c3b113
Add postmark as an output binding (#546)
* Add postmark as an output binding

* go tidy

* Update comments
2020-12-09 14:28:32 -08:00
Yaron Schneider 10b3dc16fe
fix couchbase serialization (#552) 2020-12-07 09:43:46 -08:00
Artur Souza 9391dc7864
Fixing file secretstore to support custom separator. (#551) 2020-12-07 09:26:42 -08:00
Yaron Schneider d260ec85e6
add access level to azure blob storage (#549) 2020-12-05 07:38:13 -08:00
Joni Collinge 31828b3779
Update ASB message finalization (#534)
* remove servicebus context hack

* add more verbose error message

* make error message lowercase

* update go-autorest

* update azure-sdk-for-go

* remove go mod replace go-autorest

* fix lint issues

* go mod tidy

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-12-04 22:13:00 -08:00
Joni Collinge 256f920918 fix lint 2020-11-30 16:47:01 +00:00
Joni Collinge 96a8a4d7ac Merge branch 'master' into jjcollinge/pubsub-context 2020-11-30 16:21:44 +00:00
cvictory 87933ad4bc
The subscribeRequest and PublishRequest both need Metadata. (#543)
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-11-26 23:15:54 -08:00
Sky/敖小剑 5dc3587f7d
Add bulk get in state store - Plan B (#532)
* add BulkGet method on state store

* add a bool value in bulk get method to tell dapr if this store supports bulk get or not

* add  BulkGetResponse for bulk get; rollback GetResponse to remove new added filed key

* update to use BulkGetResponse for bulk get

* fix lint issues

* fix lint issues

* fix lnit issues
2020-11-26 23:07:27 -08:00
Artur Souza 2f4be95b84
Respect content-type for PubSub data. (#541) 2020-11-25 17:20:20 -08:00
Joni Collinge 704cb42383
add pubsub request update (#530)
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-11-25 17:12:16 -08:00
Trond Hindenes 8d6978372f
Various AWS improvements (#525)
* Support sessiontoken

* Fixed tests and other components

* Fixed tests and things

* fmt

* Fix lint errors

* gofmt

* Fixed lint bugs

* Remove unneeded parameter

* gofmt

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-11-23 13:21:29 -08:00
Trond Hindenes b1f1ecc18b
properly initialize logger in bindings/sqs (#531) 2020-11-23 13:13:04 -08:00
Carlos Mendible 686b42fd18
Fixing #522 (#523) 2020-11-13 09:52:26 -08:00
Carlos Mendible 20278e7f3a
Implementing BulkGetSecret (#310) 2020-11-09 16:09:08 -08:00
Artur Souza 6266934d3f
Auto-reconnect rabbitmq pubsub (#519) 2020-11-09 12:27:53 -08:00
Yaron Schneider 763c856a44
update dependency for ocagent (#517) 2020-11-03 16:41:37 -08:00
Yaron Schneider 01f90bdbc8
Fix azure blob storage json payload (#516)
* fix azure blob storage json payload

* handle non-json strings
2020-11-03 10:05:30 -08:00
Joni Collinge ff2df86e3c Merge branch 'jjcollinge/pubsub-context' of github.com:jjcollinge/components-contrib into jjcollinge/pubsub-context 2020-11-03 08:29:49 +00:00