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

feat(vdp): Add Paginated List of logged Pipeline Runs Endpoint #413

Closed
wants to merge 2 commits into from

Conversation

tillknuesting
Copy link
Contributor

Because:

  • Users need to retrieve pipeline runs efficiently, either for specific pipelines or across all accessible pipelines.

This commit:

  • Returns a paginated list of pipeline runs and components

tillknuesting and others added 2 commits August 6, 2024 09:44
Because:

- Users need to retrieve pipeline runs efficiently, either for specific pipelines or across all accessible pipelines.

This commit:

- Returns a paginated list of pipeline runs.
- Supports querying for specific pipelines or all accessible pipelines.
- Adds a gRPC method `ListPipelineRuns` with corresponding request and response types.
- Exposes the endpoint via HTTP GET at `/v1beta/pipeline-runs`.
- Tags the endpoint with "PipelineRun" for better API documentation.
@joremysh
Copy link
Contributor

joremysh commented Aug 8, 2024

@jvallesm could you also check this PR?

rpc ListPipelineRuns(ListPipelineRunsRequest) returns (ListPipelineRunsResponse) {
option (google.api.http) = {
get: "/v1beta/{namespace=users/*/namespaces/*}/pipeline-runs"
};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs tag

Suggested change
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {tags: "Trigger"}; // TODO rename trigger as Run
};

vdp/pipeline/v1beta/pipeline.proto Show resolved Hide resolved
vdp/pipeline/v1beta/pipeline.proto Show resolved Hide resolved
vdp/pipeline/v1beta/pipeline.proto Show resolved Hide resolved
vdp/pipeline/v1beta/pipeline.proto Show resolved Hide resolved
vdp/pipeline/v1beta/pipeline.proto Show resolved Hide resolved
@tillknuesting
Copy link
Contributor Author

tillknuesting commented Aug 8, 2024

Please rebase the branch on your own working branch to merge.

@joremysh joremysh added the invalid This doesn't seem right label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
Status: 👋 Done
Development

Successfully merging this pull request may close these issues.

4 participants