fix(gateway-vertx): Connector not being executed on Vert.x gateway.
Some recent changes meant #connect is no longer called within the connector itself, but should be
called from the enclosing factory. This was implemented on the Servlet version but seemingly not on
the Vert.x gateway.
MODIFY
gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/connector/ConnectorFactory.java
gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/connector/ConnectorFactory.java
@@ -97,7 +97,7 @@ public class ConnectorFactory implements IConnectorFactory {
setAttributesFromApiEndpointProperties(api, httpOptions);
// Get from cache
HttpClient client = clientFromCache(httpOptions);
- return new HttpConnector(vertx, client, request, api, httpOptions, resultHandler);
+ return new HttpConnector(vertx, client, request, api, httpOptions, resultHandler).connect();
};
}

fix(gateway-vertx): Connector not being executed on Vert.x gateway.

Some recent changes meant #connect is no longer called within the connector itself, but should be
called from the enclosing factory. This was implemented on the Servlet version but seemingly not on
the Vert.x gateway.

Signed-off-by: Marc Savy <marc@rhymewithgravy.com>