Interface DraftConnectionValidator
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface DraftConnectionValidator
A validator for the draft connection configured duringUpdateConnectionConfigurationHandler
execution. Should be used to check if any connection to the external service can be established.Default implementation of this validator calls the
PUBLIC.TEST_DRAFT_CONNECTION
procedure.Additional SQL grants (e.g. to the external access integration) may be needed before connection validation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectorResponse
validate(Variant configuration)
Validates the connection configured during the handler execution.
-
-
-
Method Detail
-
validate
ConnectorResponse validate(Variant configuration)
Validates the connection configured during the handler execution.- Parameters:
configuration
- connection configuration provided to the handler that should be used in draft connection.- Returns:
- a response with the code
OK
if the validation was successful, otherwise a response with an error code and an error message
-
-