Skip to content

Conversation

@hyeonda02
Copy link
Member

🌱 관련 이슈

📌 작업 내용 및 특이사항

  • Spring Boot 백엔드와 FastAPI 기반의 Python 모델 서버 간의 통신이 정상적으로 이루어지는지 확인하기 위해 테스트용 API를 작성했습니다.

주요 변경 사항

  • WebClient를 사용하여 FastAPI 서버와 통신하도록 구현하였습니다.
  • FastApiService에서 GET 요청을 보내고 서버로부터 응답을 반환받은 것을 확인했습니다.
  • @apiresponse를 사용하여 FastAPI 응답 예제를 Swagger에서 확인 가능하도록 하였습니다.

WebClient 설정 추가 (WebClientConfig)

  • WebClient.Builder를 Bean으로 등록하여 다른 서비스에서도 사용 가능하도록 하였습니다.

📝 참고사항

  • FastAPI 서버 주소는 환경 변수로 처리하였습니다.

@hyeonda02 hyeonda02 added the ✨ Feature 기능 개발 label Jan 25, 2025
@hyeonda02 hyeonda02 self-assigned this Jan 25, 2025
@hyeonda02 hyeonda02 merged commit c35abc1 into develop Jan 25, 2025
1 check passed
@hyeonda02 hyeonda02 deleted the feature/api-test branch April 7, 2025 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 기능 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants