package eu.dnetlib.loginservice; 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; import eu.dnetlib.loginservice.properties.Properties; @SpringBootApplication(scanBasePackages = {"eu.dnetlib.loginservice"}) @PropertySources({ @PropertySource("classpath:application.properties"), @PropertySource(value = "classpath:dnet-override.properties", ignoreResourceNotFound = true) }) @EnableConfigurationProperties({Properties.class}) public class LoginServiceApplication { public static void main(String[] args) { SpringApplication.run(LoginServiceApplication.class, args); } }