
package com.ikon.projectmanagement;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.autoconfigure.cassandra.CassandraHealthContributorAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.cassandra.CassandraAutoConfiguration;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

import com.ikon.autoconfigure.annotation.EnableIkonSdk;
import com.ikon.sdk.config.IkonSdkConfig;

@EntityScan(basePackages = {
                "com.ikon.projectmanagement.entity",

})
@EnableJpaRepositories(basePackages = {
                "com.ikon.projectmanagement.repository",

})
@EnableFeignClients(basePackages = {
                "com.ikon.client",

})
@SpringBootApplication(scanBasePackages = {
                "com.ikon.projectmanagement",

}, exclude = {
                CassandraAutoConfiguration.class,
                CassandraHealthContributorAutoConfiguration.class
})
@EnableJpaAuditing
@EnableIkonSdk(configuration = IkonSdkConfig.class)
public class ProjectManagementApplication {

        public static void main(String[] args) {
                SpringApplication.run(ProjectManagementApplication.class, args);
        }
}
