Commit Graph
28 Commits
Author SHA1 Message Date
Jörn Friedrich Dreyer a8a10db244 docs(gateway): reword the caching paragraphs
With only the provider cache left the "it uses one cache:" sentence
followed by a list with a single entry read odd, so name the provider
cache in the sentence instead.

Also tell admins where the create home cache went. Someone searching
the README for GATEWAY_CREATE_HOME_CACHE_* now finds that the envvars
are gone and that the proxy remembers which users already have a
personal space.

Assisted-by: Claude Code:claude-fable-5-2
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-17 08:36:59 +01:00
Roman Perekhod 0cc21c5039 fix: move the home space create cache to the proxy
The gateway kept a cache of the users whose personal space had already
been created, but the proxy still sent a CreateHome request to the
gateway on every authenticated request, so each of them had to reach
the gateway before that cache could help.

Keep the set of users whose personal space exists in the proxy instead
and skip the gateway call for them. The set lives in memory only: after
a restart the first request of each user simply asks the gateway once
more, so persistence is not needed. A created and an already existing
personal space are both remembered, a failed attempt is not and gets
retried by the next request.

With the cache in the proxy the gateway no longer needs its own, so
remove the create home cache settings (GATEWAY_CREATE_HOME_CACHE_*) and
the create_personal_space_cache_config entry of the generated gateway
configuration, and update the gateway README accordingly.
2026-11-17 08:36:59 +01:00
André Duffeck 487313d06c Remove redis-sentinel from store descriptions
Redis isn't supported anymore. Also note that the posix driver needs
nats-js-kv for the id cache.
2026-11-10 12:26:09 +01:00
Thomas Schweiger 2f7422538b fix: fix typo in gateway service documentation 2026-02-12 15:43:00 +01:00
Michael BarzandThomas Schweiger 5c7f58c8b5 fix: correct README.md files which contain broken or missing links (#1854)
Co-authored-by: Thomas Schweiger <t.schweiger@opencloud.eu>
2025-11-14 11:22:30 +01:00
Thomas Schweiger b0405d8eb6 fix: sanitise markdow code to make docusaurus happy 2025-11-12 17:23:21 +01:00
Jörn Friedrich Dreyer 5a11c913db gateway
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-16 13:20:09 +01:00
Ralf Haferkamp 213e9663a9 Rename go-micro services 2025-01-16 09:45:46 +01:00
Jörn Friedrich Dreyer a46fd132bd use OC_ env prefix
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:11:11 +01:00
Martin Mattel f5cefed8ce use the correct envvar 2024-10-23 09:06:49 +02:00
MartinandJörn Friedrich Dreyer a67fa5a79d Update services/gateway/README.md
Co-authored-by: Jörn Friedrich Dreyer <jfd@owncloud.com>
2024-10-22 11:19:34 +02:00
Martin Mattel 4aa8a883de [docs-only] Update gateway readme 2024-10-22 11:09:36 +02:00
jkoberg c80254c4f1 feat(ocis): remove ocm store
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-15 17:24:51 +02:00
Martin 78c6046cf7 Update README.md
References: #9490 (set the configured protocol transport for service metadata)

As discussed with @butonic, adding that _configurable service endpoints_ are currently experimental.
2024-08-26 15:50:15 +02:00
Jörn Friedrich DreyerandMartin e552196042 update gateway service endpoint descriptions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Update services/gateway/README.md

Co-authored-by: Martin <github@diemattels.at>

fix env tag

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-26 11:03:44 +02:00
Jörn Friedrich Dreyer 4950bcb7f4 make storage users service name configurable
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

add example how to add a new storage provider to the storage registry

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-29 16:55:36 +02:00
kobergjandMartin 423c28b298 improve store readmes
Co-authored-by: Martin <github@diemattels.at>
2023-12-15 13:25:10 +01:00
jkoberg 0d1669b3bd allowing disabling persistence of caches
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-15 13:25:10 +01:00
mmattel 36323dbd2a fix link to envvars 2023-12-14 15:46:10 +01:00
jkoberg 15d0b330ae update gateway config
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-14 13:51:40 +01:00
mmattel edc4c4bb42 [docs-only] Use correct envvar caching names in service readme's 2023-05-16 15:54:37 +02:00
EParzefall e2686f90b9 spelling fixes 2023-04-24 13:55:10 +02:00
Edith Parzefall 6d7b13c7a5 Apply suggestions from code review
language review
2023-04-24 12:33:37 +02:00
mmattel 3d12979dd1 Add caching/storing info to services where missing 2023-04-24 12:13:44 +02:00
mmattel 84d2d8dae9 [docs-only] Fix texts and typos in README.md files 2023-04-23 10:02:27 +02:00
mmattel b2504035e0 fix readme service names 2023-04-12 18:40:41 +02:00
mmattel 3c35b95ee2 [docs-only] Fixing the service name in the text used in readme.md 2023-04-04 12:15:59 +02:00
mmattel 255dd06c92 [docs-only] Fix readme.md for caches 2023-04-04 09:15:24 +02:00