BAEL-2221

This commit is contained in:
Swapan Pramanick
2018-10-16 20:49:12 +05:30
parent 1dfeb49045
commit fcef80587c
7 changed files with 303 additions and 0 deletions
@@ -0,0 +1,19 @@
package org.baeldung;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
@Configuration
@EnableAutoConfiguration
@ComponentScan("org.baeldung")
public class SpringTestConfig {
@Bean
public RestTemplate restTemplate() {
return new RestTemplate();
}
}