{"id":19040926,"url":"https://github.com/cloudfoundry/java-buildpack-auto-reconfiguration","last_synced_at":"2025-08-20T00:38:03.610Z","repository":{"id":904046,"uuid":"1602288","full_name":"cloudfoundry/java-buildpack-auto-reconfiguration","owner":"cloudfoundry","description":"Auto-reconfiguration functionality for the Java Buildpack","archived":false,"fork":false,"pushed_at":"2022-05-27T19:59:44.000Z","size":3172,"stargazers_count":219,"open_issues_count":1,"forks_count":104,"subscribers_count":56,"default_branch":"main","last_synced_at":"2025-06-14T00:03:17.598Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudfoundry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-12T03:02:04.000Z","updated_at":"2024-10-15T02:03:36.000Z","dependencies_parsed_at":"2022-08-16T11:25:12.342Z","dependency_job_id":null,"html_url":"https://github.com/cloudfoundry/java-buildpack-auto-reconfiguration","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/cloudfoundry/java-buildpack-auto-reconfiguration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fjava-buildpack-auto-reconfiguration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fjava-buildpack-auto-reconfiguration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fjava-buildpack-auto-reconfiguration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fjava-buildpack-auto-reconfiguration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudfoundry","download_url":"https://codeload.github.com/cloudfoundry/java-buildpack-auto-reconfiguration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fjava-buildpack-auto-reconfiguration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271247025,"owners_count":24725902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T22:26:06.532Z","updated_at":"2025-08-20T00:38:03.555Z","avatar_url":"https://github.com/cloudfoundry.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Buildpack Auto-Reconfiguration\nThis repository contains the auto-reconfiguration functionality for Spring auto-reconfiguration.\n\n**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](https://github.com/cloudfoundry/java-buildpack/issues/951) to log comments.**\n\n## What is Auto-Reconfiguration?\nAuto-reconfiguration consists of three parts.\n\n1. it adds the `cloud` profile to Spring's list of active profiles\n2. it exposes all of the properties contributed by Cloud Foundry as a `PropertySource` in the `ApplicationContext`\n3. it re-writes the bean definitions of various types to connect automatically with services bound to the application.\n\nThe types that are rewritten are as follows:\n\n| Bean Type | Service Type\n| --------- | ------------\n| `com.datastax.driver.core.Cluster` | Cassandra Service\n| `javax.sql.DataSource` | Relational Data Services (e.g. ClearDB, ElephantSQL)\n| `org.springframework.amqp.rabbit.connection.ConnectionFactory` | RabbitMQ Service (e.g. CloudAMQP)\n| `org.springframework.data.mongodb.MongoDbFactory` | Mongo Service (e.g. MongoLab)\n| `org.springframework.data.redis.connection.RedisConnectionFactory` | Redis Service (e.g. Redis Cloud)\n| `org.springframework.mail.javamail.JavaMailSender` | SMTP Service\n\n## Dependencies\nMost 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:\n\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.cloudfoundry\u003c/groupId\u003e\n        \u003cartifactId\u003ejava-buildpack-auto-reconfiguration\u003c/artifactId\u003e\n        \u003cversion\u003e2.0.0.RELEASE\u003c/version\u003e\n    \u003c/dependency\u003e\n    ...\n\u003c/dependencies\u003e\n```\n\nRelease artifacts can be found in the Spring release repository:\n\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003espring-releases\u003c/id\u003e\n        \u003cname\u003eSpring Releases\u003c/name\u003e\n        \u003curl\u003ehttps://repo.spring.io/release\u003c/url\u003e\n        \u003csnapshots\u003e\n            \u003cenabled\u003efalse\u003c/enabled\u003e\n        \u003c/snapshots\u003e\n    \u003c/repository\u003e\n    ...\n\u003c/repositories\u003e\n```\n\nSnapshot artifacts can be found in the Spring snapshot repository:\n\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003espring-snapshots\u003c/id\u003e\n        \u003cname\u003eSpring Snapshots\u003c/name\u003e\n        \u003curl\u003ehttps://repo.spring.io/snapshot\u003c/url\u003e\n        \u003csnapshots\u003e\n            \u003cenabled\u003etrue\u003c/enabled\u003e\n        \u003c/snapshots\u003e\n    \u003c/repository\u003e\n    ...\n\u003c/repositories\u003e\n```\n\nFor Gradle, the dependencies would be defined like this:\n\n```groovy\ndependencies {\n    compile 'org.cloudfoundry:java-buildpack-auto-reconfiguration:2.0.0.RELEASE'\n    ...\n}\n```\n\nSnapshot artifacts can be found in the Spring release repository:\n\n```groovy\nrepositories {\n    maven { url 'http://repo.spring.io/release' }\n    ...\n}\n```\n\nSnapshot artifacts can be found in the Spring snapshot repository:\n\n```groovy\nrepositories {\n    maven { url 'http://repo.spring.io/snapshot' }\n    ...\n}\n```\n\n## Contributing\n[Pull requests][] are welcome; see the [contributor guidelines][] for details.\n\n## License\nThis buildpack is released under version 2.0 of the [Apache License][].\n\n[Apache License]: http://www.apache.org/licenses/LICENSE-2.0\n[contributor guidelines]: CONTRIBUTING.md\n[Pull requests]: http://help.github.com/send-pull-requests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry%2Fjava-buildpack-auto-reconfiguration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudfoundry%2Fjava-buildpack-auto-reconfiguration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry%2Fjava-buildpack-auto-reconfiguration/lists"}