Skip to content

Commit

Permalink
[ 1831241 ] Wire in upgrade service. fix query to get node identity t…
Browse files Browse the repository at this point in the history
…o include symmetric_version column
  • Loading branch information
erilong committed Nov 13, 2007
1 parent 80843d1 commit 7421dac
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion symmetric/src/main/resources/symmetric-services.xml
Expand Up @@ -25,7 +25,9 @@
<property name="configurationService" ref="configurationService" />
<property name="runtimeConfiguration" ref="runtimeConfiguration" />
<property name="dataService" ref="dataService" />
<property name="upgradeService" ref="upgradeService" />
<property name="autoConfigureDatabase" value="${symmetric.auto.config.database}" />
<property name="autoUpgrade" value="${symmetric.auto.upgrade}" />
</bean>

<bean id="parameterService" class="org.jumpmind.symmetric.service.impl.ParameterService"
Expand Down Expand Up @@ -406,7 +408,8 @@
<property name="findNodeIdentitySql">
<value>
select c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url,
c.schema_version, c.database_type, c.database_version from ${sync.table.prefix}_node
c.schema_version, c.database_type, c.database_version, c.symmetric_version
from ${sync.table.prefix}_node
c inner join ${sync.table.prefix}_node_identity i on c.node_id = i.node_id
</value>
</property>
Expand Down Expand Up @@ -565,6 +568,13 @@
</property>
</bean>

<bean id="upgradeService" class="org.jumpmind.symmetric.service.impl.UpgradeService">
<property name="jdbcTemplate" ref="jdbcTemplate" />
<property name="runtimeConfiguration" ref="runtimeConfiguration" />
<property name="nodeService" ref="nodeService" />
<property name="upgradeTaskMap" ref="upgradeTaskMap" />
</bean>

<bean id="purgeService" class="org.jumpmind.symmetric.service.impl.PurgeService">
<property name="jdbcTemplate" ref="jdbcTemplate" />
<property name="runtimeConfiguration" ref="runtimeConfiguration" />
Expand Down

0 comments on commit 7421dac

Please sign in to comment.