mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge V3.4 to HEAD
23487 : ALF-5539 - Deployment Installer missing I18NUtil 23607 : ALF-5528 - reworking configuration of "filesystem" target. 23674 : ALF-5557 - XSS attack occurs on start workflow with XSS properties. 23684 : ALF-817 - Error occurs when you try to change name of locked file 24119 : ALF-532 - restore-context.xml.sample is useless git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -3,18 +3,10 @@
|
|||||||
|
|
||||||
<!-- Built in deployment server target -->
|
<!-- Built in deployment server target -->
|
||||||
|
|
||||||
<beans>
|
<!-- Sample file -->
|
||||||
|
<!-- Copy to <TOMCAT HOME>/shared/alfresco/extension/deployment and rename to filesystem-target.xml (remove the -sample) -->
|
||||||
|
|
||||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
<beans>
|
||||||
<property name="ignoreUnresolvablePlaceholders">
|
|
||||||
<value>true</value>
|
|
||||||
</property>
|
|
||||||
<property name="locations">
|
|
||||||
<list>
|
|
||||||
<value>classpath:alfresco/deployment/filesystem.properties</value>
|
|
||||||
</list>
|
|
||||||
</property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<!-- This is the common configuration for all file system receivers -->
|
<!-- This is the common configuration for all file system receivers -->
|
||||||
<bean id="fileSystemReceiverService" class="org.alfresco.deployment.impl.fsr.FileSystemReceiverServiceImpl"
|
<bean id="fileSystemReceiverService" class="org.alfresco.deployment.impl.fsr.FileSystemReceiverServiceImpl"
|
@@ -1,20 +0,0 @@
|
|||||||
; Built in deployment receiver properties for the default
|
|
||||||
; filesystem receiver
|
|
||||||
|
|
||||||
; filesystem receiver configuration
|
|
||||||
deployment.filesystem.rootdir=./wcm
|
|
||||||
deployment.filesystem.datadir=${deployment.filesystem.rootdir}/depdata
|
|
||||||
deployment.filesystem.logdir=${deployment.filesystem.rootdir}/deplog
|
|
||||||
deployment.filesystem.metadatadir=${deployment.filesystem.rootdir}/depmetadata
|
|
||||||
|
|
||||||
deployment.filesystem.autofix=true
|
|
||||||
deployment.filesystem.errorOnOverwrite=false
|
|
||||||
|
|
||||||
; default filesystem target configuration
|
|
||||||
deployment.filesystem.default.rootdir=./www
|
|
||||||
deployment.filesystem.default.name=filesystem
|
|
||||||
deployment.filesystem.default.metadatadir=${deployment.filesystem.metadatadir}/default
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -1,85 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
|
||||||
|
|
||||||
<beans>
|
|
||||||
|
|
||||||
<bean id="systemInfoBootstrap" parent="systemInfoImporter">
|
|
||||||
<property name="bootstrapView">
|
|
||||||
<value>alfresco/extension/restore/export_systeminfo.xml</value>
|
|
||||||
</property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="userBootstrap" parent="userStoreImporter">
|
|
||||||
<property name="bootstrapViews">
|
|
||||||
<list>
|
|
||||||
<props>
|
|
||||||
<prop key="path">/</prop>
|
|
||||||
<prop key="location">alfresco/extension/restore/export_users.acp</prop>
|
|
||||||
</props>
|
|
||||||
</list>
|
|
||||||
</property>
|
|
||||||
<property name="log"><value>true</value></property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="systemBootstrap" parent="systemStoreImporter">
|
|
||||||
<property name="bootstrapViews">
|
|
||||||
<list>
|
|
||||||
<props>
|
|
||||||
<prop key="path">/</prop>
|
|
||||||
<prop key="location">alfresco/extension/restore/export_system.acp</prop>
|
|
||||||
</props>
|
|
||||||
</list>
|
|
||||||
</property>
|
|
||||||
<property name="log"><value>true</value></property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="versionBootstrap" parent="versionStoreImporter">
|
|
||||||
<property name="bootstrapViews">
|
|
||||||
<list>
|
|
||||||
<props>
|
|
||||||
<prop key="path">/</prop>
|
|
||||||
<prop key="location">alfresco/extension/restore/export_versions.acp</prop>
|
|
||||||
</props>
|
|
||||||
</list>
|
|
||||||
</property>
|
|
||||||
<property name="log"><value>true</value></property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="spacesArchiveBootstrap" parent="spacesArchiveStoreImporter">
|
|
||||||
<property name="bootstrapViews">
|
|
||||||
<list>
|
|
||||||
<props>
|
|
||||||
<prop key="path">/</prop>
|
|
||||||
<prop key="location">alfresco/extension/restore/export_spaces_archive.acp</prop>
|
|
||||||
</props>
|
|
||||||
</list>
|
|
||||||
</property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="spacesModelsBootstrap" parent="spacesStoreImporter">
|
|
||||||
<property name="bootstrapViews">
|
|
||||||
<list>
|
|
||||||
<props>
|
|
||||||
<prop key="path"></prop>
|
|
||||||
<prop key="location">alfresco/extension/restore/export_models.acp</prop>
|
|
||||||
</props>
|
|
||||||
</list>
|
|
||||||
</property>
|
|
||||||
<property name="log"><value>true</value></property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="spacesBootstrap" parent="spacesStoreImporter">
|
|
||||||
<property name="useExistingStore"><value>true</value></property>
|
|
||||||
<property name="bootstrapViews">
|
|
||||||
<list>
|
|
||||||
<props>
|
|
||||||
<prop key="path">/</prop>
|
|
||||||
<prop key="location">alfresco/extension/restore/export_spaces.acp</prop>
|
|
||||||
<prop key="uuidBinding">UPDATE_EXISTING</prop>
|
|
||||||
</props>
|
|
||||||
</list>
|
|
||||||
</property>
|
|
||||||
<property name="log"><value>true</value></property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
</beans>
|
|
@@ -532,3 +532,36 @@ transferservice.receiver.lockRetryWait=100
|
|||||||
# time" for both source and destination. Default 5 minutes.
|
# time" for both source and destination. Default 5 minutes.
|
||||||
transferservice.receiver.lockTimeOut=300000
|
transferservice.receiver.lockTimeOut=300000
|
||||||
|
|
||||||
|
; DM Receiever Properties
|
||||||
|
;
|
||||||
|
; The name of the DM Receiver target - you deploy to this target name
|
||||||
|
deployment.dmr.name=alfresco
|
||||||
|
|
||||||
|
; consolidate staging, author and workflow sandboxes to one
|
||||||
|
deployment.dmr.consolidate=true
|
||||||
|
|
||||||
|
; The name of the Alfresco receiver targer
|
||||||
|
deployment.avm.name=avm
|
||||||
|
|
||||||
|
;Where should the root of the web project be stored, by default /www/avm_webapps
|
||||||
|
deployment.avm.rootPath=/www/avm_webapps
|
||||||
|
|
||||||
|
; Pattern for live stores deployment by the alfresco receiver
|
||||||
|
deployment.avm.storeNamePattern=%storeName%-live
|
||||||
|
|
||||||
|
; Built in deployment receiver properties for the default
|
||||||
|
; filesystem receiver
|
||||||
|
|
||||||
|
; filesystem receiver configuration
|
||||||
|
deployment.filesystem.rootdir=./wcm
|
||||||
|
deployment.filesystem.datadir=${deployment.filesystem.rootdir}/depdata
|
||||||
|
deployment.filesystem.logdir=${deployment.filesystem.rootdir}/deplog
|
||||||
|
deployment.filesystem.metadatadir=${deployment.filesystem.rootdir}/depmetadata
|
||||||
|
|
||||||
|
deployment.filesystem.autofix=true
|
||||||
|
deployment.filesystem.errorOnOverwrite=false
|
||||||
|
|
||||||
|
; default filesystem target configuration
|
||||||
|
deployment.filesystem.default.rootdir=./www
|
||||||
|
deployment.filesystem.default.name=filesystem
|
||||||
|
deployment.filesystem.default.metadatadir=${deployment.filesystem.metadatadir}/default
|
||||||
|
@@ -865,11 +865,11 @@ public class MultiTAVMService implements AVMService
|
|||||||
|
|
||||||
private String getTenantPath(String avmPath)
|
private String getTenantPath(String avmPath)
|
||||||
{
|
{
|
||||||
if ((avmPath == null) || (! isTenantServiceEnabled()))
|
if ((avmPath == null) || (! isTenantServiceEnabled()) || avmPath.equals("UNKNOWN/UNKNOWN"))
|
||||||
{
|
{
|
||||||
return avmPath;
|
return avmPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
String[] storePath = splitPath(avmPath);
|
String[] storePath = splitPath(avmPath);
|
||||||
return tenantService.getName(storePath[0]) + ':' + storePath[1];
|
return tenantService.getName(storePath[0]) + ':' + storePath[1];
|
||||||
}
|
}
|
||||||
@@ -877,11 +877,11 @@ public class MultiTAVMService implements AVMService
|
|||||||
private String getBasePath(String avmPath)
|
private String getBasePath(String avmPath)
|
||||||
{
|
{
|
||||||
// note: ALFCOM-2893 - getCommonAncestor can return node with path = "/"
|
// note: ALFCOM-2893 - getCommonAncestor can return node with path = "/"
|
||||||
if ((avmPath == null) || (! isTenantServiceEnabled()) || (avmPath.equals("/")))
|
if ((avmPath == null) || (! isTenantServiceEnabled()) || (avmPath.equals("/")) || avmPath.equals("UNKNOWN/UNKNOWN"))
|
||||||
{
|
{
|
||||||
return avmPath;
|
return avmPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
String[] storePath = splitPath(avmPath);
|
String[] storePath = splitPath(avmPath);
|
||||||
return tenantService.getBaseName(storePath[0]) + ':' + storePath[1];
|
return tenantService.getBaseName(storePath[0]) + ':' + storePath[1];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user