API Gateway 라우팅 설정 개선

- 서비스 디스커버리 제거하고 직접 URL 라우팅으로 변경
- application.yml 환경변수 기반 동적 라우팅 적용
- 로그인/리프레시 API 경로 수정 (/api/v1/auth/login, /api/v1/auth/refresh)
- 사용자 관련 API 경로 추가 (/api/v1/users/**)
- JWT 인증 필터 적용 및 Circuit Breaker 설정 유지

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
hiondal
2025-09-10 12:27:34 +09:00
parent 08aec4251c
commit 9bfdeda316
3 changed files with 25 additions and 18 deletions
@@ -50,7 +50,7 @@ public class SwaggerConfig {
return GroupedOpenApi.builder()
.group("product")
.displayName("Product Service")
.pathsToMatch("/products/**", "/product/**")
.pathsToMatch("/api/v1/products/**", "/product/**")
.build();
}
@@ -35,7 +35,7 @@ import java.time.LocalDate;
* - 상품변경 이력 조회
*/
@RestController
@RequestMapping("/products")
@RequestMapping("/api/v1/products")
@Validated
@Tag(name = "Product Change Service", description = "상품변경 서비스 API")
@SecurityRequirement(name = "bearerAuth")