Skip to content

Commit aad5972

Browse files
committed
On branch edburns-msft-aro-eap-howto
Your branch is up to date with 'origin/edburns-msft-aro-eap-howto'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: articles/openshift/howto-deploy-java-jboss-enterprise-application-platform-app.md modified: articles/openshift/includes/aro-quota.md no changes added to commit (use "git add" and/or "git commit -a") Signed-off-by: Ed Burns <[email protected]>
1 parent 4982a6d commit aad5972

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

articles/openshift/howto-deploy-java-jboss-enterprise-application-platform-app.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Follow the next steps to build and run the application locally.
174174
175175
1. Open `http://localhost:8080/` in your browser to visit the application home page. If you have created more instances, you can access them by shifting the port number, for example `http://localhost:9080/`. The application will look similar to the following image:
176176
177-
![ToDo EAP demo Application](./media/howto-deploy-java-enterprise-application-platform-app/todo-demo-application.png)
177+
:::image type="content" source="media/howto-deploy-java-enterprise-application-platform-app/todo-demo-application.png" alt-text="Screenshot of ToDo EAP demo Application.":::
178178
179179
1. Check the application health endpoints (live and ready). These endpoints will be used by OpenShift to verify when your pod is live and ready to receive user requests:
180180
@@ -300,15 +300,15 @@ Before deploying the application, let's create the expected Secret object that w
300300
301301
2. Open the OpenShift console and navigate to the developer view (in the **</> Developer** perspective in the left hand menu)
302302
303-
![OpenShift console developer view](./media/howto-deploy-java-enterprise-application-platform-app/console-developer-view.png)
303+
:::image type="content" source="media/howto-deploy-java-enterprise-application-platform-app/console-developer-view.png" alt-text="Screenshot of OpenShift console developer view.":::
304304
305305
3. Once you are in the **</> Developer** perspective, ensure you have selected the **eap-demo** project at the **Project** combo box.
306306
307-
![OpenShift console project combo box](./media/howto-deploy-java-enterprise-application-platform-app/console-project-combo-box.png)
307+
:::image type="content" source="media/howto-deploy-java-enterprise-application-platform-app/console-project-combo-box.png" alt-text="Screenshot of OpenShift console project combo box.":::
308308
309309
4. Go to **+Add**, then select **Helm Chart**. You will arrive at the Helm Chart catalog available on your ARO cluster. Write **eap** on the filter input box to filter all the Helm Charts and get the EAP ones. At this stage, you should see two options:
310310
311-
![OpenShift console EAP Helm Charts](./media/howto-deploy-java-enterprise-application-platform-app/console-eap-helm-charts.png)
311+
:::image type="content" source="media/howto-deploy-java-enterprise-application-platform-app/console-eap-helm-charts.png" alt-text="Screenshot of OpenShift console EAP Helm Charts.":::
312312
313313
5. Since our application uses MicroProfile capabilities, we are going to select select for this demo the Helm Chart for EAP XP (at the time of this writing, the exact version of the Helm Chart is **EAP Xp3 v1.0.0**). The `Xp3` stands for Expansion Pack version 3.0.0. With the JBoss Enterprise Application Platform expansion pack, developers can use Eclipse MicroProfile application programming interfaces (APIs) to build and deploy microservices-based applications.
314314
@@ -324,17 +324,17 @@ At this point, we need to configure the chart to be able to build and deploy the
324324
325325
1. Finally, select **Install** to start the application deployment. This will open the **Topology** view with a graphical representation of the Helm release (named **eap-todo-list-demo**) and its associated resources.
326326
327-
![OpenShift console topology](./media/howto-deploy-java-enterprise-application-platform-app/console-topology.png)
327+
:::image type="content" source="media/howto-deploy-java-enterprise-application-platform-app/console-topology.png" alt-text="Screenshot of OpenShift console topology.":::
328328
329329
The Helm Release (abbreviated **HR**) is named **eap-todo-list-demo**. It includes a Deployment resource (abbreviated **D**) also named **eap-todo-list-demo**.
330330
331331
1. When the build is finished (the bottom-left icon will display a green check) and the application is deployed (the circle outline is in dark blue), you can go to application the URL (using the top-right icon) from the route associated to the deployment.
332332
333-
![OpenShift console open application](./media/howto-deploy-java-enterprise-application-platform-app/console-open-application.png)
333+
:::image type="content" source="media/howto-deploy-java-enterprise-application-platform-app/console-open-application.png" alt-text="Screenshot of OpenShift console open application.":::
334334
335335
1. The application is opened in your browser looking similar to the following image ready to be used:
336336
337-
![OpenShift application running](./media/howto-deploy-java-enterprise-application-platform-app/application-running-openshift.png)
337+
:::image type="content" source="media/howto-deploy-java-enterprise-application-platform-app/application-running-openshift.png" alt-text="Screenshot of OpenShift application running.":::
338338
339339
1. The application shows you the name of the pod which has served the information. To verify the clustering capabilities, you could add some Todos. Then delete the pod with the name indicated in the **Server Host Name** field that appears on the application `(oc delete pod <pod name>)`, and once deleted, create a new Todo on the same application window. You will see that the new Todo is added via an Ajax request and the **Server Host Name** field now shows a different name. Behind the scenes, the new request has been dispatched by the OpenShift load balancer and delivered to an available pod. The Jakarta Faces view has been restored from the HTTP Session copy stored in the pod which is now processing the request. Indeed you will see that the **Session ID** field has not changed. If the session were not replicated across your pods, you would get a Jakarta Faces ViewExpiredException, and your application won't work as expected.
340340

articles/openshift/includes/aro-quota.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
author: edburns
33
ms.author: edburns
44
ms.date: 01/11/2022
5+
ms.service: azure-redhat-openshift
6+
ms.topic: article
57
---
68

79
> [!NOTE]

0 commit comments

Comments
 (0)