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(pipeline): add a pipelineNameFilter query param to the /pipelines/{application} endpoint #1504

Merged

Conversation

kirangodishala
Copy link
Contributor

This adds a pipelineNameFilter query parameter to the /pipelines/{application} endpoint. If pipelineNameFilter is present, the endpoint will return a list of pipelines whose pipeline name contains the pipelineNameFilter.

This change is necessary to enable some optimizations - namely, filtering pipelines on the backend, instead of always querying for every pipeline in an application, and filtering the list in the front end.

@spinnakerbot
Copy link
Contributor

We prefer that non-test backend code be written in Java or Kotlin, rather than Groovy. The following files have been added and written in Groovy:

  • front50-test/src/main/groovy/com/netflix/spinnaker/front50/pipeline/SqlPipelineDAOTestConfiguration.groovy

See our server-side conventions here.

kirangodishala pushed a commit to kirangodishala/gate that referenced this pull request Oct 15, 2024
…figs endpoint

This plumbs through the new pipelineNameFilter query param to the front50 service call in gate.
Refer the front50 change: spinnaker/front50#1504
@kirangodishala kirangodishala force-pushed the pipeline-name-filter-query-param branch from c96b7f1 to 3f06b13 Compare October 16, 2024 13:35
kirangodishala pushed a commit to kirangodishala/gate that referenced this pull request Oct 16, 2024
…figs endpoint

This plumbs through the new pipelineNameFilter query param to the front50 service call in gate.
Refer the front50 change: spinnaker/front50#1504
Richard Timpson and others added 6 commits November 6, 2024 21:44
… /pipelines/{application} endpoint

This adds a pipelineNameFilter query parameter to the /pipelines/{application} endpoint. If pipelineNameFilter is present, the endpoint will return a list of pipelines whose pipeline name contains the pipelineNameFilter.

This change is necessary to enable some optimizations in the front end - namely, filtering pipelines on the backend, instead of always querying for every pipeline in an application, and filtering the list in the front end.
@kirangodishala kirangodishala force-pushed the pipeline-name-filter-query-param branch from d076e91 to c4885dc Compare November 6, 2024 16:34
kirangodishala pushed a commit to kirangodishala/gate that referenced this pull request Nov 6, 2024
…figs endpoint

This plumbs through the new pipelineNameFilter query param to the front50 service call in gate.
Refer the front50 change: spinnaker/front50#1504
@dbyron-sf dbyron-sf added the ready to merge Approved and ready for merge label Nov 6, 2024
@mergify mergify bot added the auto merged label Nov 6, 2024
@mergify mergify bot merged commit 51f2d15 into spinnaker:master Nov 6, 2024
5 checks passed
mergify bot pushed a commit to spinnaker/gate that referenced this pull request Nov 6, 2024
…figs endpoint (#1839)

This plumbs through the new pipelineNameFilter query param to the front50 service call in gate.
Refer the front50 change: spinnaker/front50#1504

Co-authored-by: Richard Timpson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged ready to merge Approved and ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants