Skip to content

Add MicroProfile 7.1 feature #31252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ public void validatePlatformSettings() {
featureToPlatformMapping.get("io.openliberty.xmlBinding-4.0").add("jakartaee-11.0");
featureToPlatformMapping.get("io.openliberty.xmlWS-4.0").add("jakartaee-11.0");
featureToPlatformMapping.get("io.openliberty.mpMetrics-5.1").add("microProfile-7.0");
featureToPlatformMapping.get("io.openliberty.mpMetrics-5.1").add("microProfile-7.1");

// jdbc is special
featureToPlatformMapping.get("com.ibm.websphere.appserver.jdbc-4.1").remove("javaee-8.0");
Expand Down Expand Up @@ -503,6 +504,7 @@ public void listSelectorDetails() {
});

versionlessFeatures.get("mpMetrics").addFeaturePlatformAndKind("mpMetrics-5.1", "microProfile-7.0", "io.openliberty.mpMetrics-5.1", "ga");
versionlessFeatures.get("mpMetrics").addFeaturePlatformAndKind("mpMetrics-5.1", "microProfile-7.1", "io.openliberty.mpMetrics-5.1", "ga");

VersionlessFeatureCreator creator = new VersionlessFeatureCreator(featureRepo);

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.internal.mpVersion-7.1
visibility=private
singleton=true
-features=io.openliberty.mpCompatible-7.1
kind=noship
edition=full
WLP-Activation-Type: parallel
WLP-Platform: microProfile-7.1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpConfig-3.1
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-6.1; ibm.tolerates:="7.0", \
io.openliberty.internal.mpVersion-6.1; ibm.tolerates:="7.0,7.1", \
io.openliberty.mpConfig-3.1
kind=ga
edition=core
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpContextPropagation-1.3
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-5.0; ibm.tolerates:="6.0,6.1,7.0", \
io.openliberty.internal.mpVersion-5.0; ibm.tolerates:="6.0,6.1,7.0,7.1", \
io.openliberty.mpContextPropagation-1.3
kind=ga
edition=core
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpFaultTolerance-4.1
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-7.0, \
io.openliberty.internal.mpVersion-7.0; ibm.tolerates:="7.1", \
io.openliberty.mpFaultTolerance-4.1
kind=ga
edition=core
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpGraphQL-2.0
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-5.0; ibm.tolerates:="6.0,6.1,7.0", \
io.openliberty.internal.mpVersion-5.0; ibm.tolerates:="6.0,6.1,7.0,7.1", \
io.openliberty.mpGraphQL-2.0
kind=ga
edition=core
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpHealth-4.0
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-5.0; ibm.tolerates:="6.0,6.1,7.0", \
io.openliberty.internal.mpVersion-5.0; ibm.tolerates:="6.0,6.1,7.0,7.1", \
io.openliberty.mpHealth-4.0
kind=ga
edition=core
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpJwt-2.1
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-6.0; ibm.tolerates:="6.1,7.0", \
io.openliberty.internal.mpVersion-6.0; ibm.tolerates:="6.1,7.0,7.1", \
io.openliberty.mpJwt-2.1
kind=ga
edition=core
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpMetrics-5.1
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-6.1; ibm.tolerates:="7.0", \
io.openliberty.internal.mpVersion-6.1; ibm.tolerates:="7.0,7.1", \
io.openliberty.mpMetrics-5.1
kind=ga
edition=core
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpOpenAPI-4.0
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-7.0, \
io.openliberty.internal.mpVersion-7.0; ibm.tolerates:="7.1", \
io.openliberty.mpOpenAPI-4.0
kind=ga
edition=core
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpReactiveMessaging-3.0
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-5.0; ibm.tolerates:="6.0,6.1,7.0", \
io.openliberty.internal.mpVersion-5.0; ibm.tolerates:="6.0,6.1,7.0,7.1", \
io.openliberty.mpReactiveMessaging-3.0
kind=ga
edition=core
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpReactiveStreams-3.0
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-5.0; ibm.tolerates:="6.0,6.1,7.0", \
io.openliberty.internal.mpVersion-5.0; ibm.tolerates:="6.0,6.1,7.0,7.1", \
io.openliberty.mpReactiveStreams-3.0
kind=ga
edition=core
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpRestClient-4.0
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-7.0, \
io.openliberty.internal.mpVersion-7.0; ibm.tolerates:="7.1", \
io.openliberty.mpRestClient-4.0
kind=ga
edition=core
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ symbolicName=io.openliberty.internal.versionless.mpTelemetry-2.0
visibility=private
singleton=true
-features= \
io.openliberty.internal.mpVersion-7.0, \
io.openliberty.internal.mpVersion-7.0; ibm.tolerates:="7.1", \
io.openliberty.mpTelemetry-2.0
kind=ga
edition=core
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.microprofile.cdi.api-4.0
singleton=true
-features=io.openliberty.mpCompatible-6.0; ibm.tolerates:="6.1,7.0",\
-features=io.openliberty.mpCompatible-6.0; ibm.tolerates:="6.1,7.0,7.1",\
io.openliberty.jakarta.cdi-4.0
kind=ga
edition=core
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.microprofile.cdi.api-4.1
singleton=true
-features=io.openliberty.mpCompatible-7.0,\
-features=io.openliberty.mpCompatible-7.0; ibm.tolerates:="7.1", \
io.openliberty.jakarta.cdi-4.1
kind=beta
edition=core
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.mpCompatible-7.1
visibility=private
singleton=true
-features=com.ibm.websphere.appserver.eeCompatible-10.0; ibm.tolerates:="11.0"
kind=noship
edition=full
WLP-Activation-Type: parallel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ singleton=true
io.openliberty.mpHealth.4.0.ee.10.0.mp-6.0; ibm.tolerates:="6.1",\
io.openliberty.jsonp-2.1,\
io.openliberty.cdi-4.0,\
io.openliberty.mpCompatible-6.0; ibm.tolerates:="6.1,7.0", \
io.openliberty.mpCompatible-6.0; ibm.tolerates:="6.1,7.0,7.1", \
com.ibm.websphere.appserver.eeCompatible-10.0
-bundles=\
io.openliberty.microprofile.health.4.0.internal.jakarta; apiJar=false; location:="lib/"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ singleton=true
io.openliberty.mpConfig-3.1,\
io.openliberty.jsonp-2.1,\
io.openliberty.cdi-4.1,\
io.openliberty.mpCompatible-7.0,\
io.openliberty.mpCompatible-7.0; ibm.tolerates:="7.1", \
com.ibm.websphere.appserver.eeCompatible-11.0
-bundles=\
io.openliberty.microprofile.health.4.0.internal.jakarta; apiJar=false; location:="lib/"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ singleton=true
io.openliberty.restfulWS-3.1, \
io.openliberty.mpConfig-3.1, \
io.openliberty.cdi-4.0, \
io.openliberty.mpCompatible-6.1; ibm.tolerates:="7.0", \
io.openliberty.mpCompatible-6.1; ibm.tolerates:="7.0, 7.1", \
io.openliberty.org.eclipse.microprofile.rest.client-3.0; ibm.tolerates:="4.0", \
com.ibm.websphere.appserver.eeCompatible-10.0
-bundles=\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ singleton=true
io.openliberty.restfulWS-4.0, \
io.openliberty.mpConfig-3.1, \
io.openliberty.cdi-4.1, \
io.openliberty.mpCompatible-7.0,\
io.openliberty.mpCompatible-7.0; ibm.tolerates:="7.1", \
io.openliberty.org.eclipse.microprofile.rest.client-4.0,\
com.ibm.websphere.appserver.eeCompatible-11.0
-bundles=\
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.org.eclipse.microprofile.config.3.1.ee-10.0
singleton=true
-features=io.openliberty.mpCompatible-6.1; ibm.tolerates:="7.0", \
-features=io.openliberty.mpCompatible-6.1; ibm.tolerates:="7.0, 7.1", \
io.openliberty.jakarta.cdi-4.0
kind=ga
edition=core
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.org.eclipse.microprofile.config.3.1.ee-11.0
singleton=true
-features=io.openliberty.mpCompatible-7.0, \
-features=io.openliberty.mpCompatible-7.0; ibm.tolerates:="7.1",\
io.openliberty.jakarta.cdi-4.1
kind=beta
edition=core
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.org.eclipse.microprofile.contextpropagation-1.3
singleton=true
-features=io.openliberty.mpCompatible-5.0; ibm.tolerates:="6.0,6.1,7.0"
-features=io.openliberty.mpCompatible-5.0; ibm.tolerates:="6.0,6.1,7.0,7.1"
-bundles=\
io.openliberty.org.eclipse.microprofile.contextpropagation.1.3; location:="dev/api/stable/,lib/"; mavenCoordinates="org.eclipse.microprofile.context-propagation:microprofile-context-propagation-api:1.3"
kind=ga
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.org.eclipse.microprofile.graphql-2.0
singleton=true
-features=io.openliberty.mpCompatible-5.0; ibm.tolerates:="6.0,6.1,7.0"
-features=io.openliberty.mpCompatible-5.0; ibm.tolerates:="6.0,6.1,7.0,7.1"
-bundles=io.openliberty.org.eclipse.microprofile.graphql.2.0; location:="dev/api/stable/,lib/"; mavenCoordinates="org.eclipse.microprofile.graphql:microprofile-graphql-api:2.0"
kind=ga
edition=core
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.org.eclipse.microprofile.health-4.0
singleton=true
# io.openliberty.mpCompatible-5.0; ibm.tolerates:="6.0,6.1,7.0" comes from io.openliberty.microprofile.cdi.api features
# io.openliberty.mpCompatible-5.0; ibm.tolerates:="6.0,6.1,7.0,7.1" comes from io.openliberty.microprofile.cdi.api features
-features=\
io.openliberty.microprofile.cdi.api-3.0; ibm.tolerates:="4.0,4.1"
-bundles=io.openliberty.org.eclipse.microprofile.health.4.0; location:="dev/api/stable/,lib/"; mavenCoordinates="org.eclipse.microprofile.health:microprofile-health-api:4.0.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
symbolicName=io.openliberty.org.eclipse.microprofile.jwt-2.1
visibility=private
singleton=true
-features=io.openliberty.mpCompatible-6.0; ibm.tolerates:="6.1,7.0"
-features=io.openliberty.mpCompatible-6.0; ibm.tolerates:="6.1,7.0,7.1"
-bundles=io.openliberty.org.eclipse.microprofile.jwt.2.1; location:="dev/api/stable/,lib/"; mavenCoordinates="org.eclipse.microprofile.jwt:microprofile-jwt-auth-api:2.1"
kind=ga
edition=core
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.org.eclipse.microprofile.metrics-5.1
singleton=true
-features=io.openliberty.mpCompatible-6.1; ibm.tolerates:="7.0"
-features=io.openliberty.mpCompatible-6.1; ibm.tolerates:="7.0, 7.1"
-bundles=io.openliberty.org.eclipse.microprofile.metrics.5.1; location:="dev/api/stable/,lib/"; mavenCoordinates="org.eclipse.microprofile.metrics:microprofile-metrics-api:5.1.0"
kind=ga
edition=core
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
symbolicName=io.openliberty.org.eclipse.microprofile.openapi-4.0
singleton=true
-features=\
io.openliberty.mpCompatible-7.0
io.openliberty.mpCompatible-7.0; ibm.tolerates:="7.1"
-bundles=io.openliberty.org.eclipse.microprofile.openapi.4.0; location:="dev/api/stable/,lib/"; mavenCoordinates="org.eclipse.microprofile.openapi:microprofile-openapi-api:4.0.2"
kind=ga
edition=core
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WLP-DisableAllFeatures-OnConflict: true
singleton=true
-bundles=io.openliberty.io.smallrye.reactive.messaging-api4
-jars=io.openliberty.org.eclipse.microprofile.reactive.messaging.3.0; location:="dev/api/stable/"; mavenCoordinates="org.eclipse.microprofile.reactive.messaging:microprofile-reactive-messaging-api:3.0.1"
-features=io.openliberty.mpCompatible-5.0; ibm.tolerates:="6.0,6.1,7.0", \
-features=io.openliberty.mpCompatible-5.0; ibm.tolerates:="6.0,6.1,7.0,7.1", \
io.openliberty.org.eclipse.microprofile.reactive.streams.operators-3.0, \
io.openliberty.org.eclipse.microprofile.config-3.0; ibm.tolerates:="3.1", \
io.openliberty.jakarta.cdi-3.0; ibm.tolerates:="4.0,4.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
symbolicName=io.openliberty.org.eclipse.microprofile.reactive.streams.operators-3.0
visibility=private
singleton=true
-features=io.openliberty.mpCompatible-5.0; ibm.tolerates:="6.0,6.1,7.0", \
-features=io.openliberty.mpCompatible-5.0; ibm.tolerates:="6.0,6.1,7.0,7.1", \
com.ibm.websphere.appserver.classloading-1.0, \
com.ibm.websphere.appserver.org.reactivestreams.reactive-streams-1.0
-bundles=\
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.microProfile-7.1
visibility=public
singleton=true
IBM-App-ForceRestart: install, \
uninstall
IBM-ShortName: microProfile-7.1
Subsystem-Name: MicroProfile 7.1
-features=\
io.openliberty.cdi-4.0; ibm.tolerates:="4.1", \
io.openliberty.jsonb-3.0, \
io.openliberty.jsonp-2.1, \
io.openliberty.restfulWS-3.1; ibm.tolerates:="4.0", \
io.openliberty.restfulWSClient-3.1; ibm.tolerates:="4.0", \
io.openliberty.mpCompatible-7.1, \
io.openliberty.mpConfig-3.1, \
io.openliberty.mpHealth-4.0, \
io.openliberty.mpOpenAPI-4.0, \
io.openliberty.mpFaultTolerance-4.1, \
io.openliberty.mpJwt-2.1, \
io.openliberty.mpRestClient-4.0, \
io.openliberty.mpTelemetry-2.0
kind=noship
edition=full
WLP-InstantOn-Enabled: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=This feature combines the Liberty features that support MicroProfile 7.1 for Cloud Native Java.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=Tato funkce kombinuje funkce Liberty , kter\u00e9 podporuj\u00ed MicroProfile 7.1 pro Cloud Native Java.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=Dieses Feature kombiniert die Liberty -Features, die MicroProfile 7.1 f\u00fcr Cloud Native Java unterst\u00fctzen.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=Esta caracter\u00edstica combina las caracter\u00edsticas de Liberty que dan soporte a MicroProfile 7.1 for Cloud Native Java.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=Cette fonction combine les fonctions Liberty qui prennent en charge MicroProfile 7.1 pour Cloud Native Java.
Loading