Extract the config file locations into the global properties file.

+review RM-12

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101024 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tom Page
2015-04-01 09:18:00 +00:00
parent 60db7465ea
commit e0c15e68ff
2 changed files with 10 additions and 2 deletions

View File

@@ -57,3 +57,11 @@ rm.dispositionlifecycletrigger.cronexpression=0 0/5 * * * ?
rm.record.contributors.group.enabled=false rm.record.contributors.group.enabled=false
# record contributors group, default value 'RECORD_CONTRIBUTORS' # record contributors group, default value 'RECORD_CONTRIBUTORS'
rm.record.contributors.group.name=RECORD_CONTRIBUTORS rm.record.contributors.group.name=RECORD_CONTRIBUTORS
#
# Classified records
#
# The location of the classification levels configuration file (relative to the classpath).
rm.classification.levelsFile=/alfresco/module/org_alfresco_module_rm/classification/rm-classification-levels.json
# The location of the classification reasons configuration file (relative to the classpath).
rm.classification.reasonsFile=/alfresco/module/org_alfresco_module_rm/classification/rm-classification-reasons.json

View File

@@ -4,8 +4,8 @@
<beans> <beans>
<bean id="classificationServiceDAO" class="org.alfresco.module.org_alfresco_module_rm.classification.ClassificationServiceDAO"> <bean id="classificationServiceDAO" class="org.alfresco.module.org_alfresco_module_rm.classification.ClassificationServiceDAO">
<property name="levelConfigLocation" value="/alfresco/module/org_alfresco_module_rm/classification/rm-classification-levels.json" /> <property name="levelConfigLocation" value="${rm.classification.levelsFile}" />
<property name="reasonConfigLocation" value="/alfresco/module/org_alfresco_module_rm/classification/rm-classification-reasons.json" /> <property name="reasonConfigLocation" value="${rm.classification.reasonsFile}" />
</bean> </bean>
<!-- Classification Service --> <!-- Classification Service -->