Eclipse has announced MicroProfile 3.3—the latest release of the open forum for enterprise Java microservices specifications. It includes updates to several parts of the project, so let’s take a look at all the new features.
SEE ALSO: Testing Java microservices applications
Upgrades in MicroProfile 3.3
In the latest MicroProfile release, five APIs were updated compared to v3.2, as seen here:
MicroProfile Rest Client 1.4 provides new features for the Test Compatibility Kit (TCK), Service Provider Interface and annotations. It also adds fixes for documentation warnings and injections into client headers.
MicroProfile Config 1.4 adds Converter
improvements and new built-in converters. Additionally, classloading issues have been fixed, and the spec documentation and javadocs have been clarified.
Fault Tolerance 2.1 brings new methods for some classes and clarifies its documentation. It also relaxes requirements on Future
and CompletionStage
implementations and allows configurations of some TCK tests.
MicroProfile Metrics 2.3 introduces the new simple timer metric @SimplyTimed
, along with the new base metric rest.request
for tracking the total count of requests as well as the elapsed time that was spent at the REST endpoint. You can now use metrics without a properly configured MicroProfile Config implementation.
MicroProfile Health 2.2 upgrades the CDI usage to v2.0 and has added improvements for its API and TCK on board.
SEE ALSO: Helidon 2.0.0-M1: Better microservices building with Java libraries
For more details, see the blog post on MicroProfile 3.3.
The post MicroProfile 3.3 adds updates for Metrics, Fault Tolerance, Health and more appeared first on JAXenter.
Source : JAXenter