Package org.openmetadata.service.secrets
Class SecretsUtil
java.lang.Object
org.openmetadata.service.secrets.SecretsUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildExceptionMessageConnection(String exceptionMessage, String type, boolean encrypt) static StringbuildExceptionMessageConnection(String exceptionMessage, String type, String firstAction, String secondAction, boolean isFirstAction) static StringbuildExceptionMessageConnectionMask(String exceptionMessage, String type, boolean mask) static StringbuildExceptionMessageUnrecognizedField(String message, String defaultMessage, String exceptionMessage, String type) Returns an error message when it is related to an Unrecognized fieldstatic Objectconvert(Object connectionConfig, String connectionType, String connectionName, ServiceType serviceType)
-
Method Details
-
buildExceptionMessageUnrecognizedField
public static String buildExceptionMessageUnrecognizedField(String message, String defaultMessage, String exceptionMessage, String type) Returns an error message when it is related to an Unrecognized field -
buildExceptionMessageConnection
-
buildExceptionMessageConnection
-
buildExceptionMessageConnectionMask
-
convert
public static Object convert(Object connectionConfig, String connectionType, String connectionName, ServiceType serviceType)
-