Pivotal + VMware: Transforming how more of the world builds software

spring

Batch Scheduler

Process scheduling In application or configuration class add annotation @EnableScheduling Specify cron string with the schedule to be executed @Scheduled(cron: "${notification.cron:0 0 0/1 * * *}") public void sendNotifications() { logger.info("Sending...

Custom Health Checks when Using Spring Boot Actuator

Custom Health Endpoints with Actuator Introduction to Actuator Health Check There is a Spring Boot add-on known as Actuator which provides a user insight into the Spring environment for a running application. It has several endpoints, and a full discussion of this...

How to use Spring REST Docs

This recipe introduces using Spring REST Docs to document RESTful services. Introduction By combining hand-written documentation written with AsciiDoctor and auto-generated snippets created by Spring MVC unit tests, Spring REST Docs provides a good and always update-to-date...

Dependency Management Refactoring

Analyze code to identify libraries that might be provided by Spring. Often, upgrading of dependencies means switching to Spring Framework provided functionality that was not available when application was initially written several years ago. Using Spring starter dependencies...

Spring Bootification Process

Overview The following guide will focus on the Bootification of an existing spring based Java application. Every application has the potential to take a different Bootification journey depending on a number of different factors: The application's dependency and build...

联系我们