Connector configuration reference¶
Database objects and procedures¶
The following database objects are created through the file configuration/connector_configuration.sql.
PUBLIC.CONFIGURE_CONNECTOR (config VARIANT)¶
Entry point procedure available to the ADMIN role. This procedure invokes the Java function ConfigureConnectorHandler.configureConnector.
PUBLIC.CONFIGURE_CONNECTOR_VALIDATE (config VARIANT)¶
Procedure used for connector specific validation of the configuration. By default, it returns 'response_code': 'OK'.
It is invoked by the DefaultConfigureConnectorInputValidator function. Can be overwritten both in SQL and Java.
PUBLIC.CONFIGURE_CONNECTOR_INTERNAL (config VARIANT)¶
Procedure used for connector specific additional configuration. By default, it returns 'response_code': 'OK'.
It is invoked by the InternalConfigureConnectorCallback. Can be overwritten both in SQL and Java.
Custom handler¶
Handler and its internals can be customized using the following two approaches.
Procedure replacement approach¶
The following components can be replaced using SQL.
Handler¶
To provide whole custom implementation of the ConfigureConnectorHandler the PUBLIC.CONFIGURE_CONNECTOR procedure must be replaced. For example:
Internal procedures¶
Internal VALIDATE and INTERNAL procedures can be also customized through the SQL. They can even invoke another Java handler:
Builder approach¶
ConfigureConnectorHandler can be customized using ConfigureConnectorHandlerBuilder. This builder allows user to provide custom implementations of the following interfaces:
In case one of them is not provided the default implementation provided by the SDK will be used.