Commit Graph

467 Commits

Author SHA1 Message Date
Alessandro (Ale) Segala d9ea9c69c9
Fixes for SQL Server state store (#2912)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: joshvanl <me@joshvanl.dev>
Co-authored-by: joshvanl <me@joshvanl.dev>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2023-06-19 18:04:46 +00:00
Roberto Rojas 36f09695b6
[Cloudflare Workers KV] Adds Component Metadata Schema (#2908)
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2023-06-19 16:36:30 +00:00
Josh van Leeuwen 8f8a56a0b9
sqlserver: return ttlExpiryTime in GetResponse (#2896)
Signed-off-by: joshvanl <me@joshvanl.dev>
2023-06-12 12:15:29 -07:00
Josh van Leeuwen f125940490
oracale: return ttlExpiryTime in GetResponse (#2897)
Signed-off-by: joshvanl <me@joshvanl.dev>
2023-06-08 15:37:58 +00:00
Josh van Leeuwen fa90710794
cosmosdb: return ttlExpiryTime in GetResponse (#2898)
Signed-off-by: joshvanl <me@joshvanl.dev>
2023-06-08 15:34:25 +00:00
Josh van Leeuwen dfc28528b5
dynamodb: return ttlExpiryTime in GetResponse (#2899)
Signed-off-by: joshvanl <me@joshvanl.dev>
2023-06-08 15:32:59 +00:00
Josh van Leeuwen 69a1c01801
mysql: return ttlExpiryTime in GetResponse (#2871)
Signed-off-by: joshvanl <me@joshvanl.dev>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2023-06-07 20:45:24 +00:00
Josh van Leeuwen 06defdcc22
memached: if tllInSeconds larger than 30 days, convert to unix timestamp (#2890)
Signed-off-by: joshvanl <me@joshvanl.dev>
2023-06-06 15:45:11 +00:00
Josh van Leeuwen 638b106bdb
inmemory return ttlExpiryTime in GetResponse (#2870)
Signed-off-by: joshvanl <me@joshvanl.dev>
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2023-06-06 15:28:08 +00:00
Josh van Leeuwen ff06ae6b33
MongoDB return ttlExpiryTime in GetResponse (#2888)
Signed-off-by: joshvanl <me@joshvanl.dev>
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2023-06-06 15:18:06 +00:00
Josh van Leeuwen 1963726043
Postgresql + cockroachDB return `ttlExpiryTime` in `GetResponse` (#2864)
Signed-off-by: joshvanl <me@joshvanl.dev>
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2023-06-06 15:14:18 +00:00
Josh van Leeuwen f689322570
sqlite return ttlExpiryTime in GetResponse (#2869)
Signed-off-by: joshvanl <me@joshvanl.dev>
2023-06-06 08:03:44 -07:00
Alessandro (Ale) Segala 899f4407dd
[Metadata] Clarify that MySQL components work with MariaDB too (#2866) 2023-05-26 15:19:40 -07:00
Bernd Verst d467890cf8 Merge remote-tracking branch 'upstream/master' into merge-release1.11-master 2023-05-25 10:33:12 -07:00
Bernd Verst 5bb753be94 always use UTC
Signed-off-by: Bernd Verst <github@bernd.dev>
2023-05-25 00:05:04 -07:00
Bernd Verst 5999c2a3d5 fix lint in mongo test
Signed-off-by: Bernd Verst <github@bernd.dev>
2023-05-24 22:57:00 -07:00
Bernd Verst 9d3b070bc4 update test to work in multiple time zones
Signed-off-by: Bernd Verst <github@bernd.dev>
2023-05-24 22:51:49 -07:00
Bernd Verst 1d6d90cea6 fix mongo data type json marshaling
Signed-off-by: Bernd Verst <github@bernd.dev>
2023-05-24 22:16:52 -07:00
Bernd Verst ac20c0a703 Merge remote-tracking branch 'upstream/master' into merge-release-1.11-rc4-into-master 2023-05-17 18:27:42 -07:00
Alessandro (Ale) Segala 1f27fd0e8b
Add conformance tests for etags in Bulk operations (#2843)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2023-05-17 16:28:29 -07:00
Alessandro (Ale) Segala e30d140479
Remove native/transactional BulkSet/BulkDelete from state stores (#2834)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-05-17 14:56:34 -07:00
Tiago Alves Macambira 6c596516d2
Update metadata.yaml (#2842)
Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
2023-05-16 20:08:39 -07:00
Roberto Rojas 181f3ad039
[AWS DynamoDB] Transaction Support (#2809)
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
Signed-off-by: roberto <roberto@diagrid.io>
Co-authored-by: roberto <roberto@diagrid.io>
Co-authored-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2023-04-27 23:13:20 +00:00
Roberto Rojas e099a548fb
GCP Firestore - Certification Tests (#2754)
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
Signed-off-by: Bernd Verst <github@bernd.dev>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Bernd Verst <github@bernd.dev>
2023-04-26 22:12:56 +00:00
Tiago Alves Macambira 5128594307
Add component metadata YAML for bindings.redis. (#2796)
Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
Co-authored-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
Co-authored-by: Bernd Verst <github@bernd.dev>
2023-04-24 21:59:05 +00:00
Tiago Alves Macambira 470905bcf7
Metadata YAML for state.cassandra. (#2800)
Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Bernd Verst <github@bernd.dev>
2023-04-24 10:59:34 -07:00
Bernd Verst a7ac906757
Fix Redis metadata parsing and reporting (#2803)
Signed-off-by: Bernd Verst <github@bernd.dev>
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Tiago Alves Macambira <tmacam@burocrata.org>
2023-04-23 06:28:22 +00:00
Tiago Alves Macambira 7099066436
Metadata YAML for state.mysql and metadata parsing improvement. (#2799)
Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2023-04-19 23:04:37 +00:00
Tiago Alves Macambira 62a4a6f3c5
Improves metadata YAML for state.postgresql (#2798)
Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
2023-04-19 21:28:43 +00:00
Alessandro (Ale) Segala 6b0dedf772
state.sqlserver: Add support for Azure AD auth (+ metadata.yaml) (#2790)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2023-04-19 17:26:24 +00:00
Tiago Alves Macambira 2c508eda3b
Minor updates to state.redis template (#2792)
Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
2023-04-18 16:50:57 -07:00
Tiago Alves Macambira c6546ffe7d
Add component metadata YAML for Azure CosmosDB output binding. (#2782)
Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
2023-04-14 15:09:12 -07:00
Alessandro (Ale) Segala ad6a26bf43
Add native BulkGet to state.mysql (#2762)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-04-13 19:33:04 +00:00
Bernd Verst 13193ffdd8
fixup: even numbers must be strings in metadata (#2777)
Signed-off-by: Bernd Verst <github@bernd.dev>
2023-04-12 21:54:47 -07:00
Tiago Alves Macambira 536ba55522
Added component metadata YAML for Azure Blob Storage state store. (#2770)
Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Bernd Verst <github@bernd.dev>
Co-authored-by: Bernd Verst <github@bernd.dev>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2023-04-12 23:04:15 +00:00
Alessandro (Ale) Segala 5dad8a867c
Metadata parser: add support for built-in authentication profiles and metadata properties (#2760)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Bernd Verst <github@bernd.dev>
2023-04-12 00:04:34 +00:00
Alessandro (Ale) Segala 4f94da95cf
Refactor state store bulk operations (#2747)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-04-07 19:19:47 +00:00
Bernd Verst cfbac4d794
Refactor of Metadata parsing in Bindings (#2720)
Signed-off-by: Bernd Verst <github@bernd.dev>
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Roberto J Rojas <robertojrojas@gmail.com>
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Roberto Rojas <robertojrojas@gmail.com>
Signed-off-by: spike <hello@spike.wiki>
Signed-off-by: zhangchao <zchao9100@gmail.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
Signed-off-by: handlerww <handlerww@gmail.com>
Co-authored-by: Shivam Kumar <shivamkm07@gmail.com>
Co-authored-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Roberto Rojas <robertojrojas@gmail.com>
Co-authored-by: spike <39330606+SpikeWong@users.noreply.github.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Taction <zchao9100@gmail.com>
Co-authored-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
Co-authored-by: Yiwen Chen <handlerww@gmail.com>
2023-04-05 22:19:08 +00:00
Alessandro (Ale) Segala 3e8ea3180c
Fixes MS SQL TTL not working (#2750)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-04-04 21:54:11 -07:00
Mukundan Sundararajan 09fba22bad
refactor mongodb metadata.yaml file (#2739)
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-04-03 11:02:46 -07:00
Yiwen Chen 6262e138a2
disable featureTransactional in alicloud tablestore statae backend (#2742)
Signed-off-by: handlerww <handlerww@gmail.com>
2023-04-03 17:49:29 +00:00
Alessandro (Ale) Segala 61573b33d8
Merge branch 'master' into fix-redis 2023-04-03 09:44:11 -07:00
Alessandro (Ale) Segala 986874a4ad
Apply suggestions from code review
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2023-04-03 09:12:23 -07:00
Mukundan Sundararajan 9358516a5f
Merge branch 'master' into fix-redis 2023-04-03 21:22:14 +05:30
Mukundan Sundararajan 8a3a5e9ebc
Merge branch 'master' into rethinkdb-transactions 2023-04-03 21:20:18 +05:30
ItalyPaleAle 2a395395dd Ensure that Params, if set, start with ?
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-04-01 15:16:02 -07:00
ItalyPaleAle 0f30039ec8 Redis state store: fixed JSON handling in Multi
Also fixed a race condition in ClientHasJSONSupport

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-03-31 17:23:41 -07:00
ItalyPaleAle acfb21c6b0 RethinkDB: Disable transactions that were not working
The implementation of the "Multi" method in RethinkDB was not correct, as it caused operations to be executed in the wrong order and it was not using a transaction (per comment on code: `best effort, no transacts supported`)

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-03-31 20:06:24 +00:00
ItalyPaleAle 24ff1b6175 MongoDB: Detect replica sets to improve error reporting and bulk operations
Changes the MongoDB state store to detect if it's connected to a replica set.

- When performing BulkSet or BulkDelete operations and connected to a replica set, uses a transaction to perform the operations more correctly (atomically) and faster
- When performing transactions, return an error if not connected to a replica set (the operation would fail, but this short-circuits the effort)

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-03-31 20:01:05 +00:00
Alessandro (Ale) Segala 33f9c6ecef
SQLite: defer cancel's in select statements (#2717)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-03-30 16:17:59 -07:00