You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor API route setup in gitops.go for improved organization and clarity (#933)
- Introduced SetupAllRoutes function to initialize all API routes.
- Organized routes into dedicated setup functions: setupHealthRoutes, setupGitopsRoutes, setupHelmRoutes, setupGitHubRoutes, setupWebhookRoutes, and setupValidationRoutes.
- Enhanced GitOps routes with additional endpoints for deployment status, listing, and deletion.
- Consolidated Helm routes for deployment and retrieval under a single group.
- Added GitHub deployment routes with specific handlers for listing, retrieving, and deleting deployments.
- Implemented webhook configuration routes with Redis integration for storing and retrieving settings.
- Established validation routes for testing repository access and Kubernetes connectivity.
- Created a combined deployment history endpoint to retrieve GitHub, Helm, and manifests data in a single response.
0 commit comments