Roman Perekhod and Claude Opus 5.5
a6c51801b8
feat: [OCSRE-1629] add NATS JWT authentication with a .creds file
...
A NATS server in operator (JWT) mode authenticates a client with a
user JWT and an NKey seed. oCIS could connect to NATS only with a
username and a password.
All NATS connections now accept JWT credentials: events, caches,
persistent stores, the service registry, and the health checks.
- OCIS_NATS_CREDS_FILE: the path of a .creds file
(nats.UserCredentials). The file is read again on each reconnect.
- OCIS_NATS_CREDS: the content of a .creds file
(nats.UserCredentialBytes). It takes precedence over the file.
- Each events, cache and store struct has the fields CredsFile and
Creds with a per-service override, for example
PROXY_EVENTS_CREDS_FILE.
- The registry reads MICRO_REGISTRY_AUTH_CREDS_FILE and
MICRO_REGISTRY_AUTH_CREDS. If they are empty, it uses the
OCIS_NATS_* variables.
- store.Credentials is passed next to each store.Authentication call.
The revaconfig maps pass the new reva keys.
- The new checks.NewNatsCheckWithConfig uses the authentication and
TLS settings of the service. The NATS health checks connected
without credentials and without TLS before.
This change needs the reva commit with pkg/natsauth and the natsjs
plugin with the NatsOptions option. go.mod and vendor/ follow when
these changes are pushed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 14:15:55 +02:00
Michal Klos
fcbfecf376
feat: [stable-8.0][OCISDEV-1115] harden nats communication ( #12790 )
...
feat: [OCISDEV-1115] harden nats communication (#12777 )
* feat: [OCISDEV-1115] harden nats communication
* feat: bump reva for tls-enabled stores
2026-08-14 12:13:42 +02:00
Juan Pablo Villafáñez
641fa42f8d
chore: add otlp as supported tracing type
...
This is just for documentation purposes. There is no code change.
2025-07-14 15:29:16 +02:00
Roman Perekhod
4fc4822696
collect the errors from group runner
2025-06-13 16:14:41 +02:00
Roman Perekhod
d31ca63af1
set default timeouts and clean up
2025-05-28 12:21:50 +02:00
Roman Perekhod
e1325ca40f
to separate controll ower the http and grpc driven services
2025-05-28 12:21:50 +02:00
Juan Pablo Villafáñez
d7fdb10b36
fix: linter issue
2025-05-28 12:21:50 +02:00
Juan Pablo Villafáñez
399a24e9b6
feat: use runners to startup the services
2025-05-28 12:21:49 +02:00
Juan Pablo Villafáñez
f4644a6225
chore: change constant name to camelcase
2025-04-01 14:49:08 +02:00
Juan Pablo Villafáñez
62f5228ca4
feat: use names for connections to the nats event bus
2025-04-01 14:49:07 +02:00
Michal Klos
b03ddd9134
feat: postprocessing logs
...
changelog
cleanup and fix the upload id
tweak error messages
remove zerolog dependency
review
review
2025-03-07 11:52:25 +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
jkoberg
64ff81575d
docs(postprocessing): update docs
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-11-04 12:56:35 +01:00
jkoberg
6ea3f2f782
fix(postprocessing): restart postprocessing properly
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-11-04 10:30:41 +01:00
Jörn Friedrich Dreyer
dde999d5c2
align shutdown logging
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-28 14:47:11 +01:00
Jörn Friedrich Dreyer
139a8a5bd4
fix postprocessing events
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-22 16:26:37 +02:00
Jörn Friedrich Dreyer
2ae6728210
Merge pull request #10372 from owncloud/postprocessing-events
...
Postprocessing events
2024-10-22 14:14:34 +02:00
Roman Perekhod
1ef9b21e7f
Fix panic when stopping the nats
2024-10-22 12:00:24 +02:00
Jörn Friedrich Dreyer
91dc7699d8
postprocessing event workers
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-22 11:26:50 +02:00
Jörn Friedrich Dreyer
d6958f3a3e
introduce event processing workers
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-22 10:13:16 +02:00
Jörn Friedrich Dreyer
72e3e54fe0
make delay only affect the step
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-22 10:04:56 +02:00
Roman Perekhod
c16a2ea2cf
checks added
2024-10-17 19:03:14 +02:00
Florian Schade
0437722353
Bugfix: Fix health and ready endpoint checker configurations
2024-10-17 14:34:04 +02:00
jkoberg
c80254c4f1
feat(ocis): remove ocm store
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-10-15 17:24:51 +02:00
Christian Richter
0094d30378
code cleanup & refactoring
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-14 08:39:42 +02:00
Florian Schade
0671039474
enhancement: add readyz and healthz check handler
2024-10-14 08:39:42 +02:00
jkoberg
5fed7166b4
feat(alog/pp): introduce impersonating users
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-09-24 18:21:45 +02:00
Jörn Friedrich Dreyer
7999e2969b
do not force exit to let all services shutdown gracefully
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 14:02:52 +02:00
Jörn Friedrich Dreyer
9d1515e8fc
rely on context from app
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 14:02:11 +02:00
Jörn Friedrich Dreyer
008f379a01
pass config context when running apps
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 13:30:42 +02:00
jkoberg
f43397f1ee
fix(postprocessing): fix multi-restart
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-25 11:32:01 +02:00
mmattel
c3d065b668
[docs-only] Fix typo and rerun make docs-generate
2024-06-14 10:48:07 +02:00
Thomas Müller
a8cbc612cc
chore: remove unused return value from BindSourcesToStructs ( #9033 )
2024-04-30 18:18:31 +02:00
Jörn Friedrich Dreyer
32e44a9fdc
Merge pull request #8989 from owncloud/log-and-trace-fixes
...
log and trace fixes
2024-04-29 17:13:52 +02:00
Jörn Friedrich Dreyer
e41472234f
log and trace fixes
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-04-26 17:03:49 +02:00
jkoberg
3b994e6510
feat(postprocessing): dont retry finished uploads
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-04-26 09:17:45 +02:00
jkoberg
7d990390c3
fix(postprocessing): repair restart logic
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-04-08 11:20:01 +02:00
Thomas Müller
07f0cd5574
fix: typos, naming clashes, error messages and deprecations
2024-04-03 15:34:36 +02:00
jkoberg
73a2ee5f87
initiatorid for uploads
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-03-22 15:15:55 +01:00
Phil Davis
945908978c
chore: set introductionVersion 5.0 in services/postprocessing
2024-03-06 17:50:21 +05:45
Phil Davis
9d2be66a85
chore: add introductionVersion pre5.0 to environment variable docs
2024-03-06 17:50:20 +05:45
jkoberg
a9ce2e003c
allow bulkrestarting postprocessing
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-01-26 15:22:48 +01:00
jkoberg
de4f9d78f4
allow authentication for stores
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-12-19 10:44:05 +01:00
jkoberg
3e55223f2d
allow authentication for events
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-12-19 10:44:05 +01:00
kobergj
377a23ee7d
Non-durable SSE streams ( #7986 )
...
* make sse streams non-durable
Signed-off-by: jkoberg <jkoberg@owncloud.com >
* bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com >
---------
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-12-18 11:47:25 +01:00
Andre Duffeck and Martin
1858912408
Apply suggestions from code review
...
Co-authored-by: Martin <github@diemattels.at >
2023-12-12 14:08:21 +01:00
André Duffeck
c43b9d9bc6
Allow for retrying postprocessing steps with an exponential backoff
2023-12-12 14:08:21 +01:00
mmattel
90c3cd5f1f
small fixes
2023-11-09 12:33:15 +01:00
mmattel
5e74b50efb
[docs-only] Fix envvars with a array slice ([]string)
2023-11-09 12:22:59 +01:00
mmattel
b13b880921
[docs-only] Fix envvars with a duration.
2023-11-08 18:32:39 +01:00