Skip to content

Commit

Permalink
chore(pipeline): add metadata field in pipeline payload
Browse files Browse the repository at this point in the history
  • Loading branch information
donch1989 committed Oct 10, 2023
1 parent 882f37f commit 0c545b5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
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

0 comments on commit 0c545b5

Please sign in to comment.