Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
⛏ 작업 사항
OAuthRestClient
인터페이스를 클래스로 변경하였습니다.OAuthRestTemplateClient
구현체의 코드를 그대로 사용합니다.RestTemplate
을 직접 사용하던 것에서RestTemplate
을 사용하는 클래스인ApiService
를 사용하도록 변경하였습니다.ApiService
에 쿼리 스트링을 인자로 받을 수 있는 메서드를 추가하고 기존의ApiService
코드를 이에 맞게 개선하였습니다.@RequestBody
를 사용하던 get요청을@ModelAttribute
로 수정하였습니다.📝 작업 요약
OAuthRestClient
인터페이스 -> 클래스로 변경ApiService
쿼리 스트링을 인자로 받는 메서드 추가 및 기존 로직 개선OAuthRestClient
단위 테스트 추가💡 관련 이슈