-
Notifications
You must be signed in to change notification settings - Fork 71
Feature: Webhooks for workflow and task status #228
base: main
Are you sure you want to change the base?
Conversation
ExecutionDAO indexTask commented out. Workflow to WorkflowModel. indexWorkflow call commented out.
…into feature/webhook
…into feature/webhook
|
||
public String workflowTaskType; | ||
private String domainGroupMoId = ""; | ||
private String accountMoId = ""; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like an application specific field. The notification should be a generic class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you Viren for reviewing! Yes, both accountMoId and domainGroupMoId are custom fields. I will work on it and get back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you Huang! for the comments. i will check if we can build url dynamically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thats great Huang! Thank you. Give me 3-4 days i will check and merge by this weekend.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Huang, i have merged your PR. thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, how's it going? @charybr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review is pending
…ductor-community into feature/task_webhook
…ductor-community into feature/task_webhook
Hi @youngledo , your changes were in branch charybr:feature/webhook. I cherry-picked your commits into branch of this PR i.e. charybr:feature/task_webhook. |
OK, I've already reviewed it. |
Hi @charybr , Please make the below changes,
|
This PR is stale, because it has been open for 45 days with no activity. Remove the stale label or comment, or this will be closed in 7 days. |
Commenting so that Stale label gets removed. Will work on the review comments in Dec. |
Pull Request type
./gradlew generateLock saveLock
to refresh dependencies)Changes in this PR
Describe the new behavior from this PR, and why it's needed
Issue #212
Webhooks for workflow and task status
Problem:
We have a requirement to publish status of workflow and task to a Webhook.
Approach:
WorkflowStatusListener and TaskStatusListener interfaces can be implemented to call webhooks when there is a change in status of workflow and task. We can add new module called 'webhook'.
This PR is originated from the changes done by @techyragu (Rahul Gupta) done on CiscoM31/conductor CiscoM31/conductor#26.
Alternatives considered
Describe alternative implementation you have considered