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
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
jkoberg
1f1aa50c54
hard exit when services fail
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-09-21 13:53:18 +02:00
Daniël Franke
97034f4aaa
Add tracing to postprocessing service ( #7094 )
...
This adds tracing to the postprocessing service.
2023-08-23 15:52:26 +02:00
Christian Richter
d7139d4127
remove deprecated variables
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-08-22 17:25:24 +02:00
Daniël Franke
8b5687e811
Add tracing to antivirus.
...
This PR adds tracing to the Antivirus service.
2023-08-21 12:04:54 +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
97dd855a63
Add reusable context.
2023-08-11 12:01:23 +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
jkoberg
edc53a80d4
restart complete pp when pp cannot be found
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-07-11 17:35:55 +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
jkoberg
9740706df5
add default store to postprocessing
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-06-21 16:57:19 +02:00
jkoberg
f23f35e227
improve readme
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-06-13 10:50:07 +02:00
jkoberg
aac793a400
add ctl command to resume postprocessing
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-06-13 10:50:07 +02:00
jkoberg
76141a492f
add functionality for resending pp events
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-06-13 10:50:07 +02:00
jkoberg
d347448ec0
remove duplicated sutureservice code
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-06-02 12:02:27 +02:00
jkoberg
70391a0bf2
unify CACERT envvars
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-05-25 13:32:37 +02:00
jkoberg
a324ad48a0
add a store to postprocessing
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-05-12 11:04:41 +02:00
Christian Richter
624483a051
add debug to postprocessing
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-05-02 17:00:15 +02:00
mmattel
8ed34926ef
[docs-only] Correct the removal version according semver to 4.0.0
2023-04-19 10:16:06 +02:00
Daniel Swärd
afbfd2d6b2
Deprecating and renaming many environment variables
...
Fixes #5767
Fixes #5905
Fixes #5532
2023-04-05 11:05:48 +02:00
Roman Perekhod
fcfb2ab9fa
Introduced global OCIS_EVENTS_ENDPOINT and OCIS_EVENTS_CLUSTER #5901
2023-04-04 15:43:03 +02:00
jkoberg
f4ba4e0f64
backport antivirus from experimental
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-03-21 10:04:11 +01:00
Florian Schade
f38a9f4385
Introduce Policies-Service ( #5716 )
...
* add policies service
add policies proxy middleware
add policies event service
add policies grpc service
prepare ci and git environments (ci, make, readme, doc)
* add webfinger to the drone conf
* fix docs
remove not used virus scan postprocessing step
* relocate example rego file
implicitly enable and disable proxy and postprocessing policy checking by setting the query.
update configuration descriptions
* move policies
update readme
* use converter func to convert pp environment to actual environment
expose and test custom rego functions
add engine unit tests
add opa unit tests
update policies readme
Co-authored-by: Martin <github@diemattels.at >
* relocate sample policies to the deployments folder
change and document policies service port
* update index.md and small fix
* add health command
add version command
add debug server
---------
Co-authored-by: Martin <github@diemattels.at >
2023-03-14 16:08:22 +01:00
Jörn Friedrich Dreyer
9b00f02383
bump reva to ec27f5f8feb3
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-02-15 15:26:07 +00:00
jkoberg
ab4d8c3958
move config validation to parser package
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-01-26 14:44:37 +01:00
jkoberg
d468a23315
deprecate POSTPROCESSING_VIRUSSCAN
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-01-26 11:50:16 +01:00
kobergj
9c0dd22e1f
update wording
...
Co-authored-by: Martin <github@diemattels.at >
2023-01-26 10:26:33 +01:00
jkoberg
22f20b2b2e
better configuration for pp service
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-01-25 12:32:09 +01:00
jkoberg
f88cf46c75
add readme for postprocessing
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-12-27 16:02:01 +01:00
mmattel
0aa3eba8c3
readding accidentially deleted entry
2022-12-27 10:58:52 +01:00