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:
John Blum
2021-10-20 18:33:28 -07:00
parent df00de2947
commit 6c932fe9fa
2 changed files with 4 additions and 4 deletions

View File

@@ -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() {

View File

@@ -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);