Module: vertx-service-discovery-js/jdbc_data_source

Classes

JDBCDataSource

Methods

(static) JDBCDataSource.createRecord(name, location, metadata) → {Object}

Parameters:
Name Type Description
name string
location Object
metadata Object
Source:
Returns:
Type
Object

(static) JDBCDataSource.getJDBCClient(discovery, filter, consumerConfiguration, resultHandler)

Convenient method that looks for a JDBC datasource source and provides the configured JDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
Parameters:
Name Type Description
discovery ServiceDiscovery The service discovery instance
filter todo The filter, must not be null
consumerConfiguration Object the consumer configuration
resultHandler function the result handler
Source: