CloudFoundry Route-Service Demo
This code-demo is an example of a Cloud Foundry Route Service written with Spring Boot.
This application does the following to each request:
- Intercepts the incoming request
- Logs information about that incoming request
- Allows the request to continue to its original destination
- Intercepts the response
- Logs information about that outgoing response
- Allows the response to continue to the intended recipient
The rest of this article and the code itself are on Github here: https://github.com/benwilcock/pcf-wiretap-route-service
About the Author
Ben Wilcock works for Pivotal as a Senior Solutions Architect. Ben has a passion for microservices, cloud and mobile applications and helps Pivotal’s Cloud Foundry customers to become more responsive, innovate faster and gain greater returns from their software investments. Ben is a respected technology blogger who’s articles have featured in DZone, Java Code Geeks, InfoQ, Spring Blog and more.