-
<bean id="yamlProperties" class="org.springframework.beans.factory.config.YamlPropertiesFactoryBean">
-
<property name="resources" value="classpath:config/application-release.yml"/>
-
</bean>
-
-
<context:property-placeholder properties-ref="yamlProperties"/>
-
-
<property name="driverClassName" value="${spring.datasource.driverClassName}"/>
-
<property name="url" value="${spring.datasource.url}"/>
-
<property name="username" value="${spring.datasource.username}"/>
-
<property name="password" value="${spring.datasource.password}"/>