Skip to content

Commit

Permalink
differentiating the id values to explain relationships better
Browse files Browse the repository at this point in the history
Signed-off-by: Joydeep Banerjee <[email protected]>
  • Loading branch information
bjoydeep committed Sep 20, 2024
1 parent 8b426fe commit f8729bb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/content/docs/start-here/kafka-event.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,12 @@ Example:
"type": "redhat.inventory.resources.k8s-policy.created",
"source" : "inventory-api-uri",
"id" : "Z789-6789-67891",
"subject": "/resources/k8s-policy/A234-1234-1234",
"subject": "/resources/k8s-policy/B234-1234-1234",
"time" : "2018-04-05T17:31:00Z",
"datacontenttype" : "application/json",
"data" : {
"metadata": {
"id": "A234-1234-1234",
"id": "B234-1234-1234",
"resource_type": "k8s-policy",
"last_reported": "2018-04-05T17:31:00Z",
"workspace": "workspace name",
Expand Down Expand Up @@ -325,12 +325,12 @@ Example:
"type": "redhat.inventory.resources.k8s-policy.updated",
"source" : "inventory-api-uri",
"id" : "Z789-6789-67892",
"subject": "/resources/k8s-policy/A234-1234-1234",
"subject": "/resources/k8s-policy/B234-1234-1234",
"time" : "2018-04-05T17:31:00Z",
"datacontenttype" : "application/json",
"data" :{
"metadata": {
"id": "A234-1234-1234",
"id": "B234-1234-1234",
"resource_type": "k8s-policy",
"last_reported": "2018-04-05T17:31:00Z",
"workspace": "workspace name",
Expand Down Expand Up @@ -365,12 +365,12 @@ Example:
"type": "redhat.inventory.resources.k8s-policy.deleted",
"source" : "inventory-api-uri",
"id" : "Z789-6789-67893",
"subject": "/resources/k8s-policy/A234-1234-1234",
"subject": "/resources/k8s-policy/B234-1234-1234",
"time" : "2018-04-05T17:31:00Z",
"datacontenttype" : "application/json",
"data" :{
"metadata": {
"id": "A234-1234-1234",
"id": "B234-1234-1234",
"resource_type": "k8s-policy",
"workspace": "workspace name",
},
Expand Down Expand Up @@ -411,8 +411,8 @@ Example:
},
"relationship_data": {
"status": "NO_VIOLATIONS",
"k8s_policy_id": "id-in-inventory",
"k8s_cluster_id": "id-in-inventory",
"k8s_policy_id": "B234-1234-1234",
"k8s_cluster_id": "A234-1234-1234",
}
}
}
Expand Down Expand Up @@ -445,8 +445,8 @@ Example:
},
"relationship_data": {
"status": "NO_VIOLATIONS",
"k8s_policy_id": "id-in-inventory",
"k8s_cluster_id": "id-in-inventory",
"k8s_policy_id": "B234-1234-1234",
"k8s_cluster_id": "A234-1234-1234",
}
}
}
Expand Down

0 comments on commit f8729bb

Please sign in to comment.