Skip to content

Commit 07e5591

Browse files
authored
Merge pull request #55734 from shreyasiddhartha/RHDEVDOCS-4826
RHDEVDOCS-4826-Topology support for Service Binding Label Selector Implementation
2 parents a9cd029 + 21345d5 commit 07e5591

6 files changed

+58
-4
lines changed

applications/connecting_applications_to_services/odc-connecting-an-application-to-a-service-using-the-developer-perspective.adoc

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,27 @@ include::_attributes/servicebinding-document-attributes.adoc[]
88
toc::[]
99

1010
[role="_abstract"]
11-
In addition to grouping multiple components within an application, you can also use the *Topology* view to connect components with each other. You can either use a binding connector or a visual one to connect components.
1211

13-
A binding connection between the components can be established only if the target node is an Operator-backed service. This is indicated by the *Create a binding connector* tool-tip which appears when you drag an arrow to such a target node. When an application is connected to a service by using a binding connector a `ServiceBinding` resource is created. Then, the Service Binding Operator controller projects the necessary binding data into the application deployment. After the request is successful, the application is redeployed establishing an interaction between the connected components.
12+
Use the *Topology* view for the following purposes:
13+
14+
** Group multiple components within an application.
15+
16+
** Connect components with each other.
17+
18+
** Connect multiple resources to services with labels.
19+
20+
You can either use a binding or a visual connector to connect components.
21+
22+
23+
A binding connection between the components can be established only if the target node is an Operator-backed service. This is indicated by the *Create a binding connector* tool-tip which appears when you drag an arrow to such a target node. When an application is connected to a service by using a binding connector a `ServiceBinding` resource is created. Then, the {servicebinding-title} controller projects the necessary binding data into the application deployment. After the request is successful, the application is redeployed establishing an interaction between the connected components.
1424

1525
A visual connector establishes only a visual connection between the components, depicting an intent to connect. No interaction between the components is established. If the target node is not an Operator-backed service the *Create a visual connector* tool-tip is displayed when you drag an arrow to a target node.
1626

1727
include::modules/odc-discovering-and-identifying-operator-backed-bindable-services.adoc[leveloffset=+1]
1828
include::modules/odc-creating-a-visual-connection-between-components.adoc[leveloffset=+1]
1929
include::modules/odc-creating-a-binding-connection-between-components.adoc[leveloffset=+1]
2030
include::modules/odc-verifying-the-status-of-your-service-binding-from-the-topology-view.adoc[leveloffset=+1]
31+
include::modules/odc-visualizing-the-binding-connections-to-resources.adoc[leveloffset=+1]
2132

2233
[role="_additional-resources"]
2334
[id="additional-resources-odc-connecting-an-application-to-a-service-using-the-developer-perspective"]

images/odc-delete-service-binding.png

28.9 KB
Loading
70.4 KB
Loading
126 KB
Loading
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * applications/connecting_applications_to_services/odc-connecting-an-application-to-a-service-using-the-developer-perspective.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="odc-visualizing-the-binding-connections-to-resources_{context}"]
7+
= Visualizing the binding connections to resources
8+
9+
As a user, use *Label Selector* in the *Topology* view to visualize a service binding and simplify the process of binding applications to backing services. When creating `ServiceBinding` resources, specify labels by using *Label Selector* to find and connect applications instead of using the name of the application. The Service Binding Operator then consumes these `ServiceBinding` resources and specified labels to find the applications to create a service binding with.
10+
11+
12+
[TIP]
13+
====
14+
To navigate to a list of all connected resources, click the label selector associated with the `ServiceBinding` resource.
15+
====
16+
17+
To view the *Label Selector*, consider the following approaches:
18+
19+
** After you import a `ServiceBinding` resource, view the *Label Selector* associated with the service binding on the *ServiceBinding details* page.
20+
21+
+
22+
.ServiceBinding details page
23+
image::odc-label-selector-sb-details.png[]
24+
25+
[NOTE]
26+
====
27+
To use *Label Selector* and to create one or more connections at once, you must import the YAML file of the `ServiceBinding` resource.
28+
====
29+
30+
** After the connection is established and when you click the binding connector, the service binding connector *Details* side panel appears. You can view the *Label Selector* associated with the service binding on this panel.
31+
32+
+
33+
.Topology label selector side panel
34+
image::odc-label-selector-topology-side-panel.png[]
35+
36+
+
37+
[NOTE]
38+
====
39+
When you delete a binding connector (a single connection within *Topology* along with a service binding), the action removes all connections that are tied to the deleted service binding. While deleting a binding connector, a confirmation dialog appears, which informs that all connectors will be deleted.
40+
41+
.Delete ServiceBinding confirmation dialog
42+
image::odc-delete-service-binding.png[]
43+
44+
====

modules/odc_customizing-a-developer-catalog-or-its-sub-catalogs-using-the-form-view.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// * web_console/customizing-the-web-console.adoc
44

55
:_content-type: PROCEDURE
6-
76
[id="odc_customizing-a-developer-catalog-or-its-sub-catalogs-using-the-form-view_{context}"]
87
= Customizing a developer catalog or its sub-catalogs using the form view
98

@@ -28,7 +27,7 @@ image::odc_customizing_developer_catalog.png[]
2827

2928
[NOTE]
3029
====
31-
As an administrator, you can define the navigation items that appeaer by default for all users. You can also reorder the navigation items.
30+
As an administrator, you can define the navigation items that appear by default for all users. You can also reorder the navigation items.
3231
====
3332

3433
[TIP]

0 commit comments

Comments
 (0)