-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add endpoint spec to get events from a test run (#2255)
* add endpoint spec to get events from a test run * add generated code for CLI and web * update polling info to be expandable * add stop test run endpoint
- Loading branch information
1 parent
7c0f292
commit 100915b
Showing
16 changed files
with
1,840 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
version: 3.0.0 | ||
components: | ||
schemas: | ||
TestRunEvent: | ||
type: object | ||
properties: | ||
type: | ||
type: string | ||
stage: | ||
type: string | ||
enum: | ||
- trigger | ||
- trace | ||
- test | ||
description: | ||
type: string | ||
createdAt: | ||
type: string | ||
format: date-time | ||
testId: | ||
type: string | ||
runId: | ||
type: string | ||
dataStoreConnection: | ||
$ref: "./config.yaml#/components/schemas/ConnectionResult" | ||
polling: | ||
$ref: "#/components/schemas/PollingInfo" | ||
outputs: | ||
type: array | ||
items: | ||
$ref: "#/components/schemas/OutputInfo" | ||
|
||
PollingInfo: | ||
type: object | ||
properties: | ||
type: | ||
type: string | ||
enum: | ||
- periodic | ||
reasonNextIteration: | ||
type: string | ||
isComplete: | ||
type: boolean | ||
periodic: | ||
type: object | ||
properties: | ||
numberSpans: | ||
type: integer | ||
numberIterations: | ||
type: integer | ||
|
||
OutputInfo: | ||
type: object | ||
properties: | ||
logLevel: | ||
type: string | ||
enum: | ||
- warning | ||
- error | ||
message: | ||
type: string | ||
outputName: | ||
type: string |
Oops, something went wrong.