Skip to content

Commit

Permalink
modify: RestTemplateConfig - RestTemplate 빈 임시 주석 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
woody35545 committed May 13, 2024
1 parent 9b05580 commit e06948e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/main/java/com/t3t/bookstoreapi/config/RestTemplateConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@

@Configuration
public class RestTemplateConfig {
/**
* RestTemplate 빈
* @author woody35545(구건모)
*/
@Bean
public RestTemplate restTemplate(RestTemplateBuilder builder) {
return builder.setReadTimeout(Duration.ofSeconds(3L))
.setConnectTimeout(Duration.ofSeconds(3L))
.build();
}
// /**
// * RestTemplate 빈
// * @author woody35545(구건모)
// */
// @Bean
// public RestTemplate restTemplate(RestTemplateBuilder builder) {
// return builder.setReadTimeout(Duration.ofSeconds(3L))
// .setConnectTimeout(Duration.ofSeconds(3L))
// .build();
// }

/**
* Secret Key Manager 인증서를 사용하여 요청을 보내기 위한 RestTemplate 빈 등록
Expand Down

0 comments on commit e06948e

Please sign in to comment.