Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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