Skip to content

Commit 595a140

Browse files
Merge pull request #276631 from m-reza-rahman/patch-5
Fix/disambiguate article titles
2 parents 85a5927 + 9a85ab0 commit 595a140

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/openshift/howto-deploy-java-liberty-app.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
title: "IBM WebSphere Liberty and Open Liberty on Azure Red Hat OpenShift"
2+
title: "WebSphere Liberty and Open Liberty on Azure Red Hat OpenShift"
33
description: Shows you how to quickly stand up IBM WebSphere Liberty and Open Liberty on Azure Red Hat OpenShift.
44
author: KarlErickson
55
ms.author: haiche
66
ms.topic: how-to
7-
ms.date: 04/04/2024
7+
ms.date: 05/29/2024
88
ms.custom: template-overview, devx-track-java, devx-track-javaee, devx-track-javaee-liberty, devx-track-javaee-liberty-aro, devx-track-javaee-websphere, devx-track-extended-java
99
---
1010

11-
# Deploy IBM WebSphere Liberty and Open Liberty on Azure Red Hat OpenShift
11+
# Deploy WebSphere Liberty and Open Liberty on Azure Red Hat OpenShift
1212

1313
This article shows you how to quickly stand up IBM WebSphere Liberty and Open Liberty on Azure Red Hat OpenShift (ARO) using the Azure portal.
1414

@@ -27,7 +27,7 @@ This article is intended to help you quickly get to deployment. Before going to
2727
* Sign in to the Azure CLI by using the [az login](/cli/azure/reference-index#az-login) command. To finish the authentication process, follow the steps displayed in your terminal. For other sign-in options, see [Sign in with the Azure CLI](/cli/azure/authenticate-azure-cli).
2828
* When you're prompted, install the Azure CLI extension on first use. For more information about extensions, see [Use extensions with the Azure CLI](/cli/azure/azure-cli-extensions-overview).
2929
* Run [az version](/cli/azure/reference-index?#az-version) to find the version and dependent libraries that are installed. To upgrade to the latest version, run [az upgrade](/cli/azure/reference-index?#az-upgrade). This article requires at least version 2.31.0 of Azure CLI.
30-
- A Java SE implementation, version 17 or later (for example, [Eclipse Open J9](https://www.eclipse.org/openj9/)).
30+
- A Java Standard Edition (SE) implementation, version 17 or later (for example, [Eclipse Open J9](https://www.eclipse.org/openj9/)).
3131
- [Maven](https://maven.apache.org/download.cgi) version 3.5.0 or higher.
3232
- [Docker](https://docs.docker.com/get-docker/) for your OS.
3333
- The Azure identity you use to sign in has either the [Contributor](/azure/role-based-access-control/built-in-roles#contributor) role and the [User Access Administrator](/azure/role-based-access-control/built-in-roles#user-access-administrator) role or the [Owner](/azure/role-based-access-control/built-in-roles#owner) role in the current subscription. For an overview of Azure roles, see [What is Azure role-based access control (Azure RBAC)?](/azure/role-based-access-control/overview)
@@ -45,7 +45,7 @@ Use your Red Hat account to sign in to the OpenShift cluster manager portal, by
4545

4646
:::image type="content" source="media/howto-deploy-java-liberty-app/red-hat-account-complete-profile.png" alt-text="Screenshot of Red Hat Update Your Account page." lightbox="media/howto-deploy-java-liberty-app/red-hat-account-complete-profile.png":::
4747

48-
After you sign in, select **OpenShift** then **Downloads**. Select the **All categories** dropdown list and then select **Tokens**. Under **Pull secret**, select **Copy** or **Download** to get the value, as shown in the following screenshot.
48+
After you sign in, select **OpenShift**, then **Downloads**. Select the **All categories** dropdown list and then select **Tokens**. Under **Pull secret**, select **Copy** or **Download**, as shown in the following screenshot.
4949

5050
:::image type="content" source="media/howto-deploy-java-liberty-app/red-hat-console-portal-pull-secret.png" alt-text="Screenshot of Red Hat console portal showing the pull secret." lightbox="media/howto-deploy-java-liberty-app/red-hat-console-portal-pull-secret.png":::
5151

@@ -93,7 +93,7 @@ The steps in this section direct you to deploy IBM WebSphere Liberty or Open Lib
9393

9494
The following steps show you how to find the offer and fill out the **Basics** pane.
9595

96-
1. In the search bar at the top of the Azure portal, enter *Liberty*. In the auto-suggested search results, in the **Marketplace** section, select **IBM Liberty on ARO**, as shown in the following screenshot.
96+
1. In the search bar at the top of the Azure portal, enter *Liberty*. In the autosuggested search results, in the **Marketplace** section, select **IBM Liberty on ARO**, as shown in the following screenshot.
9797

9898
:::image type="content" source="media/howto-deploy-java-liberty-app/marketplace-search-results.png" alt-text="Screenshot of Azure portal showing IBM WebSphere Liberty and Open Liberty on Azure Red Hat OpenShift in search results." lightbox="media/howto-deploy-java-liberty-app/marketplace-search-results.png":::
9999

@@ -260,11 +260,11 @@ mssql
260260

261261
The directories *java*, *resources*, and *webapp* contain the source code of the sample application. The code declares and uses a data source named `jdbc/JavaEECafeDB`.
262262

263-
In the *aro* directory, there are three deployment files. *db-secret.xml* is used to create [Kubernetes Secrets](https://kubernetes.io/docs/concepts/configuration/secret/) with DB connection credentials. The file *webspherelibertyapplication.yaml* is used in this quickstart to deploy the WebSphere Liberty Application. Use the file *openlibertyapplication.yaml* to deploy the Open Liberty Application if you deployed Open Liberty Operator in section [Deploy IBM WebSphere Liberty or Open Liberty on Azure Red Hat OpenShift](#deploy-ibm-websphere-liberty-or-open-liberty-on-azure-red-hat-openshift).
263+
In the *aro* directory, there are three deployment files. *db-secret.xml* is used to create [Kubernetes Secrets](https://kubernetes.io/docs/concepts/configuration/secret/) with database connection credentials. The file *webspherelibertyapplication.yaml* is used in this quickstart to deploy the WebSphere Liberty Application. Use the file *openlibertyapplication.yaml* to deploy the Open Liberty Application if you deployed Open Liberty Operator in section [Deploy IBM WebSphere Liberty or Open Liberty on Azure Red Hat OpenShift](#deploy-ibm-websphere-liberty-or-open-liberty-on-azure-red-hat-openshift).
264264

265265
In the *docker* directory, there are two files to create the application image with either Open Liberty or WebSphere Liberty. These files are *Dockerfile* and *Dockerfile-ol*, respectively. You use the file *Dockerfile* to build the application image with WebSphere Liberty in this quickstart. Similarly, use the file *Dockerfile-ol* to build the application image with Open Liberty if you deployed Open Liberty Operator in section [Deploy IBM WebSphere Liberty or Open Liberty on Azure Red Hat OpenShift](#deploy-ibm-websphere-liberty-or-open-liberty-on-azure-red-hat-openshift).
266266

267-
In directory *liberty/config*, the *server.xml* file is used to configure the DB connection for the Open Liberty and WebSphere Liberty cluster.
267+
In directory *liberty/config*, the *server.xml* file is used to configure the database connection for the Open Liberty and WebSphere Liberty cluster.
268268

269269
### Build the project
270270

@@ -299,7 +299,7 @@ You can now run and test the project locally before deploying to Azure by using
299299

300300
Next, use the following steps to containerize your project using Docker and run it as a container locally before deploying to Azure:
301301

302-
1. Run the `docker build` command to build the image.
302+
1. Use the following commands to build the image:
303303

304304
```bash
305305
cd ${BASE_DIR}/3-integration/connect-db/mssql/target
@@ -359,7 +359,7 @@ When you're satisfied with the state of the application, you build the image rem
359359

360360
Use the following steps to deploy and test the application:
361361

362-
1. Use the following command to apply the DB secret:
362+
1. Use the following command to apply the database secret:
363363

364364
```bash
365365
cd ${BASE_DIR}/3-integration/connect-db/mssql/target
@@ -397,7 +397,7 @@ Use the following steps to deploy and test the application:
397397
echo "route host: https://$(oc get route javaee-cafe --template='{{ .spec.host }}')"
398398
```
399399

400-
1. Copy the value of `route host` from the output, then open it in your browser to test the application. If the web page doesn't render correctly, that's because the app is still starting in the background. Wait for a few minutes and then try again.
400+
1. Copy the value of `route host` from the output, open it in your browser, and test the application. If the web page doesn't render correctly, that's because the app is still starting in the background. Wait for a few minutes and then try again.
401401

402402
1. Add and delete a few coffees to verify the functionality of the app and the database connection.
403403

0 commit comments

Comments
 (0)