-
Notifications
You must be signed in to change notification settings - Fork 40
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: migrate twitter example to Camunda Spring SDK #573
Conversation
...ringboot/src/main/java/org/camunda/community/examples/twitter/TwitterExampleApplication.java
Show resolved
Hide resolved
@@ -18,7 +21,7 @@ public void handleTweet(@VariablesAsType TwitterProcessVariables variables) thro | |||
try { | |||
twitterService.tweet(variables.getTweet()); | |||
} catch (DuplicateTweetException ex) { | |||
throw new ZeebeBpmnError("duplicateMessage", "Could not post tweet, it is a duplicate."); | |||
throw new ZeebeBpmnError("duplicateMessage", "Could not post tweet, it is a duplicate.", Map.of()); |
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.
UX flaw that we lack a compatible ctor, will follow-up with the team.
9a600c2
to
c1680dd
Compare
c1680dd
to
2880f5a
Compare
2880f5a
to
7c70148
Compare
<spring-boot.version>3.3.0</spring-boot.version> | ||
<zeebe.version>8.5.10</zeebe.version> | ||
<spring-zeebe.version>8.5.7</spring-zeebe.version> | ||
<spring-boot.version>3.3.7</spring-boot.version> |
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.
aligned with the version used by the sdk
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.
lgtm
Description
Migrates the twitter sample referenced in the Development docs to make use of the offical SDK + the sdk testing module (fork from former community sdk) released with the 8.6.7 patch.
Closes camunda/camunda#26429
Additional context
Types of changes
Checklist:
.github/workflows/build.yaml