feat(heimdall): Replace legacy FastAPI gateway with hardened Go-based Heimdall service - #63
Open
cto-new[bot] wants to merge 1 commit into
Open
feat(heimdall): Replace legacy FastAPI gateway with hardened Go-based Heimdall service#63cto-new[bot] wants to merge 1 commit into
cto-new[bot] wants to merge 1 commit into
Conversation
…legacy FastAPI This commit implements a new production-ready Heimdall gateway in Go, replacing the insecure FastAPI gateway. The new service enforces TLS by default, provides explicit route groups, and features a modular design with tracing, CORS, and rate limiting. It includes full proxy support, structured logging, health checks, and comprehensive configuration and migration documentation. Enhances security, observability, and performance for all edge API ingress with Docker-based deployment. BREAKING CHANGE: Replaces Python/FastAPI Heimdall with a Go TLS-only service and changes default gateway port to 8443. All deployments must update environment config, client endpoints, and certificates.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a new Go-based Heimdall gateway to replace the previous FastAPI gateway, with a focus on enhanced security, observability, and production readiness. TLS is enforced, routing is explicit, and all configuration is now environment-based for consistency and ease of deployment.
Details
cmd/heimdallGo service with Gin router, modular middleware, structured logging, and explicit /v1 route groupssetting/heimdall) loading from environment variablesWarning: Task VM test is not passing, cto.new will perform much better if you fix the setup