O'Reilly logo

Hands-On Enterprise Java Microservices with Eclipse MicroProfile by Scott Stark, Antoine Sabot-Durand, Pavol Loffay, Jeff Mesnil, Heiko W. Rupp, Cesar Saavedra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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/application.properties are shown here:

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required