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(pipeline): add metadata field in pipeline payload #219

Merged
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
12 changes: 12 additions & 0 deletions openapiv2/openapiv2.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2119,6 +2119,9 @@ paths:
permission:
$ref: '#/definitions/v1alphaPermission'
title: Pipeline permission
metadata:
type: object
title: 'Metadata: store Console-related data such as pipeline builder layout'
title: A pipeline resource to update
tags:
- PipelinePublicService
Expand Down Expand Up @@ -2254,6 +2257,9 @@ paths:
type: string
title: Alias
readOnly: true
metadata:
type: object
title: 'Metadata: store Console-related data such as pipeline builder layout'
title: A pipeline release resource to update
tags:
- PipelinePublicService
Expand Down Expand Up @@ -7315,6 +7321,9 @@ definitions:
permission:
$ref: '#/definitions/v1alphaPermission'
title: Pipeline permission
metadata:
type: object
title: 'Metadata: store Console-related data such as pipeline builder layout'
title: Pipeline represents the content of a pipeline
v1alphaPipelineData:
type: object
Expand Down Expand Up @@ -7379,6 +7388,9 @@ definitions:
type: string
title: Alias
readOnly: true
metadata:
type: object
title: 'Metadata: store Console-related data such as pipeline builder layout'
title: PipelineRelease represents the content of a pipeline release
v1alphaPipelineTriggerChartRecord:
type: object
Expand Down
4 changes: 4 additions & 0 deletions vdp/pipeline/v1alpha/pipeline.proto
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ message Pipeline {
google.protobuf.Timestamp delete_time = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
// Pipeline permission
Permission permission = 15;
// Metadata: store Console-related data such as pipeline builder layout
google.protobuf.Struct metadata = 16;
}

// The metadata
Expand Down Expand Up @@ -196,6 +198,8 @@ message PipelineRelease {
google.protobuf.Timestamp delete_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
// Alias
string alias = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
// Metadata: store Console-related data such as pipeline builder layout
google.protobuf.Struct metadata = 12;
}

// ListPipelinesRequest represents a request to list pipelines
Expand Down
Loading