mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (Cloud/4.3) to HEAD (Cloud/4.3)
62680: REVERSE MERGE -r58176 : BDE-242, ACE-585 Reversed addition of wcm bootstrap to wdr deployment project. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -0,0 +1,112 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
||||||
|
|
||||||
|
<!-- This file enables Alfresco WCM. It should be placed in shared/classes/alfresco/extension -->
|
||||||
|
|
||||||
|
<beans>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Patch in the WCM folders for the Authoring Environment
|
||||||
|
Adds WCM Forms and WCM Projects
|
||||||
|
-->
|
||||||
|
<bean id="patch.wcmFolders" class="org.alfresco.repo.admin.patch.impl.WCMFoldersPatch" parent="basePatch" >
|
||||||
|
<property name="id"><value>patch.wcmFolders</value></property>
|
||||||
|
<property name="description"><value>patch.wcmFolders.description</value></property>
|
||||||
|
<property name="fixesFromSchema"><value>0</value></property>
|
||||||
|
<property name="fixesToSchema"><value>${version.schema}</value></property>
|
||||||
|
<property name="targetSchema"><value>10000</value></property>
|
||||||
|
<!-- helper beans for execution -->
|
||||||
|
<property name="messageSource">
|
||||||
|
<ref bean="bootstrapSpacesMessageSource" />
|
||||||
|
</property>
|
||||||
|
<property name="importerBootstrap">
|
||||||
|
<ref bean="spacesBootstrap" />
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
|
<!-- Bootstrap the WCM Deployment Receiver Subsystem -->
|
||||||
|
<bean id="wcm_deployment_receiver"
|
||||||
|
class="org.alfresco.repo.management.subsystems.ChildApplicationContextFactory"
|
||||||
|
parent="abstractPropertyBackedBean">
|
||||||
|
<property name="autoStart">
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
|
<!-- Patch bean to add the "WCM Deployed" space to the company home folder -->
|
||||||
|
<bean id="patch.wcmDeployed" class="org.alfresco.repo.admin.patch.impl.GenericBootstrapPatch" parent="basePatch" >
|
||||||
|
<property name="id"><value>patch.wcmDeployed</value></property>
|
||||||
|
<property name="description"><value>patch.wcmDeployed.description</value></property>
|
||||||
|
<property name="fixesFromSchema"><value>0</value></property>
|
||||||
|
<property name="fixesToSchema"><value>${version.schema}</value></property>
|
||||||
|
<property name="targetSchema"><value>10000</value></property>
|
||||||
|
<!-- bootstrap view -->
|
||||||
|
<property name="importerBootstrap">
|
||||||
|
<ref bean="spacesBootstrap" />
|
||||||
|
</property>
|
||||||
|
<property name="checkPath">
|
||||||
|
<value>/${spaces.company_home.childname}/${spaces.wcm_deployed.childname}</value>
|
||||||
|
</property>
|
||||||
|
<property name="bootstrapView">
|
||||||
|
<props>
|
||||||
|
<prop key="path">/${spaces.company_home.childname}</prop>
|
||||||
|
<prop key="location">alfresco/bootstrap/deployedSpace.xml</prop>
|
||||||
|
<prop key="messages">alfresco/messages/bootstrap-spaces</prop>
|
||||||
|
</props>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
|
<bean id="avmOrphanReaperJob" class="org.alfresco.util.CronTriggerBean">
|
||||||
|
<property name="jobDetail">
|
||||||
|
<bean id="avmOrphanReaperJobDetail" class="org.springframework.scheduling.quartz.JobDetailBean">
|
||||||
|
<property name="jobClass">
|
||||||
|
<value>org.alfresco.repo.avm.OrphanReaperJob</value>
|
||||||
|
</property>
|
||||||
|
<property name="jobDataAsMap">
|
||||||
|
<map>
|
||||||
|
<entry key="orphanReaper">
|
||||||
|
<ref bean="orphanReaper"/>
|
||||||
|
</entry>
|
||||||
|
</map>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
</property>
|
||||||
|
<property name="scheduler">
|
||||||
|
<ref bean="schedulerFactory"/>
|
||||||
|
</property>
|
||||||
|
<property name="cronExpression">
|
||||||
|
<value>0 * * * * ?</value>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
|
<!-- Job to scan for expired content in website staging areas -->
|
||||||
|
<bean id="avmExpiredContentTrigger" class="org.alfresco.util.CronTriggerBean">
|
||||||
|
<property name="jobDetail">
|
||||||
|
<bean id="avmExpiredContentJobDetail" class="org.springframework.scheduling.quartz.JobDetailBean">
|
||||||
|
<property name="jobClass">
|
||||||
|
<value>org.alfresco.repo.avm.AVMExpiredContentJob</value>
|
||||||
|
</property>
|
||||||
|
<property name="jobDataAsMap">
|
||||||
|
<map>
|
||||||
|
<entry key="expiredContentProcessor">
|
||||||
|
<ref bean="avmExpiredContentProcessor" />
|
||||||
|
</entry>
|
||||||
|
</map>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
</property>
|
||||||
|
<property name="scheduler">
|
||||||
|
<ref bean="schedulerFactory" />
|
||||||
|
</property>
|
||||||
|
<!-- trigger at 3:30am each day -->
|
||||||
|
<property name="cronExpression">
|
||||||
|
<value>0 30 3 * * ?</value>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
|
<!-- There is a job available to purge old deploymentattempt nodes -->
|
||||||
|
<!-- from the repository. The maximum age of the node can be configured. -->
|
||||||
|
<!-- See the wiki (http://wiki.alfresco.com/wikiDeployment) for details -->
|
||||||
|
<!-- and the deployment-attempt-cleaner-context.xml.sample file. -->
|
||||||
|
|
||||||
|
</beans>
|
Reference in New Issue
Block a user