Finalize configuration reference¶
Database objects and procedures¶
The following database objects are created through the file configuration/finalize_configuration.sql.
PUBLIC.FINALIZE_CONNECTOR_CONFIGURATION (CUSTOM_CONFIGURATION VARIANT)¶
Entry point procedure available to the ADMIN role. This procedure invokes the Java function FinalizeConnectorHandler.finalizeConnectorConfiguration.
PUBLIC.FINALIZE_CONNECTOR_CONFIGURATION_VALIDATE (CUSTOM_CONFIGURATION VARIANT)¶
Procedure used for connector specific validation of the custom configuration. By default, it returns 'response_code': 'OK'.
It is invoked by DefaultFinalizeConnectorValidator. Can be overwritten both in SQL and Java.
PUBLIC.VALIDATE_SOURCE (CUSTOM_CONFIGURATION VARIANT)¶
Procedure checking the connection to the source system with additional configuration specific to the connector. In some cases
it might be the same as the TEST_CONNECTION procedure, but sometimes it will be performing checks in a more detailed way.
By default, it returns 'response_code': 'OK'. It is invoked by InternalSourceValidator.
PUBLIC.FINALIZE_CONNECTOR_CONFIGURATION_INTERNAL (CUSTOM_CONFIGURATION VARIANT)¶
Procedure used to perform any additional custom configurations. By default, it returns 'response_code': 'OK'.
It is invoked by InternalFinalizeConnectorCallback. Can be overwritten both in SQL and Java.
Custom handler¶
The 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 FinalizeConnectorHandler the PUBLIC.FINALIZE_CONNECTOR_CONFIGURATION procedure must be replaced. For example:
Internal procedures¶
Internal VALIDATE, INTERNAL and VALIDATE_SOURCE procedures can be also customized through the SQL. They can even invoke another Java handler:
Builder approach¶
FinalizeConnectorHandler can be customized using FinalizeConnectorHandlerBuilder. This builder allows the user to provide custom implementations of the following interfaces:
FinalizeConnectorValidatorSourceValidatorFinalizeConnectorCallbackConnectorErrorHelper
In case one of them is not provided the default implementation provided by the SDK will be used.