Skip to content

Commit 9c6a78b

Browse files
authored
Merge pull request #29275 from rishumehra/devcatalog
[RHDEVDOCS-2332] - Documentation of using the Developer Catalog
2 parents 75418cf + 73eb34d commit 9c6a78b

File tree

6 files changed

+33
-16
lines changed

6 files changed

+33
-16
lines changed

applications/application_life_cycle_management/odc-creating-applications-using-developer-perspective.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ To create serverless applications, in addition to the preceding prerequisites, e
3737
endif::[]
3838

3939
include::modules/odc-importing-codebase-from-git-to-create-application.adoc[leveloffset=+1]
40+
41+
include::modules/odc-using-the-developer-catalog-to-add-services-or-components.adoc[leveloffset=+1]

images/odc_app_grouping_label.png

16 KB
Loading

images/odc_devcatalog_mariadb.png

122 KB
Loading

images/odc_devcatalog_toplogy.png

72.7 KB
Loading

modules/odc-grouping-multiple-components.adoc

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
[id="odc-grouping-multiple-components_{context}"]
66
= Grouping multiple components within an application
77

8-
You can use the *Add* page to add multiple components or services to your project and use the *Topology* page to group applications and resources within an application group.
9-
The following procedure adds a MongoDB database service to an existing application with a Node.js component.
8+
You can use the *+Add* view to add multiple components or services to your project and use the *Topology* view to group applications and resources within an application group.
9+
The following procedure adds a MariaDB database service to an existing application with a Node.js component.
1010

1111

1212
.Prerequisites
@@ -15,23 +15,16 @@ The following procedure adds a MongoDB database service to an existing applicati
1515

1616
.Procedure
1717

18-
. Create and deploy the MongoDB service to your project as follows:
19-
.. In the *Developer* perspective, navigate to the *Add* view and select the *Database* option to see the *Developer Catalog*, which has multiple options that you can add as components or services to your application.
20-
.. Click on the *MongoDB* option to see the details for the service.
21-
.. Click *Instantiate Template* to see an automatically populated template with details for the MongoDB service, and click *Create* to create the service.
18+
. Create and deploy the MariaDB service to your project:
19+
.. In the *Developer* perspective, navigate to the *+Add* view and select the *From Catalog* option to view all available services in the *Developer Catalog*.
20+
.. Select *Databases* to list all the database services and then click *MariaDB* option to see the details for the service.
21+
.. Click *Instantiate Template* to see an automatically populated template with details for the MariaDB service, and then click *Create* to create and view the MariaDB service in the *Topology* view.
2222

23-
. On the left navigation panel, click *Topology* to see the MongoDB service deployed in your project.
24-
. To add the MongoDB service to the existing application group, select the *mongodb* pod and drag it to the application; the MongoDB service is added to the existing application group.
25-
. Dragging a component and adding it to an application group automatically adds the required labels to the component. Click on the MongoDB service node to see the label `app.kubernetes.io/part-of=myapp` added to the *Labels* section in the *Overview* Panel.
23+
. To add the MariaDB service to the existing application group, press kbd:[Shift]+ drag the *mariadb* pod to the application group that contains the Node.Js component. The MariaDB service is added to the existing application group.
24+
25+
. Click the MariaDB service node and confirm that the `app.kubernetes.io/part-of=<application-name>` label is in the *Labels* section in the *Overview* Panel. Adding a component to an application group automatically adds the required labels to the component.
2626
+
2727
.Application grouping
2828
image::odc_app_grouping_label.png[]
2929

30-
Alternatively, you can also add the component to an application as follows:
31-
32-
. To add the MongoDB service to your application, click on the *mongodb* pod to see the *Overview* panel to the right.
33-
. Click the *Actions* drop-down menu on the upper right of the panel and select *Edit Application Grouping*.
34-
. In the *Edit Application Grouping* dialog box, click the *Select an Application* drop-down list, and select the appropriate application group.
35-
. Click *Save* to see the MongoDB service added to the application group.
36-
3730
You can remove a component from an application group by selecting the component and using kbd:[Shift]+ drag to drag it out of the application group.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Module included in the following assemblies:
2+
//
3+
// applications/application_life_cycle_management/odc-creating-applications-using-developer-perspective.adoc
4+
5+
[id="odc-using-the-developer-catalog-to-add-services-or-components_{context}"]
6+
= Using the Developer Catalog to add services or components to your application
7+
8+
You use the Developer Catalog to deploy applications and services based on Operator backed services such as Databases, Builder Images, and Helm Charts. The Developer Catalog contains a collection of application components, services, event sources, or source-to-image builders that you can add to your project. Cluster administrators can customize the content made available in the catalog.
9+
10+
.Procedure
11+
12+
. In the *Developer* perspective, navigate to the *+Add* -> *From Catalog* to view all the available services in the *Developer Catalog*.
13+
. Under *All Items*, select the kind of service or the component you need to add to your project. For this example, select *Databases* to list all the database services and then click *MariaDB* to see the details for the service.
14+
+
15+
.Developer Catalog
16+
image::odc_devcatalog_mariadb.png[]
17+
+
18+
. Click *Instantiate Template* to see an automatically populated template with details for the *MariaDB* service, and then click *Create* to create and view the MariaDB service in the *Topology* view.
19+
+
20+
.MariaDB in Topology
21+
image::odc_devcatalog_toplogy.png[]
22+
+

0 commit comments

Comments
 (0)