Class SecretsUtil

java.lang.Object
org.openmetadata.service.secrets.SecretsUtil

public final class SecretsUtil extends Object
  • 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

      public static String buildExceptionMessageConnection(String exceptionMessage, String type, String firstAction, String secondAction, boolean isFirstAction)
    • buildExceptionMessageConnection

      public static String buildExceptionMessageConnection(String exceptionMessage, String type, boolean encrypt)
    • buildExceptionMessageConnectionMask

      public static String buildExceptionMessageConnectionMask(String exceptionMessage, String type, boolean mask)
    • convert

      public static Object convert(Object connectionConfig, String connectionType, String connectionName, ServiceType serviceType)