10 Commits

Author SHA1 Message Date
Joakim Jäderberg
fde77a06ce Merged in feature/redis-api-get-all-keys-endopoint (pull request #3306)
feature: Add getAllKeys endpoint

* feature: Add getAllKeys endpoint

* rename DELETE_BATCH_SIZE to SCAN_BATCH_SIZE


Approved-by: Anton Gunnarsson
2025-12-10 09:36:53 +00:00
Joakim Jäderberg
bb98c2652e Merged in fix/missing-batchsize-bicep-config (pull request #2385)
add missing bicep setup for deleteBatchSize

* add missing bicep setup for deleteBatchSize
2025-06-18 07:47:25 +00:00
Joakim Jäderberg
de6117f7f7 Merged in fix/redis-adjust-batch-settings (pull request #2374)
fix: adjust batch size and remove timeout between delete-calls

* fix: adjust batch size and remove timeout between delete-calls

* chore: adjust scaling


Approved-by: Linus Flood
2025-06-17 07:12:44 +00:00
Linus Flood
b633d51705 Merged in fix/redis-poll-interval (pull request #2220)
fix: redis - decrease poll interval

* fix: redis - decrease poll interval


Approved-by: Joakim Jäderberg
2025-05-27 06:12:48 +00:00
Joakim Jäderberg
7031ad3fae Merged in fix/bump-redis-prod-sku (pull request #2061)
fix: bump redis SKU in prod

* fix: bump redis SKU in prod


Approved-by: Linus Flood
2025-05-13 06:26:41 +00:00
Joakim Jäderberg
3ea26259df Merged in fix/redis-api-model-validation (pull request #2000)
* fix: model response validation for 204
* log: add more logging when deleting keys
* add version to health endpoint


Approved-by: Anton Gunnarsson
2025-05-07 13:45:35 +00:00
Joakim Jäderberg
814a1c534b Merged in fix/redis-api-set-sentry-environment-via-bicep (pull request #1981)
fix: set sentry environment through bicep deploys

* fix: set sentry environment through bicep deploys


Approved-by: Anton Gunnarsson
2025-05-06 13:06:28 +00:00
Joakim Jäderberg
2acc17219a Merged in feature/SW-2538-redis-api-sentry (pull request #1973)
Feature/SW-2538 redis api sentry

* Add fingerprint to be able to differentiate JSON.parse errors
* update deploy script
* use status over deprecated error function in elysia
* use t3-env createFinalSchema for extra validation

Approved-by: Anton Gunnarsson
2025-05-06 11:29:37 +00:00
Joakim Jäderberg
4ab58cf330 Merged in feature/SW-2531-redis-api-scaling (pull request #1895)
Redis-Api: increase max replica count and cpu/memory

Approved-by: Linus Flood
2025-04-29 08:36:51 +00:00
Joakim Jäderberg
fa63b20ed0 Merged in feature/redis (pull request #1478)
Distributed cache

* cache deleteKey now uses an options object instead of a lonely argument variable fuzzy

* merge

* remove debug logs and cleanup

* cleanup

* add fault handling

* add fault handling

* add pid when logging redis client creation

* add identifier when logging redis client creation

* cleanup

* feat: add redis-api as it's own app

* feature: use http wrapper for redis

* feat: add the possibility to fallback to unstable_cache

* Add error handling if redis cache is unresponsive

* add logging for unstable_cache

* merge

* don't cache errors

* fix: metadatabase on branchdeploys

* Handle when /en/destinations throws
add ErrorBoundary

* Add sentry-logging when ErrorBoundary catches exception

* Fix error handling for distributed cache

* cleanup code

* Added Application Insights back

* Update generateApiKeys script and remove duplicate

* Merge branch 'feature/redis' of bitbucket.org:scandic-swap/web into feature/redis

* merge


Approved-by: Linus Flood
2025-03-14 07:54:21 +00:00