Commit Graph
7 Commits
Author SHA1 Message Date
Roman PerekhodandClaude Opus 5.5 3c56d2cffc fix: [OCSRE-1629] apply the scope rules to the NATS username and fix the NATS checks
- A service-specific username or password now takes precedence over the
  global NATS JWT credentials. Before, OCIS_NATS_CREDS_FILE always
  replaced a value like GRAPH_CACHE_AUTH_USERNAME. The service registry
  uses the same rule for MICRO_REGISTRY_AUTH_USERNAME and
  MICRO_REGISTRY_AUTH_PASSWORD.
- The NATS health check keeps one connection and uses it again for each
  probe. Before, each probe read the .creds file and opened a new
  connection. A probe could read a rotated file before the write was
  complete. The proxy, ocs and gateway services now build the check once.
- The startup check of the store credentials runs only for the nats-js
  and nats-js-kv store types. Other store types do not use the
  credentials.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 19:25:09 +01:00
Roman PerekhodandClaude Opus 5.5 19f86d04e4 fix: [OCSRE-1629] check the store NATS credentials at startup
The reva store cannot return an error for invalid NATS credentials. It
only logs the error, and each store operation fails later. The config
validation of each service with a store now checks the credentials. An
invalid value now stops the service at startup.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-27 23:16:51 +01:00
Julian Koberg b979844791 feat(ocis): adjust reva imports
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-03-05 11:14:44 +01:00
Thomas Müller a8cbc612cc chore: remove unused return value from BindSourcesToStructs (#9033) 2024-04-30 18:18:31 +02:00
Christian Richter d7139d4127 remove deprecated variables
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
jkoberg ab4d8c3958 move config validation to parser package
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-26 14:44:37 +01:00
jkoberg a004095a6c add postprocessing service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-08 11:00:42 +01:00