Commit Graph
50 Commits
Author SHA1 Message Date
André Duffeck 06365d9739 Handle events asynchronously
That should help to keep up with the stream of messages and prevent
services from being flagged as slow consumers.
2026-06-18 15:05:49 +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
Florian Schade 288e67cc39 chore: replace interface with any 2026-04-23 09:31:11 +02:00
Christian Richter 7f8023ca89 consolidate log config in sse
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2026-01-08 13:27:37 +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 1024830d13 migrate sse 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 a3ef7f6d79 update otlp tracing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-11-27 12:28:15 +01: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 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
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 db619ca0f3 Rebrand sse 2025-01-17 11:29:14 +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
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 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 985c8efd10 [docs-only] SSE_KEEPALIVE_INTERVAL envvar version consistenty 2024-11-05 19:20:19 +01:00
Jörn Friedrich DreyerandMartin 5f9290c552 Update services/sse/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2024-10-24 15:40:40 +02:00
Jörn Friedrich Dreyer fddf50ce71 make sse keepalive interval configurable
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-24 15:21:17 +02:00
Christian Richter 26bf70a5b1 remove random default ports
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-23 11:12:20 +02:00
Roman Perekhod b82ad12fee nats checks fixed 2024-10-18 17:30:39 +02:00
Florian Schade 0437722353 Bugfix: Fix health and ready endpoint checker configurations 2024-10-17 14:34:04 +02:00
Florian Schade 66ff86bd35 enhancement: simplify ready and health check handler usage 2024-10-16 20:26:00 +02:00
Roman Perekhod d4fe58da19 the server probs added to the several services 2024-10-16 09:28:24 +02:00
Christian Richter dcce0bc9bc add http checks to sse & thumbnails
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-15 13:57:39 +02:00
Christian Richter 0094d30378 code cleanup & refactoring
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 08:39:42 +02:00
Florian Schade 0671039474 enhancement: add readyz and healthz check handler 2024-10-14 08:39:42 +02:00
Jörn Friedrich Dreyer 9d1515e8fc rely on context from app
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 14:02:11 +02:00
Jörn Friedrich Dreyer 008f379a01 pass config context when running apps
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:30:42 +02:00
Jörn Friedrich Dreyer 799b12b8dd fix service names for userlog, graph, invitations, sse and web
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-13 17:04:01 +02:00
Thomas Müller a8cbc612cc chore: remove unused return value from BindSourcesToStructs (#9033) 2024-04-30 18:18:31 +02:00
Thomas Müller bdbba929d0 feat: add CSP and other security related headers in the oCIS proxy service (#8777)
* feat: add CSP and other security related headers in the oCIS proxy service

* fix: consolidate security related headers - drop middleware.Secure

* fix: use github.com/DeepDiver1975/secure

* fix: acceptance tests

* feat: support env var replacements in csp.yaml
2024-04-26 09:10:35 +02:00
Phil Davis f12615791b chore: set introductionVersion 5.0 in services/sse 2024-03-06 17:53:43 +05:45
Phil Davis 9d2be66a85 chore: add introductionVersion pre5.0 to environment variable docs 2024-03-06 17:50:20 +05:45
Florian Schade 0fd7f50ccb enhancement: allow sending multiple userIDs in one SSE event 2024-02-07 09:42:37 +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
mmattel 5e74b50efb [docs-only] Fix envvars with a array slice ([]string) 2023-11-09 12:22:59 +01:00
jkoberg 25e7b1aaaa adjust sse notification layout
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-10-10 10:22:23 +02:00
jkoberg 9a981ffe24 make sse service scalable
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-28 14:08:03 +02:00
jkoberg 6e8f168157 improve sse for userlog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-21 10:17:06 +02:00
jkoberg 3eb66d8dac more functionality for the sse service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-29 13:59:39 +02:00
Florian Schade 96292ba4b6 enhancement: add sse service skeleton 2023-08-29 13:59:39 +02:00