Skip to content

Commit

Permalink
Merge branch 'OpenLiberty:integration' into FIPSwork
Browse files Browse the repository at this point in the history
  • Loading branch information
mshah0722 authored Nov 29, 2024
2 parents 28144eb + b6c1ed3 commit 7ffa5ea
Show file tree
Hide file tree
Showing 51 changed files with 140 additions and 181 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,9 @@ public void validatePlatformSettings() {
if (featurePlatform.equals("javaee-6.0")) {
continue;
}
if(featurePlatform.equals("jakartaee-8.0") && platforms.contains("javaee-8.0")){
continue;
}
if (platforms.contains(featurePlatform)) {
matches++;
} else {
Expand All @@ -370,6 +373,9 @@ public void validatePlatformSettings() {
}
}
}
if(platforms.contains("javaee-8.0") && !featurePlatforms.contains("jakartaee-8.0")){
errorMessage.append(featureName).append(" is missing platform jakartaee-8.0\n");
}
}

// Special private features that also should have platforms listed in them
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ Subsystem-Name: Application Client Support for Server 1.0
kind=ga
edition=base
WLP-Activation-Type: parallel
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ edition=core
-jars=com.ibm.websphere.appserver.spi.jaspic; location:=dev/spi/ibm/
-files=dev/spi/ibm/javadoc/com.ibm.websphere.appserver.spi.jaspic_1.1-javadoc.zip
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ Subsystem-Name: Batch API 1.0
kind=ga
edition=base
WLP-Activation-Type: parallel
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
WLP-InstantOn-Enabled: true; type:=beta
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Subsystem-Category: JavaEE7Application
com.ibm.websphere.appserver.mdb-3.2
kind=ga
edition=base
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Subsystem-Name: Enterprise JavaBeans Home Interfaces 3.2
-bundles=com.ibm.ws.ejbcontainer.ejb2x
kind=ga
edition=base
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ Subsystem-Name: Enterprise JavaBeans Persistent Timers 3.2
-bundles=com.ibm.ws.ejbcontainer.timer.persistent
kind=ga
edition=base
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ Subsystem-Name: Enterprise JavaBeans Remote 3.2
-files=clients/ejbRemotePortable.jar
kind=ga
edition=base
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ Subsystem-Name: J2EE Management 1.1
-files=dev/api/ibm/javadoc/com.ibm.websphere.appserver.api.j2eemanagement_1.1-javadoc.zip
kind=ga
edition=base
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ kind=ga
edition=core
-jars=com.ibm.websphere.appserver.api.jacc; location:=dev/api/ibm/
-files=dev/api/ibm/javadoc/com.ibm.websphere.appserver.api.jacc_1.0-javadoc.zip
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
WLP-InstantOn-Enabled: true
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ edition=core
-jars=com.ibm.websphere.appserver.spi.jaspic; location:=dev/spi/ibm/
-files=dev/spi/ibm/javadoc/com.ibm.websphere.appserver.spi.jaspic_1.1-javadoc.zip
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ IBM-SPI-Package: \
kind=ga
edition=core
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ Subsystem-Name: Java XML Bindings 2.2
bin/jaxb/schemagen.bat
kind=ga
edition=core
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ Subsystem-Name: Java Web Services 2.2
kind=ga
edition=base
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ kind=ga
edition=base
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ Subsystem-Name: Java Connector Architecture Security Inflow 1.0
com.ibm.websphere.javaee.jaspic.1.1; location:=dev/api/spec/; mavenCoordinates="javax.security.auth.message:javax.security.auth.message-api:1.1"
kind=ga
edition=base
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0,jakartaee-8.0
WLP-InstantOn-Enabled: true; type:=beta
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0,jakartaee-9.1,jakartaee-10.0
WLP-Platform: javaee-8.0,jakartaee-8.0,jakartaee-9.1,jakartaee-10.0
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ Subsystem-Name: Java Message Service 2.0
kind=ga
edition=base
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ IBM-App-ForceRestart: uninstall, \
com.ibm.ws.jpa.container.thirdparty
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ IBM-API-Package: org.jboss.weld;type="internal",\
-jars=com.ibm.ws.jsfContainer; location:=lib/
kind=ga
edition=core
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Subsystem-Name: JavaScript Object Notation Binding 1.0 via Bells
-bundles=com.ibm.ws.jsonb.service
kind=ga
edition=core
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Subsystem-Name: JavaScript Object Notation Processing 1.1 via Bells
-features=com.ibm.websphere.appserver.jsonpImpl-1.1.0
kind=ga
edition=core
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ Subsystem-Name: Message-Driven Beans 3.2
kind=ga
edition=base
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-8.0
WLP-Platform: javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Subsystem-Name: JMS 2.0 Client for Message Server
kind=ga
edition=base
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Subsystem-Name: Message Server Security 1.0
kind=ga
edition=base
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Subsystem-Name: Message Server 1.0
kind=ga
edition=base
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0
WLP-Platform: javaee-6.0,javaee-7.0,javaee-8.0,jakartaee-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ kind=ga
edition=core
WLP-Activation-Type: parallel
WLP-InstantOn-Enabled: true
WLP-Platform: javaee-7.0,javaee-8.0
WLP-Platform: javaee-7.0,javaee-8.0,jakartaee-8.0
4 changes: 2 additions & 2 deletions dev/com.ibm.ws.security.acme_fat/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ tested.features: servlet-3.1, appsecurity-4.0, expressionlanguage-4.0, cdi-3.0,
#fat.test.use.remote.docker: true

fat.test.container.images: mariadb:10.3, \
letsencrypt/pebble:latest, \
letsencrypt/pebble-challtestsrv:latest, \
letsencrypt/pebble:v2.3.1, \
letsencrypt/pebble-challtestsrv:v2.3.1, \
ryanesch/acme-boulder:1.2

-buildpath: \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class PebbleContainer extends CAContainer {

private Network network = Network.newNetwork();

public final GenericContainer<?> challtestsrv = new GenericContainer<>("letsencrypt/pebble-challtestsrv")
public final GenericContainer<?> challtestsrv = new GenericContainer<>(DockerImageName.parse("letsencrypt/pebble-challtestsrv:v2.3.1"))
.withCommand("pebble-challtestsrv").withExposedPorts(DNS_PORT, CHALL_MANAGEMENT_PORT).withNetwork(network)
.withLogConsumer(o -> System.out.print("[CHL] " + o.getUtf8String()));

Expand Down Expand Up @@ -102,7 +102,7 @@ public static void log(OutputFrame frame) {
public PebbleContainer() {
super(new ImageFromDockerfile()
.withDockerfileFromBuilder(builder -> builder.from(
ImageNameSubstitutor.instance().apply(DockerImageName.parse("letsencrypt/pebble")).asCanonicalNameString())
ImageNameSubstitutor.instance().apply(DockerImageName.parse("letsencrypt/pebble:v2.3.1")).asCanonicalNameString())
.copy("pebble-config.json", "/test/config/pebble-config.json").build())
.withFileFromFile("pebble-config.json", PEBBLE_CONFIG_JSON_FILE), 5002, 14000, 15000);
challtestsrv.withStartupAttempts(20);
Expand Down
Loading

0 comments on commit 7ffa5ea

Please sign in to comment.