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
summary: Adapter creates or updates resource nodepool status
558
-
description: Idempotent upsert of an adapter status for this nodepool. Use instead of POST when the adapter name is known upfront.
512
+
summary: Adapter creates or updates nodepool status
513
+
description: Adapters call this endpoint to report the status for a nodepool after each evaluation. The adapter's status entry is created if it doesn't exist, or updated if it does (upserted by adapter name). This allows HyperFleet to aggregate multiple adapter perspectives into a unified nodepool status.
summary: Adapter creates or updates resource cluster status
676
-
description: Idempotent upsert of an adapter status for this cluster. Use instead of POST when the adapter name is known upfront.
591
+
summary: Adapter creates or updates cluster status
592
+
description: Adapters call this endpoint to report the status for a cluster after each evaluation. The adapter's status entry is created if it doesn't exist, or updated if it does (upserted by adapter name). This allows HyperFleet to aggregate multiple adapter perspectives into a unified cluster status.
Copy file name to clipboardExpand all lines: services/statuses-internal.tsp
+5-58Lines changed: 5 additions & 58 deletions
Original file line number
Diff line number
Diff line change
@@ -15,35 +15,11 @@ namespace HyperFleet;
15
15
@useAuth(HyperFleet.BearerAuth)
16
16
@tag("Cluster statuses")
17
17
interfaceClusterStatusesInternal {
18
-
/**
19
-
* Adapter creates or updates its status report for this cluster.
20
-
* If adapter already has a status, it will be updated (upsert by adapter name).
21
-
*
22
-
* Response includes the full adapter status with all conditions.
23
-
* Adapter should call this endpoint every time it evaluates the cluster.
24
-
*/
25
-
@route("")
26
-
@post
27
-
@summary("Create or update adapter status")
28
-
@operationId("postClusterStatuses")
29
-
postClusterStatuses(
30
-
/**
31
-
* Cluster ID
32
-
*/
33
-
@pathcluster_id:string,
34
-
35
-
@bodybody:AdapterStatusCreateRequest,
36
-
):
37
-
| (CreatedResponse & AdapterStatus)
38
-
| BadRequestResponse
39
-
| NotFoundResponse
40
-
| ConflictResponse;
41
-
42
18
@route("")
43
19
@put
44
-
@summary("Adapter creates or updates resource cluster status")
20
+
@summary("Adapter creates or updates cluster status")
45
21
@operationId("putClusterStatuses")
46
-
@doc("Idempotent upsert of an adapter status for this cluster. Use instead of POST when the adapter name is known upfront.")
22
+
@doc("Adapters call this endpoint to report the status for a cluster after each evaluation. The adapter's status entry is created if it doesn't exist, or updated if it does (upserted by adapter name). This allows HyperFleet to aggregate multiple adapter perspectives into a unified cluster status.")
* Adapter creates or updates its status report for this nodepool.
67
-
* If adapter already has a status, it will be updated (upsert by adapter name).
68
-
*
69
-
* Response includes the full adapter status with all conditions.
70
-
* Adapter should call this endpoint every time it evaluates the nodepool.
71
-
*/
72
-
@route("")
73
-
@post
74
-
@summary("Create or update adapter status")
75
-
@operationId("postNodePoolStatuses")
76
-
postNodePoolStatuses(
77
-
/**
78
-
* Cluster ID
79
-
*/
80
-
@pathcluster_id:string,
81
-
82
-
/**
83
-
* Nodepool ID
84
-
*/
85
-
@pathnodepool_id:string,
86
-
87
-
@bodybody:AdapterStatusCreateRequest,
88
-
):
89
-
| (CreatedResponse & AdapterStatus)
90
-
| BadRequestResponse
91
-
| NotFoundResponse
92
-
| ConflictResponse;
93
-
94
41
@route("")
95
42
@put
96
-
@summary("Adapter creates or updates resource nodepool status")
43
+
@summary("Adapter creates or updates nodepool status")
97
44
@operationId("putNodePoolStatuses")
98
-
@doc("Idempotent upsert of an adapter status for this nodepool. Use instead of POST when the adapter name is known upfront.")
45
+
@doc("Adapters call this endpoint to report the status for a nodepool after each evaluation. The adapter's status entry is created if it doesn't exist, or updated if it does (upserted by adapter name). This allows HyperFleet to aggregate multiple adapter perspectives into a unified nodepool status.")
0 commit comments