#instrumentation #integration #PCF #Pivotal Cloud Foundry #Spring Boot #Spring Boot Actuator

Using Spring Boot Actuator integrations with Pivotal Cloud Foundry 1.11

I recently wrote a tutorial demonstrating how to leverage the integrations between Spring Boot Actuator and Pivotal Cloud Foundry 1.11, posted here in the Pivotal content library: "TUTORIAL: Using Spring Boot Actuator Integrations With Pivotal Cloud Foundry 1.11"). Here is a quick summary of the article’s content: Adding Actuator to your Spring Boot application deployed on Pivotal Cloud Foundry gets you the following production-ready features: Health Check column & expanded information in Instances section ...

#Dapper #java #Sleuth #span #Spring #Spring Boot #Spring Cloud #Spring Cloud Sleuth #Spring Framework #trace #tracing #Zipkin

Getting up & running quickly with Spring Cloud Sleuth

As you begin to divide conglomerate functionality into discrete, decoupled microservices, you introduce a number of opportunities and challenges into your system(s). The opportunities are often well-known, including (and especially!) development velocity, fidelity/fit (functionality matches requirements), scalability, and a host of other “ilities”. Challenges also exist of course, including the question of how to gain visibility into end-to-end interactions involving multiple microservices across process and network boundaries. Spring Cloud Sleuth provides a lightweight, configurable, and easy way to begin capturing trace information within your distributed system. ...

#dataformat #endpoint #Jackson #jackson-dataformat-xml #JSON #REST #Spring #Spring Boot #T4SD #Tips 4 Spring Devs #XML

T4SD (Tips 4 Spring Devs): How to get Spring Boot REST endpoints to speak XML

Many of us use JSON almost exclusively now, which is generally a good thing. But what happens when you need to “speak XML” with your Spring Boot REST endpoints? XML support in Spring Boot’s REST endpoints is not enabled by default, but adding it isn’t difficult at all. Simply add the following dependency to your POM (or similar entry to your Gradle build file, if that’s the way you roll) and rebuild: ...

#content type #filtering #GetMapping #java #request header #request header filtering #RequestMapping #Spring #Spring Boot #T4SD #Tips 4 Spring Devs

T4SD (Tips 4 Spring Devs): Request header filtering in @RequestMapping

Just a quick tip for the Spring fans out there…​ I was leading a workshop yesterday and this question arose: Is it possible to filter requests by header content using Spring’s various request mapping (@RequestMapping, @GetMapping, @PostMapping, et al) annotations? Not only is it possible, it’s easy, and the implementation is concise & clean! Let’s take a look.  The code Here is a simple example that filters based upon the content-type of the header: ...

#Actuator #HATEOAS #java #management.security.enabled #security #Spring #Spring Boot #Spring Boot Actuator #Spring Security

T4SD (Tips 4 Spring Devs): Spring Boot Actuator /actuator endpoint

Just a quick tip for the Spring fans out there…​ If you’ve decided to try out Spring Boot Actuator – and if you haven’t you really should! – you may have run into one of two interesting hitches that are easily resolved: You are unable to access any of the various Actuator endpoints (/beans, /env, et al) You can access those endpoints and yet are unable to access /actuator, the primary (navigable) Actuator endpoint ...

#alexa #Cloud #Cloud Foundry #random tweet #Spring Boot #tweet #Twitter #voice

How to Create an Alexa Skill with Spring Boot & Cloud Foundry

I’ve been working with Amazon’s Alexa & the Echo family of devices for the past several months and have created a couple of pretty useful and/or interesting skills. The first one I liked well enough to publish was QOTD, a Quote of the Day app that retrieves and reads a random quote per request. The second was Master Control Program, which enabled voice control of my home renewable energy system’s various inputs and controls. ...