Getting started with MicroProfile projects

To learn about the single MicroProfile API, you will need the following projects, which can be found under the Chapter06 folder in this book's GitHub repository:

  • fault-tolerance: A project that shows us how to use the MicroProfile Fault Tolerance API
  • health: A project that focuses on the MicroProfile Health Check API
  • openapi-swagger: A project that implements OpenAPI interfaces
  • opentracing: A project that implements the OpenTracing API
  • rest-client: A project that focuses on the MicroProfile REST Client API

Most of the preceding projects are derived from the customer service Hibernate application that we discussed in Chapter 5, Managing Data Persistence with Quarkus. Therefore, a basic requirement is to have a PostgreSQL database up and running so that we can run our projects. We remind you that this can be done with just a one-line script:

docker run --ulimit memlock=-1:-1 -it --rm=true --memory-swappiness=0 --name quarkus_test -e POSTGRES_USER=quarkus -e POSTGRES_PASSWORD=quarkus -e POSTGRES_DB=quarkusdb -p 5432:5432 postgres:10.5

Next, we recommend importing the whole Chapter06 folder into your IDE so that you can have the full set of projects at your fingertips as you continue with this chapter. That being said, we will start by discussing the MicroProfile Health Check API.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.94.153