@Configuration
@ConditionalOnClass(value={javax.sql.DataSource.class,org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType.class,com.google.cloud.sql.CredentialFactory.class})
@ConditionalOnProperty(name="spring.cloud.gcp.sql.enabled",
havingValue="true",
matchIfMissing=true)
@EnableConfigurationProperties(value={GcpCloudSqlProperties.class,org.springframework.boot.autoconfigure.jdbc.DataSourceProperties.class})
@AutoConfigureBefore(value={org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration.class,org.springframework.boot.autoconfigure.jdbc.JndiDataSourceAutoConfiguration.class,org.springframework.boot.autoconfigure.jdbc.XADataSourceAutoConfiguration.class})
@AutoConfigureAfter(value=GcpContextAutoConfiguration.class)
public abstract class GcpCloudSqlAutoConfiguration
extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INSTANCE_CONNECTION_NAME_HELP_URL
URL for help instructions.
|
| Constructor and Description |
|---|
GcpCloudSqlAutoConfiguration() |
public static final String INSTANCE_CONNECTION_NAME_HELP_URL
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.