junkerderprovinz
654f0e8e20
fix(postprocessing): retry publishing events instead of killing the server
...
A single transient nats: timeout on event publish was fatal to the whole
single-binary server, with no retry despite the service already having
backoff machinery for step failures. Now retries with the same exponential
backoff, capped at half the ack wait so the source event isn't redelivered
to another worker mid-retry. Also stops acking the source event when
publish ultimately fails, so the upload resumes after restart instead of
staying orphaned, and no longer exits during graceful shutdown.
2026-08-19 11:23:46 +02:00
Viktor Scharf
5accb6056b
set 7.3.0 version placeholder ( #3132 )
2026-07-14 18:12:24 +02:00
Jörn Friedrich Dreyer
77fd4fca69
add tls support for all nats connections
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2026-06-10 17:04:18 +02:00
André Duffeck
544968a4de
Set new defaults for caches and stores
...
See https://github.com/opencloud-eu/opencloud/issues/2681 for more
details.
2026-04-30 11:00:12 +02:00
Jörn Friedrich Dreyer
2d1cc3fb3a
stop metrics tickers on context cancel
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2026-04-28 16:18:45 +02:00
Florian Schade
288e67cc39
chore: replace interface with any
2026-04-23 09:31:11 +02:00
Florian Schade
86d79430a3
chore: use wg.Go instead of add
2026-04-22 14:50:57 +02:00
Christian Richter
86d4932195
consolidate log config in postprocessing
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-01-08 13:13:08 +01:00
Florian Schade
151ccb1609
fix: remove unsupported service binary entrypoints
2025-12-23 12:23:41 +01:00
Jörn Friedrich Dreyer
d0e51010bf
replace more .Value.String() occurences
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Jörn Friedrich Dreyer
032c218789
replace .Value.String() with .GetString(...)
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Jörn Friedrich Dreyer
2c8c334e88
fix postprocessing restart flags
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Christian Richter
7be33b0607
refactor interims DefaultAppCobra to DefaultApp
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Christian Richter
b76d4fc661
migrate postprocessing from urfave/cli to spf13/cobra
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Jörn Friedrich Dreyer
56817b7de7
introduce OC_EVENTS_TLS_INSECURE
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-11-28 11:17:39 +01:00
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
Andre Duffeck
90b29ea3e1
Merge pull request #1319 from aduffeck/remove-in-progress-metric
...
Drop the "InProgress" metric
2025-09-22 10:00:30 +02:00
Roman Perekhod
c597dfb917
set default timeouts and clean up
2025-09-12 12:18:47 +02:00
Roman Perekhod
9a3fc08dd4
to separate controll ower the http and grpc driven services
2025-09-12 12:18:47 +02:00
Juan Pablo Villafáñez
7727c3ff1b
fix: linter issue
2025-09-12 12:18:47 +02:00
Juan Pablo Villafáñez
9e1b80a1be
feat: use runners to startup the services
2025-09-12 12:18:47 +02:00
Juan Pablo Villafáñez
c0b4a5daa0
chore: change constant name to camelcase
2025-09-08 17:32:36 +02:00
Juan Pablo Villafáñez
ca2dc823ef
feat: use names for connections to the nats event bus
2025-09-08 17:32:35 +02:00
André Duffeck
cc6681be3b
Drop the "InProgress" metric
...
It didn't really make sense in multi-node setups because items could be
started and finished on different nodes.
2025-08-07 20:33:05 +02:00
André Duffeck
4bafe2e611
Make sure to register prometheus collectors only once
2025-07-31 08:55:10 +02:00
André Duffeck
b4cc781832
Do not try to log metrics when we failed to get the consumer info
...
Fixes #1285
2025-07-29 14:19:00 +02:00
André Duffeck
3bd7a61e46
Document the metrics exposed in search and postprocessing
2025-07-18 08:50:03 +02:00
André Duffeck
386e322050
Fix metric
2025-07-18 08:27:06 +02:00
André Duffeck
4704cedd3b
Add metrics for the postprocessing duration
2025-07-17 15:23:57 +02:00
André Duffeck
273c0ed270
Expose nats metris for the postprocessing service
2025-07-17 15:23:57 +02:00
André Duffeck
de7b659e3d
Expose the MaxAckPending and AckWait settings for postprocessing
2025-07-17 09:16:14 +02:00
André Duffeck
ad8ac8ee25
Only ack postprocessing events after persisting
2025-07-17 09:16:14 +02:00
Ralf Haferkamp
24da3687d9
Makefile: remove unneeded recursion.mk
...
The MAKE_DEPTH variable is not used anywhere anymore.
2025-04-22 16:57:17 +02:00
Ralf Haferkamp
48edc9a5d1
Reintroduce check for go before including bingo Makefile
...
This re-adds the check for go being installed before including the
bingo variables make file to avoid repeating errors about missing a
missing go binary when running 'make node-generate' in the ci (the node
container doesn't have go installed)
2025-03-11 11:19:20 +01:00
Florian Schade
dbafbaa333
fix: remove deprecations and use go-generate instead of go-generate-STAGE
2025-03-06 11:56:09 +01:00
Florian Schade
da1963cfa4
enhancement: split make ci-node-generate and ci-go-generate into prod and dev stages
2025-03-05 17:32:37 +01:00
Ralf Haferkamp
8e1f68f315
Reset 'introductionVersion" struct tag to 1.0.0
2025-02-24 11:40:33 +01:00
André Duffeck
e8d35e1280
Use the opencloud reva from now on
2025-01-21 11:16:38 +01:00
André Duffeck
37686fa6f8
Rebrand postprocessing
2025-01-17 08:56:56 +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
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
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 Mattel
bc3762bc08
[docs-only] Update service readme's
2024-11-04 16:45:11 +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