Spring Config Integration With a PCF Application: A Step-by-Step Guide
A developer takes us through the process of integrating a Spring config file with a PCF application, including all the code you need to get started.
by
Why Spring Configuration?
Spring Cloud Config provides support for externalized configuration in a distributed system. It allows you to dynamically push updates to configuration properties to the application without needing to restart or redeploy.
Step-by-Step Guide to Integrate With a PCF Application
Step 1: Add a Maven Dependency
XML
2
3
4
5
14
19
Java
24
refreshscope to that class as well.
Step 3: Enable Actuator Endpoints
By default only the