Eclipse MicroProfile Enhancements in Payara Server Community 5.2020.6

Cloud & Microservices

The Payara Server Community 5.2020.6 release introduces a host of new enhancements to Eclipse MicroProfile, with MicroProfile Config containing most of these improvements. MicroProfile Config now comes with five new config sources for cloud key vaults and databases. The Payara Health Check Service has also been updated to monitor any Metrics exposed in the MicroProfile Metric, and it can now expose any HealthCheck checkers to the MicroProfile Health REST endpoints.

MicroProfile Cloud Vault Config Sources

We have added new MicroProfile config sources to access secrets from the secret managers of three cloud providers: GCP (Google Cloud Provider), AWS (Amazon Web Services) and Microsoft Azure. A secret can be an API key, database credentials, or a user password. Using a key vault prevents you from having to store secrets within your application. You can securely store your secrets within a key vault and retrieve them using our MicroProfile Config API. You can also change the values of your secrets without redeploying your application, which is hugely beneficial for microservices running in a cloud environment.

The following MicroProfile Cloud Vault Config Sources are introduced in this release: 

MicroProfile Database Config Sources

We have added new MicroProfile config sources to fetch data from SQL and Amazon DynamoDB databases. You can configure ‘key’ and ‘value’ column names to fetch data from a selected table. The values from the key column are used as the config property names, and the values from the value column are used as the config property values. For example, let’s look at the following diagram. It shows a DynamoDB database table named Books with columns ISBN, Author, and Title.

Database Example

If the key column name is configured to ISBN and the value column name to Title. You can fetch the value of the Title column in relation to the ISBN column using MicroProfile Database Config Sources.

The following MicroProfile Database Config Sources are introduced in this release:

Health Check Improvements

We have added the ability to monitor any Metrics exposed in MicroProfile Metrics via Payara HealthCheck Service. This provides the ability to periodically check and monitor the health and performance of specific metrics, allowing the operations team to identify a problem and its impact quickly.

We have also added the functionality to expose any Payara HealthCheck Service checkers to the MicroProfile Health REST endpoints. This allows you to monitor a wider variety of metrics from Payara HealthCheck Service and use these to inform smarter MicroProfile readiness checks.

Learn more about these improvements and how to configure them in our documentation about the HealthCheck Service.

Try it out and let us know what you think:

{{cta(‘b2e4c2b6-f33a-4ae4-9290-f1cf476f445a’)}}

 

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Cut Jakarta EE Startup Times from Seconds to Milliseconds with CRaC 8 minutes
Jakarta EE

Cut Jakarta EE Startup Times from Seconds to Milliseconds with CRaC 

Jakarta EE applications can take anywhere from several seconds to over a minute to start, depending on their size […]

Stacked copies of the Payara developer guide “Zero Trust Architecture with Jakarta EE and MicroProfile” on an orange background, showing the dark blue cover design with the Payara logo and a laptop illustration featuring a shield and padlock icon. 4 minutes
Jakarta EE

Implementing Zero Trust Security with Jakarta EE: A Practical Guide

Zero Trust security has moved from buzzword to necessity. The principle is simple: never trust, always verify. But implementing […]

Blue background with coral and fish. Left text: 'MONTHLY CATCH'. Right: laptop screen with tech tabs and Payara Community logo. 4 minutes
Community

The Payara Monthly Catch – December 2025

As we kick off the new year, this January edition of The Monthly Catch looks back at everything that […]