Briansdevblog.com

Health Checks, Metrics & More with Spring Boot Actuator

A health check is an endpoint that returns a message describing the health of an application. An application is considered healthy if its capable … See more

Actived: 1 days ago

URL: https://www.briansdevblog.com/2017/09/health-checks-metrics-more-with-spring-boot-actuator/

Build, Package and Run Spring Boot Apps with Docker

WEBRunning a Container. Now that the image is image built you can run a container with the following command. docker container run -p 8080:8080 docker-boot …

Category:  Health Go Health

Docker & Spring Boot

WEBSample Code. We’re going to look at 3 slightly different ways of building a docker image to run a simple Spring Boot app. We’ll start a container from each of the 3 …

Category:  Health Go Health

Spring RestTemplate Request & Response Logging

WEBWhen this class is registered with a. RestTemplate. Spring will call the. intercept. method before the request is dispatched, which allows you to log the request. …

Category:  Health Go Health

Running Multiple Spring Boot Services with Docker Compose

WEBDefining the Docker Compose File. Now that we’ve defined Dockerfiles for the Bank Account and Config services, the next step to create a docker-compose file …

Category:  Health Go Health

REST Endpoint Testing With MockMvc

WEBBefore we can put MockMvc through its paces we need a REST endpoint to test. The AccountController defined below exposes 2 endpoints, one to create an …

Category:  Health Go Health

Spring Quartz Tutorial

WEBIn this post I’ll show you how to use Quartz scheduling with a Spring application. Quartz can be easily integrated with Spring to invoke schedule tasks that …

Category:  Health Go Health

Database Integration Testing with Testcontainers

WEBTestcontainers allows you to spin up the database of your choice, so that your persistence tests run against the same database technology that you’ll use in …

Category:  Health Go Health

Configuring a Custom ObjectMapper for Spring RestTemplate

WEBConfiguring a Custom ObjectMapper for Spring RestTemplate. One of the great things about RestTemplate is its simplicity. You simply instantiate it like this…

Category:  Health Go Health

Axis2 Web Service Client Tutorial

WEBAxis2 is a Java framework that provides comprehensive support for exposing and consuming web services. This short post will look at its SOAP client support and …

Category:  Health Go Health

CKAD Prep Part 10 – Kubernetes Liveness & Readiness Probes

WEBKubernetes Liveness & Readiness Probes Liveness Probe A Liveness probe indicates whether or not a container is healthy and is used by Kubernetes to …

Category:  Health Go Health

Service Integration with Netflix Feign and Ribbon

WEBCreate a simple Account Identifier Service that generates a new account number for each new bank account. Use Feign and Ribbon to call the Account Identifier …

Category:  Health Go Health

SOAP Web Services with Apache CXF and Spring Boot

WEBThis post is based on one I wrote a few years ago about building contract first web services with Apache CXF and Spring. The previous post didnt use Spring Boot …

Category:  Health Go Health

Configuring Micro Services – Spring Cloud Config Server

WEBConfiguring Micro Services – Spring Cloud Config Server Managing application configuration in a traditional monolith is pretty straight forward. Configuration …

Category:  Health Go Health

Multi Threading with ExecutorService

WEBjoin() method is called to stop execution of the main thread until. Thread. Thread t1 has terminated. Calling. join() join() is only necessary if you want the main …

Category:  Health Go Health

Spring Boot & Amazon Web Services (EC2, RDS & S3)

WEBNow that we’ve created a role that will provide read/write access to RDS and S3, we’re ready to create the EC2 instance. Navigate to the EC2 console and click …

Category:  Health Go Health

Handling Binary Data in SOAP with MTOM

WEBSOAP Services With MTOM. SOAP is an XML based protocol which means that all data inside the SOAP envelope must be text based. If you want to include binary …

Category:  Health Go Health

Jackson JSON Deserialization

WEBSolution. If you look at the JSON sample above, you’ll see that the attributes are uppercased while the member variables on the. Place. and. Places. models are …

Category:  Health Go Health