org.kuali.ole.db.sql.OleTestSqlPropertySourceConfig Maven / Gradle / Ivy
package org.kuali.ole.db.sql;
import org.kuali.common.jdbc.JdbcProjectContext;
import org.kuali.common.util.ProjectContext;
import org.kuali.common.util.spring.SpringUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.PropertySource;
@Configuration
public class OleTestSqlPropertySourceConfig {
@Bean
public PropertySource> springPropertySource() {
ProjectContext project = new OleTestSqlProjectContext();
ProjectContext other = new JdbcProjectContext();
return SpringUtils.getGlobalPropertySource(project, other);
}
}