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(webhook): Replace DocumentReference by Document #3757

Merged
merged 3 commits into from
Dec 5, 2024

Conversation

johnBgood
Copy link
Collaborator

@johnBgood johnBgood commented Dec 5, 2024

Description

  • Replace DocumentReference with Document so that we have the right format that can be used by subsequent connectors;
  • Add the right Jackson modules to the ObjectMapper used by the AbstractFeelDeserializer

Related issues

https://github.com/camunda/team-connectors/issues/788

Checklist

  • PR has a milestone or the no milestone label.

@johnBgood johnBgood self-assigned this Dec 5, 2024
@johnBgood johnBgood requested a review from a team as a code owner December 5, 2024 15:02
@johnBgood johnBgood added this to the 8.7.0-alpha2 milestone Dec 5, 2024
} else {
if (correlationResult instanceof CorrelationResult.Failure failure) {
switch (failure.handlingStrategy()) {
case ForwardErrorToUpstream ignored -> response = buildErrorResponse(failure);
case Ignore ignored ->
response = buildSuccessfulResponse(webhookResult, documentReferences, null);
case Ignore ignored -> response = buildSuccessfulResponse(webhookResult, documents, null);

Check notice

Code scanning / CodeQL

Unread local variable Note

Variable 'Ignore ignored' is never read.
@sbuettner sbuettner enabled auto-merge December 5, 2024 15:36
@sbuettner sbuettner added this pull request to the merge queue Dec 5, 2024
Merged via the queue into main with commit dbd43a1 Dec 5, 2024
15 checks passed
@sbuettner sbuettner deleted the 788-file-upload-support-for-the-webhook-connector-3 branch December 5, 2024 18:12
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