- Do the MP-Config settings affect application code, MP feature code, or both?
- Were you able to update health.pathToMonitor to a valid path and see an updated health status reply?
- What does the Svcs2 health status link (http://localhost:8082/health) on the Health tab show as its output? If you stop the KeyCloak Docker image and click on the link again, does the output change?
- What happens if you select the MetricController.timed-request link (http://localhost:8080/metrics/application/io.packt.sample.metric.MetricController.timed-request) in the Metrics tab without first hitting the Timed endpoint link (http://localhost:8080/demo1/metric/timed) at least once?
- Go to the RestClient tab and hit the link, making sure you have a valid JWT. Next, go to the OpenTracing tab and open the Jaeger UI, and pull up the current traces by clicking the Find Traces button. You should see...

Hands-On Enterprise Java Microservices with Eclipse MicroProfile
By :

Hands-On Enterprise Java Microservices with Eclipse MicroProfile
By:
Overview of this book
Eclipse MicroProfile has gained momentum in the industry as a multi-vendor, interoperable, community-driven specification. It is a major disruptor that allows organizations with large investments in enterprise Java to move to microservices without spending a lot on retraining their workforce.
This book is based on MicroProfile 2.2, however, it will guide you in running your applications in MicroProfile 3.0. You'll start by understanding why microservices are important in the digital economy and how MicroProfile addresses the need for enterprise Java microservices. You'll learn about the subprojects that make up a MicroProfile, its value proposition to organizations and developers, and its processes and governance. As you advance, the book takes you through the capabilities and code examples of MicroProfile’s subprojects - Config, Fault Tolerance, Health Check, JWT Propagation, Metrics, and OpenTracing. Finally, you’ll be guided in developing a conference application using Eclipse MicroProfile, and explore possible scenarios of what’s next in MicroProfile with Jakarta EE.
By the end of this book, you'll have gained a clear understanding of Eclipse MicroProfile and its role in enterprise Java microservices.
Table of Contents (18 chapters)
Preface
Section 1: MicroProfile in the Digital Economy
Introduction to Eclipse MicroProfile
Governance and Contributions
Section 2: MicroProfile's Current Capabilities
MicroProfile Config and Fault Tolerance
MicroProfile Health Check and JWT Propagation
MicroProfile Metrics and OpenTracing
MicroProfile OpenAPI and Type-Safe REST Client
Section 3: MicroProfile Implementations and Roadmap
MicroProfile Implementations, Quarkus, and Interoperability via the Conference Application
Section 4: A Working MicroProfile Example
A Working Eclipse MicroProfile Code Sample
Section 5: A Peek into the Future
Reactive Programming and Future Developments
Using MicroProfile in Multi-Cloud Environments
Assessments
Other Books You May Enjoy
How would like to rate this book
Customer Reviews