Skip to content

Commit 5fa5a13

Browse files
authored
Merge pull request #197 from OpenLiberty/staging
Merge staging to prod: Update to MP6 and JEE10
2 parents a804858 + 8760921 commit 5fa5a13

File tree

30 files changed

+418
-328
lines changed

30 files changed

+418
-328
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ jobs:
4545
working-directory: finish
4646
steps:
4747
- uses: actions/checkout@v2
48-
- name: Set up JDK 8
48+
- name: Set up JDK 11
4949
uses: actions/setup-java@v1
5050
with:
51-
java-version: 8
51+
java-version: 11
5252
- run: unset _JAVA_OPTIONS
5353
- name: Run tests
5454
run: sudo ../scripts/testApp.sh

LICENSE

Lines changed: 246 additions & 172 deletions
Large diffs are not rendered by default.

finish/frontend/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1212
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
13-
<maven.compiler.source>1.8</maven.compiler.source>
14-
<maven.compiler.target>1.8</maven.compiler.target>
13+
<maven.compiler.source>11</maven.compiler.source>
14+
<maven.compiler.target>11</maven.compiler.target>
1515
<liberty.var.default.http.port>9090</liberty.var.default.http.port>
1616
<liberty.var.default.https.port>9091</liberty.var.default.https.port>
1717
</properties>
@@ -20,20 +20,20 @@
2020
<dependency>
2121
<groupId>jakarta.platform</groupId>
2222
<artifactId>jakarta.jakartaee-api</artifactId>
23-
<version>9.1.0</version>
23+
<version>10.0.0</version>
2424
<scope>provided</scope>
2525
</dependency>
2626
<dependency>
2727
<groupId>org.eclipse.microprofile</groupId>
2828
<artifactId>microprofile</artifactId>
29-
<version>5.0</version>
29+
<version>6.0</version>
3030
<type>pom</type>
3131
<scope>provided</scope>
3232
</dependency>
3333
<dependency>
3434
<groupId>com.ibm.websphere.appserver.api</groupId>
3535
<artifactId>com.ibm.websphere.appserver.api.jwt</artifactId>
36-
<version>1.1.58</version>
36+
<version>1.1.75</version>
3737
<scope>provided</scope>
3838
</dependency>
3939
</dependencies>

finish/frontend/src/main/java/io/openliberty/guides/frontend/ApplicationBean.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
/*******************************************************************************
33
* Copyright (c) 2020, 2022 IBM Corporation and others.
44
* All rights reserved. This program and the accompanying materials
5-
* are made available under the terms of the Eclipse Public License v1.0
5+
* are made available under the terms of the Eclipse Public License 2.0
66
* which accompanies this distribution, and is available at
7-
* http://www.eclipse.org/legal/epl-v10.html
7+
* http://www.eclipse.org/legal/epl-2.0/
88
*
9-
* Contributors:
10-
* IBM Corporation - Initial implementation
9+
* SPDX-License-Identifier: EPL-2.0
1110
*******************************************************************************/
1211
// end::copyright[]
1312
package io.openliberty.guides.frontend;

finish/frontend/src/main/java/io/openliberty/guides/frontend/LoginBean.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
/*******************************************************************************
33
* Copyright (c) 2018, 2022 IBM Corporation and others.
44
* All rights reserved. This program and the accompanying materials
5-
* are made available under the terms of the Eclipse Public License v1.0
5+
* are made available under the terms of the Eclipse Public License 2.0
66
* which accompanies this distribution, and is available at
7-
* http://www.eclipse.org/legal/epl-v10.html
7+
* http://www.eclipse.org/legal/epl-2.0/
88
*
9-
* Contributors:
10-
* IBM Corporation - Initial implementation
9+
* SPDX-License-Identifier: EPL-2.0
1110
*******************************************************************************/
1211
// end::copyright[]
1312
package io.openliberty.guides.frontend;

finish/frontend/src/main/java/io/openliberty/guides/frontend/client/SystemClient.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
/*******************************************************************************
33
* Copyright (c) 2020, 2022 IBM Corporation and others.
44
* All rights reserved. This program and the accompanying materials
5-
* are made available under the terms of the Eclipse Public License v1.0
5+
* are made available under the terms of the Eclipse Public License 2.0
66
* which accompanies this distribution, and is available at
7-
* http://www.eclipse.org/legal/epl-v10.html
7+
* http://www.eclipse.org/legal/epl-2.0/
88
*
9-
* Contributors:
10-
* IBM Corporation - Initial implementation
9+
* SPDX-License-Identifier: EPL-2.0
1110
*******************************************************************************/
1211
// end::copyright[]
1312
package io.openliberty.guides.frontend.client;

finish/frontend/src/main/java/io/openliberty/guides/frontend/filters/NoCacheFilter.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
/*******************************************************************************
33
* Copyright (c) 2020, 2022 IBM Corporation and others.
44
* All rights reserved. This program and the accompanying materials
5-
* are made available under the terms of the Eclipse Public License v1.0
5+
* are made available under the terms of the Eclipse Public License 2.0
66
* which accompanies this distribution, and is available at
7-
* http://www.eclipse.org/legal/epl-v10.html
7+
* http://www.eclipse.org/legal/epl-2.0/
88
*
9-
* Contributors:
10-
* IBM Corporation - Initial implementation
9+
* SPDX-License-Identifier: EPL-2.0
1110
*******************************************************************************/
1211
// end::copyright[]
1312
package io.openliberty.guides.frontend.filters;

finish/frontend/src/main/java/io/openliberty/guides/frontend/models/SystemModel.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
/*******************************************************************************
33
* Copyright (c) 2020, 2022 IBM Corporation and others.
44
* All rights reserved. This program and the accompanying materials
5-
* are made available under the terms of the Eclipse Public License v1.0
5+
* are made available under the terms of the Eclipse Public License 2.0
66
* which accompanies this distribution, and is available at
7-
* http://www.eclipse.org/legal/epl-v10.html
7+
* http://www.eclipse.org/legal/epl-2.0/
88
*
9-
* Contributors:
10-
* IBM Corporation - Initial implementation
9+
* SPDX-License-Identifier: EPL-2.0
1110
*******************************************************************************/
1211
// end::copyright[]
1312
package io.openliberty.guides.frontend.models;

finish/frontend/src/main/java/io/openliberty/guides/frontend/util/SessionUtils.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
/*******************************************************************************
33
* Copyright (c) 2018, 2022 IBM Corporation and others.
44
* All rights reserved. This program and the accompanying materials
5-
* are made available under the terms of the Eclipse Public License v1.0
5+
* are made available under the terms of the Eclipse Public License 2.0
66
* which accompanies this distribution, and is available at
7-
* http://www.eclipse.org/legal/epl-v10.html
7+
* http://www.eclipse.org/legal/epl-2.0/
88
*
9-
* Contributors:
10-
* IBM Corporation - Initial implementation
9+
* SPDX-License-Identifier: EPL-2.0
1110
*******************************************************************************/
1211
// end::copyright[]
1312
// tag::jwt[]

finish/frontend/src/main/liberty/config/server.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<server description="Sample Liberty server">
33

44
<featureManager>
5-
<feature>restfulWS-3.0</feature>
6-
<feature>jsonb-2.0</feature>
7-
<feature>jsonp-2.0</feature>
8-
<feature>faces-3.0</feature>
9-
<feature>cdi-3.0</feature>
5+
<feature>restfulWS-3.1</feature>
6+
<feature>jsonb-3.0</feature>
7+
<feature>jsonp-2.1</feature>
8+
<feature>faces-4.0</feature>
9+
<feature>cdi-4.0</feature>
1010
<!-- FOR SECURITY -->
11-
<feature>appSecurity-4.0</feature>
12-
<feature>servlet-5.0</feature>
13-
<feature>mpJwt-2.0</feature>
11+
<feature>appSecurity-5.0</feature>
12+
<feature>servlet-6.0</feature>
13+
<feature>mpJwt-2.1</feature>
1414
<feature>mpConfig-3.0</feature>
1515
<feature>mpRestClient-3.0</feature>
1616

0 commit comments

Comments
 (0)