The Config tab

The initial view of the application shows the Config tab, as shown in the following screenshot:

The three links are on the page reference endpoints in the io.packt.sample.config.ConfigTestController class of the Chapter08-mpcodesample/svcs1 subproject. Clicking on the various links displays the MP-Config values. The value displayed in the previous screenshot corresponds to the second link and the injected.piValue config value. The relevant settings from Chapter08-mpcodesample/svcs1/src/main/resources/ are shown here:

# MP Config values for ConfigTestControllerinjected.value=Injected valueinjected.piValue=3.1415926532 ...

Get Hands-On Enterprise Java Microservices with Eclipse MicroProfile now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.