Commit Graph

425 Commits

Author SHA1 Message Date
Bernd Verst 6df7f09927 Fix linter issues, update test config, rebase upstream
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-02 15:15:45 -07:00
1046102779 61d82465c2 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-11-02 20:18:45 +08:00
Bernd Verst cbaa08a2e6 Update gcp secretmanager import
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-01 16:00:27 -07:00
Bernd Verst 27365fbb35 Update many libraries again
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-01 16:00:27 -07:00
1046102779 5a350f1dd6 Merge branch 'master' into feature/state_context1021 2022-11-01 09:23:57 +08:00
Alessandro (Ale) Segala e715c169b5
Merge branch 'master' into explicitly-add-consumer 2022-10-31 13:27:27 -07:00
Tomasz Pietrek 90bf32280d Update nats client
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
2022-10-31 20:11:39 +01:00
Ryan Lettieri 643b5b3bc7 Updates to go.mod for temporal and inclusion of workflows in build-tools files
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-24 20:59:56 -06:00
1046102779 1ed4c39d8c feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-24 10:16:21 +08:00
lior.nabat@kubemq.io 04f4f697fd Add new PubSub component - KubeMQ Kubernetes message broker
Signed-off-by: Lior Nabat <lior.nabat@gmail.clom>
2022-10-22 22:30:16 +03:00
Lior Nabat bed3d69a6f Add new PubSub component - KubeMQ Kubernetes message broker 2022-10-22 18:51:11 +03:00
Ryan Lettieri d8d8d3d5bd Merging master into branch
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-21 20:07:50 -06:00
Pravin Pushkar ed745763a0
Fix bulk get from gcp secret store (#2175)
* Fix bulk get from gcp secret store

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Including version in bulk secret name & client close func

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Adding unit test

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix lint

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* trigger pr checks

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.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-10-21 16:24:27 -07:00
1046102779 08f665cb83 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-21 21:05:47 +08:00
1046102779 d58e6a3445 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-10-21 19:08:52 +08:00
shivam 8533feb87f Upgrade mqtt component to upstream
Signed-off-by: shivam <shivamkm07@gmail.com>
2022-10-21 14:39:46 +05:30
Bernd Verst 7dcd3d0a63 update vulnerable libraries
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-19 18:50:31 -07:00
Bernd Verst e1ce892c3f upgrade more libraries again
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-19 18:19:35 -07:00
Bernd Verst 72ffacf656 Update more libraries and clean up go.mod
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-14 15:16:02 -07:00
Ryan Lettieri 3a26c43127
Merge branch 'master' into workflow-dev 2022-10-13 09:11:01 -06:00
Bernd Verst c6b888eefa don't remove mqtt replacement
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-12 15:25:07 -07:00
Bernd Verst 5e896ecd5a remove unnecessary replace statements
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-12 15:18:05 -07:00
Bernd Verst 58b1ec4055 do not pin kubernetes client
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-12 15:14:16 -07:00
Ryan Lettieri 89ca4cc2b6 Hopefully fixing go.mod and go.sum issue in workflows building block commits
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 11:11:20 -06:00
Ryan Lettieri 181519615a Fixing all the include errors in workflows building block review and merging in master
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 10:45:35 -06:00
Ryan Lettieri 321e45c479 Adding missing go.mod and go.sum files
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 10:15:15 -06:00
Bernd Verst a7bc8874d5 make modtidy-all
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-12 10:11:52 -06:00
Ryan Lettieri 2b62efc566 Fixing go.mod and go.sum issues
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 10:05:50 -06:00
Ryan Lettieri bcd54e0d72 Updates to workflows to be compatible with pluggable components changes
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 10:05:14 -06:00
Ryan Lettieri 59dc9ceaf6 Updating go files and removing unnecessary temporal test since server is needed for it to run
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 10:02:40 -06:00
Ryan Lettieri ae621af3d0 Updating requests and responses to be more generic
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-12 10:02:29 -06:00
Ryan Lettieri ec066e6262 Merging master
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-11 15:58:52 -06:00
Bernd Verst ade5ef14ea keep go-ieproxy at v0.0.1
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-11 14:55:31 -07:00
Bernd Verst 83a562d71a update lots of dependencies
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-11 14:01:38 -07:00
Bernd Verst b9654bd979 upgrade to v5 of jackc/pgx
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-10 15:08:07 -07:00
Bernd Verst 4d57dedd88 Upgrade deps of stable components to latest minor releases
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-10 14:15:26 -07:00
Ryan Lettieri bce1401fda Moving go sdk inclusion into correct location
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-10 11:28:33 -06:00
Ryan Lettieri f86b0b80c3 Updating go dapr sdk
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-10 11:05:55 -06:00
Ryan Lettieri 5ee15fb1d4 Adding missing go.mod and go.sum files
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-10 09:45:12 -06:00
Ryan Lettieri 21cbd928e8 Merged in changes from master into workflows
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-10-10 09:44:27 -06:00
ItalyPaleAle 132acafe54 Remove ipfs binding which is not part of the runtime
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-07 22:24:57 +00:00
Bernd Verst 796a3ddb7d
Merge branch 'master' into wapc-0.5.4 2022-10-07 12:09:21 -07:00
Tomasz Pietrek 0aa3b0d688 Tidy go modules
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
2022-10-07 09:56:00 +02:00
Jarema 8fe0e985fc Bump nats dependencies
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
2022-10-07 08:49:11 +02:00
Adrian Cole 38e1daf409 deps: updates to latest wapc-go
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2022-10-03 07:56:15 +02:00
Pravin Pushkar 23acfa50ca
Azure Appconfig configuration store - Subscribe and Unsubscribe impl (#2088) 2022-09-28 10:52:12 -07:00
Mukundan Sundararajan 2817724483
Merge branch 'master' into postgresql_config_store 2022-09-22 13:41:16 +05:30
Pravin Pushkar 2d72e46589
Merge branch 'master' into fix/configapi_getall 2022-09-22 11:55:02 +05:30
Pravin Pushkar ac2ddd8ef5
Merge branch 'master' into fix/configapi_getall
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-09-22 10:40:05 +05:30
Bernd Verst 0510b094bf Use latest Azure SDK for Go minor / patch SDK versions
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-21 14:54:24 -07:00
Pravin Pushkar 77f538ea56 run modtidy
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-09-20 19:07:19 +05:30
Pravin Pushkar 1aebaeaa9b Fix getAll configuration Api for azure app config
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-09-20 17:41:55 +05:30
akhilac1 6746680568 fixing review comments
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-20 17:16:03 +05:30
akhilac1 6ddc42d3bd fixed review comments
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-20 15:20:25 +05:30
akhilac1 4f64eefae6 Fixing make modtidy-all
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-19 16:47:02 +05:30
akhilac1 10ec970b0f Merge remote-tracking branch 'upstream/master' into postgresql_config_store 2022-09-19 16:45:19 +05:30
Artur Souza dfb8dbce41
Merge branch 'master' into Cosmosdb_track2 2022-09-18 19:42:10 -07:00
dependabot[bot] 7391f9628c
Bump github.com/open-policy-agent/opa from 0.42.0 to 0.43.1
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.42.0 to 0.43.1.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v0.42.0...v0.43.1)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 17:53:37 +00:00
Ryan Lettieri b2f4f1fe17
Merge branch 'master' into Cosmosdb_track2 2022-09-15 15:25:26 -06:00
Bernd Verst 9f7bd5244c
Merge branch 'master' into postgresql_config_store 2022-09-14 16:29:36 -07:00
Dapr Bot 7fced084f8
Merge branch 'master' into workflow-dev 2022-09-14 15:31:59 -07:00
yellow chicks 57b5acc1cb
feature(secretstore): add context to api and tencent/ssm (#1973)
* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* Add Features list to Tencent SSM

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* pin custom dapr in cert tests for bindings context change

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* feature(secretstore): add context to api and tencent/ssm

Signed-off-by: 1046102779 <seachen@tencent.com>

* optimize(middleware): Middleware to middleware.Middleware API

Signed-off-by: 1046102779 <seachen@tencent.com>

* fix pinning of custom dapr in cert tests

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update cassandra cert test with new secretstore context

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* modtidy again

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: 1046102779 <seachen@tencent.com>
Signed-off-by: Bernd Verst <4535280+berndverst@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-09-14 15:18:12 -07:00
Bernd Verst b68448184b Merge remote-tracking branch 'upstream/master' into Cosmosdb_track2 2022-09-14 14:06:58 -07:00
Bernd Verst cfcca09460 make modtidy-all
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-14 13:40:26 -07:00
Bernd Verst e181b59d0d
Merge branch 'master' into workflow-dev
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-14 13:39:12 -07:00
AkhilaC 2709bee4b4
Merge branch 'master' into postgresql_config_store 2022-09-14 11:43:10 +05:30
Crypt Keeper b379f80b75
middleware: changes wasm basic to use waPC (#1833)
Updates wasm basic middleware and simplifies some code inside of it,
notably by using [waPC](https://github.com/wapc/wapc-go).

This changes the entrypoint function to be named "rewrite" and
uses a pool because known memory allocators are not goroutine
safe.

Signed-off-by: Adrian Cole <adrian@tetrate.io>

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-09-13 17:12:59 -07:00
Ryan Lettieri 920d7938c0 Fixing go.mod and go.sum issues
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-12 16:00:45 -06:00
Ryan Lettieri 855f54404e Updates to workflows to be compatible with pluggable components changes
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-12 13:32:05 -06:00
Ryan Lettieri d3bdfa5281
Merge branch 'master' into workflow-dev
Signed-off-by: Ryan Lettieri <67934986+RyanLettieri@users.noreply.github.com>
2022-09-12 10:27:18 -06:00
akhilac1 e6a8156c4b Support Postgres config store
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-09 20:30:07 +05:30
Ryan Lettieri 924f39d60b Running go mod tidy
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-08 15:25:34 -07:00
Ryan Lettieri f57253eabe Missing newline to go.mod
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-08 15:25:34 -07:00
Ryan Lettieri e012a807b7 Upgrading cosmosdb statestore to track2SDK
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-08 15:25:33 -07:00
Bernd Verst d7105612e8 Add Go vulnerability check to workflow
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-09-06 10:07:06 -07:00
Ryan Lettieri b52df7150a Updates to workflows and temporal for testing and API Changes
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-02 16:22:28 -06:00
Ryan Lettieri 70d4292831 Updating go files and removing unnecessary temporal test since server is needed for it to run
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-09-01 18:19:10 -06: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 b3e18bb11d
pubsub.in-memory: add support for wildcard topics (#1966)
* pubsub.in-memory: add support for wildcard topics

Fixes #1964

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* make modtidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@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-12 17:13:47 -07:00
qiangmzsx 79a3cd990a
Removing the use of the ioutil package And Fix CVE-2021-42576 (#1954)
* fix CVE-2021-42576

Signed-off-by: qiangmzsx <qiangmzsx@gmail.com>

* Removing the use of the ioutil package

Signed-off-by: qiangmzsx <qiangmzsx@gmail.com>

* Update middleware/http/nethttpadaptor/nethttpadaptor.go

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: qiangmzsx <qiangmzsx@gmail.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-10 13:45:00 -07:00
dependabot[bot] 823dd0bead
Bump github.com/open-policy-agent/opa from 0.40.0 to 0.42.0 (#1945)
* Bump github.com/open-policy-agent/opa from 0.40.0 to 0.42.0

Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.40.0 to 0.42.0.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v0.40.0...v0.42.0)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* make modtidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-09 15:45:58 -07:00
Ryan Lettieri ac1e16f58f
Adding in track2 SDK support for CosmosDB Bindings (#1876)
* Adding in track2 SDK support for CosmosDB Bindings

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Removing non needed ID check

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>

* Addressing container read operation

Signed-off-by: Ryan Lettieri <67934986+RyanLettieri@users.noreply.github.com>

* Updating linting

Signed-off-by: Ryan Lettieri <67934986+RyanLettieri@users.noreply.github.com>

Co-authored-by: Ryan Lettieri <ryanLettieri@microsoft.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2022-08-09 12:30:00 -07:00
Ryan Lettieri 51580cd062 Updating requests and responses to be more generic
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
2022-08-08 17:17:44 -06:00
Mr.Black 66d92cd7ff
add a new binding component : alicloud sls log storage (#1873)
* new a bingding componet alicloud sls logstorage

Signed-off-by: RcXu <honeyxhl@163.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* update sls binding component

Signed-off-by: RcXu <honeyxhl@163.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* update the metadata decode method

Signed-off-by: RcXu <honeyxhl@163.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* make modtidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* sort imports

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: RcXu <rongcai.xu@ivydad.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-08-05 16:44:31 -07:00
hypernova3 9a17d327f3
add ipfs binding (#1849)
* add web3.ipfs binding

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* Replaced go module as old versions brought in a dep with LGPL license

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* lint

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* changed cid -> path

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* add "ls" command

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* pin-ls returns cids

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* just "bindings.ipfs"

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* updated library to kubo

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* added tests

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

* linted

Signed-off-by: hypernova3 <108718961+hypernova3@users.noreply.github.com>

Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-05 12:53:59 -07:00
Christian Kaps 295f66a9dd
Add auto-completion flag for Zeebe (#1908)
Signed-off-by: Christian Kaps <ck-github@mohiva.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-08-04 19:47:31 -07:00
Bernd Verst fa48c504b8
Fix Apache Dubbo indirect dependency (#1934)
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2022-08-04 17:04:22 -07:00
Carlos Mendible 20e987b778
azure appconfig configuration store (#1874)
* azure appconfig configuration store

Signed-off-by: cmendible <cmendible@gmail.com>

* added retry options

Signed-off-by: cmendible <cmendible@gmail.com>

* removed unused property

Signed-off-by: cmendible <cmendible@gmail.com>

* fixed error msgs, typos and test names

Signed-off-by: cmendible <cmendible@gmail.com>

* resource documenation

Signed-off-by: cmendible <cmendible@gmail.com>

* return err from not implemented functions

Signed-off-by: cmendible <cmendible@gmail.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Loong Dai <long.dai@intel.com>
2022-07-20 09:14:13 -07:00
Andrew 2b3712b755
Ft/sasl scram sha 256 512 (#1856)
* working with hardcoded SHA-512

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* cleanup code

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* Do not hardcode specific testTopicName

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Andrew Duss <andy.duss@storable.com>

* Ensure context propagation in MySQL binding (#1829)

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>
Signed-off-by: Andrew Duss <andy.duss@storable.com>

* Add support for AAD auth in Azure Storage Queues binding (#1842)

* Add support for AAD auth in Azure Storage Queues binding

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* 🧹

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Signed-off-by: Andrew Duss <andy.duss@storable.com>

* Moved authentication to be an internal pkg (#1855)

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Andrew Duss <andy.duss@storable.com>

* Azure AD support in SignalR (#1852)

* WIP: Azure AD support in SignalR

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Correct SignalR AAD details

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Misc fixes

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* azauth package name

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Andrew Duss <andy.duss@storable.com>

* rename SCRAM properly as SASL

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* update gomod/sum

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* gofmt

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* mod tidy

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* goval

Signed-off-by: Andrew Duss <andy.duss@storable.com>

* use xdg-go instead of depreicated xdg library

Signed-off-by: Andrew Duss <andy.duss@storable.com>

Co-authored-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2022-07-08 06:08:40 -07:00
Alessandro (Ale) Segala 3821c00131
Azure AD support in SignalR (#1852)
* WIP: Azure AD support in SignalR

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Correct SignalR AAD details

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Misc fixes

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* azauth package name

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-07-06 14:05:24 -07:00
Alessandro (Ale) Segala 921248462d
Updated Twilio components (#1830)
Ensure output binding propagates context (requires updated SDK)

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 16:39:22 -07:00
Bernd Verst 55888c0d22
update imports for Fossa and Certification test (#1796)
* update imports for Fossa and Certification test

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* modtidy

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-17 15:51:22 -07:00
Alessandro (Ale) Segala a08988c25e
Shared implementation for Azure Service Bus subscriptions for binding and pubsub (#1791)
* Moved ASB subscription code to a shared package

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Moved ASBQ binding to use the shared ASB implementation

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Updating Azure Service Bus SDK version

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-17 15:12:15 -07:00
Bernd Verst f25b26fc0c
Upgrade to Azure Table Storage Track 2 SDK in State Store and add CosmosDB Table API support (#1792)
* Upgrade to Azure Table Storage Track 2 SDK in State Store

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* make modtidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* don't panic

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* fix error parsing

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Adds support for empty rowKeys again

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Pin aztables v1.0.1

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Add support for Cosmos DB Table API

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Add Azure Table Storage CosmosDB conformance test

Signed-off-by: GitHub <noreply@github.com>

* Address code review

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Create Table Storage State store subtests

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Address linter issue

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* context instead of ctx

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* load state store in conf tests

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* use cosmosDB mode in cosmosDB test

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Add Azure AD support for Table Storage

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* remove shadow declaration

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* make accountKey optional

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Add options to skip table creation

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-17 14:04:53 -07:00
Christian Kaps 6f159394b7
Update to Camunda Platform 8 (#1787)
Signed-off-by: Christian Kaps <ck-github@mohiva.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-14 10:01:41 -07:00
Bernd Verst 83a76d556a
Upgrade Apache Dubbo again - pin to Dapr support branch (#1786) 2022-06-13 19:10:51 -07:00
Loong Dai 419e296d35
middleware: add wasm basic (#1747)
* middleware: add wasm basic

Signed-off-by: Loong <loong.dai@intel.com>

* Update middleware/http/wasm/basic/basic.go

* Update middleware/http/wasm/basic/basic.go

Co-authored-by: Taction <zchao9100@gmail.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-13 12:18:06 -07:00
dependabot[bot] 1db4173a9d
Bump github.com/open-policy-agent/opa from 0.23.2 to 0.40.0 (#1757)
* Bump github.com/open-policy-agent/opa from 0.23.2 to 0.40.0

Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.23.2 to 0.40.0.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v0.23.2...v0.40.0)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update go mods

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-10 13:00:34 -07:00
Laurence 7145287978
fix: dubbo binding enhancement (#1782)
* fix: dubbo binding enhancement

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* fix: tidy all

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* mod tidy

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Pin couchbaselabs/gojcbmock to commit with LICENSE

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* modtidy again

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* commit to retrigger tests

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-10 12:16:37 -07:00
Alessandro (Ale) Segala 157ddc6d6b
Bumped dapr/dapr in cert tests (#1773)
* Bumped dapr/dapr in cert tests

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Updated interface

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Added missing go.mod

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* More fixes

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Fix eventhubs not closing on context cancelation

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-07 08:24:15 -07:00
Alessandro (Ale) Segala 704f4dd730
Add contexts to pubsub.Subscribe to allow early cancelation (#1756)
This commit is related to dapr/dapr#4624. As noted there, we have an issue in the runtime where all components are shut down after the grace period, when the app is likely already stopped. Because of that, certain input components (the subscribe part of pubsub and the input part of bindings - the latter not in scope of this PR), can continue bringing new work when it's known to fail.

In order to fix the issue linked above properly, we need to implement a way for PubSub components to have the "publish" part closed before the "subscribe" one (and in the future that will need to be done for input bindings too).

This commit achieves precisely that by adding a context in the Subscribe method. When that context is canceled (which can be at any time), the subscription is removed.

PS: This API change was implemented so it can one day be used for dapr/dapr#814 too, as it allows canceling individual subscriptions by using a different context. Although that's not possible today because it requires more work on the runtime, it does implement everything that's needed in the pubsub components already.
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-02 15:06:36 -07:00
Laurence a323748d75
Feat: Add apache dubbo output binding (#1768)
* feat: support apache/dubbo

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* fix: comments

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* fix: gofumpt test file

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* feat: dubbo cert test

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* fix: add missiing header

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

Co-authored-by: Loong Dai <long.dai@intel.com>
2022-06-01 10:38:29 -07:00
Shubham Sharma d03aeba3e0
Upgrade rocketmq version (#1740)
* Upgrade rocketmq

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Trigger Build

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-05-26 09:24:29 -07:00
Yaron Schneider 47e95c9a47
Update redis go to v8.11.5 (#1734)
* update redis go to v8.11.5

Signed-off-by: yaron2 <schneider.yaron@live.com>

* go mod update

Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-05-20 11:55:17 -07:00
Jasonli 499f6b2d49
Implement new bindings component for Huawei OBS (#1724)
* Add new bindings component for Huawei OBS

Signed-off-by: jasonlica <jasonli@huawei.com>

* resolve conflicts in go.sum respective to the changes #1710

Signed-off-by: jasonlica <jasonli@huawei.com>

* update go.mod

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update go.mod

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-05-17 23:12:39 -07:00
Alessandro (Ale) Segala e1b6b01223
Tweaks for ASB pubsub (#1729)
* Tweaks for ASB pubsub:
1. Do not attempt to reconnect when context was canceled
2. Message finalization uses a background context and not the running ctx, in case the app is shutting down

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* ASB: abandoned messages shouldn't be retried right away

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Ported fixes to servicebusqueues binding too

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Use a different approach to limit the number of messages processed in case of error

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Added maxRetriableErrorsPerSec to servicebusqueues binding too
Incl other improvements

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Do not reconnect to ASB every time we retrieve a message.

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* ⚙️

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-05-17 22:33:34 -07:00
Alessandro (Ale) Segala e5e9011655
Update Azure Service Bus components to track2 SDK (#1702)
* Updated to Go 1.18

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

* Updated Azure SDKs that are on track2
Includes some minor refactoring of auth code

Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

* Updated Service Bus components to track2 SDK

Co-authored-by: halspang <halspang@microsoft.com>
Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

* Initial Certification test for eventhubs binding [incomplete] (#1670)

* certification test for eventhubs binding

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* modified go.mod and go.sum

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* Add connection string testing

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* iothub testing

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* address feedback and run test

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* Install Azure CLI IOT hub extension

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* make modtidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* covering all eventhubs test cases

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* dependency changes after go modtidy-all

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Looong Dai <long.dai@intel.com>
Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

* Use revive instead of golint (#1685)

Signed-off-by: pigletfly <wangbing.adam@gmail.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

* Updated to Go 1.18 (#1697)

* Updated to Go 1.18

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>

* Added go.work file
With Go 1.18, this allows gopls (the Go language server used for example in VS Code) to work inside test apps too.
See: https://go.dev/doc/tutorial/workspaces

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Removed go.work

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* 💄

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

* 💄 & 🧹

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

* Add metadata property to configure Batching in Pulsar (#1707)

* Add metadata property to configure BatchingMaxSize&batchingMaxMessages in Pulsar
Signed-off-by: saberwang <saberwang@hotmail.com>

* sort field
Signed-off-by: saberwang <saberwang@hotmail.com>

* [pubsub]fix unit test bug
Signed-off-by: saberwang <saberwang@hotmail.com>

* remove unrelated changes
Signed-off-by: saberwang <saberwang@hotmail.com>

* Delete hard coded Metadata
Signed-off-by: saberwang <saberwang@hotmail.com>

* remove  .history

Signed-off-by: saberwang <saberwang@hotmail.com>

* restore .gitignore

Signed-off-by: saberwang <saberwang@hotmail.com>

* Hard coding default values and adding 'BatchingMaxPublishDelay' metadata

Signed-off-by: saberwang <saberwang@hotmail.com>

* fix code format

Signed-off-by: saberwang <saberwang@hotmail.com>

* formatting code

Signed-off-by: saberwang <saberwang@hotmail.com>

Co-authored-by: Looong Dai <long.dai@intel.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

* This test can't work with track2 SDKs
The methods to create a message with a body are not exported

Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

* 🧹

Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

* There's such thing as too much logging

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Refactored subscription.go
This greatly simplifies certain parts of the code, reducing the number of goroutines and likely improving performance.
Performance for end-users improves too as there's no need anymore to pause for 2 seconds every time that we reach `maxActiveMessages`.
Additionally, with this change the config options `prefetchCount` and `maxActiveMessagesRecoveryInSec` are removed as unnecessary anymore.

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* 💄

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Fixed pubsub tests

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* These packages should have never been upgraded

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Ensuring we don't fetch 1 message more than max active

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Adding configurable timeout for servicebusqueues operations

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Persistent connection for invoking SB queues

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Reverted Event Hub SDK update

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Revert "Reverted Event Hub SDK update"

This reverts commit 212220aba0.

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Fix Azure deploy for users with a first.last email

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Added some sleep that should help reduce flakiness in eventhubs binding cert test

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Changed servicebusqueue cert test
In case of a failure in the handler (ie. users' code), the message should be correctly re-enqueued, which means that messages will be re-delivered later and won't be in order.

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: halspang <halspang@microsoft.com>
Co-authored-by: tanvigour <60332928+tanvigour@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Looong Dai <long.dai@intel.com>
Co-authored-by: Wang Bing <wangbing.adam@gmail.com>
Co-authored-by: saber-wang <45062099+saber-wang@users.noreply.github.com>
2022-05-13 16:52:22 -07:00
Chock Chen b818c2f83e
Implment a secret store based on Huawei CSMS (#1710)
Signed-off-by: Chen Cong <chock-cong.chen@outlook.com>

Co-authored-by: Chen Cong <chock-cong.chen@outlook.com>
2022-05-09 15:52:46 -07:00
Alessandro (Ale) Segala e6c67356cd
Updated to Go 1.18 (#1697)
* Updated to Go 1.18

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>

* Added go.work file
With Go 1.18, this allows gopls (the Go language server used for example in VS Code) to work inside test apps too.
See: https://go.dev/doc/tutorial/workspaces

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Removed go.work

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* 💄

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-05-06 13:44:45 -07:00
Harry Kimpel de52e92d0f
Merge branch 'master' into binding_commercetools 2022-04-08 14:45:49 +02:00
Harry Kimpel 3e374406bc Adding commercetools binding
Signed-off-by: Harry Kimpel <harrykimpel@hotmail.com>
2022-04-08 14:25:47 +02:00
Alessandro (Ale) Segala 407936745e
Yet another Cosmos DB auth fix
This is fixed by upgrading the upstream SDK
Also added a missing handling of throttling in the Delete method

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-04-05 21:01:22 +00:00
Alessandro (Ale) Segala be7c8768b5
Fixes an issue with DBs or collections with uppercase characters not working
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-03-31 23:10:27 +00:00
Alessandro (Ale) Segala 4551449f0c Workaround for Cosmos DB state store unable to launch when using AAD auth
Fixes #1603

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-03-24 20:55:09 +00:00
Shubham Sharma feab8eeeb1 Upgrade alibabacloud-go packages
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-03-21 07:37:04 +05:30
Shubham Sharma f9aed104f5 Mod tidy (add back empty lines)
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-03-17 17:59:21 +05:30
Shubham Sharma 36d35f60d9 Remove extra lines
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-03-17 17:54:53 +05:30
Shubham Sharma ca4abf24e2 Upgrade alibabacloud-go modules
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-03-17 10:24:43 +05:30
Bernd Verst 30f57d3359
Merge branch 'master' into shubham1172/upgrade-pulsar-client 2022-03-15 10:47:59 -07:00
Shubham Sharma d929d17706 Upgrade pulsar client
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-03-15 14:48:45 +05:30
Shubham Sharma 0ba77ab767 Merge remote-tracking branch 'origin' into shubham1172/upgrade-pulsar-client 2022-03-15 14:45:08 +05:30
dependabot[bot] d45f3b8ca3
Bump github.com/nats-io/nats-server/v2 from 2.7.2 to 2.7.4
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.7.2 to 2.7.4.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.7.2...v2.7.4)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 20:58:23 +00:00
Bernd Verst f06254f8f4 Update Consul API to v1.11.0
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-03-14 13:36:59 -07:00
Shubham Sharma f1209fb068
Upgrade nacos sdk version to meet compliance (#1547)
* Upgrade nacos version

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Run go mod tidy all

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Add MaxSize to settings

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-03-06 20:13:40 -08:00
Shubham Sharma 16e5f4558c Upgrade pulsar-client
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-03-03 14:23:13 +05:30
Bernd Verst d263a4a9b6
Upgrade keyring library for macOS security warnings (#1535)
Signed-off-by: GitHub <noreply@github.com>
2022-02-28 19:24:51 -08:00
Shubham Sharma c8a9b44a69
Add changes (#1515)
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

Co-authored-by: Taction <zchao9100@gmail.com>
2022-02-24 22:40:10 -08:00
ZhangJian He 615abba62d Upgrade pulsar client to 0.8.0
Signed-off-by: ZhangJian He <shoothzj@gmail.com>
2022-02-23 09:48:50 +08:00
Shubham Sharma 75e48d22bf merge with master
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-02-21 10:09:25 +05:30
Artur Souza 339624b7a3
Update daprd in cert tests. (#1511)
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
2022-02-18 14:42:19 -08:00
Shubham Sharma 945f8a0746 Upgrade jsonx
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-02-18 15:07:31 +05:30
Gehhilfe 80c2bbe284
Jetstream KV state store component (#1501)
* Add support for nats jetstream kv state store

Add tests for jetstream state store

Update go mod

Signed-off-by: Tim Burkert <burkert.tim@gmail.com>

* Fix lint errors

Signed-off-by: Tim Burkert <burkert.tim@gmail.com>

* Mod tidy

Signed-off-by: Tim Burkert <burkert.tim@gmail.com>

* Mod tidy all

Signed-off-by: Tim Burkert <burkert.tim@gmail.com>

* Mod tidy all

Signed-off-by: Tim Burkert <burkert.tim@gmail.com>

Co-authored-by: Looong Dai <long.dai@intel.com>
2022-02-17 10:19:03 -08:00
1046102779 2126b96dc6 feature/pulsar: add producer option disableBatching
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-02-16 12:07:02 +08:00
Phil Kedy d5b2ce5377 Bump version of github.com/jackc/pgx/v4 to v4.15.0.
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
2022-02-11 15:53:31 -05:00
Lucas Jellema 625f955fee
Introducing Oracle Database backed state store component (#1454)
* Introducing Oracle Database backed state store component

Signed-off-by: lucasjellema <lucasjellema@gmail.com>

* Implement Ping method with proper database ping

Signed-off-by: lucasjellema <lucasjellema@gmail.com>

* adding results from make modtidy-all - updated go.sum files
Signed-off-by: lucasjellema <lucasjellema@gmail.com>

* etag only applied when first write policy requested - applied in integration test and component

Signed-off-by: lucasjellema <lucasjellema@gmail.com>

Co-authored-by: Looong Dai <long.dai@intel.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2022-02-08 12:00:34 -08:00
Gehhilfe b835eb4e1e
pubsub jetstream: add nkey based authentication (#1441)
* pubsub jetstream: add nkey based authentication

Signed-off-by: Tim Burkert <burkert.tim@gmail.com>

* fix godot: comment should end in a period

Signed-off-by: Tim Burkert <burkert.tim@gmail.com>

* go mod tidy

Signed-off-by: Tim Burkert <burkert.tim@gmail.com>

* fix: go mod tidy

Signed-off-by: Tim Burkert <burkert.tim@gmail.com>

* pubsub jetstream: add e2e test

Signed-off-by: Tim Burkert <burkert.tim@gmail.com>

* Cleanup not needed files and move jwt

Signed-off-by: Tim Burkert <burkert.tim@gmail.com>

Co-authored-by: Looong Dai <long.dai@intel.com>
2022-01-25 21:11:50 -08:00
Zheng Dayu 2d52913aa9
Add AlibabaCloud OOS Parameter Store as a secret component (#1402)
* secret stores supports alibabacloud oos parameterstore

Signed-off-by: Zheng Dayu <davidzheng23@gmail.com>

* run make modtidy-all

Signed-off-by: Zheng Dayu <davidzheng23@gmail.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Taction <zchao9100@gmail.com>
2022-01-13 09:56:44 -08:00
Yordan Pavlov b8063f2bdb
Fix #1250 by upgrading cloud.google.com/go/pubsub to v1.12.2 (#1285)
* upgrade cloud.google.com/go/pubsub to v1.12.2

Signed-off-by: Yordan Pavlov <yordan.pavlov@dunnhumby.com>

* update GCP secret manager test

Signed-off-by: Yordan Pavlov <yordan.pavlov@dunnhumby.com>

* make modtidy-all

Signed-off-by: Yordan Pavlov <yordan.pavlov@dunnhumby.com>

Co-authored-by: Yordan Pavlov <yordan.pavlov@dunnhumby.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2022-01-13 09:26:42 -08:00
Joni Collinge 3af57ca5b7
Fix not setting status code in nethttpadaptor on response (#1429)
* fix not setting status code in nethttpadaptor on response

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* make test name consistent

Signed-off-by: Joni Collinge <jonathancollinge@live.com>

* git mod tidy

Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-01-13 07:31:29 -08:00
Shivam Kumar 4631d6e41a
MQTT Pubsub Certification Testing + AutAckOff Fix for MQTT (#1420)
* MQTT Certification Test

Signed-off-by: shivam <shivamkm07@gmail.com>

* Using paho.mqtt.golang fork with AutoAck fix

Signed-off-by: shivam <shivamkm07@gmail.com>

* Adding MQTT component in certification.yml

Signed-off-by: shivam <shivamkm07@gmail.com>

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-01-07 10:33:54 -08:00
1046102779 00c99a4027 feature/pulsar: add producer option disableBatching
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-01-07 12:45:14 +08:00
Lucas Jellema a013b58d6c
Implement State Store for OCI ObjectStorage service (#1401)
* Implement State Store for OCI ObjectStorage service

Signed-off-by: lucasjellema <lucasjellema@gmail.com>

* add go.mod and go.sum with dependencies on OCI SDK

Signed-off-by: lucasjellema <lucasjellema@gmail.com>

* Removed dependency in unit test on OCI account

Signed-off-by: lucasjellema <lucasjellema@gmail.com>

* Adding extensive unit test (coverage) using mock-OCI client

Signed-off-by: lucasjellema <lucasjellema@gmail.com>

* Correcting linting issues and review requests

Signed-off-by: lucasjellema <lucasjellema@gmail.com>

Co-authored-by: Looong Dai <long.dai@intel.com>
2022-01-04 23:18:50 -08:00
yellow chicks 190a47cd87
hotfix: upgrade dgrijalva/jwt-go (#1391)
* feature/pubsub: add delay queue params for pulsar

* feature/pubsub: add delay queue params for pulsar

* feature/pubsub: add delay queue params for pulsar

* hotfix: upgrade dgrijalva/jwt-go

* hotfix: upgrade dgrijalva/jwt-go
2021-12-23 08:57:59 -08:00
Bernd Verst 9dbdaee296
Cosmos DB Output Binding - Authentication tests (#1373)
* Adds CosmosDB Binding authentication tests

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Enable Cosmos DB Binding Conformance test

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Initial cosmosdb binding certification plan WIP

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Go mod tidy

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update library and go mod tidy

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* make modtidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* CosmosDB Binding test plan details

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2021-12-13 15:08:07 -08:00
Simon Leet 9ab218a393
Update azure-sdk-for-go to v59.3.0 for EventGrid (#1325)
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-12-08 17:19:43 -08:00
Amit Mor 4918900c09
AWS PubSub SNS/SQS - FIFO support + refactoring (#1312)
* bugfix for sns topic deletion upon termination

* removed upstream github workflow files

* wrapping errors

* fifo and naming sanitization

* fifo and name santization tests

* component carrying id

* Update snssqs.go

removed unneeded import

* Update snssqs.go

* add missing github actions file

* linting

* fix go.mod

* schedule yml file

* const max lenght, bugfix in ack

* dapr bot schedule

Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-30 10:52:00 -08:00
Dmitry Shmulevich f1be130563
bump up go to v1.17 (#1323) 2021-11-22 17:47:01 -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
Simon Leet dfe52cf88f
Remove Cloudstate component (#1303)
- Remove cloudstate state store component
- Update state/Readme.md

Fixes #1297

Co-authored-by: Long Dai <long.dai@intel.com>
2021-11-18 15:30:40 -08:00
Alessandro (Ale) Segala 3eafb8bcd4
Azure SDK "track 2": authentication and secretstore/azure/keyvault (#1290)
* Authentication for new Azure SDK

* Updated keyvault to use new Azure SDK

* 🙈

* Update authentication/azure/auth.go

* Update authentication/azure/auth.go

* Update authentication/azure/auth.go

* Reintroduce changes from PR 1132 without updating ASB

* Lint 💄

* Marking contexts as TODO as they'll need a timeout
As per conversation with @berndverst

* Update certification tests with no auth libraries

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2021-11-16 10:59:51 -08:00
halspang f5d8317c41 Revert "Bumping ASB version and fixing test for azure auth (MSI_ENDPOINT) (#1132)" (#1291) 2021-11-12 11:59:35 -08:00
yellow chicks 6e48068067
upgrade/pulsar: upgrade pulsar from v0.1.0 to master (#1247) 2021-11-01 18:34:42 -07:00
Bernd Verst aa4f949838 Adds Dapr User Agent for Cosmos DB components 2021-10-25 17:59:34 -07:00
Simon Leet f7edbb7eab
Update paho.mqtt.golang to v1.3.5 (#1192)
There are a couple of fixes for deadlock issues in paho.mqtt.golang in
versions 1.3.4 and 1.3.5, which are good robustness upgrades for the
Dapr MQTT components in addition to reduce the incidence of deadlock
failures in the conformance tests for MQTT pubsub and bindings.

Resolves #1053
2021-10-12 16:38:02 -07:00
Dmitry Shmulevich 4795f75270
properly close channel in rabbitmq (#1190) 2021-10-07 20:25:36 -07:00
Joni Collinge 893da2a3ef
Enable ASB Message Metadata (#1071)
* add asb message metadata

* add asb message metadata

* fix lint

* add server metadata to receiver

* add metadata prefix

* fix tests

* alway set delivery count

* lint

* nolint on nested if

* lint fix

* remove trailing period on license header

Co-authored-by: Long Dai <long0dai@foxmail.com>
Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-10-07 14:05:05 -07:00
Phil Kedy 45f577e137
Bumping ASB version and fixing test for azure auth (MSI_ENDPOINT) (#1132)
Co-authored-by: Bernd Verst <berndverst@users.noreply.github.com>

Co-authored-by: Bernd Verst <berndverst@users.noreply.github.com>
2021-09-13 11:06:04 -07:00
Manuel Riezebosch 18cbe25e4e
feat(pubsub): add in-memory pub/sub (#1106) 2021-09-02 17:31:17 -07:00
Alessandro (Ale) Segala a992cd19f0
Support Azure AD auth for Cosmos DB (#1104)
* Support Azure AD auth for Cosmos DB

* Fixed linting errors

* Tidying go.sum

* Removed the need for nolint:shadow

Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-09-01 12:44:05 -07:00
dependabot[bot] b4c794c840
Bump go.mongodb.org/mongo-driver from 1.1.2 to 1.5.1 (#1054)
* Bump go.mongodb.org/mongo-driver from 1.1.2 to 1.5.1

Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.1.2 to 1.5.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.1.2...v1.5.1)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update go.sum with mongo-driver update

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Simon Leet <simon.leet@microsoft.com>
Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
2021-09-01 12:05:07 -07:00
Jaime Piña f4a5722806
Add JetStream support (#1101)
* Add JetStream support

* Add conformance tests

* Fix lint

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-09-01 11:50:16 -07:00
Bernd Verst 059dc8c0d2
Conformance tests & bugfixes for SQLServer (#1078)
* enable sqlserver conformance test

* Update SQL Server conformance test setup

* Fix sqlserver bug introduced in Go 1.16

* sqlserver almost conformant

* Fix conformance tests and stored procedure

* all sqlserver tests passing

* Minor touchup

* lint

* Remove unnecessary condition

* Add conformance test to GitHub workflow

* remove env variable

* Update stored procedure

* Simplify error handling

* Update state/sqlserver/sqlserver.go

Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>

* Update state/sqlserver/sqlserver.go

Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>

Co-authored-by: Bernd Verst <me@bernd.dev>
Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-08-19 17:47:56 -07:00
Long Dai 71f4748460
upgrade sentinel-golang to release version (#1086)
Signed-off-by: Long <long0dai@foxmail.com>

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-08-19 17:25:24 -07:00
Artur Souza 1042314c63
Add binding alicloud.tablestore (#1076)
* add binding alicoloud.tablestore

* Fix lint.

Co-authored-by: theonefx <chenxilzx1@gmail.com>
2021-08-13 10:03:14 -07:00
Long Dai 7496adf110
fix build error on Arm 32-bit (#1045)
Signed-off-by: Long <long0dai@foxmail.com>

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-08-03 19:24:38 -07:00
Christian Kaps 80f0110fa8
Return blob metadata and add list operation (#999)
* Return blob metadata if configured

* Enhance error msg

* Add list functionality

* Fix linting issues

* Finalize list implementation

* Fix linting errors

* Add backward compatibility and align code to be more consistent

* Add tests

* Fix linting errors

* Rename properties

* Fix max result logic

* Fix linting error

* Fix PR suggestions

* Add comments for constants

* Run go mod tidy

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-07-14 09:17:48 -07:00
Hossam Kandil 13f96c42a6
Added new output binding for Cosmos Graph DB - Gremlin (#885)
* Added new output binding for Cosmos Graph DB - Gremlin

* applying gofumpt on cosmosdbgraphdb

* removed unnecessary conversion from cosmosgraphdb

* removed unwanted comments from cosmosgraphdb

* resolving gomod confilicts

* resolving go mod conflict

* resolve conflicting error messages

* change Gremlin query to req.data.

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-07-14 08:49:40 -07:00
Simon Leet 3877f5c793
Return SystemProperties on events from EventHubs bindings and pubsub (#1009)
- Update azure-event-hubs-go dependency to currently supported v3 with
  IoT Hub SystemProperties.
- Write Event.SystemProperties to ReadResponse.Metadata for EventHubs
  input binding.
- Write Event.SystemProperties to NewMessage.Metadata for EventHubs
  pubsub.
2021-07-13 16:04:22 -07:00
Christian Kaps cb9a510d16
Implement E2E tests for zeebe (#973)
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-07-12 11:40:38 -07:00
Long Dai c3cf138c6d
rebase (#982)
Signed-off-by: Long Dai <long0dai@foxmail.com>
2021-07-12 11:26:59 -07:00
Long Dai a538b80452
switch to golang-jwt (#993)
Signed-off-by: Long Dai <long0dai@foxmail.com>

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-07-08 10:49:44 -07:00
Long Dai 5e146311b9
update deps (#980)
Signed-off-by: Long Dai <long0dai@foxmail.com>

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-07-02 20:05:32 -07:00
Long Dai 4281cb2ea1
deps: upgrade dgrijalva/jwt-go (#981)
Signed-off-by: Long Dai <long0dai@foxmail.com>
2021-07-02 19:55:17 -07:00
Long Dai b1f584d40b
deps: upgrade buger/jsonparser (#983)
Signed-off-by: Long Dai <long0dai@foxmail.com>

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-06-30 17:13:18 -07:00
amirmm11 f438298214
Add GraphQL Binding (#844)
* add Hasura Binding

* Added GraphQL binding

* add prefix header

* add prefix header

* add prefix header

* Add Phil's changes

* Added a few fixes recommended by Phil

Co-authored-by: Amir Mousavi <amir@equilibriumenergy.com>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-06-23 10:01:22 -07:00
Phil Kedy 8e6b36ecdf
Importing the retry and config packages from kit instead of internal (#940)
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-06-22 09:38:55 -07:00
Dmitry Shmulevich d1b898b020
Update gocql dependency (#942) 2021-06-16 11:09:52 -07:00
Christian Kaps 3689020fb5
Update Zeebe to version 1.0 (#876)
* Update Zeebe to version 1.0

* Fix lint error regarding import

* Don't panic on error

* Log error as string

* Pass reason msg to process engine on fail job command

* Pass job specific variables as headers to a worker

* Fix formatting issue

Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-06-11 16:34:01 -07:00
cinience de417e429d
Add bindings rocketmq (#815)
* Add bindings rocketmq

* Fix lint

* Update parseMetadata

* Update logger import

* Tweaks to use "the settings pattern"

* Add back off policy configuration

Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-05-13 15:41:49 -07:00
cinience 5e547d7efd
Add bindings nacos (#814)
* Add bindings nacos

* Fix lint

* Fixed CR #814

* Update logger import

* Update go.sum

* Remove signal handler

* Tweaks to move metadata to the "Settings pattern"

* Fixing typo

Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-05-13 12:53:54 -07:00
Ian Luo 55ee03a5a0
Sentinel middleware support (#829)
* a prototype for sentinel middleware

* adapt sentinel's logger to dapr and optimize configs

* fix lint issue

* fix lint issues

* go mod tidy

* revise accoring to the review comments

* go mod tidy

* enhance unit tests

* fix lint issue

* fix go.sum

Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-05-13 12:11:24 -07:00
Charlie Stanley b4e5569c24 Update Aerospike to v4.5.0 2021-05-10 18:40:33 +00:00
zhangchao 651d754496 Merge branch 'master' into upgrade_redis_client_to_v8
* master:
  add handle timeout to cancel req for it would be redelivered (#832)
  Add optional metadata param maxLen for redis stream PubSub component (#835)
  Implement bindings for the Zeebe workflow engine (#806)
  Automerge in contrib. (#849)

# Conflicts:
#	go.mod
#	go.sum
#	pubsub/redis/redis.go
2021-04-29 11:49:26 +08:00
Christian Kaps 83803f575d
Implement bindings for the Zeebe workflow engine (#806)
* Implement bindings for the Zeebe workflow engine

* Fix PR suggestion regarding error handling

* Refactor cancel_instance test to not use a mocking library

* Refactor all tests to not use a mocking library

* Use error vars

* Fix linting error regarding ineffective error assignment

* Check for mandatory jobType

* Remove double method call

* Fix suggestion regarding mock client instantiation

* Check if either bpmnProcessId or workflowKey is given for workflow instantiation

* Changed logger module to dapr/kit. Misc tweaks.

* Fix go.mod

* Fixing some lint errors

* Ignoring linter false positive

Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
2021-04-28 17:23:11 -07:00
Phil Kedy 391fc98c58 Fixing go.mod 2021-04-22 14:42:56 -04:00
zhangchao 5190fe4e7d Merge branch 'master' into upgrade_redis_client_to_v8
resolve conflict

* master:
  Increasing overall test timeout to allow for conformance tests to run (#834)
  Improve SMTP binding performance (#782)
  add redis cluter mode for pubsub (#823)
  downgrade the verbosity of lock renewal errors from warn to debug. This error is expected when messages are processed before beingrenewed (#803)
  Improve pulsar publisher performance. (#827)
  optimze(state/redis): output detail redis error (#825)
  Consul nameresolution component (#750)
  Add DNS name resolver. Add unit tests. (#743)
  Azure Service Bus: Changed log level of error on close to info (#830)
  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)
  Update state/blobstorage.go to add metadata. (#786)
  Azure Service Bus publishing retries when server is "too busy" (#821)

# Conflicts:
#	bindings/redis/redis.go
#	go.mod
#	go.sum
#	pubsub/redis/redis.go
2021-04-22 09:13:01 +08:00
Xueqian Wang f761b51c77
Improve pulsar publisher performance. (#827)
* Improve pulsar publisher performance.

* Addressed comments and added some debug logs

* Use peek instead of get for closing producers

* Fixed lint issue

* Added debug log in close

* Change back o 100

* Close producer before client

* Fixed cached number of producer and added todo for making it configurable

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-04-21 10:53:07 -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
Phil Kedy 58b43fbfdb
Azure Service Bus publishing retries when server is "too busy" (#821)
* Adding retry/backoff to publishing to Azure Service Bus when the server is too busy and throttles the connection

* Fixing linter issues
2021-04-14 11:56:55 -07:00
zhangchao 3ec4b336a9 upgrade go-redis/redis to v8, and use context in pubsub/redis to cancel redis request. 2021-04-10 23:41:58 +08:00
Lynn Orrell 08305017c1
Localstorage (#753)
* Introduced localstorage binding

* Code cleanup

* Linter cleanup

* Linter cleanup

* Now using ioutil.ReadAll() as io.ReadAll() fails to build on Windows

* Renamed metadata field

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-03-23 18:00:56 -07:00
Phil Kedy 1b70adb9a0
Bumping dapr/dapr version and running go mod tidy (#738) 2021-03-03 14:42:42 -08:00
Phil Kedy 715cc8d688
Refactored conformance tests to use a new config package (#712)
* Refactored the conformance tests to use a new config package
Removed dependency on k8s apimachinery sets

* Comment tweak

* Renamed kit package to internal
2021-03-01 13:03:39 -08:00
Phil Kedy e8efbca072
Add MQTT pubsub to the conformance tests (#721)
* Add MQTT pubsub to the conformance tests

* Making the MQTT pubsub component conformance test against multiple brokers
2021-02-25 18:16:23 -08:00
Phil Kedy 5290fe157d
Removes github.com/satori/go.uuid in favor of google's uuid package (#704) 2021-02-18 21:11:36 -08:00
Joni Collinge f84b98b136
bump azure-service-bus-go version from 0.10.6 to 0.10.10 (#700) 2021-02-18 13:06:07 -08:00
Artur Souza dd3e463b52
Fix pubsub retry for Kafka (#688)
* Add conformance test for kafka pubsub + quickfix for Kafka error handling.

* Adding backoff/retry logic to the Kafka pub/sub component

* Add logic to return if error from backoff in kafka.

* Addressing PR comments and lint.

Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
2021-02-12 00:08:46 -08:00
Edwin van Wijk 6baa30ee75
Add SMTP output binding (#646)
* Add smtp output binding

* Go mod tidy

* Remove obsolete func

* Refactor metadata overrides from request

* Add comment

* Fix mergeRequest func

* Add #nosec directive for SkipTLSVerify

* Add test for MergeWithRequestMetadata

* Format test code

* Change level of succesfull email logging

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-02-09 19:13:14 -08:00
Phil Kedy e6924c6d7b
Improving the versatility of the HTTP output binding (#661)
* no message

* Removing HTTP input binding from conformance test

* Moving // nolint: noctx

* Fixed linter issue

* Tweaks

* Tweak

* Setting request headers from metadata

* More comments and handling of non-200 response codes

* Fixing conformance test for HTTP

* Temporarily bumping up redis timeouts

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Charlie Stanley <charlie.stanley@microsoft.com>
2021-02-09 12:02:47 -08:00
halspang 6f31e9f14f
Add http input/output bindings test (#637)
* Refactor bindings and introduce input bindings

This commit adds Kafka output bindings tests and refactors the
general bindings tests to include input and output bindings in
the same set of tests. Azure Storage Queues are used as the
first input binding.

* Add http input/output bindings test

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-01-29 13:00:09 -08:00