package com.bonus.core.allocation.holiday.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

@Configuration
public class RestTemplateConfig {
   private static final Logger log = LoggerFactory.getLogger(RestTemplateConfig.class);

   @Bean({"holidayRest"})
   public RestTemplate createRest() {
      return new RestTemplate();
   }
}
