Skip to content

Commit

Permalink
Merge pull request #218 from cescoffier/fix-smallrye-fault-tolerance-…
Browse files Browse the repository at this point in the history
…annotations
  • Loading branch information
cescoffier authored Jan 10, 2024
2 parents 5509b57 + 0bb563c commit ae8b6b2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,9 @@ public void handleAiServices(AiServicesRecorder recorder,
for (AnnotationInstance annotationInstance : methodInfo.declaredAnnotations()) {
// TODO: we need to review this
if (annotationInstance.name().toString()
.startsWith("org.eclipse.microprofile.faulttolerance")) {
.startsWith("org.eclipse.microprofile.faulttolerance")
|| annotationInstance.name().toString()
.startsWith("io.smallrye.faulttolerance.api")) {
mc.addAnnotation(annotationInstance);
}
}
Expand Down

0 comments on commit ae8b6b2

Please sign in to comment.