package eu.dnetlib.usagestats;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;

@PropertySources({
        @PropertySource("classpath:usageStatsAPI.properties"),
        @PropertySource("classpath:dnet-override.properties")}
)
@SpringBootApplication
public class UsageStatsApi extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(UsageStatsApi.class, args);
    }
}



