SGF-560 - Prepare next developement iteration.

This commit is contained in:
John Blum
2016-11-02 21:29:54 -07:00
parent 9b3603d399
commit 8c372d72d0
4 changed files with 10 additions and 22 deletions

View File

@@ -183,8 +183,7 @@ public class GemfireTemplateQueriesOnGroupedPooledClientCacheRegionsIntegrationT
serverOnePool.setReadTimeout(Long.valueOf(TimeUnit.SECONDS.toMillis(20)).intValue());
serverOnePool.setRetryAttempts(1);
serverOnePool.setServerGroup("serverOne");
//serverOnePool.setLocators(ConnectionEndpointList.from(newConnectionEndpoint("localhost", 11235)));
serverOnePool.setServers(ConnectionEndpointList.from(newConnectionEndpoint("localhost", 41414)));
serverOnePool.setLocators(ConnectionEndpointList.from(newConnectionEndpoint("localhost", 11235)));
return serverOnePool;
}
@@ -198,8 +197,7 @@ public class GemfireTemplateQueriesOnGroupedPooledClientCacheRegionsIntegrationT
serverOnePool.setReadTimeout(Long.valueOf(TimeUnit.SECONDS.toMillis(20)).intValue());
serverOnePool.setRetryAttempts(1);
serverOnePool.setServerGroup("serverTwo");
//serverOnePool.setLocators(ConnectionEndpointList.from(newConnectionEndpoint("localhost", 11235)));
serverOnePool.setServers(ConnectionEndpointList.from(newConnectionEndpoint("localhost", 42424)));
serverOnePool.setLocators(ConnectionEndpointList.from(newConnectionEndpoint("localhost", 11235)));
return serverOnePool;
}
@@ -256,10 +254,9 @@ public class GemfireTemplateQueriesOnGroupedPooledClientCacheRegionsIntegrationT
.setProperty("name", applicationName())
.setProperty("mcast-port", "0")
.setProperty("log-level", logLevel())
//.setProperty("locators", "localhost[11235]")
//.setProperty("enable-cluster-configuration", enableClusterConfiguration())
.setProperty("locators", "localhost[11235]")
.setProperty("groups", groups())
//.setProperty("start-locator", startLocator())
.setProperty("start-locator", startLocator())
.build();
}
@@ -269,10 +266,6 @@ public class GemfireTemplateQueriesOnGroupedPooledClientCacheRegionsIntegrationT
abstract String groups();
boolean enableClusterConfiguration() {
return false;
}
String logLevel() {
return System.getProperty("gemfire.log.level", DEFAULT_GEMFIRE_LOG_LEVEL);
}
@@ -314,11 +307,6 @@ public class GemfireTemplateQueriesOnGroupedPooledClientCacheRegionsIntegrationT
@Resource(name = "Cats")
private org.apache.geode.cache.Region<String, Cat> cats;
@Override
boolean enableClusterConfiguration() {
return true;
}
Cat save(Cat cat) {
cats.put(cat.getName(), cat);
return cat;