Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(vdp): add status in pipeline traces data #235

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions openapiv2/openapiv2.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10897,9 +10897,11 @@ definitions:
v1betaTrace:
type: object
properties:
success:
type: boolean
title: Success or not
statuses:
type: array
items:
$ref: '#/definitions/v1betaTraceStatus'
title: status
inputs:
type: array
items:
Expand All @@ -10918,6 +10920,20 @@ definitions:
format: float
title: Compute Time
title: Trace for the intermediate component
v1betaTraceStatus:
type: string
enum:
- STATUS_UNSPECIFIED
- STATUS_COMPLETED
- STATUS_SKIPPED
- STATUS_ERROR
default: STATUS_UNSPECIFIED
description: |-
- STATUS_UNSPECIFIED: UNSPECIFIED
- STATUS_COMPLETED: COMPLETED
- STATUS_SKIPPED: SKIPPED
- STATUS_ERROR: ERROR
title: Status
v1betaTriggerAsyncOrganizationPipelineReleaseResponse:
type: object
properties:
Expand Down
15 changes: 13 additions & 2 deletions vdp/pipeline/v1beta/pipeline.proto
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,19 @@ message TriggerMetadata {

// Trace for the intermediate component
message Trace {
// Success or not
bool success = 1;
// Status
enum Status {
// UNSPECIFIED
STATUS_UNSPECIFIED = 0;
// COMPLETED
STATUS_COMPLETED = 1;
// SKIPPED
STATUS_SKIPPED = 2;
// ERROR
STATUS_ERROR = 3;
}
// status
repeated Status statuses = 1;
// Inputs of the component
repeated google.protobuf.Struct inputs = 2;
// Outputs of the component
Expand Down
Loading