mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Moving to root below branch label
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
BIN
source/test-resources/Plan270904b.xls
Normal file
BIN
source/test-resources/Plan270904b.xls
Normal file
Binary file not shown.
48
source/test-resources/cache-test-context.xml
Normal file
48
source/test-resources/cache-test-context.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
||||
|
||||
<!-- sample bean configuration to test cache configurations -->
|
||||
<beans>
|
||||
|
||||
<bean name="ehCacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" >
|
||||
<property name="configLocation">
|
||||
<value>classpath:ehcache.xml</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean name="ehCache1" class="org.alfresco.repo.cache.EhCacheAdapter">
|
||||
<property name="cache">
|
||||
<bean class="org.springframework.cache.ehcache.EhCacheFactoryBean" >
|
||||
<property name="cacheName">
|
||||
<value>cache1</value>
|
||||
</property>
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean name="backingCache" class="org.alfresco.repo.cache.EhCacheAdapter">
|
||||
<property name="cache">
|
||||
<bean class="org.springframework.cache.ehcache.EhCacheFactoryBean" >
|
||||
<property name="cacheName">
|
||||
<value>backingCache</value>
|
||||
</property>
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean name="transactionalCache" class="org.alfresco.repo.cache.TransactionalCache">
|
||||
<property name="sharedCache">
|
||||
<ref bean="backingCache" />
|
||||
</property>
|
||||
<property name="cacheManager" >
|
||||
<ref bean="ehCacheManager" />
|
||||
</property>
|
||||
<property name="name">
|
||||
<value>transactionalCache</value>
|
||||
</property>
|
||||
<property name="maxCacheSize">
|
||||
<value>20000</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
BIN
source/test-resources/farmers_markets_list_2003.doc
Normal file
BIN
source/test-resources/farmers_markets_list_2003.doc
Normal file
Binary file not shown.
58
source/test-resources/filefolder/filefolder-test-import.xml
Normal file
58
source/test-resources/filefolder/filefolder-test-import.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
|
||||
xmlns:cm="http://www.alfresco.org/model/content/1.0"
|
||||
xmlns:app="http://www.alfresco.org/model/application/1.0">
|
||||
|
||||
<!-- L0 files -->
|
||||
<cm:content>
|
||||
<cm:name>L0: File A</cm:name>
|
||||
<cm:content>contentUrl=classpath:quick/quick.txt|mimetype=text/plain|size=|encoding=</cm:content>
|
||||
</cm:content>
|
||||
<cm:content>
|
||||
<cm:name>L0: File B</cm:name>
|
||||
<cm:content>contentUrl=classpath:quick/quick.pdf|mimetype=application/pdf|size=|encoding=</cm:content>
|
||||
</cm:content>
|
||||
<!-- L0 folders -->
|
||||
<cm:folder>
|
||||
<cm:name>L0: Folder A</cm:name>
|
||||
<cm:contains>
|
||||
<!-- L1 files -->
|
||||
<cm:content>
|
||||
<cm:name>L1: File A</cm:name>
|
||||
<cm:content>contentUrl=classpath:quick/quick.txt|mimetype=text/plain|size=|encoding=</cm:content>
|
||||
</cm:content>
|
||||
<cm:content>
|
||||
<cm:name>L1: File B</cm:name>
|
||||
<cm:content>contentUrl=classpath:quick/quick.pdf|mimetype=application/pdf|size=|encoding=</cm:content>
|
||||
</cm:content>
|
||||
<cm:content>
|
||||
<cm:name>L1: File C (%_)</cm:name>
|
||||
<cm:content>contentUrl=classpath:quick/quick.html|mimetype=text/html|size=|encoding=</cm:content>
|
||||
</cm:content>
|
||||
<!-- L2 folders -->
|
||||
<cm:folder>
|
||||
<cm:name>L1: Folder A</cm:name>
|
||||
</cm:folder>
|
||||
<cm:folder>
|
||||
<cm:name>L1: Folder B</cm:name>
|
||||
</cm:folder>
|
||||
</cm:contains>
|
||||
</cm:folder>
|
||||
<cm:folder>
|
||||
<cm:name>L0: Folder B</cm:name>
|
||||
</cm:folder>
|
||||
<cm:folder>
|
||||
<cm:name>L0: Folder C</cm:name>
|
||||
<cm:contains>
|
||||
<!-- L1 files -->
|
||||
<cm:content>
|
||||
<cm:name>DUPLICATE</cm:name>
|
||||
<cm:content>contentUrl=classpath:quick/quick.txt|mimetype=text/plain|size=|encoding=</cm:content>
|
||||
</cm:content>
|
||||
<!-- L2 folders -->
|
||||
<cm:folder>
|
||||
<cm:name>DUPLICATE</cm:name>
|
||||
</cm:folder>
|
||||
</cm:contains>
|
||||
</cm:folder>
|
||||
|
||||
</view:view>
|
BIN
source/test-resources/quick/quick.bmp
Normal file
BIN
source/test-resources/quick/quick.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 110 KiB |
BIN
source/test-resources/quick/quick.doc
Normal file
BIN
source/test-resources/quick/quick.doc
Normal file
Binary file not shown.
BIN
source/test-resources/quick/quick.gif
Normal file
BIN
source/test-resources/quick/quick.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
17
source/test-resources/quick/quick.html
Normal file
17
source/test-resources/quick/quick.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
|
||||
<title>The quick brown fox jumps over the lazy dog</title>
|
||||
<meta name="author" content="Nevin Nollop">
|
||||
<meta name="keywords" content="Pangram, fox, dog">
|
||||
<meta name="description" content="Gym class featuring a brown fox and lazy dog">
|
||||
</head>
|
||||
|
||||
<body lang=EN-US>
|
||||
|
||||
The quick brown fox jumps over the lazy dog
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
BIN
source/test-resources/quick/quick.jpg
Normal file
BIN
source/test-resources/quick/quick.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
source/test-resources/quick/quick.odt
Normal file
BIN
source/test-resources/quick/quick.odt
Normal file
Binary file not shown.
BIN
source/test-resources/quick/quick.pdf
Normal file
BIN
source/test-resources/quick/quick.pdf
Normal file
Binary file not shown.
BIN
source/test-resources/quick/quick.png
Normal file
BIN
source/test-resources/quick/quick.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
source/test-resources/quick/quick.ppt
Normal file
BIN
source/test-resources/quick/quick.ppt
Normal file
Binary file not shown.
BIN
source/test-resources/quick/quick.sxw
Normal file
BIN
source/test-resources/quick/quick.sxw
Normal file
Binary file not shown.
1
source/test-resources/quick/quick.txt
Normal file
1
source/test-resources/quick/quick.txt
Normal file
@@ -0,0 +1 @@
|
||||
The quick brown fox jumps over the lazy dog
|
BIN
source/test-resources/quick/quick.xls
Normal file
BIN
source/test-resources/quick/quick.xls
Normal file
Binary file not shown.
5
source/test-resources/quick/quick.xml
Normal file
5
source/test-resources/quick/quick.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
|
||||
<document>
|
||||
<text>The quick brown fox jumps over the lazy dog</text>
|
||||
</document>
|
3
source/test-resources/quick/readme.txt
Normal file
3
source/test-resources/quick/readme.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Files in here contain the well-known phrase "The quick brown fox jumps over the lazy dog".
|
||||
|
||||
They can be used, amongst other things, to check that document conversions are working as expected.
|
67
source/test-resources/testQueryRegister.xml
Normal file
67
source/test-resources/testQueryRegister.xml
Normal file
@@ -0,0 +1,67 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!--<!DOCTYPE query-register PUBLIC '-//ALFRESCO//DTD QUERY//EN' 'queryRegister.dtd'>-->
|
||||
<query-register>
|
||||
<name>test-query-register</name>
|
||||
<namespaces>
|
||||
<namespace>
|
||||
<prefix>alf</prefix>
|
||||
<uri>http://www.alfresco.org</uri>
|
||||
</namespace>
|
||||
<namespace>
|
||||
<prefix>tulip</prefix>
|
||||
<uri>http://www.trees.tulip/barking/woof</uri>
|
||||
</namespace>
|
||||
</namespaces>
|
||||
<!-- My test query definition -->
|
||||
<parameter-definition>
|
||||
<qname>alf:query-parameter-name</qname>
|
||||
<type>alf:string</type>
|
||||
<default-value>A name</default-value>
|
||||
|
||||
</parameter-definition>
|
||||
|
||||
<query-definition>
|
||||
<qname>alf:query1</qname>
|
||||
<language>lucene</language>
|
||||
<parameter-ref>
|
||||
<qname>alf:query-parameter-name</qname>
|
||||
</parameter-ref>
|
||||
<parameter-definition>
|
||||
<qname>alf:banana</qname>
|
||||
<property>alf:name-of-property</property>
|
||||
</parameter-definition>
|
||||
<query>+QNAME:$alf:query-parameter-name</query>
|
||||
</query-definition>
|
||||
|
||||
|
||||
<query-definition>
|
||||
<qname>alf:test1</qname>
|
||||
<language>lucene</language>
|
||||
<query>TEXT:fox</query>
|
||||
</query-definition>
|
||||
|
||||
<query-definition>
|
||||
<qname>alf:test2</qname>
|
||||
<language>lucene</language>
|
||||
<parameter-definition>
|
||||
<qname>alf:banana</qname>
|
||||
<type>alf:string</type>
|
||||
<default-value>fox</default-value>
|
||||
</parameter-definition>
|
||||
<query>TEXT:${alf:banana}</query>
|
||||
</query-definition>
|
||||
|
||||
<query-definition>
|
||||
<qname>alf:test3</qname>
|
||||
<language>lucene</language>
|
||||
<parameter-definition>
|
||||
<qname>alf:banana</qname>
|
||||
<type>alf:string</type>
|
||||
<default-value>fox</default-value>
|
||||
</parameter-definition>
|
||||
<query>PATH:"${alf:banana}"</query>
|
||||
</query-definition>
|
||||
|
||||
|
||||
|
||||
</query-register>
|
Reference in New Issue
Block a user