Commit Graph

11 Commits

Author SHA1 Message Date
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
aac793a400 add ctl command to resume postprocessing
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-13 10:50:07 +02:00
Christian Richter
8c2abf33e5 add debug switch for antivirus
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-05-09 14:56:56 +02:00
Michael Barz
16d97d5393 Apply suggestions from code review
Co-authored-by: kobergj <jkoberg@owncloud.com>
2023-04-04 11:10:36 +02:00
Michael Barz
6dde3f6ef6 add more logging to antivirus 2023-04-04 09:20:56 +02:00
kobergj
1f6ddcb620 bump reva (#5921)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-24 11:44:46 +01:00
jkoberg
81d1521751 abort processing when virus scan errord
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-22 17:34:24 +01:00
jkoberg
f4ba4e0f64 backport antivirus from experimental
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-21 10:04:11 +01:00