#Spring #Spring Boot #Spring Cloud #Netflix OSS #Eureka #java #Spring Cloud Netflix #Spring Cloud Config

Register Instances Eureka

When developing Spring Boot + Spring Cloud microservices, most often we devs run them locally, also running local instances of Spring Cloud Config Server and Spring Cloud Netflix Eureka to provide essential scaffolding for our microservices-in-development and to more closely replicate our test & production environments. Many times, we simply run a single instance of a microservice under development, which works with nearly no effort on our part: provide a desired port number for the service either via internal properties (usually in the project’s application. ...

#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. ...

#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 ...

#Arduino #Cloud #Cloud Foundry #Internet of Things #IoT #java #Raspberry Pi #RE #renewable energy #self powered #Spring

Building a Portable, Self-powering, Cloud-Connected IoT demo

Or “How to build a portable self-powered, self-licking ice cream cone.” 😀 Several years ago, I started building what I referred to affectionately as a self-licking ice cream cone: a Renewable Energy (RE) system that powered the same IoT system that monitored it. I’ve given several talks about this system, both its hardware and its software stack, and there are so many useful (and scalable) lessons I’ve learned that I really enjoy sharing. ...

#Cloud #Cloud Foundry #Embedded #IoT #java #RE #renewable energy #Spring Boot

Nighthacking Interview: Jfokus

At Jfokus this week, I was honored to be interviewed by Stephen Chin of Nighthacking.com. We discussed the Renewable Energy system I built and developed using industrial Internet of Things (IoT) concepts and Domain Driven Design principles. The core of the system is Java SE Embedded on the IoT Gateway device, Spring Boot + Cloud Foundry (CF) for the backend services, and an HTML5/JavaScript frontend application also delivered via CF…all accessible from any device, anywhere in the world. ...