package com.artfess.mongodb;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import com.artfess.mongodb.repository.impl.MongoDbRepositoryImpl;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
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);
	}
}