Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

Commit

Permalink
Bug 1453649 - Missing required properties in /v1/state/<worker-type> (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jhford authored Sep 18, 2018
1 parent 0296af4 commit 034f566
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions schemas/v1/worker-type-state.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,51 @@ type: object
properties:
instances:
type: array
items:
type: object
properties:
id:
description: EC2 instance id
type: string
workerType:
description: Worker Type for this instance
type: string
region:
description: EC2 region id
type: string
instanceType:
description: EC2 instanceType
type: string
state:
description: EC2 instance state, e.g. running or pending
type: string
touched:
description: Date/time when state was last updated
type: string
az:
description: EC2 availability zone id
type: string
imageId:
description: EC2 AMI
type: string
launched:
description: Date/time when EC2 started this instance
type: string
lastEvent:
description: Date/time when EC2 last sent information about state changes
type: string
additionalProperties: false
requiredProperties:
- id
- workerType
- region
- instanceType
- state
- touched
- az
- imageId
- launched
- lastEvent
additionalProperties: false
requiredProperties:
- instances

0 comments on commit 034f566

Please sign in to comment.