# IGNITE-45: Removing invalid NEAR_PARTITIONED distro mode.

Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/e4194aaf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/e4194aaf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/e4194aaf

Branch: refs/heads/sprint-2
Commit: e4194aaf772ab0e406d58084d07e8f9da6197aea
Parents: e35493a
Author: vozerov-gridgain <voze...@gridgain.com>
Authored: Tue Mar 24 15:54:18 2015 +0300
Committer: vozerov-gridgain <voze...@gridgain.com>
Committed: Tue Mar 24 15:54:18 2015 +0300

----------------------------------------------------------------------
 modules/clients/src/test/resources/spring-server-node.xml        | 4 +++-
 modules/clients/src/test/resources/spring-server-ssl-node.xml    | 4 +++-
 .../test/config/benchmark/spring-cache-client-benchmark-1.xml    | 4 +++-
 .../test/config/benchmark/spring-cache-client-benchmark-2.xml    | 4 +++-
 .../test/config/benchmark/spring-cache-client-benchmark-3.xml    | 4 +++-
 modules/core/src/test/config/load/dsi-load-server.xml            | 4 +++-
 6 files changed, 18 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e4194aaf/modules/clients/src/test/resources/spring-server-node.xml
----------------------------------------------------------------------
diff --git a/modules/clients/src/test/resources/spring-server-node.xml 
b/modules/clients/src/test/resources/spring-server-node.xml
index c8745e9..efc55e9 100644
--- a/modules/clients/src/test/resources/spring-server-node.xml
+++ b/modules/clients/src/test/resources/spring-server-node.xml
@@ -111,7 +111,9 @@
                     <property name="atomicityMode" value="TRANSACTIONAL"/>
 
                     <!-- Enable near cache to cache recently accessed data. -->
-                    <property name="distributionMode" 
value="NEAR_PARTITIONED"/>
+                    <property name="nearConfiguration">
+                        <bean 
class="org.apache.ignite.configuration.NearCacheConfiguration" />
+                    </property>
 
                     <property name="writeSynchronizationMode" 
value="FULL_SYNC"/>
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e4194aaf/modules/clients/src/test/resources/spring-server-ssl-node.xml
----------------------------------------------------------------------
diff --git a/modules/clients/src/test/resources/spring-server-ssl-node.xml 
b/modules/clients/src/test/resources/spring-server-ssl-node.xml
index 1c7af47..a7bac02 100644
--- a/modules/clients/src/test/resources/spring-server-ssl-node.xml
+++ b/modules/clients/src/test/resources/spring-server-ssl-node.xml
@@ -113,7 +113,9 @@
                     <property name="atomicityMode" value="TRANSACTIONAL"/>
 
                     <!-- Enable near cache to cache recently accessed data. -->
-                    <property name="distributionMode" 
value="NEAR_PARTITIONED"/>
+                    <property name="nearConfiguration">
+                        <bean 
class="org.apache.ignite.configuration.NearCacheConfiguration" />
+                    </property>
 
                     <property name="writeSynchronizationMode" 
value="FULL_SYNC"/>
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e4194aaf/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-1.xml
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-1.xml 
b/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-1.xml
index b90436c..374585b 100644
--- a/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-1.xml
+++ b/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-1.xml
@@ -78,7 +78,9 @@
 
                     <property name="writeSynchronizationMode" 
value="FULL_ASYNC"/>
 
-                    <property name="distributionMode" 
value="NEAR_PARTITIONED"/>
+                    <property name="nearConfiguration">
+                        <bean 
class="org.apache.ignite.configuration.NearCacheConfiguration" />
+                    </property>
 
                     <!--
                         This shows how to configure number of backups. The 
below configuration

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e4194aaf/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-2.xml
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-2.xml 
b/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-2.xml
index 4a5276f..ec6fd76 100644
--- a/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-2.xml
+++ b/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-2.xml
@@ -76,7 +76,9 @@
 
                     <property name="writeSynchronizationMode" 
value="FULL_ASYNC"/>
 
-                    <property name="distributionMode" 
value="NEAR_PARTITIONED"/>
+                    <property name="nearConfiguration">
+                        <bean 
class="org.apache.ignite.configuration.NearCacheConfiguration" />
+                    </property>
 
                     <!--
                         This shows how to configure number of backups. The 
below configuration

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e4194aaf/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-3.xml
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-3.xml 
b/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-3.xml
index 5c36fb6..c74262a 100644
--- a/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-3.xml
+++ b/modules/core/src/test/config/benchmark/spring-cache-client-benchmark-3.xml
@@ -76,7 +76,9 @@
 
                     <property name="writeSynchronizationMode" 
value="FULL_ASYNC"/>
 
-                    <property name="distributionMode" 
value="NEAR_PARTITIONED"/>
+                    <property name="nearConfiguration">
+                        <bean 
class="org.apache.ignite.configuration.NearCacheConfiguration" />
+                    </property>
 
                     <!--
                         This shows how to configure number of backups. The 
below configuration

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e4194aaf/modules/core/src/test/config/load/dsi-load-server.xml
----------------------------------------------------------------------
diff --git a/modules/core/src/test/config/load/dsi-load-server.xml 
b/modules/core/src/test/config/load/dsi-load-server.xml
index f66eb24..a464749 100644
--- a/modules/core/src/test/config/load/dsi-load-server.xml
+++ b/modules/core/src/test/config/load/dsi-load-server.xml
@@ -70,8 +70,10 @@
                     <property name="swapEnabled" value="false"/>
                     <property name="defaultTxConcurrency" value="PESSIMISTIC"/>
                     <property name="defaultTxIsolation" 
value="REPEATABLE_READ"/>
-                    <property name="distributionMode" 
value="NEAR_PARTITIONED"/>
                     <property name="dgcSuspectLockTimeout" value="60000"/>
+                    <property name="nearConfiguration">
+                        <bean 
class="org.apache.ignite.configuration.NearCacheConfiguration" />
+                    </property>
                 </bean>
             </util:list>
         </property>

Reply via email to