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 |
Object
|
The filter, optional |
consumerConfiguration |
Object
|
the consumer configuration |
resultHandler |
function
|
the result handler |
- Source: