Yaron Schneider
b4d68ed28a
Add AWS S3 standalone presign operation ( #2138 )
...
* add aws s3 standalone presign operation
Signed-off-by: yaron2 <schneider.yaron@live.com>
* linter
Signed-off-by: yaron2 <schneider.yaron@live.com>
Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-09-28 16:01:30 -07:00
Yaron Schneider
47d5b90e44
Add presigning to aws s3 binding ( #2121 )
...
* add presigning to aws s3 binding
Signed-off-by: yaron2 <schneider.yaron@live.com>
* fix error shadowing
Signed-off-by: yaron2 <schneider.yaron@live.com>
* typo and error consistency
Signed-off-by: yaron2 <schneider.yaron@live.com>
Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-09-23 15:35:15 -07:00
Bernd Verst
1d0ad9c6d8
Use standardized metadata parser
...
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-12 18:50:05 -07:00
Alessandro (Ale) Segala
bcea284c7b
Components' init functions should return interfaces ( #1997 )
...
* Components' init functions should return interfaces
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* 💄
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* pin latest berndverst contrib fork
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Fixed component registration in tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Updated all cert tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-25 18:27:45 -07:00
Bernd Verst
e87cd5e4cb
Go 1.19 support and linter fixes ( #1975 )
...
* Go 1.19 support and linter fixes
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Update workflows for Go1.19 and new linter version
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Remove unnecessary space in nolint directive
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* disable additional linters which aren't used because of Go generics
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* enable gosec linter again
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Update bindings/zeebe/command/publish_message_test.go
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Update bindings/output_binding.go
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Use prepared statement for mysql table creation
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Ping is not ping
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* c'mon linter
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Fix MySQL gosec issue
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* revert mysql to be fixed later
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-18 00:45:23 -07:00
Alessandro (Ale) Segala
d38c786771
Add contexts to input bindings ( #1831 )
...
This is the last part of the "shutdown sequence fix": it allows shutting down input bindings before output ones.
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-07-12 12:19:27 -07:00
Alessandro (Ale) Segala
a2f3a84b96
Moved authentication to be an internal pkg ( #1855 )
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-07-06 11:05:34 -07:00
Alessandro (Ale) Segala
0cb7906c41
Ensure context propagation in SNS binding ( #1825 )
...
Spin-off from PR adding contexts to input bindings
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2022-06-30 21:36:09 -07:00
Alessandro (Ale) Segala
9b7db8927a
Improvements to S3 binding ( #1824 )
...
* Improvements to S3 binding
Ensure context propagation in output bindings + other fixes
Spin-off from PR adding contexts to input bindings
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Fixed tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2022-06-30 17:27:48 -07:00
Alessandro (Ale) Segala
2305dfb609
Improvements to DynamoDB binding ( #1823 )
...
Ensure context propagation in PutItem and other minor changes
Spin-off from PR adding contexts to input bindings
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2022-06-30 15:44:15 -07:00
Yaron Schneider
8728f8a4c9
add file upload to s3 ( #1785 )
...
Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-06-13 11:48:50 -07:00
Alessandro (Ale) Segala
ca9fbf690e
Fixed Kafka PubSub to allow multiple handlers for different topics ( #1755 )
...
* Fixed Kafka PubSub to allow multiple handlers for different topics
With this, tests from #1743 are passing
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Removed read lock (for now)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Updated as requested by @skyao
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Use interface type everywhere
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Fixed panic
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2022-06-01 15:31:11 -07:00
pigletfly
5673b28b13
Add context in bindings interface
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-04-25 14:16:15 +08:00
Alessandro (Ale) Segala
cad688a7d9
Allow accepting self-signed TLS certs for S3 ( #1593 )
...
* Allow accepting self-signed TLS certs for S3
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Fixed missing comma
Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>
* Linter was complaining
Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Looong Dai <long.dai@intel.com>
2022-03-21 10:13:25 -07:00
Yaron Schneider
ad1a51d7d1
add disablessl option to s3 config ( #1555 )
...
Signed-off-by: yaron2 <schneider.yaron@live.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2022-03-09 17:11:10 -08:00
Dmitry Shmulevich
c7adb917f3
update license to Apache v2.0 ( #1406 )
2022-01-04 19:53:31 -08:00
RainFD
0f97b52b90
add S3ForcePathStyle support for s3 binding ( #1360 )
...
* add S3ForcePathStyle support for s3 binding
Signed-off-by: rainfd <rainfd@live.cn>
* add S3ForcePathStyle unit test
Signed-off-by: rainfd <rainfd@live.cn>
2021-12-23 18:58:39 -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
Long Dai
988fed05ab
ci: standard linter config ( #1102 )
...
* ci: standard linter config
Signed-off-by: Long <long.dai@intel.com>
* Update utils.go
* fix pulsar issue
Signed-off-by: Long <long.dai@intel.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-09-21 15:21:59 -07:00
Javier Vela
418fc726f5
Update S3 binding ( #1081 )
...
* S3 update create operation: support upload files in base64, return location and versionId on create operation
* S3 add get operation
* S3 add delete operation
* S3 add list operation
* S3 fix lint errors
* S3 add close method
* S3 add option to encoode data respose in base64
* S3 fix test get option
* S3 fix metadata test delete option
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-09-07 11:03:22 -07:00
Javier Vela
405ba37eb8
added binding AWS SES ( #1021 )
...
* added binding AWS SES
* binding AWS SES: removed unused code
* binding AWS SES: fix lint
* binding AWS SES: fix parse session token
* binding AWS SES: support multiple email && fix cc / bcc parse error
* binding AWS S3: add TODO configuration set
* binding AWS SES: handle error on unquote req.Data
* binding AWS SES: fix lint errors
* binding AWS SES: reuse SES instance
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-08-13 17:24:00 -07:00
Phil Kedy
688df9bda4
Removed dependency on dapr/dapr in favor of dapr/kit. Fixed go mod dependencies afterwards. Go 1.16 in go.mod. Removed accidental log dependency. ( #807 )
2021-04-19 12:06:10 -07:00
Yaron Schneider
192461889c
Add app response to input binding event ( #764 )
...
* add app response to input binding event
* lint
2021-03-18 14:22:14 -07:00
Yaron Schneider
3ef025c604
change headers ( #679 )
2021-02-09 18:57:55 -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
halspang
f647d9eedb
Upgrade golang lint to 1.31 ( #490 )
...
Upgrade golang lint to 1.31.0
https://github.com/dapr/components-contrib/issues/439
2020-10-12 12:54:15 -07:00
Yaron Schneider
e82164f4e7
Add bi-directional bindings support ( #350 )
...
* add bi-directional bindings
* added invoke response
* added explicit types
* change operationtype to operationkind
2020-05-26 23:32:20 -07:00
Trond Hindenes
d3e9a7b3a7
Use shared aws auth package ( #347 )
...
* Use shared sqs auth package
* Goimports-ed files
* Added support for endpoint param in aws credentials abstraction, since the sqs-sns pubsub module required it
* Added endpoint support for all aws things
* Updated tests
2020-05-26 16:27:16 -07:00
Trond Hindenes
52e37224e5
aws sqs: Use implicit creds and region by default, explicit if specified ( #340 )
...
* Use implicit creds by default, explicit if specified
* Remove log lines
* Support implicit region as well
* gofmt-ed file
* removed a newline
* Use a separate package for aws auth stuff
* Rename + alias imports
* gofmt
* goimportsed file
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-05-22 15:59:22 -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
Young Bu Park
ee97c3c56a
Use dapr logger ( #238 )
...
* Use dapr logger
* skip linter false alarm
2020-02-28 15:49:49 -08:00
Abhishek Gupta
9323c44ecf
check etag for etcd update and delete ops ( #175 )
2020-01-09 12:33:23 -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
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