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(execution): Exclude execution retrieval for Disabled Front50 pipelines #4819

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

christosarvanitis
Copy link
Member

@christosarvanitis christosarvanitis commented Dec 19, 2024

Adding an opt-in feature to exclude Execution Retrieval for Disabled Front50 pipelines. This can be configured via:

tasks:
   exclude-execution-of-disabled-pipelines: true #(defaults to false) 

When enabled Orca calls the Front50 with a query parameter enabledPipelines=true. Front50 responds only with the enabled pipelines of the application.

This feature aims to ease the load on the execution retrieval for applications that have a lot of pipelines and for historical reasons users dont want to delete the obsolete pipelines that are disabled.

Related Front50 change spinnaker/front50#1520

@@ -68,6 +68,9 @@ interface Front50Service {
@GET("/pipelines/{applicationName}")
List<Map<String, Object>> getPipelines(@Path("applicationName") String applicationName, @Query("refresh") boolean refresh)

@GET("/pipelines/{applicationName}")
List<Map<String, Object>> getPipelines(@Path("applicationName") String applicationName, @Query("refresh") boolean refresh, @Query("enabledPipelines") boolean enabledPipelines)
Copy link
Member

Choose a reason for hiding this comment

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

This can be added to the above with an "optional" I'd think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants