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

@@ -84,7 +84,7 @@ describe('JsonFormatter', function () {
$output = $formatter($record);
$decoded = json_decode($output, true);
expect($decoded)->not->toHaveKey('extra');
expect(isset($decoded['extra']))->toBeFalse();
});
});
@@ -109,7 +109,7 @@ describe('DevelopmentFormatter', function () {
$record = new LogRecord('Exception occurred', $context, LogLevel::ERROR, $this->timestamp);
// Simulate exception processor enrichment
$record->addExtras([
$record = $record->withExtras([
'exception_class' => Exception::class,
'exception_file' => __FILE__,
'exception_line' => __LINE__,
@@ -196,6 +196,7 @@ describe('Formatter Integration', function () {
expect($structuredOutput)->toContain('Multi-formatter test');
// JSON should be valid
expect(json_decode($jsonOutput))->not->toBeNull();
$jsonDecoded = json_decode($jsonOutput);
expect($jsonDecoded !== null)->toBeTrue();
});
});