From a5e4d840f8cbcc99c96f9ae359b6a2b4e7c29634 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Wed, 16 Apr 2025 16:58:23 +0200 Subject: [PATCH] add missing routing for /groupware (currently unprotected for testing) --- services/groupware/pkg/service/http/v0/service.go | 1 + services/proxy/pkg/config/defaults/defaultconfig.go | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/services/groupware/pkg/service/http/v0/service.go b/services/groupware/pkg/service/http/v0/service.go index fcdbc26975..2174e2eb52 100644 --- a/services/groupware/pkg/service/http/v0/service.go +++ b/services/groupware/pkg/service/http/v0/service.go @@ -83,6 +83,7 @@ func (IndexResponse) Render(w http.ResponseWriter, r *http.Request) error { } func (g Groupware) Ping(w http.ResponseWriter, r *http.Request) { + g.logger.Info().Msg("groupware pinged") w.WriteHeader(http.StatusNoContent) } diff --git a/services/proxy/pkg/config/defaults/defaultconfig.go b/services/proxy/pkg/config/defaults/defaultconfig.go index 6399c35a5f..6744949a51 100644 --- a/services/proxy/pkg/config/defaults/defaultconfig.go +++ b/services/proxy/pkg/config/defaults/defaultconfig.go @@ -313,6 +313,11 @@ func DefaultPolicies() []config.Policy { Endpoint: "/collaboration", Service: "eu.opencloud.web.collaboration", }, + { + Endpoint: "/groupware/", + Service: "eu.opencloud.web.groupware", + Unprotected: true, + }, }, }, }