package com.fractalite.amad_ndc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.XADataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class, XADataSourceAutoConfiguration.class})
@EntityScan("com.fractalite.mercure.data.model")
public class AmadNdcApplication {

	public static void main(String[] args) {
		SpringApplication.run(AmadNdcApplication.class, args);
	}
	
	
	 @Bean
	    public RestTemplate restTemplate() {
	        return new RestTemplate();
	    }


}
