package com.artfess.mongodb;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import com.artfess.mongodb.repository.impl.MongoDbRepositoryImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
//@Configuration
//@MapperScan(basePackages={"com.artfess.**.dao"})
//@ComponentScan({"com.artfess.*"})
//@EnableFeignClients(basePackages = {"com.artfess.*"})
@EnableMongoRepositories(repositoryBaseClass = MongoDbRepositoryImpl.class)
//@EnableDiscoveryClient
public class Application
{
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
