NOTE: Meta-buildback is being deprecated
Changes to the core CloudFoundry lifecycle process are making it hard to guarantee on-going compatibility with meta-buildpack and decorators. Some of the use cases for decorators can now be solved by leveraging the new supply buildpack functionality. An updated example using that new mechanism can be found here:
This is a decorator buildpack for Cloud Foundry that provides integration with the Spring Cloud Eureka server for any programming language supported by the platform, and requiring zero application code changes.
When this decorator (and the meta-buildpack) is present in your Cloud Foundry deployment, all you will have to do to register all instances of your application with the Eureka discovery server is bind the application to your Spring Cloud Eureka Servive instance. Instances will then automatically be registered and continue to send heartbeats as long as the application container is alive.