This repository contains the auto-reconfiguration functionality for Spring auto-reconfiguration.
NOTE: This project has been deprecated and is in maintenance mode. We will continue to release security-related updates but will not address enhancement requests. It will be archived after Dec 2022. Refer to this issue to log comments.
What is Auto-Reconfiguration?
Auto-reconfiguration consists of three parts.
it adds the cloud profile to Spring’s list of active profiles
it exposes all of the properties contributed by Cloud Foundry as a PropertySource in the ApplicationContext
it re-writes the bean definitions of various types to connect automatically with services bound to the application.
The types that are rewritten are as follows:
Bean Type
Service Type
com.datastax.driver.core.Cluster
Cassandra Service
javax.sql.DataSource
Relational Data Services (e.g. ClearDB, ElephantSQL)
Most projects will receive this project via Java Buildpack injection. If you need to download it for diagnostic purposes, the dependency can be defined like this:
Java Buildpack Auto-Reconfiguration
This repository contains the auto-reconfiguration functionality for Spring auto-reconfiguration.
NOTE: This project has been deprecated and is in maintenance mode. We will continue to release security-related updates but will not address enhancement requests. It will be archived after Dec 2022. Refer to this issue to log comments.
What is Auto-Reconfiguration?
Auto-reconfiguration consists of three parts.
cloudprofile to Spring’s list of active profilesPropertySourcein theApplicationContextThe types that are rewritten are as follows:
com.datastax.driver.core.Clusterjavax.sql.DataSourceorg.springframework.amqp.rabbit.connection.ConnectionFactoryorg.springframework.data.mongodb.MongoDbFactoryorg.springframework.data.redis.connection.RedisConnectionFactoryorg.springframework.mail.javamail.JavaMailSenderDependencies
Most projects will receive this project via Java Buildpack injection. If you need to download it for diagnostic purposes, the dependency can be defined like this:
Release artifacts can be found in the Spring release repository:
Snapshot artifacts can be found in the Spring snapshot repository:
For Gradle, the dependencies would be defined like this:
Snapshot artifacts can be found in the Spring release repository:
Snapshot artifacts can be found in the Spring snapshot repository:
Contributing
Pull requests are welcome; see the contributor guidelines for details.
License
This buildpack is released under version 2.0 of the Apache License.