Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIbrahim Sallam2010-04-18 00:43:08 +0000
committerIbrahim Sallam2010-04-18 00:43:08 +0000
commitbe2b3478fb3155b4a2b1b6354b772ee005ad0bef (patch)
tree7f52a495d2ba1cbfd75bf686e3eb5ab5d8c36b9a /plugins/org.eclipse.emf.cdo.tests.objectivity/config
parentd50b0f61ebc6dabfd1d256b45ce37172abcc10e6 (diff)
downloadcdo-be2b3478fb3155b4a2b1b6354b772ee005ad0bef.tar.gz
cdo-be2b3478fb3155b4a2b1b6354b772ee005ad0bef.tar.xz
cdo-be2b3478fb3155b4a2b1b6354b772ee005ad0bef.zip
Initial code commit
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.objectivity/config')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.objectivity/config/fdconfig.xml18
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo1_clustering.xml36
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo2_clustering.xml36
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo3_clustering.xml36
4 files changed, 126 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.objectivity/config/fdconfig.xml b/plugins/org.eclipse.emf.cdo.tests.objectivity/config/fdconfig.xml
new file mode 100644
index 0000000000..d1e4b4209a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.objectivity/config/fdconfig.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:util="http://www.springframework.org/schema/util"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
+
+<bean id="fdConfig" class="org.eclipse.emf.objy.util.FdManager">
+ <property name="fdName" value="emfoo" />
+ <property name="fdFileHost" value="127.0.0.1" />
+ <property name="fdDirPath" value="e:\data2" />
+ <property name="lockServerHost" value="127.0.0.1" />
+ <property name="fdNumber" value="12345" />
+ <property name="pageSize" value="8192" />
+</bean>
+
+</beans>
diff --git a/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo1_clustering.xml b/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo1_clustering.xml
new file mode 100644
index 0000000000..bded14d57e
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo1_clustering.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:util="http://www.springframework.org/schema/util"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
+
+<bean id="clusterManager" class="org.eclipse.emf.objy.clustering.impl.ClusteringManagerImpl">
+ <property name="databaseName" value="repo1_clustering" />
+ <property name="mapOfClusteringStrategy">
+ <map>
+ <entry>
+ <key><value>*</value></key>
+ <ref bean="DEFAULT"/>
+ </entry>
+ <entry>
+ <key><value>CATEGORY</value></key>
+ <ref bean="CATEGORY"/>
+ </entry>
+ </map>
+ </property>
+</bean>
+
+<bean id="DEFAULT" class="org.eclipse.emf.objy.clustering.impl.ContainerClusteringStrategy">
+ <property name="maxPagesPerContainer" value="60000" />
+ <property name="dbName" value="repo1_defaultDatabase" />
+</bean>
+
+<bean id="CATEGORY" class="org.eclipse.emf.objy.clustering.impl.ContainerClusteringStrategy">
+ <property name="name" value="CATEGORY" />
+ <property name="maxPagesPerContainer" value="60000" />
+ <property name="dbName" value="repo1_CATEGORY" />
+</bean>
+
+</beans>
diff --git a/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo2_clustering.xml b/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo2_clustering.xml
new file mode 100644
index 0000000000..4614403f3f
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo2_clustering.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:util="http://www.springframework.org/schema/util"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
+
+<bean id="clusterManager" class="org.eclipse.emf.objy.clustering.impl.ClusteringManagerImpl">
+ <property name="databaseName" value="repo2_clustering" />
+ <property name="mapOfClusteringStrategy">
+ <map>
+ <entry>
+ <key><value>*</value></key>
+ <ref bean="DEFAULT"/>
+ </entry>
+ <entry>
+ <key><value>CATEGORY</value></key>
+ <ref bean="CATEGORY"/>
+ </entry>
+ </map>
+ </property>
+</bean>
+
+<bean id="DEFAULT" class="org.eclipse.emf.objy.clustering.impl.ContainerClusteringStrategy">
+ <property name="maxPagesPerContainer" value="60000" />
+ <property name="dbName" value="repo2_defaultDatabase" />
+</bean>
+
+<bean id="CATEGORY" class="org.eclipse.emf.objy.clustering.impl.ContainerClusteringStrategy">
+ <property name="name" value="CATEGORY" />
+ <property name="maxPagesPerContainer" value="60000" />
+ <property name="dbName" value="repo2_CATEGORY" />
+</bean>
+
+</beans>
diff --git a/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo3_clustering.xml b/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo3_clustering.xml
new file mode 100644
index 0000000000..aacdc175d5
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo3_clustering.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:util="http://www.springframework.org/schema/util"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
+
+<bean id="clusterManager" class="org.eclipse.emf.objy.clustering.impl.ClusteringManagerImpl">
+ <property name="databaseName" value="repo3_clustering" />
+ <property name="mapOfClusteringStrategy">
+ <map>
+ <entry>
+ <key><value>*</value></key>
+ <ref bean="DEFAULT"/>
+ </entry>
+ <entry>
+ <key><value>CATEGORY</value></key>
+ <ref bean="CATEGORY"/>
+ </entry>
+ </map>
+ </property>
+</bean>
+
+<bean id="DEFAULT" class="org.eclipse.emf.objy.clustering.impl.ContainerClusteringStrategy">
+ <property name="maxPagesPerContainer" value="60000" />
+ <property name="dbName" value="repo3_defaultDatabase" />
+</bean>
+
+<bean id="CATEGORY" class="org.eclipse.emf.objy.clustering.impl.ContainerClusteringStrategy">
+ <property name="name" value="CATEGORY" />
+ <property name="maxPagesPerContainer" value="60000" />
+ <property name="dbName" value="repo3_CATEGORY" />
+</bean>
+
+</beans>

Back to the top