Add convenience method to interface LocalServiceExposer
public static LocalServiceExposer withoutPortMapping(final String host) {
return port -> new InetSocketAddress(host, port);
}
Method forRemoteHost() can then be used in the following classes in project udf-debugging-java:
TestSetup
Constructors of UdfTestSetup
Change constructor of UdfTestSetup
Furthermore the constructor of UdfTestSetup can be simplified into
public UdfTestSetup(final ExasolTestSetup testSetup, final Connection exasolConnection) {
return new UdfTestSetup(testSetup::makeLocalTcpServiceAccessibleFromDatabase,
testSetup.getDefaultBucket(), exasolConnection);
}
Add convenience method to interface
LocalServiceExposer
Method
forRemoteHost()
can then be used in the following classes in projectudf-debugging-java
:TestSetup
UdfTestSetup
Change constructor of
UdfTestSetup
Furthermore the constructor of
UdfTestSetup
can be simplified into