Skip to content

Commit 65c00d9

Browse files
chore: sync infra OpenAPI specs (#446)
Co-authored-by: dobrac <4323173+dobrac@users.noreply.github.com>
1 parent f629e33 commit 65c00d9

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

spec/openapi.infra.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,6 +1582,7 @@ components:
15821582
- serviceInstanceID
15831583
- clusterID
15841584
- status
1585+
- statusChangedAt
15851586
- sandboxCount
15861587
- metrics
15871588
- createSuccesses
@@ -1610,6 +1611,10 @@ components:
16101611
$ref: "#/components/schemas/MachineInfo"
16111612
status:
16121613
$ref: "#/components/schemas/NodeStatus"
1614+
statusChangedAt:
1615+
type: string
1616+
format: date-time
1617+
description: Time when the node status was last changed
16131618
sandboxCount:
16141619
type: integer
16151620
format: uint32
@@ -1635,6 +1640,7 @@ components:
16351640
- serviceInstanceID
16361641
- clusterID
16371642
- status
1643+
- statusChangedAt
16381644
- sandboxCount
16391645
- cachedBuilds
16401646
- createSuccesses
@@ -1663,6 +1669,10 @@ components:
16631669
$ref: "#/components/schemas/MachineInfo"
16641670
status:
16651671
$ref: "#/components/schemas/NodeStatus"
1672+
statusChangedAt:
1673+
type: string
1674+
format: date-time
1675+
description: Time when the node status was last changed
16661676
sandboxCount:
16671677
type: integer
16681678
format: uint32

src/core/shared/contracts/infra-api.types.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3165,6 +3165,11 @@ export interface components {
31653165
clusterID: string
31663166
machineInfo: components['schemas']['MachineInfo']
31673167
status: components['schemas']['NodeStatus']
3168+
/**
3169+
* Format: date-time
3170+
* @description Time when the node status was last changed
3171+
*/
3172+
statusChangedAt: string
31683173
/**
31693174
* Format: uint32
31703175
* @description Number of sandboxes running on the node
@@ -3200,6 +3205,11 @@ export interface components {
32003205
serviceInstanceID: string
32013206
machineInfo: components['schemas']['MachineInfo']
32023207
status: components['schemas']['NodeStatus']
3208+
/**
3209+
* Format: date-time
3210+
* @description Time when the node status was last changed
3211+
*/
3212+
statusChangedAt: string
32033213
/**
32043214
* Format: uint32
32053215
* @description Number of sandboxes running on the node

0 commit comments

Comments
 (0)