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.

Related Posts

payara qube logo 5 minutes
Payara

Payara Cloud Is Now part of Payara Qube family of Unified Platforms for Enterprise Java

Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]

Payara promotional graphic showing transition from Spring to Jakarta EE, including technology logos, a code icon and arrows leading from Spring to Jakarta EE. 6 minutes
Jakarta EE

From Spring Boot To Jakarta EE 11: How Payara Starter Eases The Transition

If you’ve been living in the Spring ecosystem, you’re used to fast project setup. Spring Initializr gives you a […]

Promotional graphic for a podcast episode titled “Why Open Source is the Future of Business Innovation - A conversation with Arun Gupta”. The podcast is hosted by Payara Community. The right side features a photo of the speaker, Arun Gupta, labeled as a “VP, Developer Experience at JetBrains”. The design uses dark blue and teal backgrounds with coral and fish illustrations. 2 minutes
Community

Payara Podcast – Why Open Source is the Future of Business Innovation – A Conversation with Arun Gupta

Open source is no longer a developer-only concern — it’s at the heart of how modern businesses innovate, build […]