Commit 3c95c27d authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1106: Combine datamodel and mapping sync

Task-Url: https://pm.winseda.de/issues/1106
parent e08b83b1
......@@ -14,16 +14,22 @@
<property name="timeout" value="${api.colreg.timeout:300}" />
</bean>
<bean id="datamodelSyncService" class="eu.dariah.de.search.automation.DatamodelSyncService">
<bean id="dmeSyncService" class="eu.dariah.de.search.automation.DmeSyncService">
<property name="autosync" value="${api.dme.autosync:false}" />
<property name="syncInterval" value="${api.dme.syncInterval:3600}" />
<property name="timeout" value="${api.dme.timeout:300}" />
<property name="autocreateDatamodelIndex" value="${api.dme.autocreate:true}" />
</bean>
<!-- No automation with datamodel and mapping sync service - they are orchestrated by dmeSyncService -->
<bean id="datamodelSyncService" class="eu.dariah.de.search.automation.DatamodelSyncService">
<property name="autosync" value="false" />
<property name="syncInterval" value="-1" />
<property name="timeout" value="${api.dme.timeout:300}" />
</bean>
<bean id="mappingSyncService" class="eu.dariah.de.search.automation.MappingSyncService">
<property name="autosync" value="${api.dme.autosync:false}" />
<property name="syncInterval" value="${api.dme.syncInterval:3600}" />
<property name="autosync" value="false" />
<property name="syncInterval" value="-1" />
<property name="timeout" value="${api.dme.timeout:300}" />
</bean>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment