Commit Graph

153 Commits

Author SHA1 Message Date
jkoberg
69a68ac515 feat(storage-users): allow restarting multiple uploads at once
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-09 11:41:38 +02:00
jkoberg
2ab941dea2 fix(postprocessing): repair restart logic
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-09 11:41:17 +02:00
mmattel
8a464c921c [docs-only] [5.0] Fix envvar description (storage-users) 2024-04-08 09:12:07 +02:00
jkoberg
e3101b4c40 disable multiparts uploads
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-03-15 16:00:33 +01:00
Martin
48313e2602 [docs-only] Just a small text fix for an envvar in storage-users 2024-03-13 10:24:15 +01:00
Jörn Friedrich Dreyer
1c9da9a0be verify all system accounts are set
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
(cherry picked from commit 972adafd29)
2024-03-12 16:36:09 +01:00
Phil Davis
fe8a3032f2 Adjust introductionVersion pre5.0 and 5.0
as per suggestions by micbar

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2024-03-07 13:51:37 +05:45
Phil Davis
3dbd48036f chore: set introductionVersion 5.0 in services/storage-system -users 2024-03-07 13:51:37 +05:45
Phil Davis
3f0f09df0d Add STORAGE_USERS_MACHINE_AUTH_API_KEY
which was accidentally missing, introduced in 5.0

Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
2024-03-07 13:51:37 +05:45
Phil Davis
d27e33a1bd chore: add introductionVersion pre5.0 to environment variable docs 2024-03-07 13:51:37 +05:45
Jörn Friedrich Dreyer
5ed57cc09a Bump reva deps (#8412)
* bump dependencies

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* bump reva and add config options

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-21 10:20:36 +01:00
mmattel
6e721eb4f5 [docs-only] Fix envvar descriptions trailing a double dot 2024-02-06 11:52:10 +01:00
Christian Richter
2269d2cf27 change default for MaxConcurrency
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-01-29 14:22:26 +01:00
Jörn Friedrich Dreyer
3ed0424735 add more upload session filters (#7933)
* add more upload session filters

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* default descriptions

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update readme

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use tablewriter, --json flag

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update readme

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-26 09:21:32 +01:00
jkoberg
cec6ea50eb remove unused stat cache
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:32 +01:00
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