Class PostgreSqlBindingsPropertiesProcessor
java.lang.Object
org.springframework.cloud.bindings.boot.PostgreSqlBindingsPropertiesProcessor
- All Implemented Interfaces:
BindingsPropertiesProcessor
public final class PostgreSqlBindingsPropertiesProcessor
extends Object
implements BindingsPropertiesProcessor
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringoptions Specifies command-line options to send to the server at connection start.static final Stringstatic final Stringstatic final Stringsslmode determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server.static final Stringsslrootcert specifies the name of a file containing SSL certificate authority (CA) certificate(s).static final StringTheBindingtype that this processor is interested in: "postgresql". -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TYPE
TheBindingtype that this processor is interested in: "postgresql".- See Also:
-
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
sslrootcert specifies the name of a file containing SSL certificate authority (CA) certificate(s).- See Also:
-
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
- See Also:
-
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:BindingsPropertiesProcessorTransform the currently accumulatedBindings-related properties.- Specified by:
processin interfaceBindingsPropertiesProcessor- Parameters:
environment- theEnvironmentthat the processor is executing with.bindings- theBindingsexposed to the application.properties- the currently accumulated properties.
-