Commit Graph

3297 Commits

Author SHA1 Message Date
Bernd Verst b11093e63a
Merge pull request #1649 from berndverst/ok-to-test
Small fix for dapr-bot
2022-04-06 15:40:59 -07:00
Artur Souza fd2e54f485
Merge branch 'master' into ok-to-test 2022-04-06 13:26:51 -07:00
Bernd Verst b2e4e359d0 Fix dapr-bot
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-04-06 13:24:14 -07:00
Bernd Verst 9fec53e5b4
Merge branch 'master' into cosmosdb-faster-delete 2022-04-06 13:13:03 -07:00
Bernd Verst 8540f18fb0
Merge pull request #1647 from berndverst/merge-release-1.7-rc.4-into-master
Merge release 1.7.0 rc.4 into master
2022-04-06 13:04:06 -07:00
Bernd Verst 32a38acc5c Pin certification tests to Daprd v1.7.0-rc.3
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-04-06 12:18:29 -07:00
Bernd Verst 8a9b9cec99 Pin certification tests to Daprd v1.7.0-rc.3
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-04-06 11:57:03 -07:00
Bernd Verst 2327b4fed3 Merge remote-tracking branch 'upstream/master' into merge-release-1.7-rc.4-into-master 2022-04-05 16:33:33 -07:00
Bernd Verst 208a41ab4e
Merge pull request #1645 from berndverst/ok-to-test
Adds /ok-to-test to contrib daprbot
2022-04-05 15:57:59 -07:00
Bernd Verst 68d0343fed Adds /ok-to-test to contrib daprbot
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-04-05 15:46:30 -07:00
Alessandro (Ale) Segala 7fe93419c8
Merge branch 'master' into cosmosdb-sproc-embed 2022-04-05 14:54:36 -07:00
Bernd Verst 8c189a9ebe Bump devcontainer base image for release 1.7
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-04-05 14:48:56 -07:00
Bernd Verst ed494f22ac
Merge pull request #1643 from ItalyPaleAle/yet-another-cosmosdb-auth-fix
Yet another Cosmos DB auth fix
2022-04-05 14:42:13 -07:00
Alessandro (Ale) Segala 661d1b38b5 💄
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-04-05 21:28:00 +00:00
Alessandro (Ale) Segala 612f6e6ec3
Cosmos DB: Delete does not need to query for the doc first
This, which is possible now because of improvements in the upstream SDK, should speed up delete operations significantly (and reducing RU usage).
Also, this should fix potential concurrency issues.

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-04-05 21:20:57 +00:00
Alessandro (Ale) Segala 6f4ba10d13 Merge branch 'yet-another-cosmosdb-auth-fix' 2022-04-05 21:02:52 +00: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
Artur Souza 31ee4d3f93
Merge pull request #1642 from berndverst/merge-release-1.7-rc3-into-master
Merge release 1.7 rc3 into master
2022-04-05 12:10:53 -07:00
Bernd Verst 018478e891 Merge remote-tracking branch 'upstream/master' into merge-release-1.7-rc3-into-master 2022-04-05 11:03:35 -07:00
Alessandro (Ale) Segala 559e68daf4 Use Go Embed to include the Cosmos DB stored procedures code in the compiled app
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-04-05 01:46:26 +00:00
Alessandro (Ale) Segala fd7600cdde Added license headers
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-04-05 01:44:44 +00:00
Alessandro (Ale) Segala 650fac6da6 Adding Cosmos DB stored procedure files in the source tree
These are not included in the compiled app and have no effect (for now). However, we need these tagged together with the release so we can use them in docs.
A separate commit (not slated for 1.7) will use Go embed to actually use these in code

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-04-05 01:44:44 +00:00
Bernd Verst ffc67d3550
Merge pull request #1635 from ItalyPaleAle/cosmosdb-sproc
Adding Cosmos DB stored procedure files in the source tree
2022-04-04 18:43:19 -07:00
Alessandro (Ale) Segala 4ae8f5e978 Added license headers
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-04-05 01:41:44 +00:00
Alessandro (Ale) Segala 147addebe9 Adding Cosmos DB stored procedure files in the source tree
These are not included in the compiled app and have no effect (for now). However, we need these tagged together with the release so we can use them in docs.
A separate commit (not slated for 1.7) will use Go embed to actually use these in code

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-04-05 01:38:11 +00:00
Bernd Verst b400da9de0 Use Golangci-lint v3.1.0
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-04-04 17:28:30 -07:00
Phil Kedy 195901f1b3
Add size to channel to fix blocking when .Close is called. (#1632)
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
2022-04-01 08:20:43 -07:00
Bernd Verst 1d990fdc27
Merge pull request #1630 from ItalyPaleAle/bump-documentdb 2022-03-31 16:32:43 -07: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
Bernd Verst d5a1d4ecaa
Merge pull request #1626 from berndverst/release-1.7
Update EventHubs conformance test topic
2022-03-30 16:27:24 -07:00
Bernd Verst b9da9dfbbf Update EventHubs conformance test topic
Signed-off-by: GitHub <noreply@github.com>
2022-03-30 23:25:47 +00:00
Bernd Verst 0cd8d77ff4 Fix infra provisioning script
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Signed-off-by: GitHub <noreply@github.com>
2022-03-30 20:47:47 +00:00
Bernd Verst 7c9600f408
Merge pull request #1624 from berndverst/release-1.7
Update certification tests to daprd 1.7.0-rc.2
2022-03-30 11:54:22 -07:00
Bernd Verst 9a3d266299 cert tests: adds api logging flag and noop resiliency provider
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-03-30 11:39:02 -07:00
Bernd Verst e7395a91cf Update certification tests to daprd 1.7.0-rc.2
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-03-30 11:12:24 -07:00
ZhangJian He 1a24c8c546
allow reader config subscription name (#1622)
Signed-off-by: ZhangJian He <shoothzj@gmail.com>
2022-03-29 11:55:31 -07:00
Bernd Verst bc8e3c799d
Merge pull request #1614 from ItalyPaleAle/fix-1611
Cosmos DB components handle throttling
2022-03-28 09:48:43 -07:00
Bernd Verst 2af0746423
Merge branch 'master' into fix-1611 2022-03-28 09:18:20 -07:00
Bernd Verst 23af3b8d6e
Merge pull request #1613 from ItalyPaleAle/fix-1603
Workaround for Cosmos DB state store unable to launch when using AAD auth
2022-03-28 09:18:10 -07:00
Alessandro (Ale) Segala d8a68f8b64 Merge branch 'fix-1603' into fix-1611 2022-03-28 16:13:48 +00:00
Alessandro (Ale) Segala 9e0e7a183b Ran `make modtidy-all`
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-03-28 16:08:11 +00:00
Bernd Verst a32e2e76e0
Merge branch 'master' into fix-1603 2022-03-26 11:46:16 -07:00
Alessandro (Ale) Segala ee59722971 Merge branch 'master' of https://github.com/dapr/components-contrib into fix-1611 2022-03-25 18:40:03 +00:00
Bernd Verst 9f831d083c
Merge pull request #1616 from mukundansundar/fix-mongodb-conf
Fixes Mongo DB serialization for GET requests
2022-03-25 10:48:50 -07:00
Mukundan Sundararajan 80fda909e8 fix conf tests.
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-03-25 21:26:21 +05:30
Bernd Verst 8a3cd8446c fix mongodb get request
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-03-24 18:27:45 -07:00
Alessandro (Ale) Segala 9a28bb2f70 Added retry logic and back-off to Cosmos DB components
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-03-24 22:32:05 +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
Ricardo Corrêa 4d44c2f04f
StateStore API implementation for CockroachDB (#1559)
* statestore for CockroachDB

Signed-off-by: Ricardo Corrêa <r.c.correa@outlook.com>

* 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>
Signed-off-by: Ricardo Corrêa <r.c.correa@outlook.com>

* conformance tests for CockroachDB

Signed-off-by: Ricardo Corrêa <r.c.correa@outlook.com>

* fix comment for internalNew func (CockroachDB)

Signed-off-by: Ricardo Corrêa <r.c.correa@outlook.com>

* remove metadata from log (CockroachDB)

Signed-off-by: Ricardo Corrêa <r.c.correa@outlook.com>

* removed unnecessary nil fields from GetResponse

Signed-off-by: Ricardo Corrêa <r.c.correa@outlook.com>

* Fix ordering in transaction API for CockroachDB

Signed-off-by: Ricardo Corrêa <r.c.correa@outlook.com>

* fix non-deterministic etag error (CockroachDB)

Signed-off-by: Ricardo Corrêa <r.c.correa@outlook.com>

* fix error message for delete operation without key (CockroachDB)

Signed-off-by: Ricardo Corrêa <r.c.correa@outlook.com>

Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Taction <zchao9100@gmail.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Looong Dai <long.dai@intel.com>
2022-03-22 08:24:14 -07:00
Bernd Verst 34c7eb591e
Support using AAD auth for Event Hubs Storage account (#1578)
* Support using AAD auth for Event Hubs Storage account

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

* Address linter issues

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

* Use correct Azure Environment

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

Co-authored-by: Looong Dai <long.dai@intel.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-03-21 15:06:30 -07:00