Jörn Friedrich Dreyer
10913ca00a
Merge pull request #1918 from opencloud-eu/otlp-tracing
...
update otlp tracing
2025-11-27 12:57:26 +01:00
Jörn Friedrich Dreyer
a3ef7f6d79
update otlp tracing
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-11-27 12:28:15 +01:00
fschade
60501659c5
chore: bump %%NEXT%%
2025-11-27 10:53:59 +01:00
Ralf Haferkamp
88dd36b636
Drop the unsupported and unused S3 driver
...
It was dropped from reva in https://github.com/opencloud-eu/reva/pull/309
because of unmaintained dependencies. Remember: We have the decomposeds3
driver.
2025-08-21 11:15:35 +02:00
Jörn Friedrich Dreyer
2751cfee2c
directly connect to frontend
...
The STORAGE_USERS_DATA_GATEWAY_URL env var is used in the `tokens` `datagateway_endpoint` reva configuration. That `DataGatewayEndpoint` is used by the decomposedfs driver to create urls:
```go
// URL returns a url to download an upload
func (session *DecomposedFsSession) URL(_ context.Context) (string, error) {
// [ ... ]
return joinurl(session.store.tknopts.DataGatewayEndpoint, tkn), nil
}
```
As the comment points out this URL is internally used when emitting events. Either in:
```go
func (session *DecomposedFsSession) FinishUploadDecomposed(ctx context.Context) error {
// [ ... ]
s, err := session.URL(ctx)
if err != nil {
return err
}
var iu *userpb.User
if utils.ExistsInOpaque(u.Opaque, "impersonating-user") {
iu = &userpb.User{}
if err := utils.ReadJSONFromOpaque(u.Opaque, "impersonating-user", iu); err != nil {
return err
}
}
if err := events.Publish(ctx, session.store.pub, events.BytesReceived{
UploadID: session.ID(),
URL: s,
```
or in
```go
// Postprocessing starts the postprocessing result collector
func (fs *Decomposedfs) Postprocessing(ch <-chan events.Event) {
// [ ... ]
s, err := session.URL(ctx)
if err != nil {
sublog.Error().Err(err).Msg("could not create url")
continue
}
metrics.UploadSessionsRestarted.Inc()
// restart postprocessing
if err := events.Publish(ctx, fs.stream, events.BytesReceived{
UploadID: session.ID(),
URL: s,
```
So, we do not need to go throught the proxy here.
2025-08-19 14:58:30 +02:00
Michael Stingl
9659e97056
Fix posix driver documentation in STORAGE_USERS_DRIVER description ( #1305 )
...
- Add 'posix' to the list of supported values
- Correct the default value from 'decomposed' to 'posix'
- Add brief description of the posix driver
Fixes : #1304
2025-08-06 17:46:44 +02:00
Michael Barz
2d24c27329
change: adjust default values for the S3 Uploads ( #1224 )
2025-07-14 16:43:43 +02:00
Michael Barz
db5ac0a4e2
change: set better decomposedS3 defaults for multipart upload ( #1200 )
2025-07-10 09:20:39 +02:00
Florian Schade
900d596b65
fix(decomposeds3): enable async-uploads by default ( #686 )
2025-04-17 09:17:53 +02:00
André Duffeck
f8c89b1c3d
Add deprecation notice for STORAGE_USERS_POSIX_WATCH_FOLDER_KAFKA_BROKERS
2025-04-16 11:09:30 +02:00
André Duffeck
8c9e05d1f0
Expose more config vars for the posix fs watchers
2025-04-16 11:08:03 +02:00
André Duffeck
91fd396c86
Add env var to make the inotify stats frequency configurable
2025-04-15 09:24:55 +02:00
André Duffeck
255f45034a
Add more missing options to posix fs
2025-03-19 12:23:28 +01:00
André Duffeck
38c521e54a
Support OC_SPACES_MAX_QUOTA with the posix driver
2025-03-19 12:21:58 +01:00
Jörn Friedrich Dreyer
15cb8680ef
change storage users default to posixfs
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-03-19 12:21:58 +01:00
Ralf Haferkamp
90328a7ed1
posixfs: Use userid as the foldername for personal space
...
This avoids loosing the user's personal space after renaming the user.
Closes : #192
2025-03-17 10:54:52 +01:00
André Duffeck
916c79e856
Make space aliases configure for the posix driver
2025-03-13 15:35:45 +01:00
Artur Neumann
b075b177d6
tests: add pipeline config ( #341 )
...
Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu >
2025-03-12 12:22:13 +05:45
Ralf Haferkamp
8e1f68f315
Reset 'introductionVersion" struct tag to 1.0.0
2025-02-24 11:40:33 +01:00
Jörn Friedrich Dreyer
74b6078158
bump reva, change decomposeds3 drivername
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-02-20 11:07:31 +01:00
André Duffeck
d42034202d
Add option to disable the posix fs watcher
2025-02-13 13:11:49 +01:00
André Duffeck
5b85029813
Add EnableFSRevisions config option
2025-02-13 10:07:17 +01:00
André Duffeck
57fa8eb43c
Switch from ocis/s3ng to decomposed/decomposed_s3 storage drivers
...
ocis/s3ng are still supported for backwards compatibility reasons, but
they need to be configured using the decomposed/decomposed_s3 options.
2025-01-24 11:04:23 +01:00
André Duffeck
2b9e193584
Rebrand storage-users
2025-01-17 11:44:18 +01:00
Jörn Friedrich Dreyer
243ffe81c7
nats cluster name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 16:14:22 +01:00
Jörn Friedrich Dreyer
db39b8ed3b
use opencloudurl
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 11:13:08 +01:00
Ralf Haferkamp
213e9663a9
Rename go-micro services
2025-01-16 09:45:46 +01:00
Jörn Friedrich Dreyer
56f57149ad
the OpenCloud services
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:50:23 +01:00
Jörn Friedrich Dreyer
97250d5b06
error init cli hints
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:48:01 +01:00
Jörn Friedrich Dreyer
5aa5ab843a
ociscfg -> occfg
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:44:00 +01:00
Jörn Friedrich Dreyer
b07b5a1149
use plain pkg module
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:42:19 +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
Jörn Friedrich Dreyer
8e028f17e9
change module name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 09:58:18 +01:00
Martin
8e7928b66a
Update services/storage-users/pkg/config/config.go
...
Co-authored-by: kobergj <jkoberg@owncloud.com >
2024-12-20 15:48:41 +01:00
Martin Mattel
a715f37689
add trailing dot
2024-12-19 10:03:05 +01:00
Martin Mattel
6fb9dc8b69
[docs-only] Update S3 PART_SIZE envvar description text
2024-12-19 09:56:42 +01:00
Martin Mattel
3a05eb5f6b
[docs-only] Adding OCIS_MAX_CONCURRENCY to storage_users service
2024-11-06 08:10:47 +01:00
Jörn Friedrich Dreyer
ad43ae824c
delete unused trap
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-28 14:47:11 +01:00
jkoberg
42f18ca500
docs(ocis): pin NEXT version
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-10-23 14:35:20 +02:00
jkoberg
c80254c4f1
feat(ocis): remove ocm store
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-10-15 17:24:51 +02:00
Juergen Weigert
0d719a7c72
fix: more colons after variables found.
...
cd owncloud/ocis/services
vi $(grep -l -r '[A-Z][A-Z][A-Z]:/')
2024-10-02 09:09:47 +02:00
jkoberg
4a911ac047
feat(storage-users): remove metadata backend envvar
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-09-19 12:29:41 +02:00
André Duffeck
ffe1946686
Fix default posix root and the description of the according config var
...
Fixes https://github.com/owncloud/ocis/issues/9910
2024-09-17 10:33:32 +02:00
André Duffeck
d199e79c71
Set a default debounce delay
2024-09-17 10:33:32 +02:00
Jörn Friedrich Dreyer
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
052ebf1645
Update services/storage-users/pkg/config/config.go
...
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com >
2024-07-30 17:13:32 +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
Andre Duffeck
b8e7160880
Merge pull request #9460 from aduffeck/posixfs-events
...
Fix posixfs events
2024-07-08 08:35:05 +02:00
jkoberg
dcac0cf201
feat(storage-provider): add option to disable versioning
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-27 15:48:03 +02:00
André Duffeck
0028013794
Enable async uploads for posixfs
2024-06-25 08:40:50 +02:00