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

fix(webhook): incorrect deactivation handling #2332

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

chillleader
Copy link
Member

Description

Fix for the incorrect comparison during webhook connector deactivation that resulted in webhooks never being properly deactivated.

@chillleader chillleader self-assigned this Apr 22, 2024
@chillleader chillleader requested a review from a team as a code owner April 22, 2024 17:40
@@ -163,7 +166,7 @@ public static InboundConnectorContextImpl buildContext(InboundConnectorDetails d
public static InboundConnectorDetails webhookDefinition(
String bpmnProcessId, int version, String path) {
return new InboundConnectorDetails(
UUID.randomUUID().toString(),
bpmnProcessId + version + path,
Copy link
Contributor

Choose a reason for hiding this comment

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

Where will it be used? If it's user exposed, maybe consider concatenating with dashes or something 🤔 . Just a suggestion.

Suggested change
bpmnProcessId + version + path,
bpmnProcessId + "-" + version + "-" + path,

Copy link
Member Author

Choose a reason for hiding this comment

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

It's a mock value for tests only 🙂

Copy link
Contributor

@igpetrov igpetrov left a comment

Choose a reason for hiding this comment

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

Other than comment mentioned, rest looks good.

@chillleader chillleader added this pull request to the merge queue Apr 22, 2024
Merged via the queue into main with commit c21420b Apr 22, 2024
4 checks passed
@chillleader chillleader deleted the fix-webhook-deactivation branch April 22, 2024 18:36
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.

None yet

2 participants