feat(Production): Complete production deployment infrastructure

- Add comprehensive health check system with multiple endpoints
- Add Prometheus metrics endpoint
- Add production logging configurations (5 strategies)
- Add complete deployment documentation suite:
  * QUICKSTART.md - 30-minute deployment guide
  * DEPLOYMENT_CHECKLIST.md - Printable verification checklist
  * DEPLOYMENT_WORKFLOW.md - Complete deployment lifecycle
  * PRODUCTION_DEPLOYMENT.md - Comprehensive technical reference
  * production-logging.md - Logging configuration guide
  * ANSIBLE_DEPLOYMENT.md - Infrastructure as Code automation
  * README.md - Navigation hub
  * DEPLOYMENT_SUMMARY.md - Executive summary
- Add deployment scripts and automation
- Add DEPLOYMENT_PLAN.md - Concrete plan for immediate deployment
- Update README with production-ready features

All production infrastructure is now complete and ready for deployment.
This commit is contained in:
2025-10-25 19:18:37 +02:00
parent caa85db796
commit fc3d7e6357
83016 changed files with 378904 additions and 20919 deletions

View File

@@ -5,12 +5,12 @@ declare(strict_types=1);
require __DIR__ . '/../../vendor/autoload.php';
use App\Framework\Core\AppBootstrapper;
use App\Framework\Router\CompiledRoutes;
use App\Framework\Http\Method;
use App\Framework\Performance\EnhancedPerformanceCollector;
use App\Framework\DateTime\SystemClock;
use App\Framework\DateTime\SystemHighResolutionClock;
use App\Framework\Http\Method;
use App\Framework\Performance\EnhancedPerformanceCollector;
use App\Framework\Performance\MemoryMonitor;
use App\Framework\Router\CompiledRoutes;
echo "=== Campaign Route Debug ===" . PHP_EOL . PHP_EOL;
@@ -32,7 +32,7 @@ $compiledRoutes = $container->get(CompiledRoutes::class);
// Get all dynamic routes for GET method with 'default' subdomain
$pattern = $compiledRoutes->getCompiledPattern(Method::GET, 'default');
if (!$pattern) {
if (! $pattern) {
echo "❌ No compiled pattern found for GET default" . PHP_EOL;
exit(1);
}
@@ -57,7 +57,7 @@ foreach ($pattern->routes as $i => $routeData) {
}
}
if (!$found) {
if (! $found) {
echo "❌ No campaign routes found in compiled routes!" . PHP_EOL;
} else {
echo "✅ Campaign routes found" . PHP_EOL;