Bernd Verst
9095b0e7e7
Switch to Go 1.21, Updates linter, updates workflows, adds sarama 1.42.1 ( #3251 )
...
Signed-off-by: Bernd Verst <github@bernd.dev>
2023-11-28 18:13:09 -08: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
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
ItalyPaleAle
a6eb406fc2
Extracted common ParseTTL method
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-21 23:43:28 +00:00
Bernd Verst
ede060959a
Refactors all state store to standardize metadata parsing ( #2257 )
2022-11-05 15:36:44 -07:00
Tiago Alves Macambira
8e4af0a3a4
Certification tests for MemCached State Store component.
...
* Add network instability tests.
* Fixed gofumpt issues.
* Addresses TTL translation from Dapr and Memcache domains.
Memcached uses `0` as the non-expiring marker TTL.
[src](https://github.com/memcached/memcached/wiki/Commands#set ).
On the other hand, Dapr uses `-1` for that.
[src](https://docs.dapr.io/developing-applications/building-blocks/state-management/state-store-ttl/ )
This PR updates certification and memcached code and tests so Dapr -1 (and negative)
values are translated to Memcached's `0`.
Closes #1929
Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
2022-09-22 18:26:55 -07:00
Alessandro (Ale) Segala
bcea284c7b
Components' init functions should return interfaces ( #1997 )
...
* Components' init functions should return interfaces
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* 💄
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* pin latest berndverst contrib fork
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Fixed component registration in tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Updated all cert tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-25 18:27:45 -07:00
Marcos Candeia
8964d8bf41
Define common metadata across components ( #1994 )
...
* Add base metadata for all components
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
* Fix lint issues on consul and mysql tests
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
* Pin candeia/dapr runtime version
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
* Add replace directive to use mcandeia/dapr on all go submodules
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
* Fixed runtime config instantiation
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
2022-08-25 10:10:53 -07:00
Dmitry Shmulevich
c7adb917f3
update license to Apache v2.0 ( #1406 )
2022-01-04 19:53:31 -08:00
Long Dai
988fed05ab
ci: standard linter config ( #1102 )
...
* ci: standard linter config
Signed-off-by: Long <long.dai@intel.com>
* Update utils.go
* fix pulsar issue
Signed-off-by: Long <long.dai@intel.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-09-21 15:21:59 -07:00
Bernd Verst
c930c973e9
Adds support for TTL in Memcached State Store (PR Fixup) ( #1011 )
...
* Adds support for TTL in Memcached State Store
* parseTTL return error
* memcached parseTTL return value changed int to int32
* Update state/memcached/memcached.go
Co-authored-by: Bernd Verst <berndverst@users.noreply.github.com>
* Update state/memcached/memcached.go
Co-authored-by: Bernd Verst <berndverst@users.noreply.github.com>
* Fix up memcache TTL PR
Co-authored-by: Umut <umut-776@hotmail.com>
Co-authored-by: Umut <umut.comlekcioglu@gmail.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-07-14 16:17:51 -07:00
Abhilash Singh
0cae368496
[WIP] Add memcached state store ( #71 )
...
* Add memcached state store init
* Add parsing of optional parameters
* Add tests
* Update vendor
* Add memcached to supported state store list
2019-10-31 06:21:04 -07:00