SGF-833 - Set Framework and Geode log level in tests to error.
Remove out System.out and System.err println(..) statements.
This commit is contained in:
@@ -10,85 +10,71 @@
|
||||
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.data.gemfire.function.execution;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.geode.cache.execute.Execution;
|
||||
import org.apache.geode.cache.execute.Function;
|
||||
import org.springframework.data.gemfire.function.annotation.FunctionId;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.ReflectionUtils;
|
||||
|
||||
/**
|
||||
* Base class for method level metadata for a function execution interface. This is used at runtime by the
|
||||
* function execution proxy to create the corresponding Gemfire function {@link Execution}
|
||||
* Base class for method-level metadata for a {@link Function} {@link Execution} interface.
|
||||
*
|
||||
* This is used at runtime by the {@link Function} {@link Execution} proxy to create
|
||||
* the corresponding {@link Function} {@link Execution}.
|
||||
*
|
||||
* @author David Turanski
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.function.execution.MethodMetadata
|
||||
*/
|
||||
abstract class FunctionExecutionMethodMetadata<T extends MethodMetadata > {
|
||||
abstract class FunctionExecutionMethodMetadata<T extends MethodMetadata> {
|
||||
|
||||
protected final Map<Method, T> methodMetadata = new HashMap<Method, T>();
|
||||
private final boolean singletonInterface;
|
||||
protected final Map<Method, T> methodMetadata = new HashMap<>();
|
||||
|
||||
public FunctionExecutionMethodMetadata(final Class<?> serviceInterface) {
|
||||
public FunctionExecutionMethodMetadata(Class<?> serviceInterface) {
|
||||
|
||||
this.singletonInterface = serviceInterface.getMethods().length == 1;
|
||||
ReflectionUtils.doWithMethods(serviceInterface, method -> {
|
||||
|
||||
ReflectionUtils.doWithMethods(serviceInterface, new ReflectionUtils.MethodCallback() {
|
||||
@Override
|
||||
public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException {
|
||||
T mmd = newMetadataInstance(method);
|
||||
if (mmd.getFunctionId() == null) {
|
||||
mmd.setFunctionId(method.getName());
|
||||
}
|
||||
T methodMetadata = newMetadataInstance(method);
|
||||
|
||||
methodMetadata.put(method, mmd);
|
||||
if (methodMetadata.getFunctionId() == null) {
|
||||
methodMetadata.setFunctionId(method.getName());
|
||||
}
|
||||
|
||||
this.methodMetadata.put(method, methodMetadata);
|
||||
});
|
||||
}
|
||||
|
||||
protected abstract T newMetadataInstance(Method method);
|
||||
|
||||
T getMethodMetadata(Method method) {
|
||||
return methodMetadata.get(method);
|
||||
}
|
||||
|
||||
boolean isSingletonInterface() {
|
||||
return this.singletonInterface;
|
||||
}
|
||||
|
||||
T getSingletonMethodMetada() {
|
||||
Assert.isTrue(isSingletonInterface(),"this is not a singleton interface.");
|
||||
return methodMetadata.values().iterator().next();
|
||||
return this.methodMetadata.get(method);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class MethodMetadata {
|
||||
|
||||
private String functionId;
|
||||
|
||||
public MethodMetadata(Method method) {
|
||||
String annotatedFunctionId = annotatedFunctionId(method);
|
||||
this.functionId = (annotatedFunctionId == null) ? null : annotatedFunctionId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the functionId
|
||||
*/
|
||||
public String getFunctionId() {
|
||||
return functionId;
|
||||
FunctionId functionIdAnnotation = method.getAnnotation(FunctionId.class);
|
||||
|
||||
if (functionIdAnnotation != null) {
|
||||
this.functionId = functionIdAnnotation.value();
|
||||
}
|
||||
}
|
||||
|
||||
public void setFunctionId(String functionId) {
|
||||
this.functionId = functionId;
|
||||
}
|
||||
|
||||
private String annotatedFunctionId(Method method) {
|
||||
FunctionId functionIdAnnotation = method.getAnnotation(FunctionId.class);
|
||||
return (functionIdAnnotation == null) ? null : functionIdAnnotation.value();
|
||||
public String getFunctionId() {
|
||||
return this.functionId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -18,11 +18,11 @@ import java.util.Set;
|
||||
import org.springframework.data.gemfire.function.GemfireFunctionUtils;
|
||||
import org.springframework.data.gemfire.function.annotation.Filter;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author David Turanski
|
||||
*
|
||||
* @author David Turanski
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.function.execution.FunctionExecutionMethodMetadata
|
||||
*/
|
||||
class OnRegionExecutionMethodMetadata extends FunctionExecutionMethodMetadata<OnRegionMethodMetadata> {
|
||||
|
||||
@@ -33,9 +33,6 @@ class OnRegionExecutionMethodMetadata extends FunctionExecutionMethodMetadata<On
|
||||
super(serviceInterface);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.springframework.data.gemfire.function.config.FunctionExecutionMethodMetadata#newMetadataInstance(java.lang.reflect.Method)
|
||||
*/
|
||||
@Override
|
||||
protected OnRegionMethodMetadata newMetadataInstance(Method method) {
|
||||
return new OnRegionMethodMetadata(method);
|
||||
@@ -48,8 +45,11 @@ class OnRegionMethodMetadata extends MethodMetadata {
|
||||
private final int filterArgPosition;
|
||||
|
||||
public OnRegionMethodMetadata(Method method) {
|
||||
|
||||
super(method);
|
||||
this.filterArgPosition = GemfireFunctionUtils.getAnnotationParameterPosition(method, Filter.class, new Class<?>[]{Set.class});
|
||||
|
||||
this.filterArgPosition = GemfireFunctionUtils.getAnnotationParameterPosition(method, Filter.class,
|
||||
new Class<?>[] { Set.class });
|
||||
}
|
||||
|
||||
public int getFilterArgPosition() {
|
||||
|
||||
@@ -103,7 +103,7 @@ public class CacheClusterConfigurationIntegrationTest extends ClientServerIntegr
|
||||
getLocatorProcessOutput(description));
|
||||
}
|
||||
catch (IOException cause) {
|
||||
throw newRuntimeException(cause, "Failed the write the contents of the Locator process log to a file");
|
||||
throw newRuntimeException(cause, "Failed to write the contents of the Locator process log to a file");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.gemfire.test.GemfireTestApplicationContextInitializer;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* The DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest class is a test suite of integration tests testing the use
|
||||
@@ -46,9 +46,9 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
* @link https://jira.springsource.org/browse/SGF-249
|
||||
* @since 1.3.4
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@ContextConfiguration(locations = "diskstore-using-propertyplaceholders-config.xml",
|
||||
initializers = GemfireTestApplicationContextInitializer.class)
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@SuppressWarnings("unused")
|
||||
public class DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest {
|
||||
|
||||
@@ -65,7 +65,6 @@ public class DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest {
|
||||
|
||||
@Test
|
||||
public void testDiskStoreBeanWithPropertyPlaceholderConfiguration() {
|
||||
System.out.printf("Disk Store Configuration: %1$s%n", diskStoreConfiguration);
|
||||
assertNotNull("The Disk Store was not configured and initialized!", testDataStore);
|
||||
assertEquals(getExpectedValue("allowForceCompaction"), testDataStore.getAllowForceCompaction());
|
||||
assertEquals(getExpectedValue("autoCompact"), testDataStore.getAutoCompact());
|
||||
@@ -76,5 +75,4 @@ public class DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest {
|
||||
assertEquals(getExpectedValue("timeInterval"), testDataStore.getTimeInterval());
|
||||
assertEquals(getExpectedValue("writeBufferSize"), testDataStore.getWriteBufferSize());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -353,11 +353,12 @@ public class GemfireTemplateIntegrationTests {
|
||||
static class GemfireTemplateConfiguration {
|
||||
|
||||
Properties gemfireProperties() {
|
||||
|
||||
Properties gemfireProperties = new Properties();
|
||||
|
||||
gemfireProperties.setProperty("name", applicationName());
|
||||
gemfireProperties.setProperty("mcast-port", "0");
|
||||
gemfireProperties.setProperty("log-level", logLevel());
|
||||
|
||||
return gemfireProperties;
|
||||
}
|
||||
|
||||
|
||||
@@ -259,7 +259,6 @@ public class GemfireTemplateQueriesOnGroupedPooledClientCacheRegionsIntegrationT
|
||||
|
||||
return PropertiesBuilder.create()
|
||||
.setProperty("name", applicationName())
|
||||
.setProperty("mcast-port", "0")
|
||||
.setProperty("log-level", logLevel())
|
||||
.setProperty("locators", "localhost[11235]")
|
||||
.setProperty("enable-cluster-configuration", "false")
|
||||
|
||||
@@ -58,8 +58,7 @@ public class GenericRegionFactoryBeanTest {
|
||||
|
||||
Cache gemfireCache = new CacheFactory()
|
||||
.set("name", GenericRegionFactoryBeanTest.class.getSimpleName())
|
||||
.set("mcast-port", "0")
|
||||
.set("log-level", "warning")
|
||||
.set("log-level", "error")
|
||||
.create();
|
||||
|
||||
PeerRegionFactoryBean<Object, Object> defaultRegionFactory = new GenericRegionFactoryBean<Object, Object>();
|
||||
|
||||
@@ -270,8 +270,7 @@ public class IndexConflictsIntegrationTest {
|
||||
Properties gemfireProperties = new Properties();
|
||||
|
||||
gemfireProperties.setProperty("name", IndexConflictsIntegrationTest.class.getSimpleName());
|
||||
gemfireProperties.setProperty("mcast-port", "0");
|
||||
gemfireProperties.setProperty("log-level", "warning");
|
||||
gemfireProperties.setProperty("log-level", "error");
|
||||
|
||||
return gemfireProperties;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,6 @@ public class InvalidRegionDataPolicyShortcutsTest {
|
||||
"/org/springframework/data/gemfire/invalid-region-shortcut-with-persistent-attribute.xml");
|
||||
}
|
||||
catch (BeanCreationException expected) {
|
||||
//expected.printStackTrace(System.err);
|
||||
assertTrue(expected.getMessage().contains("Error creating bean with name 'InvalidReplicate'"));
|
||||
throw expected;
|
||||
}
|
||||
@@ -53,7 +52,6 @@ public class InvalidRegionDataPolicyShortcutsTest {
|
||||
"/org/springframework/data/gemfire/invalid-use-of-region-datapolicy-and-shortcut.xml");
|
||||
}
|
||||
catch (BeanDefinitionParsingException expected) {
|
||||
//expected.printStackTrace(System.err);
|
||||
assertTrue(expected.getMessage().contains(
|
||||
"Only one of [data-policy, shortcut] may be specified with element 'gfe:partitioned-region'"));
|
||||
throw expected;
|
||||
|
||||
@@ -198,13 +198,13 @@ public class CompoundCachePutCacheEvictIntegrationTests {
|
||||
@Configuration
|
||||
static class GemFireConfiguration {
|
||||
|
||||
static final String DEFAULT_GEMFIRE_LOG_LEVEL = "warning";
|
||||
static final String DEFAULT_GEMFIRE_LOG_LEVEL = "error";
|
||||
|
||||
Properties gemfireProperties() {
|
||||
|
||||
Properties gemfireProperties = new Properties();
|
||||
|
||||
gemfireProperties.setProperty("name", applicationName());
|
||||
gemfireProperties.setProperty("mcast-port", "0");
|
||||
gemfireProperties.setProperty("locators", "");
|
||||
gemfireProperties.setProperty("log-level", logLevel());
|
||||
|
||||
|
||||
@@ -59,12 +59,11 @@ public class GemfireCacheIntegrationTests extends AbstractNativeCacheTests<Regio
|
||||
|
||||
@Override
|
||||
protected Region<Object, Object> newNativeCache() throws Exception {
|
||||
|
||||
Properties gemfireProperties = new Properties();
|
||||
|
||||
gemfireProperties.setProperty("name", GemfireCacheIntegrationTests.class.getName());
|
||||
gemfireProperties.setProperty("mcast-port", "0");
|
||||
gemfireProperties.setProperty("locators", "");
|
||||
gemfireProperties.setProperty("log-level", "warning");
|
||||
gemfireProperties.setProperty("log-level", "error");
|
||||
|
||||
org.apache.geode.cache.Cache cache = GemfireUtils.getCache();
|
||||
|
||||
|
||||
@@ -94,8 +94,6 @@ public class ClientCacheIndexingTest {
|
||||
arguments.toArray(new String[arguments.size()]));
|
||||
|
||||
waitForServerStart(TimeUnit.SECONDS.toMillis(20));
|
||||
|
||||
System.out.println("GemFire Cache Server Process for ClientCache Indexing should be running...");
|
||||
}
|
||||
|
||||
private static void waitForServerStart(final long milliseconds) {
|
||||
|
||||
@@ -84,8 +84,6 @@ public class ClientCacheSecurityTest {
|
||||
arguments.toArray(new String[arguments.size()]));
|
||||
|
||||
waitForServerStart(TimeUnit.SECONDS.toMillis(20));
|
||||
|
||||
System.out.println("GemFire Cache Server Process for ClientCache Security should be running...");
|
||||
}
|
||||
|
||||
private static void waitForServerStart(final long milliseconds) {
|
||||
|
||||
@@ -69,6 +69,7 @@ public class ClientCacheVariableLocatorsTest {
|
||||
|
||||
@BeforeClass
|
||||
public static void setup() throws IOException {
|
||||
|
||||
String serverName = ClientCacheVariableServersTest.class.getSimpleName().concat("Server");
|
||||
|
||||
File serverWorkingDirectory = new File(FileSystemUtils.WORKING_DIRECTORY, serverName.toLowerCase());
|
||||
|
||||
@@ -71,20 +71,22 @@ public class SpringJavaConfiguredClientCacheIntegrationTest {
|
||||
|
||||
@Bean
|
||||
public Properties gemfireProperties() {
|
||||
|
||||
Properties gemfireProperties = new Properties();
|
||||
gemfireProperties.setProperty("name", SpringJavaConfiguredClientCacheIntegrationTest.class.getSimpleName());
|
||||
gemfireProperties.setProperty("mcast-port", "0");
|
||||
gemfireProperties.setProperty("log-level", "warning");
|
||||
gemfireProperties.setProperty("log-level", "error");
|
||||
|
||||
return gemfireProperties;
|
||||
}
|
||||
|
||||
@Bean
|
||||
public ClientCacheFactoryBean clientCache() {
|
||||
|
||||
ClientCacheFactoryBean clientCacheFactoryBean = new ClientCacheFactoryBean();
|
||||
clientCacheFactoryBean.setUseBeanFactoryLocator(false);
|
||||
clientCacheFactoryBean.setProperties(gemfireProperties());
|
||||
|
||||
return clientCacheFactoryBean;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -119,16 +119,11 @@ public class EnableContinuousQueriesConfigurationIntegrationTests extends Client
|
||||
assertThat(temperatureReading).isNotNull();
|
||||
assertThat(temperatureReading.getTemperature()).isEqualTo(99);
|
||||
|
||||
//System.err.printf("Number of Temperature Readings [%d] on Server [%d]%n",
|
||||
// this.temperatureReadings.size(), this.temperatureReadings.sizeOnServer());
|
||||
|
||||
assertThat(this.temperatureReadings.sizeOnServer()).isEqualTo(10);
|
||||
|
||||
//waitOn(() -> totalTemperatureReadingsCounter.get() >= 5, 100L);
|
||||
|
||||
//assertThat(totalTemperatureReadingsCounter.get()).isNotZero();
|
||||
|
||||
//System.err.printf("Total Temperature Readings [%d]%n", totalTemperatureReadingsCounter.get());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -41,7 +41,7 @@ public class CqCacheServerProcess {
|
||||
private static Region<String, Integer> testCqRegion;
|
||||
|
||||
private static final String CACHE_SERVER_PORT_PROPERTY = "spring.data.gemfire.cache.server.port";
|
||||
private static final String GEMFIRE_LOG_LEVEL = "warning";
|
||||
private static final String GEMFIRE_LOG_LEVEL = "error";
|
||||
private static final String GEMFIRE_NAME = "CqServer";
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@@ -51,9 +51,9 @@ public class CqCacheServerProcess {
|
||||
}
|
||||
|
||||
private static Cache newGemFireCache(String name, String logLevel) {
|
||||
|
||||
return new CacheFactory()
|
||||
.set("name", name)
|
||||
.set("mcast-port", "0")
|
||||
.set("log-level", logLevel)
|
||||
.create();
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ public class FunctionCacheServerProcess {
|
||||
private static Region<Object,Object> testFunctionRegion;
|
||||
|
||||
private static final String CACHE_SERVER_PORT_PROPERTY = "spring.data.gemfire.cache.server.port";
|
||||
private static final String GEMFIRE_LOG_LEVEL = "warning";
|
||||
private static final String GEMFIRE_LOG_LEVEL = "error";
|
||||
private static final String GEMFIRE_NAME = "FunctionServer";
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
@@ -53,9 +53,9 @@ public class FunctionCacheServerProcess {
|
||||
}
|
||||
|
||||
private static Cache newGemFireCache(String name, String logLevel) {
|
||||
|
||||
return new CacheFactory()
|
||||
.set("name", name)
|
||||
.set("mcast-port", "0")
|
||||
.set("log-level", logLevel)
|
||||
.set("groups", "g1,g2,g3")
|
||||
.create();
|
||||
|
||||
@@ -97,8 +97,6 @@ public class ExceptionThrowingFunctionExecutionIntegrationTest {
|
||||
arguments.toArray(new String[arguments.size()]));
|
||||
|
||||
waitForServerStart(TimeUnit.SECONDS.toMillis(20));
|
||||
|
||||
System.out.println("GemFire Cache Server Process for ClientCache Indexing should be running...");
|
||||
}
|
||||
|
||||
private static void waitForServerStart(final long milliseconds) {
|
||||
|
||||
@@ -67,12 +67,12 @@ public class PdxFunctionArgumentResolverTest {
|
||||
|
||||
@BeforeClass
|
||||
public static void setupGemFire() {
|
||||
|
||||
gemfireCache = new CacheFactory()
|
||||
.setPdxSerializer(new PersonPdxSerializer())
|
||||
.setPdxReadSerialized(true)
|
||||
.set("name", PdxFunctionArgumentResolverTest.class.getSimpleName())
|
||||
.set("mcast-port", "0")
|
||||
.set("log-level", "warning")
|
||||
.set("log-level", "error")
|
||||
.create();
|
||||
}
|
||||
|
||||
|
||||
@@ -27,15 +27,10 @@ import org.apache.geode.cache.query.CqQuery;
|
||||
*/
|
||||
public class GemfireMDP {
|
||||
|
||||
public void handleEvent(CqEvent event) {
|
||||
System.out.println("Received event " + event);
|
||||
}
|
||||
public void handleEvent(CqEvent event) { }
|
||||
|
||||
public void handleQuery(CqQuery query) {
|
||||
System.out.println("Received query " + query);
|
||||
}
|
||||
public void handleQuery(CqQuery query) { }
|
||||
|
||||
public void handleOperation(Operation op) { }
|
||||
|
||||
public void handleOperation(Operation op) {
|
||||
System.out.println("Received operation " + op);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,12 +72,13 @@ public abstract class ProcessExecutor {
|
||||
|
||||
ProcessWrapper processWrapper = new ProcessWrapper(process, ProcessConfiguration.create(processBuilder));
|
||||
|
||||
processWrapper.register((input) -> System.err.printf("[FORK] - %s%n", input));
|
||||
//processWrapper.register((input) -> System.err.printf("[FORK] - %s%n", input));
|
||||
|
||||
return processWrapper;
|
||||
}
|
||||
|
||||
protected static String[] buildCommand(String classpath, Class<?> type, String... args) {
|
||||
|
||||
Assert.notNull(type, "The main Java class to launch must not be null");
|
||||
|
||||
List<String> command = new ArrayList<>();
|
||||
@@ -102,10 +103,11 @@ public abstract class ProcessExecutor {
|
||||
command.add(type.getName());
|
||||
command.addAll(programArguments);
|
||||
|
||||
return command.toArray(new String[command.size()]);
|
||||
return command.toArray(new String[0]);
|
||||
}
|
||||
|
||||
protected static Collection<? extends String> getSpringGemFireSystemProperties() {
|
||||
|
||||
return System.getProperties().stringPropertyNames().stream()
|
||||
.filter(property -> property.startsWith(SPRING_DATA_GEMFIRE_SYSTEM_PROPERTY_PREFIX)
|
||||
|| property.startsWith(SPRING_GEMFIRE_SYSTEM_PROPERTY_PREFIX))
|
||||
@@ -114,10 +116,11 @@ public abstract class ProcessExecutor {
|
||||
}
|
||||
|
||||
protected static boolean isJvmOption(String option) {
|
||||
return (StringUtils.hasText(option) && (option.startsWith("-D") || option.startsWith("-X")));
|
||||
return StringUtils.hasText(option) && (option.startsWith("-D") || option.startsWith("-X"));
|
||||
}
|
||||
|
||||
protected static File validateDirectory(File workingDirectory) {
|
||||
|
||||
Assert.isTrue(workingDirectory != null && (workingDirectory.isDirectory() || workingDirectory.mkdirs()),
|
||||
String.format("Failed to create working directory [%s]", workingDirectory));
|
||||
|
||||
|
||||
@@ -89,11 +89,11 @@ public class GemFireRepositoryFactoryInformationIntegrationTests {
|
||||
}
|
||||
|
||||
Properties gemfireProperties() {
|
||||
|
||||
Properties gemfireProperties = new Properties();
|
||||
|
||||
gemfireProperties.setProperty("name", applicationName());
|
||||
gemfireProperties.setProperty("mcast-port", "0");
|
||||
gemfireProperties.setProperty("log-level", "warning");
|
||||
gemfireProperties.setProperty("log-level", "error");
|
||||
|
||||
return gemfireProperties;
|
||||
}
|
||||
|
||||
@@ -47,10 +47,10 @@ public class GemfireCacheRegionProducer {
|
||||
@Produces
|
||||
@ApplicationScoped
|
||||
public Region<Long, Person> createPeopleRegion() {
|
||||
|
||||
Cache gemfireCache = new CacheFactory()
|
||||
.set("name", "SpringDataGemFireCdiTest")
|
||||
.set("mcast-port", "0")
|
||||
.set("log-level", "warning")
|
||||
.set("log-level", "error")
|
||||
.create();
|
||||
|
||||
RegionFactory<Long, Person> peopleRegionFactory = gemfireCache.createRegionFactory(RegionShortcut.REPLICATE);
|
||||
|
||||
@@ -61,7 +61,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
@SuppressWarnings("unused")
|
||||
public class PersonRepositoryIntegrationTests {
|
||||
|
||||
private static final String DEFAULT_GEMFIRE_LOG_LEVEL = "warning";
|
||||
private static final String DEFAULT_GEMFIRE_LOG_LEVEL = "error";
|
||||
private static final String GEMFIRE_LOG_LEVEL = System.getProperty("gemfire.log-level", DEFAULT_GEMFIRE_LOG_LEVEL);
|
||||
|
||||
protected final AtomicLong ID_SEQUENCE = new AtomicLong(0L);
|
||||
@@ -207,8 +207,6 @@ public class PersonRepositoryIntegrationTests {
|
||||
Properties gemfireProperties = new Properties();
|
||||
|
||||
gemfireProperties.setProperty("name", applicationName());
|
||||
gemfireProperties.setProperty("mcast-port", "0");
|
||||
gemfireProperties.setProperty("locators", "");
|
||||
gemfireProperties.setProperty("log-level", logLevel());
|
||||
|
||||
return gemfireProperties;
|
||||
|
||||
@@ -123,8 +123,6 @@ public class JSONRegionAdviceIntegrationTests {
|
||||
|
||||
String json = String.valueOf(this.jsonRegion.get("dave"));
|
||||
|
||||
System.out.printf("JSON [%s]%n", json);
|
||||
|
||||
assertEquals(json, toJson(davidTuranski));
|
||||
|
||||
Object result = jsonRegion.put("dave", davidTuranski);
|
||||
|
||||
@@ -42,24 +42,20 @@ public class GemfirePersistenceExceptionTranslationTest {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
|
||||
Map<String, BeanPostProcessor> bpps = ctx.getBeansOfType(BeanPostProcessor.class);
|
||||
System.out.println(bpps.size());
|
||||
for (BeanPostProcessor bpp: bpps.values()) {
|
||||
System.out.println(bpp.getClass().getSimpleName());
|
||||
}
|
||||
|
||||
try {
|
||||
gemfireRepo1.doit(new QueryException());
|
||||
fail("should throw a query exception");
|
||||
} catch (GemfireQueryException e){
|
||||
|
||||
}
|
||||
catch (GemfireQueryException ignore){ }
|
||||
|
||||
try {
|
||||
gemfireRepo1.doit(new FunctionDomainException("test"));
|
||||
fail("should throw a query exception");
|
||||
} catch (GemfireQueryException e) {
|
||||
|
||||
}
|
||||
catch (GemfireQueryException ignore) { }
|
||||
|
||||
try {
|
||||
gemfireRepo1.doit(new QueryInvocationTargetException("test"));
|
||||
@@ -71,8 +67,6 @@ public class GemfirePersistenceExceptionTranslationTest {
|
||||
|
||||
/**
|
||||
* Wraps GemfireCheckedExceptions in RuntimeException
|
||||
* @author David Turanski
|
||||
*
|
||||
*/
|
||||
@Repository
|
||||
public static class GemFireRepo1 {
|
||||
|
||||
@@ -59,10 +59,10 @@ public class LazyWiringDeclarableSupportFunctionBasedIntegrationTests {
|
||||
/*
|
||||
@BeforeClass
|
||||
public static void setupBeforeClass() {
|
||||
|
||||
Cache gemfireCache = new CacheFactory()
|
||||
.set("name", LazyWiringDeclarableSupportFunctionBasedIntegrationTests.class.getSimpleName())
|
||||
.set("mcast-port", "0")
|
||||
.set("log-level", "config")
|
||||
.set("log-level", "error")
|
||||
.set("cache-xml-file", null)
|
||||
.create();
|
||||
|
||||
|
||||
@@ -125,12 +125,13 @@ public class AsyncEventQueueWithListenerIntegrationTest {
|
||||
|
||||
public void init() {
|
||||
getQueue();
|
||||
System.out.printf("%1$s initialized!%n", this);
|
||||
}
|
||||
|
||||
public AsyncEventQueue getQueue() {
|
||||
Assert.state(queue != null, String.format("A reference to the Async Event Queue on which this listener"
|
||||
+ " (%1$s) has been registered was not properly configured!", this));
|
||||
|
||||
Assert.state(queue != null, String.format("A reference to the AsyncEventQueue on which this listener"
|
||||
+ " [%s] has been registered was not properly configured", this));
|
||||
|
||||
return queue;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">SpringServerLauncherCacheProviderIntegrationTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warn</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties" critical-heap-percentage="55"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">AutoRegionLookupIntegrationTests</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties" cache-xml-location="/autoregionlookup-cache.xml"/>
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">AutoRegionLookupWithAutowiringIntegrationTests</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties" cache-xml-location="/autoregionlookup-cache.xml"/>
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">AutoRegionLookupWithComponentScanningIntegrationTests</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties" cache-xml-location="/autoregionlookup-cache.xml"/>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">LookupRegionMutationIntegrationTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache cache-xml-location="/lookup-region-mutation-cache.xml" properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">AllowBeanDefinitionOverridesTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties" use-bean-factory-locator="false"/>
|
||||
|
||||
@@ -10,8 +10,7 @@
|
||||
<property name="properties">
|
||||
<props>
|
||||
<prop key="name">default-cache</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
@@ -20,8 +19,7 @@
|
||||
<property name="properties">
|
||||
<props>
|
||||
<prop key="name">cache-with-props</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
@@ -30,8 +28,7 @@
|
||||
<property name="properties">
|
||||
<props>
|
||||
<prop key="name">named-cache</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
@@ -41,8 +38,7 @@
|
||||
<property name="properties">
|
||||
<props>
|
||||
<prop key="name">cache-with-xml</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
@@ -51,8 +47,7 @@
|
||||
<property name="properties">
|
||||
<props>
|
||||
<prop key="name">pdx-cache</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">BasicRegionConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -10,8 +10,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">BasicSubRegionConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<bean id="cache" class="org.springframework.data.gemfire.CacheFactoryBean">
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">CacheServerWithClientSubscriptionAndDiskStoreTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">SpringGemFireCachingIntegrationTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">CacheAutoReconnectIntegrationTests</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties" use-bean-factory-locator="false"
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">CacheAutoReconnectIntegrationTests</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties" use-bean-factory-locator="false"
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">CacheUsingSharedConfigurationIntegrationTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
<prop key="locators">localhost[${spring.data.gemfire.locator.port:20668}]</prop>
|
||||
</util:properties>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">ClientCacheIndexingTestServer</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">ClientCachePoolTestsServer</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">ClientCacheSecurityTestServer</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
<prop key="cluster-ssl-enabled">${gemfire.security.ssl.enabled}</prop>
|
||||
<prop key="cluster-ssl-require-authentication">${gemfire.security.ssl.require-authentication}</prop>
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">ClientCacheVariableLocatorsTestServer</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
<prop key="locators">localhost[11235]</prop>
|
||||
<prop key="start-locator">localhost[11235]</prop>
|
||||
</util:properties>
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">ClientCacheVariableServersTestServer</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">GemFireServerWithRegionForClientConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">DataSourceServerConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">CollocatedRegionTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">ComplexSubRegionConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">AsyncEventQueueNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">GatewayReceiverDefaultStartNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">InvalidDataPolicyPersistentAttributeSettingsTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">InvalidRegionExpirationAttributesNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">LocalRegionWithEvictionPolicyActionNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">MultipleCacheTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache close="false" properties-ref="gemfireProperties" use-bean-factory-locator="false"/>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">RegionDefinitionUsingBeansNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">RegionEvictionAttributesNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">RegionExpirationAttributesNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">RegionSubscriptionAttributesNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">RegionWithSubRegionBeanDefinitionHashCodeTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">RegionWithDiskStoreAndPersistenceEvictionSettingsTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">TemplateClientRegionNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:pool id="ServerPool">
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">TemplatePersistentPartitionRegionNamespaceTest</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">TemplateRegionsNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">CacheUsingPdxNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<bean id="autoSerializer" class="org.apache.geode.pdx.ReflectionBasedAutoSerializer"/>
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">DiskStoreNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">DynamicRegionNamespaceConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties">
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">GemfireV7GatewayNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">GemfireV8GatewayNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">IndexNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">JndiBindingNamespaceConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties">
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">JndiBindingWithPropertyPlaceholdersNamespaceConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<util:properties id="jndi-binding-settings">
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">LocalNamespaceConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
<prop key="off-heap-memory-size">64m</prop>
|
||||
</util:properties>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">MembershipAttributesNamespaceConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">PartitionedNamespaceConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
<prop key="off-heap-memory-size">64m</prop>
|
||||
</util:properties>
|
||||
|
||||
<util:properties id="props">
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">ReplicatedNamespaceConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
<prop key="off-heap-memory-size">64m</prop>
|
||||
</util:properties>
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">CacheServerNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">SubRegionNamespaceConfig</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">SubRegionWithInconsistentDataPolicyAndPersistentSettingsTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">SubRegionWithInvalidDataPolicyTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">SubRegionSubElementNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">SubscriptionNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">TransactionListenersAndWritersTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties">
|
||||
|
||||
@@ -10,8 +10,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">TransactionNamespaceTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -25,8 +25,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">DiskStoreUsingPropertyPlaceholdersTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">springGemFireEnableRegionLookupsTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache cache-xml-location="/cache-with-regions.xml" properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">AnnotationBasedExpirationConfigurationIntegrationTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">SpringGemFireServerFunctionCreationWithPdx</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<bean id="addressPdxSerializer"
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">ExceptionThrowingFunctionExecutionIntegrationTestServer</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">GemfireFunctionProxyFactoryBeanTest</prop>
|
||||
<prop key="statistic-sampling-enabled">false</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">FunctionExecutionIntegrationTests</prop>
|
||||
<prop key="statistic-sampling-enabled">false</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties" use-bean-factory-locator="false"/>
|
||||
|
||||
@@ -12,9 +12,8 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">XmlConfiguredFunctionExecutionIntegrationTests</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
<prop key="statistic-sampling-enabled">false</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -15,9 +15,8 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">FunctionIntegrationTestsServerContext</prop>
|
||||
<prop key="statistic-sampling-enabled">false</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
<prop key="statistic-sampling-enabled">false</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">InvalidRegionShortcutAndPersistentAttributeTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">InvalidUseOfRegionDataPolicyAndShortcutTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">springGemFireLookupSubRegionTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache cache-xml-location="/subregion-cache.xml" properties-ref="gemfireProperties"/>
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">springGemFireNoDuplicateRegionDefinitionsTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
<prop key="log-level">error</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user