feat(gitops): introduce workflows view [BE-12807] (#2391) (#2428)

Co-authored-by: Chaim Lev-Ari <chiptus@users.noreply.github.com>
Co-authored-by: Chaim Lev-Ari <chaim.lev-ari@portainer.io>
This commit is contained in:
andres-portainer
2026-04-22 14:37:04 -03:00
committed by GitHub
parent b9713f7e9e
commit b91f77a554
33 changed files with 2087 additions and 17 deletions
+5
View File
@@ -9,6 +9,8 @@ import (
httperror "github.com/portainer/portainer/pkg/libhttp/error"
"github.com/gorilla/mux"
"github.com/portainer/portainer/api/http/handler/gitops/workflows"
)
// Handler is the HTTP handler used to handle git repo operation
@@ -32,5 +34,8 @@ func NewHandler(bouncer security.BouncerService, dataStore dataservices.DataStor
authenticatedRouter.Handle("/gitops/repo/file/preview", httperror.LoggerHandler(h.gitOperationRepoFilePreview)).Methods(http.MethodPost)
workflowsHandler := workflows.NewHandler(dataStore)
authenticatedRouter.PathPrefix("/gitops/workflows").Handler(workflowsHandler)
return h
}