All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.smallmind.schedule.quartz.quartz-liquibase.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns="http://www.springframework.org/schema/beans"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

  <!-- Liquibase updates -->
  <bean id="quartzLiquibase" class="org.smallmind.liquibase.spring.SpringLiquibase">
    <property name="dataSource" ref="quartzDataSource"/>
    <property name="source" value="CLASSPATH"/>
    <property name="goal" value="UPDATE"/>
    <property name="changeLogs">
      <list>
        <bean class="org.smallmind.liquibase.spring.ChangeLog">
          <property name="input" value="org/smallmind/schedule/quartz/Quartz.changelog.xml"/>
          <property name="output" value="Quartz.changelog.xml"/>
        </bean>
      </list>
    </property>
  </bean>

  <!-- Data Source -->
  <bean id="quartzDataSource" class="org.smallmind.persistence.sql.DriverManagerDataSource">
    <constructor-arg index="0" value="${jdbc.driver.classname}"/>
    <constructor-arg index="1" value="${jdbc.url.quartz}"/>
    <constructor-arg index="2" value="${jdbc.username.quartz}"/>
    <constructor-arg index="3" value="${jdbc.password.quartz}"/>
  </bean>

</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy