feat: Add configurable workflow status subscription for HTTP webhook publisher#720
Open
akhilpathivada wants to merge 1 commit intoconductor-oss:mainfrom
Conversation
eaa2a31 to
df6b305
Compare
df6b305 to
4c32dc2
Compare
Author
Collaborator
|
Yes we are on it and should be part of next release if all looks good. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #710
Summary
Enables configuration-based control over which workflow status changes trigger HTTP webhook events, matching the existing task status publishing behavior.
Problem
The HTTP webhook publisher (
conductor.workflow-status-listener.type=workflow_publisher) currently hardcodes publishing only COMPLETED and TERMINATED workflow events, with no way to configure which statuses to receive. This is inconsistent with the task publisher which allows full configurability via subscribed-task-statuses.Solution
Added subscribedWorkflowStatuses configuration property to enable selective workflow event publishing:
Changes
subscribedWorkflowStatusesfield with getters/settersTesting
✅ All 9 workflow status methods tested with various configurations
✅ Null and empty list handling
✅ Build successful with no linter errors