You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build-your-software-catalog/customize-integrations/configure-data-model/setup-blueprint/properties/aggregation-property.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -913,15 +913,15 @@ When a `pathFilter` is defined, Port will include only entities that can be reac
913
913
-**Backwards path ←**
914
914
Following relations backwards, from the target of a relation to its source (e.g., from a service back to its repository).
|`pathFilter.path`| An array containing the full path of relation identifiers to traverse. |
921
921
|`pathFilter.fromBlueprint`|*(Optional)* The blueprint to start the path traversal from. Can be the target blueprint or omitted. If omitted, traversal starts from the source blueprint. |
922
922
923
923
924
-
<h4> For forwards paths </h4>
924
+
**For forwards paths**
925
925
926
926
```json showLineNumbers
927
927
{
@@ -933,7 +933,7 @@ When a `pathFilter` is defined, Port will include only entities that can be reac
933
933
}
934
934
```
935
935
936
-
<h4> For backwards paths </h4>
936
+
**For backwards paths**
937
937
938
938
```json showLineNumbers
939
939
{
@@ -946,8 +946,7 @@ When a `pathFilter` is defined, Port will include only entities that can be reac
946
946
}
947
947
```
948
948
949
-
950
-
<h4> Examples </h4>
949
+
#### Examples
951
950
952
951
Suppose you have the following data model:
953
952
@@ -962,7 +961,7 @@ Suppose you have the following data model:
962
961
963
962
<TabItemvalue="api">
964
963
965
-
<h4>Example 1: Standard Path Filter - forwards path</h4>
964
+
**Example 1: Standard Path Filter - forwards path**
966
965
967
966
Count how many deployments are directly related to a cluster:
968
967
@@ -990,7 +989,7 @@ Count how many deployments are directly related to a cluster:
990
989
991
990
The `pathFilter` with `"path": ["deployments_relation"]` counts deployments that are directly related to the cluster through the `deployments_relation` relation.
992
991
993
-
<h4>Example 2: Using fromBlueprint - backwards path</h4>
992
+
**Example 2: Using fromBlueprint - backwards path**
994
993
995
994
Count how many clusters are related to a deployment:
996
995
@@ -1023,7 +1022,7 @@ The `fromBlueprint: "cluster"` specifies that the path traversal should start fr
1023
1022
1024
1023
<TabItemvalue="tf">
1025
1024
1026
-
<h4>Example 1: Standard Path Filter - forwards path</h4>
1025
+
**Example 1: Standard Path Filter - forwards path**
1027
1026
1028
1027
Count how many deployments are directly related to a cluster:
0 commit comments