Skip to content

Commit d4cc286

Browse files
authored
Merge pull request #61308 from abrennan89/RHDEVDOCS-5391
RHDEVDOCS-5391: Add Operator prerequisites to JAR upload docs
2 parents a5ad361 + 3ad2f38 commit d4cc286

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed
Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,47 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * applications/creating_applications/odc-creating-applications-using-developer-perspective.adoc
4+
15
:_content-type: PROCEDURE
26
[id="odc-deploying-java-applications_{context}"]
3-
= Upload JAR files for easy deployment of Java applications
7+
= Deploying a Java application by uploading a JAR file
48

5-
You can use the JAR files in the *Topology* view of the *Developer* perspective to deploy your Java applications. You can upload a JAR file using the following options:
9+
You can use the web console *Developer* perspective to upload a JAR file by using the following options:
610

7-
* Navigate to the *+Add* view of the *Developer* perspective, and click *Upload JAR file* in the *From Local Machine* tile. Browse and select your JAR file, or drag and drop a JAR file to deploy your application.
11+
* Navigate to the *+Add* view of the *Developer* perspective, and click *Upload JAR file* in the *From Local Machine* tile. Browse and select your JAR file, or drag a JAR file to deploy your application.
812
9-
* Navigate to the *Topology* view and use the *Upload JAR file* option, or drag and drop a JAR file to deploy your application.
13+
* Navigate to the *Topology* view and use the *Upload JAR file* option, or drag a JAR file to deploy your application.
1014
1115
* Use the in-context menu in the *Topology* view, and then use the *Upload JAR file* option to upload your JAR file to deploy your application.
1216
13-
Use the following instructions to upload a JAR file in the *Topology* view to deploy a Java application:
17+
.Prerequisites
18+
19+
* The Cluster Samples Operator must be installed by a cluster administrator.
20+
* You have access to the {product-title} web console and are in the *Developer* perspective.
1421
1522
.Procedure
1623

17-
. In the *Topology* view, right-click anywhere in the *Topology* view to see the *Add to Project* menu.
24+
. In the *Topology* view, right-click anywhere to view the *Add to Project* menu.
1825

19-
. Hover over the *Add to Project* menu to see the menu options, and then select the *Upload JAR file* option to see the *Upload JAR file* form . Alternatively, you can drag and drop the JAR file in the *Topology* view.
26+
. Hover over the *Add to Project* menu to see the menu options, and then select the *Upload JAR file* option to see the *Upload JAR file* form. Alternatively, you can drag the JAR file into the *Topology* view.
2027

21-
. In the *JAR file* field, browse for the required JAR file on your local machine and upload it. Alternatively, you can drag and drop the JAR file on the field. A toast alert is displayed at the top right if an incompatible file type is dragged and dropped on the *Topology* view. A field error is displayed if an incompatible file type is dropped on the field in the upload form.
28+
. In the *JAR file* field, browse for the required JAR file on your local machine and upload it. Alternatively, you can drag the JAR file on to the field. A toast alert is displayed at the top right if an incompatible file type is dragged into the *Topology* view. A field error is displayed if an incompatible file type is dropped on the field in the upload form.
2229

23-
. You can further specify optional Java commands to customize your deployed application. The Runtime Icon and Builder Image is selected by default. If a Builder Image is not auto-detected, select a Builder Image. If required, you can change the version using the *Builder Image Version* drop-down list.
30+
. The runtime icon and builder image are selected by default. If a builder image is not auto-detected, select a builder image. If required, you can change the version using the *Builder Image Version* drop-down list.
2431

25-
. In the optional *Application Name* field, enter a unique name for your application for the resource labelling.
32+
. Optional: In the *Application Name* field, enter a unique name for your application to use for resource labelling.
2633

2734
. In the *Name* field, enter a unique component name for the associated resources.
2835

29-
. Optional: Using the *Resource type* drop-down list, select a different resource type from the list of default resource types.
36+
. Optional: Use the *Resource type* drop-down list to change the resource type.
3037

31-
. In the *Advanced options*, click *Create a Route to the Application* to configure a public URL for your deployed application.
38+
. In the *Advanced options* menu, click *Create a Route to the Application* to configure a public URL for your deployed application.
3239

33-
. Click *Create* to deploy the application. The user sees a toast notification notifying that the JAR file is being uploaded and takes a while. The toast notification also includes a link to view the build logs.
40+
. Click *Create* to deploy the application. A toast notification is shown to notify you that the JAR file is being uploaded. The toast notification also includes a link to view the build logs.
3441

35-
+
3642
[NOTE]
3743
====
38-
If the user attempts to close the browser tab while the build is running, a web alert would be displayed asking the user if they actually want to leave the page.
44+
If you attempt to close the browser tab while the build is running, a web alert is displayed.
3945
====
4046

41-
After the JAR file is uploaded and the application is deployed, you can see the deployment in the *Topology* view.
47+
After the JAR file is uploaded and the application is deployed, you can view the application in the *Topology* view.

0 commit comments

Comments
 (0)