Adpat to (internal) API changes in Apache Geode 1.15 related to WAN Gateway functionality availability.
Do not refer to Apache Geode internal WAN Gateway API classes any longer to determine whether the Apache Geode feature (e.g. WAN Gateway) is available. Resolves gh-540.
This commit is contained in:
@@ -46,11 +46,11 @@ public abstract class GemfireUtils extends RegionUtils {
|
||||
private static final String ASYNC_EVENT_QUEUE_ELEMENT_NAME = "async-event-queue";
|
||||
private static final String ASYNC_EVENT_QUEUE_TYPE_NAME = "org.apache.geode.cache.asyncqueue.AsyncEventQueue";
|
||||
private static final String CQ_ELEMENT_NAME = "cq-listener-container";
|
||||
private static final String CQ_TYPE_NAME = "org.apache.geode.cache.query.internal.cq.CqServiceFactoryImpl";
|
||||
private static final String CQ_TYPE_NAME = "org.apache.geode.cache.query.CqQuery";
|
||||
private static final String GATEWAY_RECEIVER_ELEMENT_NAME = "gateway-receiver";
|
||||
private static final String GATEWAY_RECEIVER_TYPE_NAME = "org.apache.geode.internal.cache.wan.GatewayReceiverFactoryImpl";
|
||||
private static final String GATEWAY_RECEIVER_TYPE_NAME = "org.apache.geode.cache.wan.GatewayReceiverFactory";
|
||||
private static final String GATEWAY_SENDER_ELEMENT_NAME = "gateway-sender";
|
||||
private static final String GATEWAY_SENDER_TYPE_NAME = "org.apache.geode.internal.cache.wan.GatewaySenderFactoryImpl";
|
||||
private static final String GATEWAY_SENDER_TYPE_NAME = "org.apache.geode.cache.wan.GatewaySenderFactory";
|
||||
|
||||
public static String apacheGeodeProductName() {
|
||||
|
||||
|
||||
@@ -498,7 +498,7 @@ abstract class ParsingUtils {
|
||||
? String.format("Attribute [%1$s] of element [%2$s]", attributeName, elementName)
|
||||
: String.format("Element [%s]", elementName);
|
||||
|
||||
String message = String.format("%1$s requires Pivotal GemFire version 7 or later. Current version is %2$s.",
|
||||
String message = String.format("%1$s requires VMware Tanzu GemFire version 7 or later. Current version is %2$s.",
|
||||
messagePrefix, GemfireUtils.GEMFIRE_VERSION);
|
||||
|
||||
parserContext.getReaderContext().error(message, null);
|
||||
|
||||
Reference in New Issue
Block a user