2020-12-30 14:56:37 +01:00
|
|
|
package eu.dnetlib.usagestats;
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.context.annotation.PropertySource;
|
|
|
|
import org.springframework.context.annotation.PropertySources;
|
|
|
|
import org.springframework.retry.annotation.EnableRetry;
|
|
|
|
|
2021-03-14 15:24:14 +01:00
|
|
|
//@PropertySources({
|
|
|
|
// @PropertySource("classpath:usageStatsAPI.properties"), //@PropertySource("classpath:dnet-override.properties")
|
|
|
|
//}
|
|
|
|
//)
|
2020-12-30 14:56:37 +01:00
|
|
|
@EnableRetry
|
|
|
|
@SpringBootApplication
|
2021-02-22 18:39:27 +01:00
|
|
|
public class UsageStatsApi {
|
2020-12-30 14:56:37 +01:00
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
SpringApplication.run(UsageStatsApi.class, args);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|