Class PostgreSqlBindingsPropertiesProcessor

java.lang.Object
org.springframework.cloud.bindings.boot.PostgreSqlBindingsPropertiesProcessor
All Implemented Interfaces:
BindingsPropertiesProcessor

public final class PostgreSqlBindingsPropertiesProcessor extends Object implements BindingsPropertiesProcessor
An implementation of BindingsPropertiesProcessor that detects Bindings of type: "postgresql".
See Also:
  • Field Details

    • TYPE

      public static final String TYPE
      The Binding type that this processor is interested in: "postgresql".
      See Also:
    • SSL_MODE

      public static final String SSL_MODE
      sslmode determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server.
      See Also:
    • SSL_ROOT_CERT

      public static final String SSL_ROOT_CERT
      sslrootcert specifies the name of a file containing SSL certificate authority (CA) certificate(s).
      See Also:
    • OPTIONS

      public static final String OPTIONS
      options Specifies command-line options to send to the server at connection start. CockroachDB uses this to pass in cluster routing id
      See Also:
    • SPRING_DATASOURCE_URL

      public static final String SPRING_DATASOURCE_URL
      See Also:
    • SPRING_R2DBC_URL

      public static final String SPRING_R2DBC_URL
      See Also:
  • Constructor Details

    • PostgreSqlBindingsPropertiesProcessor

      public PostgreSqlBindingsPropertiesProcessor()
  • Method Details

    • process

      public void process(org.springframework.core.env.Environment environment, Bindings bindings, Map<String,Object> properties)
      Description copied from interface: BindingsPropertiesProcessor
      Transform the currently accumulated Bindings-related properties.
      Specified by:
      process in interface BindingsPropertiesProcessor
      Parameters:
      environment - the Environment that the processor is executing with.
      bindings - the Bindings exposed to the application.
      properties - the currently accumulated properties.