Full Repository Export / Import

- support export of system information such as applied patches and version counters
- support for deleted archive store

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2006-05-12 21:30:24 +00:00
parent adfd5bcc0d
commit bb4575435a
19 changed files with 715 additions and 58 deletions

View File

@@ -94,6 +94,9 @@
<property name="nodeService">
<ref bean="NodeService" />
</property>
<property name="systemExporter">
<ref bean="systemExporterImporter" />
</property>
<property name="stores">
<list>
<props>
@@ -108,6 +111,10 @@
<prop key="storeRef">${spaces.store}</prop>
<prop key="packageName">spaces</prop>
</props>
<props>
<prop key="storeRef">${spaces.archive.store}</prop>
<prop key="packageName">spaces_archive</prop>
</props>
<props>
<prop key="storeRef">workspace://lightWeightVersionStore</prop>
<prop key="packageName">versions</prop>
@@ -116,6 +123,40 @@
</property>
</bean>
<bean id="systemExporterImporter" class="org.alfresco.repo.importer.system.SystemExporterImporter">
<property name="nodeService">
<ref bean="nodeService" />
</property>
<property name="patchDao">
<ref bean="patchDaoComponent" />
</property>
<property name="versionDao">
<ref bean="versionCounterDaoComponent" />
</property>
</bean>
<!-- System Info Importer -->
<bean id="systemInfoImporter" class="org.alfresco.repo.importer.system.SystemInfoBootstrap" abstract="true">
<property name="transactionService">
<ref bean="transactionComponent"/>
</property>
<property name="nodeService">
<ref bean="nodeService"/>
</property>
<property name="authenticationComponent">
<ref bean="authenticationComponent" />
</property>
<property name="systemImporter">
<ref bean="systemExporterImporter" />
</property>
<property name="mustNotExistStoreUrls">
<list>
<value>${system.store}</value>
</list>
</property>
</bean>
<!-- General Repository Store Importer -->