jkoberg
13bb2785d4
fix cache authentication
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-01-24 10:39:30 +01:00
jkoberg
10628f399d
fix events authentication
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-01-24 10:39:09 +01:00
mmattel
406830543e
[docs-only] fix envvar where a semicolon was added unintentionally
2023-12-20 08:36:02 +01:00
Roman Perekhod
367f1ff9e8
trash-bin cli has been exteneded by the list and restore commands ( #7917 )
...
* trash-bin cli has been exteneded by the list and restore commands
* v4 to v5 changes
---------
Co-authored-by: Roman Perekhod <rperekhod@owncloud.com >
2023-12-19 15:44:28 +01:00
jkoberg
e1fad5c6e9
make nats-js-kv the default registry
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-12-19 12:13:28 +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
kobergj
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
Jörn Friedrich Dreyer
3fc3152e67
fix upload purge filter and naming
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-12-14 14:47:42 +01:00
kobergj
dbc50a655b
use different dbs for filemetadata caches
...
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-12-14 11:08:10 +01:00
jkoberg
d62cb9d34b
use inmemory cache by default
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-12-13 12:49:54 +01:00
jkoberg
ad87ac955a
configure services individually
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-12-13 12:49:54 +01:00
jkoberg
bbc4f83f7d
bump dependencies
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-12-13 12:49:53 +01:00
jkoberg
003310a2b0
use nats-js cache
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-12-13 12:48:27 +01:00
Jörn Friedrich Dreyer
a6a7c69e8f
bump reva to use UploadSessionLister interface
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-12-04 10:52:41 +01:00
mmattel
5e74b50efb
[docs-only] Fix envvars with a array slice ([]string)
2023-11-09 12:22:59 +01:00
Martin
897969d1b0
Update services/storage-users/pkg/config/config.go
2023-11-09 08:52:15 +01:00
mmattel
b13b880921
[docs-only] Fix envvars with a duration.
2023-11-08 18:32:39 +01:00
Ralf Haferkamp
7dde3a1175
storage-users: pass context to event handling service
...
This allows to properly shutdown the event handling loop by
cancelling the context.
2023-10-10 12:25:30 +02:00
Ralf Haferkamp
2a53dd89f4
debugServer: Set a base context for the http server
...
to allow propagating context cancellation
2023-10-10 12:25:30 +02:00
Ralf Haferkamp
54664024c8
storage-users: Properly shutdown debugServer
...
Trigger a proper debug server shutown in interrupt handler of run.Group.
2023-10-10 12:25:30 +02:00
jkoberg
f189b11ba9
default async uploads
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-10-05 15:33:42 +02:00
jkoberg
1f1aa50c54
hard exit when services fail
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-09-21 13:53:18 +02:00
jkoberg
bd716156fc
let ocis init set the serviceaccounts
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-08-31 12:11:44 +02:00
jkoberg
e09ddc93ea
use service accounts for storage-user commands
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-08-31 12:11:43 +02:00
Daniel Swärd
49fc22d532
Add missing tracing references to multiple services. ( #7110 )
2023-08-23 15:17:17 +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
49cdcad129
unify eventstream creation
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-08-16 10:14:12 +02:00
Daniël Franke
952ebe7d7d
Pass context to event publishing.
...
To allow tracing propagation via events, we need to pass the context
to the `Publish` function of reva events. This adds the context
everywhere where events are published. If there was no context to pass,
we started a new one with `context.Background()`.
2023-08-11 12:01:19 +02:00
André Duffeck
be21178c64
Improve docs
2023-07-31 10:26:19 +02:00
André Duffeck
fade832a3e
Make the async propagation delay configurable
2023-07-31 10:26:19 +02:00
André Duffeck
e8a7872d29
Add default propagator config
2023-07-31 10:26:19 +02:00
Andre Duffeck
38c04b5517
Update services/storage-users/pkg/config/config.go
...
Co-authored-by: Martin <github@diemattels.at >
2023-07-31 10:26:19 +02:00
Andre Duffeck
f17e56febc
Update services/storage-users/pkg/config/config.go
...
Co-authored-by: Martin <github@diemattels.at >
2023-07-31 10:26:19 +02:00
André Duffeck
5aa9e618f1
Make the storage-users propagator configurable
2023-07-31 10:26:19 +02:00
Daniël Franke
063b05140f
Convert storage-users to use service tracing.
...
This converts the storage users service to use the service tracing provider.
2023-07-28 11:25:43 +02:00
Martin
6be90847b7
Update services/storage-users/README.md
...
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de >
2023-07-19 14:35:52 +02:00
mmattel
6c33d945f3
update readme
2023-07-19 13:27:30 +02:00
Martin
35dd1fa173
Update services/storage-users/README.md
...
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de >
2023-07-19 13:02:48 +02:00
Martin
1ec451d3d5
Apply suggestions from code review
...
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de >
2023-07-19 13:02:25 +02:00
mmattel
5f72c61089
envvar text fix and readme addon
2023-07-19 11:06:29 +02:00
Ralf Haferkamp
e32aef17cd
storage-users: Add config option for graceful shutdown timeout
...
Add STORAGE_USERS_GRACEFUL_SHUTDOWN_TIMEOUT setting to allow a graceful
shutdown of the storage-users service. This currently only applicable
when running storage-user as a sepearate service.
Setting STORAGE_USERS_GRACEFUL_SHUTDOWN_TIMEOUT to a non-zero value
gives the storage-users service a chance to cleanly shutdown and finish
any in progess tasks (e.g. metadata propagation) before exiting.
Partial-Fix: #6602
2023-07-18 16:47:26 +02:00
mmattel
6ad53971ef
[docs-only] Increase readability for log level values in the description
2023-07-07 10:33:42 +02:00
mmattel
d7b447b791
[docs-only] Increase readability for tracing values in the description
2023-07-07 09:50:39 +02:00
mmattel
758192bd6d
[docs-only] Fix some envvar descriptions
2023-06-09 13:03:17 +02:00
Florian Schade
4f26424db6
[full-ci] enhancement: use reva client pool selectors ( #6452 )
...
* enhancement: use reva client pool selectors
register mock service to registry and pass tests
* enhancement: bump reva
* Fix a couple of linter issues
---------
Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com >
2023-06-08 12:41:04 +02:00
jkoberg
d347448ec0
remove duplicated sutureservice code
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-06-02 12:02:27 +02:00
Jörn Friedrich Dreyer
b8bdd4573a
introduce otlp tracing ( #5132 )
...
* introduce otel tracing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* use new trace provider initialization
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* work
* bump reva
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* remove commented code
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add vendor changes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
---------
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-05-26 22:21:03 +02:00
jkoberg
70391a0bf2
unify CACERT envvars
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-05-25 13:32:37 +02:00