Interface ConnectionValidator
-
- 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 ConnectionValidator
A validator for the connection configured during theConnectionConfigurationHandlerorUpdateConnectionConfigurationHandlerexecution. Should be used to check if any connection to the external service can be established.Default implementation of this validator calls the
PUBLIC.TEST_CONNECTIONprocedure.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 ConnectorResponsevalidate()Validates the connection configured during the handler execution.
-
-
-
Method Detail
-
validate
ConnectorResponse validate()
Validates the connection configured during the handler execution.- Returns:
- a response with the code
OKif the validation was successful, otherwise a response with an error code and an error message
-
-