fix: codebase improvements from analysis #50
Merged
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
truetofalsefor security.env.exampleto match 4-tier architectureChanges
Test Suites (New)
Node.js (
reference-apps/nodejs/tests/):index.test.js- Application entry point testshealth.test.js- Health check endpoint tests with mocked dependenciesconfig.test.js- Configuration loading testsTypeScript API-First (
reference-apps/typescript-api-first/tests/):index.test.ts- Application entry point testshealth.test.ts- Health check endpoint testsconfig.test.ts- Configuration loading testsCode Fixes
reference-apps/golang/internal/config/config.go: DEBUG defaulttrue→falsereference-apps/fastapi-api-first/app/main.py: Aligned with code-first (structured JSON logging, version 1.1.0, rate limiting on /metrics)reference-apps/fastapi/requirements.txt: Removed outdated pytest commentscripts/generate-certificates.sh: Improved VAULT_TOKEN error messageDocumentation
docs/VAULT.md: Added AppRole secret_id renewal section with commands, crontab setup, and timeline tableConfiguration
.env.example: Fixed network IPs to match 4-tier segmentation (vault/data/app/observability networks)Test plan