Skip to content

Commit 2bcd048

Browse files
authored
Merge pull request #193 from OpenLiberty/staging
Merge staging to prod: Update to MP6.1
2 parents 6feb5c2 + ddd1972 commit 2bcd048

File tree

10 files changed

+65
-40
lines changed

10 files changed

+65
-40
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: maven
4+
directory: "/"
5+
schedule:
6+
interval: monthly
7+
open-pull-requests-limit: 50
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Add PRs to Dependabot PRs dashboard
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- labeled
8+
9+
jobs:
10+
add-to-project:
11+
name: Add PR to dashboard
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/[email protected]
15+
with:
16+
project-url: https://github.com/orgs/OpenLiberty/projects/26
17+
github-token: ${{ secrets.ADMIN_BACKLOG }}
18+
labeled: dependencies

README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2019, 2023 IBM Corporation and others.
1+
// Copyright (c) 2019, 2024 IBM Corporation and others.
22
// Licensed under Creative Commons Attribution-NoDerivatives
33
// 4.0 International (CC BY-ND 4.0)
44
// https://creativecommons.org/licenses/by-nd/4.0/
@@ -12,7 +12,7 @@
1212
:page-releasedate: 2019-07-23
1313
:page-description: Learn how to create, use and cache HTTP session data.
1414
:guide-author: Open Liberty
15-
:page-tags: ['Docker']
15+
:page-tags: ['docker']
1616
:page-related-guides: ['rest-intro', 'microprofile-openapi', 'kubernetes-intro']
1717
:page-permalink: /guides/{projectid}
1818
:common-includes: https://raw.githubusercontent.com/OpenLiberty/guides-common/prod
@@ -255,7 +255,7 @@ https://docs.hazelcast.org/docs/latest/manual/html-single/#understanding-configu
255255
[role="command"]
256256
include::{common-includes}/devmode-lmp33-start.adoc[]
257257

258-
Point your browser to the link:http://localhost:9080/openapi/ui/[^] URL.
258+
Point your browser to the link:http://localhost:9090/openapi/ui/[^] URL.
259259
This URL displays the available REST endpoints.
260260

261261
First, make a POST request to the `/cart/{item}&{price}` endpoint. To make this request, expand the POST

finish/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ LABEL \
2020
COPY --chown=1001:0 src/main/liberty/config /config/
2121
RUN features.sh
2222
COPY --chown=1001:0 target/guide-sessions.war /config/apps
23-
COPY --chown=1001:0 target/liberty/wlp/usr/shared/resources/hazelcast-5.3.0.jar /opt/ol/wlp/usr/shared/resources
23+
COPY --chown=1001:0 target/liberty/wlp/usr/shared/resources/hazelcast-5.3.6.jar /opt/ol/wlp/usr/shared/resources
2424

2525
RUN configure.sh

finish/kubernetes.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
image: cart-app:1.0-SNAPSHOT
2020
ports:
2121
- name: http
22-
containerPort: 9080
22+
containerPort: 9090
2323
- name: hazelcast
2424
containerPort: 5701
2525
---
@@ -33,6 +33,6 @@ spec:
3333
app: cart
3434
ports:
3535
- protocol: TCP
36-
port: 9080
37-
targetPort: 9080
36+
port: 9090
37+
targetPort: 9090
3838
nodePort: 31000

finish/pom.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<maven.compiler.target>11</maven.compiler.target>
1414
<!-- Liberty configuration -->
1515
<hazelcast.path>${user.home}/.m2/repository/com/hazelcast/hazelcast/</hazelcast.path>
16-
<liberty.var.default.http.port>9080</liberty.var.default.http.port>
17-
<liberty.var.default.https.port>9443</liberty.var.default.https.port>
16+
<liberty.var.http.port>9090</liberty.var.http.port>
17+
<liberty.var.https.port>9453</liberty.var.https.port>
1818
<liberty.var.app.context.root>${project.artifactId}</liberty.var.app.context.root>
1919
</properties>
2020

@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>org.eclipse.microprofile</groupId>
3131
<artifactId>microprofile</artifactId>
32-
<version>6.0</version>
32+
<version>6.1</version>
3333
<type>pom</type>
3434
<scope>provided</scope>
3535
</dependency>
@@ -38,27 +38,27 @@
3838
<dependency>
3939
<groupId>com.hazelcast</groupId>
4040
<artifactId>hazelcast</artifactId>
41-
<version>5.3.0</version>
41+
<version>5.3.6</version>
4242
<scope>test</scope>
4343
</dependency>
4444

4545
<!-- For tests -->
4646
<dependency>
4747
<groupId>org.junit.jupiter</groupId>
4848
<artifactId>junit-jupiter</artifactId>
49-
<version>5.9.2</version>
49+
<version>5.10.1</version>
5050
<scope>test</scope>
5151
</dependency>
5252
<dependency>
5353
<groupId>org.jboss.resteasy</groupId>
5454
<artifactId>resteasy-client</artifactId>
55-
<version>6.2.3.Final</version>
55+
<version>6.2.7.Final</version>
5656
<scope>test</scope>
5757
</dependency>
5858
<dependency>
5959
<groupId>org.jboss.resteasy</groupId>
6060
<artifactId>resteasy-json-binding-provider</artifactId>
61-
<version>6.2.3.Final</version>
61+
<version>6.2.7.Final</version>
6262
<scope>test</scope>
6363
</dependency>
6464
<dependency>
@@ -82,7 +82,7 @@
8282
<plugin>
8383
<groupId>io.openliberty.tools</groupId>
8484
<artifactId>liberty-maven-plugin</artifactId>
85-
<version>3.8.2</version>
85+
<version>3.10</version>
8686
<!-- tag::configuration[] -->
8787
<configuration>
8888
<!-- Copy the hazelcast library -->
@@ -92,7 +92,7 @@
9292
<dependency>
9393
<groupId>com.hazelcast</groupId>
9494
<artifactId>hazelcast</artifactId>
95-
<version>5.3.0</version>
95+
<version>5.3.6</version>
9696
</dependency>
9797
</dependencyGroup>
9898
</copyDependencies>
@@ -104,17 +104,17 @@
104104
<plugin>
105105
<groupId>org.apache.maven.plugins</groupId>
106106
<artifactId>maven-surefire-plugin</artifactId>
107-
<version>3.0.0</version>
107+
<version>3.2.5</version>
108108
</plugin>
109109

110110
<!-- Plugin to run functional tests -->
111111
<plugin>
112112
<groupId>org.apache.maven.plugins</groupId>
113113
<artifactId>maven-failsafe-plugin</artifactId>
114-
<version>3.0.0</version>
114+
<version>3.2.5</version>
115115
<configuration>
116116
<systemPropertyVariables>
117-
<http.port>${liberty.var.default.http.port}</http.port>
117+
<http.port>${liberty.var.http.port}</http.port>
118118
</systemPropertyVariables>
119119
</configuration>
120120
</plugin>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- tag::copyright[] -->
22
<!--
3-
Copyright (c) 2019, 2023 IBM Corporation and others.
3+
Copyright (c) 2019, 2024 IBM Corporation and others.
44
All rights reserved. This program and the accompanying materials
55
are made available under the terms of the Eclipse Public License 2.0
66
which accompanies this distribution, and is available at
@@ -22,11 +22,11 @@
2222
<feature>mpOpenAPI-3.1</feature>
2323
</featureManager>
2424

25-
<variable name="default.http.port" defaultValue="9080"/>
26-
<variable name="default.https.port" defaultValue="9443"/>
25+
<variable name="http.port" defaultValue="9090"/>
26+
<variable name="https.port" defaultValue="9453"/>
2727
<variable name="app.context.root" defaultValue="guide-sessions"/>
2828

29-
<httpEndpoint httpPort="${default.http.port}" httpsPort="${default.https.port}"
29+
<httpEndpoint httpPort="${http.port}" httpsPort="${https.port}"
3030
id="defaultHttpEndpoint" host="*" />
3131
<!-- tag::httpSessionCache[] -->
3232
<httpSessionCache libraryRef="jCacheVendorLib"
@@ -35,7 +35,7 @@
3535
<!-- tag::library[] -->
3636
<library id="jCacheVendorLib">
3737
<!-- tag::hazelcastjar[] -->
38-
<file name="${shared.resource.dir}/hazelcast-5.3.0.jar" />
38+
<file name="${shared.resource.dir}/hazelcast-5.3.6.jar" />
3939
<!-- end::hazelcastjar[] -->
4040
</library>
4141
<!-- end::library[] -->

start/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ LABEL \
1919
COPY --chown=1001:0 src/main/liberty/config /config/
2020
RUN features.sh
2121
COPY --chown=1001:0 target/guide-sessions.war /config/apps
22-
COPY --chown=1001:0 target/liberty/wlp/usr/shared/resources/hazelcast-5.3.0.jar /opt/ol/wlp/usr/shared/resources
22+
COPY --chown=1001:0 target/liberty/wlp/usr/shared/resources/hazelcast-5.3.6.jar /opt/ol/wlp/usr/shared/resources
2323

2424
RUN configure.sh

start/kubernetes.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
image: cart-app:1.0-SNAPSHOT
1818
ports:
1919
- name: http
20-
containerPort: 9080
20+
containerPort: 9090
2121
- name: hazelcast
2222
containerPort: 5701
2323
---
@@ -31,6 +31,6 @@ spec:
3131
app: cart
3232
ports:
3333
- protocol: TCP
34-
port: 9080
35-
targetPort: 9080
34+
port: 9090
35+
targetPort: 9090
3636
nodePort: 31000

start/pom.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<maven.compiler.target>11</maven.compiler.target>
1414
<!-- Liberty configuration -->
1515
<hazelcast.path>${user.home}/.m2/repository/com/hazelcast/hazelcast/</hazelcast.path>
16-
<liberty.var.default.http.port>9080</liberty.var.default.http.port>
17-
<liberty.var.default.https.port>9443</liberty.var.default.https.port>
16+
<liberty.var.http.port>9090</liberty.var.http.port>
17+
<liberty.var.https.port>9453</liberty.var.https.port>
1818
<liberty.var.app.context.root>${project.artifactId}</liberty.var.app.context.root>
1919
</properties>
2020

@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>org.eclipse.microprofile</groupId>
3131
<artifactId>microprofile</artifactId>
32-
<version>6.0</version>
32+
<version>6.1</version>
3333
<type>pom</type>
3434
<scope>provided</scope>
3535
</dependency>
@@ -38,27 +38,27 @@
3838
<dependency>
3939
<groupId>com.hazelcast</groupId>
4040
<artifactId>hazelcast</artifactId>
41-
<version>5.3.0</version>
41+
<version>5.3.6</version>
4242
<scope>test</scope>
4343
</dependency>
4444

4545
<!-- For tests -->
4646
<dependency>
4747
<groupId>org.junit.jupiter</groupId>
4848
<artifactId>junit-jupiter</artifactId>
49-
<version>5.9.2</version>
49+
<version>5.10.1</version>
5050
<scope>test</scope>
5151
</dependency>
5252
<dependency>
5353
<groupId>org.jboss.resteasy</groupId>
5454
<artifactId>resteasy-client</artifactId>
55-
<version>6.2.3.Final</version>
55+
<version>6.2.7.Final</version>
5656
<scope>test</scope>
5757
</dependency>
5858
<dependency>
5959
<groupId>org.jboss.resteasy</groupId>
6060
<artifactId>resteasy-json-binding-provider</artifactId>
61-
<version>6.2.3.Final</version>
61+
<version>6.2.7.Final</version>
6262
<scope>test</scope>
6363
</dependency>
6464
<dependency>
@@ -83,7 +83,7 @@
8383
<plugin>
8484
<groupId>io.openliberty.tools</groupId>
8585
<artifactId>liberty-maven-plugin</artifactId>
86-
<version>3.8.2</version>
86+
<version>3.10</version>
8787
<configuration>
8888
<!-- Copy the hazelcast library -->
8989
<copyDependencies>
@@ -92,7 +92,7 @@
9292
<dependency>
9393
<groupId>com.hazelcast</groupId>
9494
<artifactId>hazelcast</artifactId>
95-
<version>5.3.0</version>
95+
<version>5.3.6</version>
9696
</dependency>
9797
</dependencyGroup>
9898
</copyDependencies>
@@ -103,17 +103,17 @@
103103
<plugin>
104104
<groupId>org.apache.maven.plugins</groupId>
105105
<artifactId>maven-surefire-plugin</artifactId>
106-
<version>3.0.0</version>
106+
<version>3.2.5</version>
107107
</plugin>
108108

109109
<!-- Plugin to run functional tests -->
110110
<plugin>
111111
<groupId>org.apache.maven.plugins</groupId>
112112
<artifactId>maven-failsafe-plugin</artifactId>
113-
<version>3.0.0</version>
113+
<version>3.2.5</version>
114114
<configuration>
115115
<systemPropertyVariables>
116-
<http.port>${liberty.var.default.http.port}</http.port>
116+
<http.port>${liberty.var.http.port}</http.port>
117117
</systemPropertyVariables>
118118
</configuration>
119119
</plugin>

0 commit comments

Comments
 (0)