Commit Graph

507 Commits

Author SHA1 Message Date
Ben Coleman e97529a4a8
Unescape azure blob data (#313)
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-04-30 08:15:18 -07:00
Mark Chmarny 0e731f96aa
Added Twitter search input binding (#318)
* titter search binding

* refactored signal processing for lint comp

* titter search binding

* refactored signal processing for lint comp

* fixed twitter ref

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-04-29 08:02:57 -07:00
Lynn Orrell 8480a29c18
EventGrid Component Updates (#319)
* event grid udpates

* Initial event grid input binding

* Added Write() support to EventGrid component

* Updated eventgrid binding to use fasthttp instead of net/http

* Fixed linting issue in EventGrid binding

* Tidy up go.mod

* Added handshakePort to allow custom port for EG callback

* Now properly throwing an http 500 on handler err

* Updated event grid sdk for cloud event 1.0 support
Added support for all event grid sources via scope
Now validating required metadata on read/write

* Updated tests

* Fixed linting issue

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Young Bu Park <youngp@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-04-29 08:02:22 -07:00
Lynn Orrell 8827c58e78
Added Azure Event Grid Bindings (#290)
* event grid udpates

* Initial event grid input binding

* Added Write() support to EventGrid component

* Updated eventgrid binding to use fasthttp instead of net/http

* Fixed linting issue in EventGrid binding

* Tidy up go.mod

* Added handshakePort to allow custom port for EG callback

* Now properly throwing an http 500 on handler err

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Young Bu Park <youngp@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2020-04-28 12:50:13 -07:00
Ben Coleman ebf31ef7c5
Added SendGrid output binding for sending emails (#308)
* Added first cut of SendGrid binding

* Removed some junk

* tidy up based on PR review comments
Removed duped line, and logging, normalised error messages

* Silly mistakes on emailTo and subject checks

* Moving to new twilio folder structure

* adds BCC and CC, better error handling

* microscopic comment typo

* linter was complaining

* removing my accidental docs commit

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
2020-04-22 21:54:01 -07:00
Sivamuthu Kumar fd531b006f
Cosmos - Nested PartitionKey Support (#296)
* Nested partition key in cosmosdb bindings

* fix lint

* Lookup values by iterating

* fix lint

Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
2020-04-15 10:29:43 -07:00
Francisco Beltrao 75fcd7accf
Add message time to live in RabbitMQ, Azure Service Bus/Storage Queue bindings (#298)
* Add message ttl for Azure Service Bus/Storage Queue
and RabbitMQ

* Rename metadata key to ttlInSeconds
Move defaultQueueTTL to RabbitMQ metadata

* Move integration tests to own files

* Add +build integration_test tag

* Remove integration test skip

Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
2020-04-15 10:07:16 -07:00
Yaron Schneider 4f9d6d97e3
add partitionKey to kafka binding (#303)
Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
2020-04-09 14:42:01 -07:00
Pruthvidhar R Dhodda a36e498d02
Add TLS support for bindings.redis (#302)
* Add TLS support for bindings.redis

* Remove unsused dependencies

* Fix failing tests

* Remove unused variables
2020-04-09 12:02:24 -07:00
Young Bu Park 0489fb17f3
Fix linter errors (#293) 2020-04-01 17:22:15 -07:00
Sivamuthu Kumar b14500315a
Add Kinesis data stream binding (#273)
* Add Kinesis data stream binding

* fix lint kinesis

* Add license at top of the file

Co-authored-by: Young Bu Park <youngp@microsoft.com>
2020-03-24 11:33:23 -07:00
Ricardo Niepel 934ef7a7ba
Add metadata support to Azure Blob binding (#281)
* add metadata support to AzBlobBinding

* change to tabs

* fix lint error

* improve error message

* uncap error message
2020-03-21 16:33:35 -07:00
madhugilla dc1e938e61
Alicloudoss (#278)
* Object storage implementation for AliCloud

* linting fixes

* fixed comments and ran "go mod tidy" based on the feedback

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-03-20 12:34:38 -07:00
Carlos Landeras 22717373ca
[Azure Storage Queue Binding] Add option to decode base64 payloads #232 (#251)
* [Azure Storage Queue Binding] Add option to decode base64 payloads

* Fix tests

* Fix linting

* Fix wrong assertion

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
2020-03-20 03:47:00 -07:00
Sivamuthu Kumar f21a0e93e1
eventhub read and write from same partition (#269) 2020-03-19 12:31:10 -07:00
Abhishek Gupta cf077cca65
Updated Event Hubs bindings implementation to use EPH (#253)
* update implementation to use EPH

* fixed minor lint error

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-03-09 22:07:52 -07:00
Sivamuthu Kumar da7ce3f738
Twilio Binding - Get To Number from Request (#256)
* Twilio Binding - Get To Number from Request

* fix typo and rephrase error message

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-03-09 15:44:59 -07:00
Aaron Crawfis d38b341044 Updated binding docs to point to dapr docs 2020-03-09 09:47:43 -07:00
Young Bu Park ee97c3c56a
Use dapr logger (#238)
* Use dapr logger

* skip linter false alarm
2020-02-28 15:49:49 -08:00
Aaron Crawfis 275b115232
Update bindings doc (#219)
* Updated bindings docs

* Added spec reminder

* Added how to link
2020-02-10 19:09:48 -08:00
Young Bu Park 5a24823c89
Upgrade go to 1.13.7 and linter to 1.23.2 (#205)
* upgrade go

* Fix all linter errors
2020-02-03 14:29:29 -08:00
Mark Russinovich 3833ca9eb7
Added Twilio binding (#203)
* Added Twilio binding

* Fixed linter bugs
2020-01-30 18:18:52 -08:00
Shalabh Mohan Shrivastava e7639f90c9
Modify the AppResponse struct to have the store name (#183)
* Need to change the AppResponse struct to have the store name and state requests separately to support multiple state stores support in Dapr.

This is needed to support this requirement : dapr/dapr#636

* Putting the state in a separate struct

* Reverting the last commit - and keeping the things simple, just adding the storeName in the struct
2020-01-09 15:52:45 -08:00
Dr. David Kunz 49553859a0 Update redis_test.go (#165)
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-01-09 12:34:32 -08:00
Abhishek Gupta 9323c44ecf check etag for etcd update and delete ops (#175) 2020-01-09 12:33:23 -08:00
Marcin Kosieradzki 3db863cac6 Changed schema to be consistent with blobstorage (#166)
* Changed schema to be consistent with blobstorage

* Updated tests to match the updated schema
2019-12-27 10:35:28 -08:00
Yaron Schneider 94d9988642
fix close channel by queue redecleration (#162) 2019-12-23 16:17:00 -08:00
thinkerou a2f4b4c510 upgrade logrus to v1.4.2 (#150)
* fix conflict

* upgrade logrus to v1.4.2

* fix lint error

error: `depguard  `github.com/sirupsen/logrus` is in the blacklist`
2019-12-12 09:34:39 -08:00
stather 744880306f Azure storage queue binding implementation (#146)
* folders and files

* boilerplate added

* write queue done
parse metadata done

* refactor of init and write

* All done

* lint updates

* Additional lint fixes

* lint simplifications

* UPdated to make testable
Make read blocking

* working tests

* linting fix

* Added backoff so we dont eat CPU

* go mod tidy to fix error

* fixed test failures

* Fixed lint error
2019-12-03 21:31:46 -08:00
Francisco Beltrao f89682397b Add Azure SignalR binding (#148)
* Add Azure SignalR binding

* Fixes from go lint

* Go lint

* Use "github.com/dgrijalva/jwt-go" for jwt
Fix bug parsing connection string
Normalize usage of len vs == in strings

* Consistent usage of http header Set
2019-12-03 09:08:53 -08:00
Yaron Schneider 62856f9e0c
Merge branch 'master' into naming 2019-11-22 11:15:50 -08:00
Shalabh Mohan Shrivastava ad0e80bd3c Removing unused import 2019-11-21 18:23:43 -08:00
Shalabh Mohan Shrivastava b1ae76550b Split the requests and responses for input/output bindings 2019-11-21 18:19:17 -08:00
Shalabh Mohan Shrivastava 8c9a3bd806 [Commit - Bindings Package names]
Changing the names of the packages directory so to be consistent with name of the company .

It is to be noted that package name can not have hyphen "-" in the name.
So changing the directory names and putting under company names.

For example - dynamodb  package would be

dapr/components-contrib/bindings/aws/dynamodb
2019-11-18 15:33:13 -08:00
Flier Lu 342e0d6223 [WIP] Add zookeeper state store (#80)
* [WIP] Add zookeeper state store

* go mod vendor

* fix lint warnings

* change state.StateStore to state.Store
2019-10-31 21:04:34 -07:00
Abhishek Gupta 9f90855bf7 Updated Kafka binding component to add SASL authentication (#77)
* updated implementation

* removed InsecureSkipVerify
2019-10-29 23:40:30 -07:00
sayboras 8adf323961 Add github action for CI (#59)
* Initial commit

* Fixed all linting error

* Used prepared query instead of string format

* Enabled linter for test
Enabled below linters
    - gochecknoglobals
    - gochecknoinits

* Enabled below linters
    - godox
    - interfacer
    - maligned

* Revert name change for StateStore in pkg state

* Incorporate review comments

* Cleanup the github ci

* Correct typo

* Add golangci-lint version in github ci step

* Update Readme.md
2019-10-28 15:39:48 -07:00
Łukasz Kałużny 195b14e610 Fix typo in comment in blobstorage.go (#63) 2019-10-28 09:13:16 -07:00
Philippe Coval c9c1a54867 docs: Fix RabbitMQ link (#40)
Change-Id: I9ed68882624f65203ec0bb472a8729951a662d87
Forwarded: https://github.com/dapr/components-contrib/pull/40
Signed-off-by: Philippe Coval <p.coval@samsung.com>
2019-10-18 03:40:17 -07:00
Yaron Schneider d0a26589f2
Update Readme.md (#37) 2019-10-15 11:32:40 -07:00
Yaron Schneider 887cd92b8d
vendor update (#34) 2019-10-14 23:49:50 -07:00
shalabhs 4a62360ad4 - adding more corrections 2019-10-10 18:16:08 -07:00
shalabhs ae8c77f43b Adding and Correcting code comments and types 2019-10-10 18:09:13 -07:00
Aman Bhardwaj 04bef3ac3f Adding license header and updating to MIT license. (#26) 2019-10-09 10:58:08 -07:00
Yaron Schneider 2b8dbd2b44
dapr name change (#21) 2019-10-02 13:21:22 -07:00
Yaron Schneider 96bfa841c2
Update Readme.md (#20) 2019-10-01 10:21:22 -07:00
Brendan Burns a1ab528d56 Add a Kubernetes input binding. (#15) 2019-09-30 22:01:43 -07:00
Yaron Schneider ad1d4aaec2
Add GCP Pub/Sub input and output binding (#18)
* add gcp pub-sub input/output binding

* update bindings list

* Update pubsub_test.go
2019-09-30 08:46:20 -07:00
Yaron Schneider 80358f0a11
add New() method for Service Bus Queues (#14) 2019-09-27 16:43:45 -07:00
Yaron Schneider 1c5bc048e9
Update Readme.md 2019-09-27 16:27:12 -07:00
Yaron Schneider a50e3de151
Add Azure Service Bus Queues binding (#13)
* add azure service bus queues bindings

* update table
2019-09-27 16:10:00 -07:00
Yaron Schneider 8dacdab522
Update input_binding.go (#12) 2019-09-27 14:49:25 -07:00
Yaron Schneider 0a710b46dc
add s3 binding (#6)
* add s3 binding

* add debug log on nonexistent key

* include key in debug log
2019-09-27 09:13:35 -07:00
Yaron Schneider 071f9ec31b
add azure blob storage binding (#4) 2019-09-27 07:45:26 -07:00
Yaron Schneider 07ac7d0af5
Update Readme.md 2019-09-26 16:19:17 -07:00
yaron2 cf986a3ab7 table update 2019-09-26 16:16:41 -07:00
yaron2 22fea6f43d initial commit 2019-09-26 15:47:41 -07:00