Prepare for Milestone Release
Change all the `BUILD-SNAPSHOT`s to their latest Milestones Fix compatibility with those Milestones Upgrade to Spring AMQP 2.0.0.M1 Upgrade to Spring Data Kay Gemfire now is based on the Apache Geode, so changed all the imports to proper new packages MongoDB now is based on the Mongo 3 Driver, therefore many breaking changes. Mostly to the mapping part Fix Checkstyle violation Fix race condition in the `MongoDbInboundChannelAdapterIntegrationTests` around `QueueChannel` and tx commit Add `-s` to Travis Gradle command to see stack trace about `MongoDbMetadataStoreTests` problem Test only MongoDB module on Travis with -d Add addon to Travis to pull MongoDB-3.0 Fix `MongoDbAvailableRule` for MongoDB 3.0 Driver style Increase `serverSelectionTimeout` to `100` in the `MongoDbAvailableRule`. Looks like `0` isn't good value to get immediate answer
This commit is contained in:
committed by
Gary Russell
parent
9945d04edd
commit
c0a507c36c
@@ -16,8 +16,8 @@
|
||||
|
||||
package org.springframework.integration.gemfire;
|
||||
|
||||
import com.gemstone.gemfire.cache.EntryEvent;
|
||||
import com.gemstone.gemfire.cache.util.CacheListenerAdapter;
|
||||
import org.apache.geode.cache.EntryEvent;
|
||||
import org.apache.geode.cache.util.CacheListenerAdapter;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||
|
||||
<bean id="region" class="org.mockito.Mockito" factory-method="mock">
|
||||
<constructor-arg value="com.gemstone.gemfire.cache.Region"/>
|
||||
<constructor-arg value="org.apache.geode.cache.Region"/>
|
||||
</bean>
|
||||
|
||||
<int-gfe:inbound-channel-adapter id="channel1"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</int-gfe:outbound-channel-adapter>
|
||||
|
||||
<bean id="region" class="org.mockito.Mockito" factory-method="mock">
|
||||
<constructor-arg value="com.gemstone.gemfire.cache.Region"/>
|
||||
<constructor-arg value="org.apache.geode.cache.Region"/>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
|
||||
@@ -24,12 +24,12 @@ import java.util.Properties;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
import com.gemstone.gemfire.cache.Cache;
|
||||
import com.gemstone.gemfire.cache.CacheFactory;
|
||||
import com.gemstone.gemfire.cache.Region;
|
||||
import com.gemstone.gemfire.cache.RegionShortcut;
|
||||
import com.gemstone.gemfire.cache.Scope;
|
||||
import com.gemstone.gemfire.cache.server.CacheServer;
|
||||
import org.apache.geode.cache.Cache;
|
||||
import org.apache.geode.cache.CacheFactory;
|
||||
import org.apache.geode.cache.Region;
|
||||
import org.apache.geode.cache.RegionShortcut;
|
||||
import org.apache.geode.cache.Scope;
|
||||
import org.apache.geode.cache.server.CacheServer;
|
||||
|
||||
/**
|
||||
* @author Costin Leau
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.expression.spel.standard.SpelExpressionParser;
|
||||
import org.springframework.integration.channel.QueueChannel;
|
||||
import org.springframework.messaging.Message;
|
||||
|
||||
import com.gemstone.gemfire.cache.Region;
|
||||
import org.apache.geode.cache.Region;
|
||||
|
||||
/**
|
||||
* @author Mark Fisher
|
||||
|
||||
@@ -19,9 +19,12 @@ package org.springframework.integration.gemfire.inbound;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.mockito.Mockito.mock;
|
||||
|
||||
import org.apache.geode.cache.Operation;
|
||||
import org.apache.geode.cache.query.CqEvent;
|
||||
import org.apache.geode.cache.query.CqQuery;
|
||||
import org.apache.geode.cache.query.internal.cq.ServerCQImpl;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.data.gemfire.listener.ContinuousQueryListenerContainer;
|
||||
import org.springframework.expression.spel.standard.SpelExpressionParser;
|
||||
@@ -30,11 +33,6 @@ import org.springframework.messaging.Message;
|
||||
import org.springframework.messaging.MessageHandler;
|
||||
import org.springframework.messaging.MessagingException;
|
||||
|
||||
import com.gemstone.gemfire.cache.Operation;
|
||||
import com.gemstone.gemfire.cache.query.CqEvent;
|
||||
import com.gemstone.gemfire.cache.query.CqQuery;
|
||||
import com.gemstone.gemfire.cache.query.internal.CqQueryImpl;
|
||||
|
||||
/**
|
||||
* @author David Turanski
|
||||
* @author Artem Bilan
|
||||
@@ -107,7 +105,7 @@ public class ContinuousQueryMessageProducerTests {
|
||||
|
||||
return new CqEvent() {
|
||||
|
||||
final CqQuery cq = new CqQueryImpl();
|
||||
final CqQuery cq = new ServerCQImpl();
|
||||
|
||||
final byte[] ba = new byte[0];
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@ import org.springframework.test.annotation.DirtiesContext;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
import com.gemstone.gemfire.cache.query.CqEvent;
|
||||
import com.gemstone.gemfire.internal.cache.LocalRegion;
|
||||
import org.apache.geode.cache.query.CqEvent;
|
||||
import org.apache.geode.internal.cache.LocalRegion;
|
||||
|
||||
/**
|
||||
* @author David Turanski
|
||||
|
||||
@@ -32,8 +32,8 @@ import org.springframework.test.annotation.DirtiesContext;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
import com.gemstone.gemfire.cache.EntryEvent;
|
||||
import com.gemstone.gemfire.internal.cache.LocalRegion;
|
||||
import org.apache.geode.cache.EntryEvent;
|
||||
import org.apache.geode.internal.cache.LocalRegion;
|
||||
|
||||
/**
|
||||
* @author David Turanski
|
||||
|
||||
@@ -30,9 +30,9 @@ import org.springframework.data.gemfire.GemfireTemplate;
|
||||
import org.springframework.integration.metadata.ConcurrentMetadataStore;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
import com.gemstone.gemfire.cache.Cache;
|
||||
import com.gemstone.gemfire.cache.CacheFactory;
|
||||
import com.gemstone.gemfire.cache.Region;
|
||||
import org.apache.geode.cache.Cache;
|
||||
import org.apache.geode.cache.CacheFactory;
|
||||
import org.apache.geode.cache.Region;
|
||||
|
||||
/**
|
||||
* @author Artem Bilan
|
||||
|
||||
@@ -36,9 +36,9 @@ import org.springframework.integration.support.MessageBuilder;
|
||||
import org.springframework.messaging.Message;
|
||||
import org.springframework.messaging.support.GenericMessage;
|
||||
|
||||
import com.gemstone.gemfire.cache.Cache;
|
||||
import com.gemstone.gemfire.cache.Region;
|
||||
import com.gemstone.gemfire.cache.Scope;
|
||||
import org.apache.geode.cache.Cache;
|
||||
import org.apache.geode.cache.Region;
|
||||
import org.apache.geode.cache.Scope;
|
||||
|
||||
/**
|
||||
* @author Mark Fisher
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.test.annotation.DirtiesContext;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
import com.gemstone.gemfire.internal.cache.DistributedRegion;
|
||||
import org.apache.geode.internal.cache.DistributedRegion;
|
||||
|
||||
/**
|
||||
* @author David Turanski
|
||||
|
||||
@@ -43,9 +43,9 @@ import org.springframework.messaging.MessageChannel;
|
||||
import org.springframework.messaging.PollableChannel;
|
||||
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
|
||||
|
||||
import com.gemstone.gemfire.cache.Cache;
|
||||
import com.gemstone.gemfire.cache.Region;
|
||||
import com.gemstone.gemfire.cache.Scope;
|
||||
import org.apache.geode.cache.Cache;
|
||||
import org.apache.geode.cache.Region;
|
||||
import org.apache.geode.cache.Scope;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -48,9 +48,9 @@ import org.springframework.messaging.Message;
|
||||
import org.springframework.messaging.MessageChannel;
|
||||
import org.springframework.messaging.support.GenericMessage;
|
||||
|
||||
import com.gemstone.gemfire.cache.Cache;
|
||||
import com.gemstone.gemfire.cache.Region;
|
||||
import com.gemstone.gemfire.cache.Scope;
|
||||
import org.apache.geode.cache.Cache;
|
||||
import org.apache.geode.cache.Region;
|
||||
import org.apache.geode.cache.Scope;
|
||||
|
||||
import junit.framework.AssertionFailedError;
|
||||
|
||||
|
||||
@@ -39,9 +39,9 @@ import org.springframework.integration.test.util.TestUtils;
|
||||
import org.springframework.messaging.Message;
|
||||
import org.springframework.messaging.support.GenericMessage;
|
||||
|
||||
import com.gemstone.gemfire.cache.Cache;
|
||||
import com.gemstone.gemfire.cache.Region;
|
||||
import com.gemstone.gemfire.cache.Scope;
|
||||
import org.apache.geode.cache.Cache;
|
||||
import org.apache.geode.cache.Region;
|
||||
import org.apache.geode.cache.Scope;
|
||||
|
||||
/**
|
||||
* @author Mark Fisher
|
||||
|
||||
Reference in New Issue
Block a user