mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Consolidate/fix bootstrap import (MT & ST) of repo-sourced workflow defs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8087 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -302,6 +302,7 @@
|
||||
<value>alfresco/workflow/wcm-workflow-messages</value>
|
||||
</list>
|
||||
</property>
|
||||
<property name="repositoryWorkflowDefsLocations" ref="customWorkflowDefsRepositoryLocation"/>
|
||||
</bean>
|
||||
|
||||
<!-- Bootstrap any extensions -->
|
||||
|
@@ -24,10 +24,7 @@
|
||||
<property name="workflowService" ref="WorkflowService"/>
|
||||
<property name="repositoryExporterService" ref="repositoryExporterComponent"/>
|
||||
|
||||
<property name="namespaceService" ref="NamespaceService"/>
|
||||
<property name="searchService" ref="SearchService"/>
|
||||
<property name="workflowDefinitionType" ref="workflowDefinitionType"/>
|
||||
<property name="repositoryWorkflowDefsLocations" ref="customWorkflowDefsRepositoryLocation"/>
|
||||
<property name="workflowDeployer" ref="workflowBootstrap"/>
|
||||
|
||||
</bean>
|
||||
|
||||
|
@@ -14,7 +14,10 @@
|
||||
<property name="dictionaryDAO" ref="dictionaryDAO"/>
|
||||
<property name="allowWrite">
|
||||
<value>${server.transaction.allow-writes}</value>
|
||||
</property>
|
||||
</property>
|
||||
<property name="nodeService" ref="NodeService"/>
|
||||
<property name="searchService" ref="SearchService"/>
|
||||
<property name="namespaceService" ref="NamespaceService"/>
|
||||
</bean>
|
||||
|
||||
<bean id="workflowServiceImpl" class="org.alfresco.repo.workflow.WorkflowServiceImpl">
|
||||
@@ -109,8 +112,8 @@
|
||||
<!-- Workflow Patch Deployer -->
|
||||
<bean id="workflowPatchDeployer" parent="workflowDeployer" singleton="false"/>
|
||||
|
||||
<!-- Deploy any additional workflows definitions from repo (used by MT import) -->
|
||||
<!-- note: needs to match bootstrap-context.xml locations ( customWorkflowDefsSpace.xml) -->
|
||||
<!-- Deploy any additional workflows definitions from repo -->
|
||||
<!-- note: needs to match bootstrap-context.xml locations (customWorkflowDefsSpace.xml) -->
|
||||
<bean id="customWorkflowDefsRepositoryLocation" class="org.alfresco.repo.dictionary.RepositoryLocation">
|
||||
<!-- other properties will be defaulted, but can be overriden here -->
|
||||
<property name="path">
|
||||
@@ -120,9 +123,8 @@
|
||||
|
||||
<!-- Workflow Definition Type (bpm:workflowDefinition) -->
|
||||
<bean id="workflowDefinitionType" class="org.alfresco.repo.workflow.WorkflowDefinitionType" init-method="init">
|
||||
<property name="nodeService" ref="NodeService"/>
|
||||
<property name="policyComponent" ref="policyComponent"/>
|
||||
<property name="workflowService" ref="WorkflowService"/>
|
||||
<property name="workflowDeployer" ref="workflowBootstrap"/>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
|
Reference in New Issue
Block a user