org.zodiac.autoconfigure.config.AppConfigAutoConfiguration Maven / Gradle / Ivy
package org.zodiac.autoconfigure.config;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.zodiac.commons.constants.SystemPropertiesConstants;
@SpringBootConfiguration
public class AppConfigAutoConfiguration {
@Bean
@ConfigurationProperties(prefix = SystemPropertiesConstants.Zodiac.SPRING_CONFIG_PREFIX, ignoreInvalidFields = true)
protected AppConfigProperties appConfigProperties() {
return new AppConfigProperties();
}
}