package eu.dnetlib.validatorapi; import eu.dnetlib.validatorapi.configuration.GlobalVars; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.PropertySource; import org.springframework.context.annotation.PropertySources; @SpringBootApplication(scanBasePackages = {"eu.dnetlib.validatorapi"}) @PropertySources({ @PropertySource("classpath:validatorapi.properties"), @PropertySource(value = "classpath:dnet-override.properties", ignoreResourceNotFound = true) }) @EnableConfigurationProperties({GlobalVars.class}) public class ValidatorApiApplication { public static void main(String[] args) { SpringApplication.run(ValidatorApiApplication.class, args); } }