Skip to content

Feature/api gateway#2

Open
paulopacifico wants to merge 28 commits intomainfrom
feature/api-gateway
Open

Feature/api gateway#2
paulopacifico wants to merge 28 commits intomainfrom
feature/api-gateway

Conversation

@paulopacifico
Copy link
Copy Markdown
Owner

No description provided.

paulopacifico and others added 28 commits April 30, 2026 22:27
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- flushDb().block() gains a 5-second timeout to prevent CI hangs
- Rate-limit test sends 5 requests instead of exact burst+1 to eliminate
  timing flakiness on slow CI hosts
- Move @EnableConfigurationProperties(JwtProperties.class) from
  RateLimiterConfig to GatewayServiceApplication (canonical location)
Adds a complete Helm chart for the gateway-service mirroring the
order-service and inventory-service structure. Includes ConfigMap with
REDIS_HOST, REDIS_PORT, SPRING_DATA_REDIS_HOST, SPRING_DATA_REDIS_PORT,
and wires JWT_SECRET from the pre-existing `gateway-jwt-secret` K8s
secret via secretKeyRef in the Deployment.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…pring context

@testcontainers + @container starts the container in TestcontainersExtension.beforeAll,
which runs AFTER SpringExtension.beforeAll (because @SpringBootTest is listed first).
Spring's LettuceConnectionFactory reads spring.data.redis.host from @DynamicPropertySource
during context initialization, calling redis.getHost() while the container is not yet
started — throwing IllegalStateException.

Matches the pattern used in AbstractIntegrationTest (order-service) where containers
are started in a static block, guaranteeing they are ready before @DynamicPropertySource
suppliers are evaluated.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant