package com.css.simulation.resource.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@SpringBootApplication
@EnableFeignClients
@EnableResourceServer
@EnableTransactionManagement
@EnableAsync
@EnableGlobalMethodSecurity(prePostEnabled=true)
public class SimulationResourceServerApplication {

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