0% found this document useful (0 votes)
9 views20 pages

MicroProfile 7.0

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views20 pages

MicroProfile 7.0

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

MicroProfile 7.

1
Copyright © 2024, Eclipse Foundation, Inc. | Made available under the Eclipse Public License 2.0 (EPL-2.0)
What is MicroProfile?
● MicroProfile is an open-source community specification for Enterprise Java
microservices

● A community of individuals, organizations, and vendors collaborating within an


open source Eclipse Foundation Working Group to bring microservices to the
Enterprise Java community

2
MicroProfile Working Group
● In October 1st, 2020, MicroProfile became a member of the Eclipse Working Group to
close its intellectual property gap.

● The MicroProfile Charter defines the MicroProfile Working Group vision and scope,
governance, membership, and more.

● MicroProfile component specifications follow the MicroProfile Specification Process, a


compatible specialization of the Eclipse Specification Process.

● MicroProfile 4.1 is the first release delivered under the MicroProfile Working Group with
compatible implementation declared.

3
Release Compatible Implementation

Defined the compatible implementation for MicroProfile 7.0


● [Required] Passing the 7 MicroProfile Specification TCKs and Jakarta EE 10 Core Profile TCK
○ MicroProfile Config 3.1
○ MicroProfile Fault Tolerance 4.1
○ MicroProfile Health 4.0
○ MicroProfile JWT Authentication 2.1
○ MicroProfile OpenAPI 4.0
○ MicroProfile Telemetry 2.0
○ MicroProfile Rest Client 4.0
○ Jakarta EE 10 Core Profile
● Use Java SE 11 or higher

4
Working Group Corporate Members

GUEST MEMBER

5
MicroProfile Implementations

6
MicroProfile 7.0 Released!

Released August 22nd, 2024

Offered in the release:


● Updated 4 MicroProfile Component specifications
○ Telemetry 2.0
○ OpenAPI 4.0
○ Rest Client 4.0
○ Fault Tolerance 4.1
MicroProfile Specifications

Telemetry Rest Client Open


Open API 4.0 4.0 Config 3.1 LRA 2.0
2.0 Tracing 3.0

Fault JWT Reactive


Authentication Health 4.0 Core Profile Messaging GraphQL 2.0
Tolerance 4.1 2.1 3.0

MicroProfile 7.0 Reactive Context


Streams Propagation
Operators 3.0 1.3
Jakarta EE 10

Metrics 5.1

= Updated = No change from last release Standalone


8
MicroProfile Telemetry 2.0

A set of APIs that are designed for the creation and management
of telemetry data such as traces, metrics, and logs

What's new

● Expose OTel APIs for better UX (210)


● Adopt OpenTelemetry Metrics API (141, 149)
● Specify metrics provided by platform (151)
● Adopt OTel logging (146)
● Document usage of Metrics API (184)
● Upgrade base OpenTelemetry API (and semantic conventions) (150)

9
MicroProfile OpenAPI 4.0

Provides Java interfaces and programming models to natively produce


OpenAPI v3.1 documents from Jakarta REST applications

What's new
● Getter methods on model interfaces that return a list or map now return a copy of the list/map containing
the same items. This list/map CAN be immutable. (240)
● Setter methods on model interfaces that take a list or a map as a parameter MUST not use the list/map
instance directly (284)

10
MicroProfile Rest Client 4.0

Type-safe rest client defined as Java interfaces

What's new

● New method for adding headers to Client instances (283)


● New overloaded baseUr(String uri)i method so users don't have to call URI.create() (334)
● Jakarta EE 10 Core Profile compatibility (360)

11
MicroProfile Config 3.1

Provides an easy to use Java API for externalizing application configuration.

12
MicroProfile Fault Tolerance 4.1

Defines easy to use and flexible APIs for building resilient applications

What's new

● Work with MicroProfile Telemetry metrics (622)

13
MicroProfile JWT Authentication 2.1

Using OpenID Connect(OIDC) based JSON Web Tokens(JWT) for role


based access control(RBAC) of microservice endpoints.

14
MicroProfile Health 4.0

Expose the availability of a MicroProfile runtime to underlying platform

15
MicroProfile Metrics is now Standalone

This release replaces MicroProfile Metrics with MicroProfile Telemetry 2.0


which offers the metrics capabilities in addition to logs and tracing.

MicroProfile Metrics is now a standalone specification and not a MicroProfile


Platform component specification.

16
start.microprofile.io

● Generate MicroProfile projects

● Visual Studio Code plugin

● IntelliJ Plugin

● Command line tooling

17
MicroProfile Reactive Capabilities
MicroProfile Reactive Streams MicroProfile Reactive Messaging MicroProfile Context Propagation
Operators Defines a development model for APIs for propagating contexts
A set of operators to create new declaring CDI beans producing, across units of work that are
reactive streams, process the consuming and processing messages. thread-agnostic
transiting data and consume It relies on Reactive Streams
them with ease Operators and CDI

Reactive Streams Operators 3.0 MicroProfile Reactive Messaging 3.0 Context Propagation 1.3

- Project page - Project page - Project page


- Spec PDF doc - Spec PDF doc - Spec PDF doc
- Spec HTML doc - Spec HTML doc - Spec HTML doc
- Technology Compatibility Kit (TCK) - Technology Compatibility Kit (TCK) - Technology Compatibility Kit (TCK)

Standalone Specifications 18
Get Involved!

Google Groups MicroProfile Projects

Bi-Weekly & Quarterly


General community
YouTube Channel
Meetings
19
MicroProfile

20
Copyright © 2024, Eclipse Foundation, Inc. | Made available under the Eclipse Public License 2.0 (EPL-2.0)

You might also like