Skip to content

Commit

Permalink
feat(vdp): support sorting pipelines options by id and update_time (#328
Browse files Browse the repository at this point in the history
)

Because

- we want users to sort the pipeline with a better UX

This commit

- add a params for frontend to sort the pipeline

---------

Co-authored-by: droplet-bot <[email protected]>
  • Loading branch information
chuang8511 and droplet-bot authored May 14, 2024
1 parent e2d94bb commit ccfa000
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openapiv2/vdp/service.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ paths:
enum:
- VISIBILITY_PRIVATE
- VISIBILITY_PUBLIC
- name: order_by
description: Order by field.
in: query
required: false
type: string
tags:
- Pipeline
/v1beta/{permalink}/lookUp:
Expand Down
2 changes: 2 additions & 0 deletions vdp/pipeline/v1beta/pipeline.proto
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ message ListPipelinesRequest {
optional bool show_deleted = 5 [(google.api.field_behavior) = OPTIONAL];
// Limit results to pipelines with the specified visibility.
optional Pipeline.Visibility visibility = 6 [(google.api.field_behavior) = OPTIONAL];
// Order by field.
optional string order_by = 7 [(google.api.field_behavior) = OPTIONAL];
}

// ListPipelinesResponse contains a list of pipelines.
Expand Down

0 comments on commit ccfa000

Please sign in to comment.