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
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -969,7 +969,7 @@ Count how many deployments are directly related to a cluster:
969
969
"target": "deployment",
970
970
"pathFilter": [
971
971
{
972
-
"path": ["deployment_rel"]
972
+
"path": ["deployments_rel"]
973
973
}
974
974
],
975
975
"calculationSpec": {
@@ -981,7 +981,7 @@ Count how many deployments are directly related to a cluster:
981
981
}
982
982
```
983
983
984
-
The `pathFilter` with `"path": ["deployment_rel"]` counts deployments that are directly related to the cluster through the `deployment_rel` relation.
984
+
The `pathFilter` with `"path": ["deployments_rel"]` counts deployments that are directly related to the cluster through the `deployments_rel` relation.
985
985
986
986
<h4>Example 2: Using fromBlueprint</h4>
987
987
@@ -997,8 +997,8 @@ Count how many clusters are related to a deployment:
997
997
"target": "cluster",
998
998
"pathFilter": [
999
999
{
1000
-
"path": ["deployment_rel"],
1001
-
"fromBlueprint": "deployment"
1000
+
"path": ["deployments_rel"],
1001
+
"fromBlueprint": "cluster"
1002
1002
}
1003
1003
],
1004
1004
"calculationSpec": {
@@ -1010,7 +1010,7 @@ Count how many clusters are related to a deployment:
1010
1010
}
1011
1011
```
1012
1012
1013
-
The `fromBlueprint: "deployment"` specifies that the path traversal should start from the deployment blueprint (the target), then follow the path backwards through `deployment_rel` to cluster.
1013
+
The `fromBlueprint: "cluster"` specifies that the path traversal should start from the cluster blueprint (the target), then follow the path backwards through `deployments_rel` to deployment.
The `from_blueprint = "deployment"` specifies that the path traversal should start from the deployment blueprint (the target), then follow the path backwards through `deployment_rel` to cluster.
1094
+
The `from_blueprint = "cluster"` specifies that the path traversal should start from the cluster blueprint (the target), then follow the path backwards through `deployments_rel` to deployment.
0 commit comments