Jump To Close Expand all Collapse all Table of contents Spring Boot 2.1.x Runtime Guide Preface 1. Introduction to Application Development with Spring Boot Expand section "1. Introduction to Application Development with Spring Boot" Collapse section "1. Introduction to Application Development with Spring Boot" 1.1. Overview of Application Development with Red Hat Runtimes 1.2. Application Development on Red Hat OpenShift using Developer Launcher 1.3. Overview of Spring Boot Expand section "1.3. Overview of Spring Boot" Collapse section "1.3. Overview of Spring Boot" 1.3.1. Spring Boot features and frameworks summary 1.3.2. Introduction to example applications 2. Configuring your application to use Spring Boot 3. Downloading and deploying applications using Developer Launcher Expand section "3. Downloading and deploying applications using Developer Launcher" Collapse section "3. Downloading and deploying applications using Developer Launcher" 3.1. Working with Developer Launcher 3.2. Downloading the example applications using Developer Launcher 3.3. Deploying an example application on OpenShift Container Platform or CDK (Minishift) 4. Developing and deploying a Spring Boot runtime application Expand section "4. Developing and deploying a Spring Boot runtime application" Collapse section "4. Developing and deploying a Spring Boot runtime application" 4.1. Developing Spring Boot application 4.2. Deploying Spring Boot application to OpenShift Expand section "4.2. Deploying Spring Boot application to OpenShift" Collapse section "4.2. Deploying Spring Boot application to OpenShift" 4.2.1. OpenJDK images for Red Hat Enterprise Linux 4.2.2. Preparing Spring Boot application for OpenShift deployment 4.2.3. Deploying Spring Boot application to OpenShift using Fabric8 Maven plugin 4.3. Deploying Spring Boot application to stand-alone Red Hat Enterprise Linux Expand section "4.3. Deploying Spring Boot application to stand-alone Red Hat Enterprise Linux" Collapse section "4.3. Deploying Spring Boot application to stand-alone Red Hat Enterprise Linux" 4.3.1. Preparing Spring Boot application for stand-alone Red Hat Enterprise Linux deployment 4.3.2. Deploying Spring Boot application to stand-alone Red Hat Enterprise Linux using jar 5. Developing reactive applications using Spring Boot with Eclipse Vert.x Expand section "5. Developing reactive applications using Spring Boot with Eclipse Vert.x" Collapse section "5. Developing reactive applications using Spring Boot with Eclipse Vert.x" 5.1. Introduction to Spring Boot with Eclipse Vert.x 5.2. Reactive Spring Web 5.3. Creating a reactive Spring Boot HTTP service with WebFlux 5.4. Using basic authentication in a reactive Spring Boot WebFlux application. 5.5. Using OAuth2 authentication in a reactive Spring Boot application. 5.6. Creating a reactive Spring Boot SMTP mail application 5.7. Server-sent events 5.8. Using Server-sent events in a reactive Spring Boot application 6. Debugging your Spring Boot-based application Expand section "6. Debugging your Spring Boot-based application" Collapse section "6. Debugging your Spring Boot-based application" 6.1. Remote debugging Expand section "6.1. Remote debugging" Collapse section "6.1. Remote debugging" 6.1.1. Starting your Spring Boot application locally in debugging mode 6.1.2. Starting an uberjar in debugging mode 6.1.3. Starting your application on OpenShift in debugging mode 6.1.4. Attaching a remote debugger to the application 6.2. Debug logging Expand section "6.2. Debug logging" Collapse section "6.2. Debug logging" 6.2.1. Add Spring Boot debug logging 6.2.2. Accessing Spring Boot debug logs on localhost 6.2.3. Accessing debug logs on OpenShift 7. Monitoring your application Expand section "7. Monitoring your application" Collapse section "7. Monitoring your application" 7.1. Accessing JVM metrics for your application on OpenShift Expand section "7.1. Accessing JVM metrics for your application on OpenShift" Collapse section "7.1. Accessing JVM metrics for your application on OpenShift" 7.1.1. Accessing JVM metrics using Jolokia on OpenShift 8. Available examples Spring Boot Expand section "8. Available examples Spring Boot" Collapse section "8. Available examples Spring Boot" 8.1. REST API Level 0 example for Spring Boot Expand section "8.1. REST API Level 0 example for Spring Boot" Collapse section "8.1. REST API Level 0 example for Spring Boot" 8.1.1. REST API Level 0 design tradeoffs 8.1.2. Deploying the REST API Level 0 example application to OpenShift Online Expand section "8.1.2. Deploying the REST API Level 0 example application to OpenShift Online" Collapse section "8.1.2. Deploying the REST API Level 0 example application to OpenShift Online" 8.1.2.1. Deploying the example application using developers.redhat.com/launch 8.1.2.2. Authenticating the oc CLI client 8.1.2.3. Deploying the REST API Level 0 example application using the oc CLI client 8.1.3. Deploying the REST API Level 0 example application to Minishift or CDK Expand section "8.1.3. Deploying the REST API Level 0 example application to Minishift or CDK" Collapse section "8.1.3. Deploying the REST API Level 0 example application to Minishift or CDK" 8.1.3.1. Getting the Fabric8 Launcher tool URL and credentials 8.1.3.2. Deploying the example application using the Fabric8 Launcher tool 8.1.3.3. Authenticating the oc CLI client 8.1.3.4. Deploying the REST API Level 0 example application using the oc CLI client 8.1.4. Deploying the REST API Level 0 example application to OpenShift Container Platform 8.1.5. Interacting with the unmodified REST API Level 0 example application for Spring Boot 8.1.6. Running the REST API Level 0 example application integration tests 8.1.7. REST resources 8.2. Externalized Configuration example for Spring Boot Expand section "8.2. Externalized Configuration example for Spring Boot" Collapse section "8.2. Externalized Configuration example for Spring Boot" 8.2.1. The externalized configuration design pattern 8.2.2. Externalized Configuration design tradeoffs 8.2.3. Deploying the Externalized Configuration example application to OpenShift Online Expand section "8.2.3. Deploying the Externalized Configuration example application to OpenShift Online" Collapse section "8.2.3. Deploying the Externalized Configuration example application to OpenShift Online" 8.2.3.1. Deploying the example application using developers.redhat.com/launch 8.2.3.2. Authenticating the oc CLI client 8.2.3.3. Deploying the Externalized Configuration example application using the oc CLI client 8.2.4. Deploying the Externalized Configuration example application to Minishift or CDK Expand section "8.2.4. Deploying the Externalized Configuration example application to Minishift or CDK" Collapse section "8.2.4. Deploying the Externalized Configuration example application to Minishift or CDK" 8.2.4.1. Getting the Fabric8 Launcher tool URL and credentials 8.2.4.2. Deploying the example application using the Fabric8 Launcher tool 8.2.4.3. Authenticating the oc CLI client 8.2.4.4. Deploying the Externalized Configuration example application using the oc CLI client 8.2.5. Deploying the Externalized Configuration example application to OpenShift Container Platform 8.2.6. Interacting with the unmodified Externalized Configuration example application for Spring Boot 8.2.7. Running the Externalized Configuration example application integration tests 8.2.8. Externalized Configuration resources 8.3. Relational Database Backend example for Spring Boot Expand section "8.3. Relational Database Backend example for Spring Boot" Collapse section "8.3. Relational Database Backend example for Spring Boot" 8.3.1. Relational Database Backend design tradeoffs 8.3.2. Deploying the Relational Database Backend example application to OpenShift Online Expand section "8.3.2. Deploying the Relational Database Backend example application to OpenShift Online" Collapse section "8.3.2. Deploying the Relational Database Backend example application to OpenShift Online" 8.3.2.1. Deploying the example application using developers.redhat.com/launch 8.3.2.2. Authenticating the oc CLI client 8.3.2.3. Deploying the Relational Database Backend example application using the oc CLI client 8.3.3. Deploying the Relational Database Backend example application to Minishift or CDK Expand section "8.3.3. Deploying the Relational Database Backend example application to Minishift or CDK" Collapse section "8.3.3. Deploying the Relational Database Backend example application to Minishift or CDK" 8.3.3.1. Getting the Fabric8 Launcher tool URL and credentials 8.3.3.2. Deploying the example application using the Fabric8 Launcher tool 8.3.3.3. Authenticating the oc CLI client 8.3.3.4. Deploying the Relational Database Backend example application using the oc CLI client 8.3.4. Deploying the Relational Database Backend example application to OpenShift Container Platform 8.3.5. Interacting with the Relational Database Backend API 8.3.6. Running the Relational Database Backend example application integration tests 8.3.7. Relational database resources 8.4. Health Check example for Spring Boot Expand section "8.4. Health Check example for Spring Boot" Collapse section "8.4. Health Check example for Spring Boot" 8.4.1. Health check concepts 8.4.2. Deploying the Health Check example application to OpenShift Online Expand section "8.4.2. Deploying the Health Check example application to OpenShift Online" Collapse section "8.4.2. Deploying the Health Check example application to OpenShift Online" 8.4.2.1. Deploying the example application using developers.redhat.com/launch 8.4.2.2. Authenticating the oc CLI client 8.4.2.3. Deploying the Health Check example application using the oc CLI client 8.4.3. Deploying the Health Check example application to Minishift or CDK Expand section "8.4.3. Deploying the Health Check example application to Minishift or CDK" Collapse section "8.4.3. Deploying the Health Check example application to Minishift or CDK" 8.4.3.1. Getting the Fabric8 Launcher tool URL and credentials 8.4.3.2. Deploying the example application using the Fabric8 Launcher tool 8.4.3.3. Authenticating the oc CLI client 8.4.3.4. Deploying the Health Check example application using the oc CLI client 8.4.4. Deploying the Health Check example application to OpenShift Container Platform 8.4.5. Interacting with the unmodified Health Check example application 8.4.6. Running the Health Check example application integration tests 8.4.7. Health check resources 8.5. Circuit Breaker example for Spring Boot Expand section "8.5. Circuit Breaker example for Spring Boot" Collapse section "8.5. Circuit Breaker example for Spring Boot" 8.5.1. The circuit breaker design pattern 8.5.2. Circuit Breaker design tradeoffs 8.5.3. Deploying the Circuit Breaker example application to OpenShift Online Expand section "8.5.3. Deploying the Circuit Breaker example application to OpenShift Online" Collapse section "8.5.3. Deploying the Circuit Breaker example application to OpenShift Online" 8.5.3.1. Deploying the example application using developers.redhat.com/launch 8.5.3.2. Authenticating the oc CLI client 8.5.3.3. Deploying the Circuit Breaker example application using the oc CLI client 8.5.4. Deploying the Circuit Breaker example application to Minishift or CDK Expand section "8.5.4. Deploying the Circuit Breaker example application to Minishift or CDK" Collapse section "8.5.4. Deploying the Circuit Breaker example application to Minishift or CDK" 8.5.4.1. Getting the Fabric8 Launcher tool URL and credentials 8.5.4.2. Deploying the example application using the Fabric8 Launcher tool 8.5.4.3. Authenticating the oc CLI client 8.5.4.4. Deploying the Circuit Breaker example application using the oc CLI client 8.5.5. Deploying the Circuit Breaker example application to OpenShift Container Platform 8.5.6. Interacting with the unmodified Spring Boot Circuit Breaker example application 8.5.7. Running the Circuit Breaker example application integration tests 8.5.8. Using Hystrix Dashboard to monitor the circuit breaker 8.5.9. Circuit breaker resources 8.6. Secured example application for Spring Boot Expand section "8.6. Secured example application for Spring Boot" Collapse section "8.6. Secured example application for Spring Boot" 8.6.1. The Secured project structure 8.6.2. Red Hat SSO deployment configuration 8.6.3. Red Hat SSO realm model Expand section "8.6.3. Red Hat SSO realm model" Collapse section "8.6.3. Red Hat SSO realm model" 8.6.3.1. Red Hat SSO users 8.6.3.2. The application clients 8.6.4. Spring Boot SSO adapter configuration 8.6.5. Deploying the Secured example application to Minishift or CDK Expand section "8.6.5. Deploying the Secured example application to Minishift or CDK" Collapse section "8.6.5. Deploying the Secured example application to Minishift or CDK" 8.6.5.1. Getting the Fabric8 Launcher tool URL and credentials 8.6.5.2. Creating the Secured example application using Fabric8 Launcher 8.6.5.3. Authenticating the oc CLI client 8.6.5.4. Deploying the Secured example application using the oc CLI client 8.6.6. Deploying the Secured example application to OpenShift Container Platform Expand section "8.6.6. Deploying the Secured example application to OpenShift Container Platform" Collapse section "8.6.6. Deploying the Secured example application to OpenShift Container Platform" 8.6.6.1. Authenticating the oc CLI client 8.6.6.2. Deploying the Secured example application using the oc CLI client 8.6.7. Authenticating to the Secured example application API endpoint Expand section "8.6.7. Authenticating to the Secured example application API endpoint" Collapse section "8.6.7. Authenticating to the Secured example application API endpoint" 8.6.7.1. Getting the Secured example application API endpoint 8.6.7.2. Authenticating HTTP requests using the command line 8.6.7.3. Authenticating HTTP requests using the web interface 8.6.8. Running the Spring Boot Secured example application integration tests 8.6.9. Secured SSO resources 8.7. Cache example for Spring Boot Expand section "8.7. Cache example for Spring Boot" Collapse section "8.7. Cache example for Spring Boot" 8.7.1. How caching works and when you need it 8.7.2. Deploying the Cache example application to OpenShift Online Expand section "8.7.2. Deploying the Cache example application to OpenShift Online" Collapse section "8.7.2. Deploying the Cache example application to OpenShift Online" 8.7.2.1. Deploying the example application using developers.redhat.com/launch 8.7.2.2. Authenticating the oc CLI client 8.7.2.3. Deploying the Cache example application using the oc CLI client 8.7.3. Deploying the Cache example application to Minishift or CDK Expand section "8.7.3. Deploying the Cache example application to Minishift or CDK" Collapse section "8.7.3. Deploying the Cache example application to Minishift or CDK" 8.7.3.1. Getting the Fabric8 Launcher tool URL and credentials 8.7.3.2. Deploying the example application using the Fabric8 Launcher tool 8.7.3.3. Authenticating the oc CLI client 8.7.3.4. Deploying the Cache example application using the oc CLI client 8.7.4. Deploying the Cache example application to OpenShift Container Platform 8.7.5. Interacting with the unmodified Cache example application 8.7.6. Running the Cache example application integration tests 8.7.7. Caching resources A. The Source-to-Image (S2I) build process B. Updating the deployment configuration of an example application C. Configuring a Jenkins freestyle project to deploy your application with the Fabric8 Maven Plugin D. Deploying a Spring Boot application using WAR files E. Additional Spring Boot resources F. Application development resources G. Proficiency levels H. Glossary Expand section "H. Glossary" Collapse section "H. Glossary" H.1. Product and project names H.2. Terms specific to Developer Launcher Legal Notice Settings Close Language: 日本語 English Language: 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: 日本語 English Language: 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Preface This guide covers concepts as well as practical details needed by developers to use the Spring Boot runtime. It provides information governing the design of a Spring Boot application deployed as a Linux container on OpenShift. Previous Next