feat(Tracer Bullet)

This commit is contained in:
2025-08-11 23:47:05 +02:00
parent 582678e226
commit a50b1b3822
43 changed files with 1665 additions and 292 deletions
@@ -6,7 +6,18 @@ server:
spring:
application:
name: api-gateway
security:
user:
name: admin
password: admin
cloud:
consul:
host: localhost
port: 8500
discovery:
register: true
health-check-path: /actuator/health
health-check-interval: 10s
gateway:
# HTTP Client-Timeouts für stabile Upstream-Verbindungen
httpclient:
@@ -22,9 +33,17 @@ spring:
# Antwort-Header bereinigen (verhindert doppelte CORS-Header)
default-filters:
- DedupeResponseHeader=Access-Control-Allow-Credentials Access-Control-Allow-Origin
# Aktiviert die automatische Routen-Erstellung basierend auf Consul
discovery:
locator:
enabled: true
# Macht Routen-Namen klein (z.B. /members-service/** statt /MEMBERS-SERVICE/**)
lower-case-service-id: true
# Route definitions with service discovery
routes:
- id: ping-service-route
uri: lb://ping-service
predicates:
- Path=/api/ping/**
filters:
- StripPrefix=1
management:
endpoints:
web:
exposure:
include: health,info