Skip to content

Commit 9f63338

Browse files
authored
Merge pull request #136 from OpenLiberty/staging
Merge staging to prod - Use versionless feature and MP7
2 parents 56d9c8a + 584ca78 commit 9f63338

File tree

10 files changed

+36
-37
lines changed

10 files changed

+36
-37
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
canSkip: ${{ steps.Checker.outputs.canSkip }}
1313
steps:
1414
- name: Get files
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v4
1616
- name: Get tools
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
with:
1919
path: tools/
2020
repository: openliberty/guides-common
@@ -45,10 +45,11 @@ jobs:
4545
run:
4646
working-directory: finish
4747
steps:
48-
- uses: actions/checkout@v2
48+
- uses: actions/checkout@v4
4949
- name: Set up JDK 11
50-
uses: actions/setup-java@v1
50+
uses: actions/setup-java@v4
5151
with:
52+
distribution: 'semeru'
5253
java-version: 11
5354
- run: unset _JAVA_OPTIONS
5455
- name: Run tests

README.adoc

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2022, 2023 IBM Corporation and others.
1+
// Copyright (c) 2022, 2025 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/
@@ -11,7 +11,7 @@
1111
:page-duration: 30 minutes
1212
:page-releasedate: 2022-04-05
1313
:page-description: Explore how to deploy a microservice to Red Hat OpenShift 4 using the Open Liberty Operator.
14-
:page-tags: ['Kubernetes', 'Docker', 'Cloud']
14+
:page-tags: ['kubernetes', 'docker', 'cloud']
1515
:page-permalink: /guides/{projectid}
1616
:page-related-guides: ['cloud-openshift', 'cloud-openshift-operator', 'okd']
1717
:common-includes: https://raw.githubusercontent.com/OpenLiberty/guides-common/prod
@@ -59,9 +59,9 @@ Look for output similar to the following example:
5959

6060
[role='no_copy']
6161
```
62-
Client Version: 4.3.13
63-
Server Version: 4.3.13
64-
Kubernetes Version: v1.16.2
62+
Client Version: 4.17.9
63+
Server Version: 4.17.9
64+
Kubernetes Version: v1.30.6
6565
```
6666

6767
Before you install any resources, you need to create a project on your OpenShift cluster. Create a project named `guide` by running the following command:
@@ -143,12 +143,6 @@ The `openlibertyapplications` CRD defines a set of configurations for deploying
143143
// Static guide instruction
144144
ifndef::cloud-hosted[]
145145
You can also confirm the installation of the operator from the web console. Navigate to the OperatorHub. You can filter the list of categories to see only installed operators.
146-
147-
== Adding a private Docker credential
148-
149-
Docker limits container image pull requests for free DockerHub subscriptions. For more information, see link:https://www.docker.com/increase-rate-limits[Understanding Docker Hub Rate Limiting]. If you have a Docker account with a Pro or Team subscription, you can add a private credential to avoid any errors as a result of the limits.
150-
151-
To add a private credential, navigate to the OpenShift web console and select *Workloads > Secrets* from the sidebar menu. Ensure that the selected project is `openshift-config`. Search for `pull-secret` and click the *three vertical dots* menu. Then select *Edit Secret* > *Add credentials*. Enter `docker.io` to the *Registry Server Address* field, your Docker user ID to the *Username* field, and your Docker password to the *Password* field. Click the *Save* button to save the credential.
152146
endif::[]
153147

154148
== Deploying the system microservice to OpenShift

finish/system/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<dependency>
3535
<groupId>org.eclipse.microprofile</groupId>
3636
<artifactId>microprofile</artifactId>
37-
<version>6.1</version>
37+
<version>7.0</version>
3838
<type>pom</type>
3939
<scope>provided</scope>
4040
</dependency>

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
<server description="Sample Liberty server">
22

33
<featureManager>
4-
<feature>restfulWS-3.1</feature>
5-
<feature>jsonb-3.0</feature>
6-
<feature>cdi-4.0</feature>
7-
<feature>jsonp-2.1</feature>
8-
<feature>mpHealth-4.0</feature>
4+
<platform>jakartaee-10.0</platform>
5+
<platform>microprofile-7.0</platform>
6+
<feature>restfulWS</feature>
7+
<feature>jsonb</feature>
8+
<feature>cdi</feature>
9+
<feature>jsonp</feature>
10+
<feature>mpHealth</feature>
911
<feature>ssl-1.0</feature>
1012
</featureManager>
1113

14.7 KB
Binary file not shown.

finish/system/src/main/webapp/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ <h2>Eclipse MicroProfile</h2>
3030
<p>
3131
For more information about the features used in this application, see the Open Liberty documentation:
3232
<ul>
33-
<li><a href="https://openliberty.io/docs/ref/feature/#microProfile-6.1.html" target="_blank" rel="noopener noreferrer">MicroProfile 6.1</a></li>
34-
<li><a href="https://openliberty.io/docs/ref/feature/#restfulWS-3.1.html" target="_blank" rel="noopener noreferrer">Jakarta RESTful Web Services 3.1</a></li>
35-
<li><a href="https://openliberty.io/docs/ref/feature/#cdi-4.0.html" target="_blank" rel="noopener noreferrer">Jakarta Contexts and Dependency Injection 4.0</a></li>
36-
<li><a href="https://openliberty.io/docs/ref/feature/#jsonp-2.1.html" target="_blank" rel="noopener noreferrer">Jakarta JSON Processing 2.1</a></li>
37-
<li><a href="https://openliberty.io/docs/ref/feature/#jsonb-3.0.html" target="_blank" rel="noopener noreferrer">Jakarta JSON Binding 3.0</a></li>
33+
<li><a href="https://openliberty.io/docs/ref/feature/#microProfile.html" target="_blank" rel="noopener noreferrer">MicroProfile</a></li>
34+
<li><a href="https://openliberty.io/docs/ref/feature/#restfulWS.html" target="_blank" rel="noopener noreferrer">Jakarta RESTful Web Services</a></li>
35+
<li><a href="https://openliberty.io/docs/ref/feature/#cdi.html" target="_blank" rel="noopener noreferrer">Jakarta Contexts and Dependency Injection</a></li>
36+
<li><a href="https://openliberty.io/docs/ref/feature/#jsonp.html" target="_blank" rel="noopener noreferrer">Jakarta JSON Processing</a></li>
37+
<li><a href="https://openliberty.io/docs/ref/feature/#jsonb.html" target="_blank" rel="noopener noreferrer">Jakarta JSON Binding</a></li>
3838
<li><a href="https://openliberty.io/docs/ref/feature/#ssl-1.0.html" target="_blank" rel="noopener noreferrer">Secure Socket Layer 1.0</a></li>
3939
</ul>
4040
</p>

start/system/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<dependency>
3535
<groupId>org.eclipse.microprofile</groupId>
3636
<artifactId>microprofile</artifactId>
37-
<version>6.1</version>
37+
<version>7.0</version>
3838
<type>pom</type>
3939
<scope>provided</scope>
4040
</dependency>

start/system/src/main/liberty/config/server.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
<server description="Sample Liberty server">
22

33
<featureManager>
4-
<feature>restfulWS-3.1</feature>
5-
<feature>jsonb-3.0</feature>
6-
<feature>cdi-4.0</feature>
7-
<feature>jsonp-2.1</feature>
8-
<feature>mpHealth-4.0</feature>
4+
<platform>jakartaee-10.0</platform>
5+
<platform>microprofile-7.0</platform>
6+
<feature>restfulWS</feature>
7+
<feature>jsonb</feature>
8+
<feature>cdi</feature>
9+
<feature>jsonp</feature>
10+
<feature>mpHealth</feature>
911
<feature>ssl-1.0</feature>
1012
</featureManager>
1113

14.7 KB
Binary file not shown.

start/system/src/main/webapp/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ <h2>Eclipse MicroProfile</h2>
3030
<p>
3131
For more information about the features used in this application, see the Open Liberty documentation:
3232
<ul>
33-
<li><a href="https://openliberty.io/docs/ref/feature/#microProfile-6.1.html" target="_blank" rel="noopener noreferrer">MicroProfile 6.1</a></li>
34-
<li><a href="https://openliberty.io/docs/ref/feature/#restfulWS-3.1.html" target="_blank" rel="noopener noreferrer">Jakarta RESTful Web Services 3.1</a></li>
35-
<li><a href="https://openliberty.io/docs/ref/feature/#cdi-4.0.html" target="_blank" rel="noopener noreferrer">Jakarta Contexts and Dependency Injection 4.0</a></li>
36-
<li><a href="https://openliberty.io/docs/ref/feature/#jsonp-2.1.html" target="_blank" rel="noopener noreferrer">Jakarta JSON Processing 2.1</a></li>
37-
<li><a href="https://openliberty.io/docs/ref/feature/#jsonb-3.0.html" target="_blank" rel="noopener noreferrer">Jakarta JSON Binding 3.0</a></li>
33+
<li><a href="https://openliberty.io/docs/ref/feature/#microProfile.html" target="_blank" rel="noopener noreferrer">MicroProfile</a></li>
34+
<li><a href="https://openliberty.io/docs/ref/feature/#restfulWS.html" target="_blank" rel="noopener noreferrer">Jakarta RESTful Web Services</a></li>
35+
<li><a href="https://openliberty.io/docs/ref/feature/#cdi.html" target="_blank" rel="noopener noreferrer">Jakarta Contexts and Dependency Injection</a></li>
36+
<li><a href="https://openliberty.io/docs/ref/feature/#jsonp.html" target="_blank" rel="noopener noreferrer">Jakarta JSON Processing</a></li>
37+
<li><a href="https://openliberty.io/docs/ref/feature/#jsonb.html" target="_blank" rel="noopener noreferrer">Jakarta JSON Binding</a></li>
3838
<li><a href="https://openliberty.io/docs/ref/feature/#ssl-1.0.html" target="_blank" rel="noopener noreferrer">Secure Socket Layer 1.0</a></li>
3939
</ul>
4040
</p>

0 commit comments

Comments
 (0)