1 package org.onap.portalapp.widget;
3 import org.springframework.boot.SpringApplication;
4 import org.springframework.boot.autoconfigure.SpringBootApplication;
5 import org.springframework.context.annotation.Bean;
6 import org.springframework.context.annotation.ComponentScan;
7 import org.springframework.web.client.RestTemplate;
10 @ComponentScan(basePackages = "org.onap.portalapp.widget")
11 public class MicroserviceApplication {
13 public RestTemplate getRestTemplate(){
14 return new RestTemplate();
16 public static void main(String[] args) {
17 SpringApplication.run(MicroserviceApplication.class, args);