Skip to content

Commit

Permalink
Merge pull request #2 from pefernan/upgrade-quarkus-3.15
Browse files Browse the repository at this point in the history
- Fix formatting
  • Loading branch information
RishiRajAnand authored Jan 7, 2025
2 parents dffb98a + 121fd98 commit c7a02c4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public abstract class OpenApiWorkItemHandler<T> extends WorkflowWorkItemHandler
protected Object internalExecute(KogitoWorkItem workItem, Map<String, Object> parameters) {
Class<T> clazz = getRestClass();
T ref = RestClientBuilderFactory.build(clazz, calculatedConfigKey(workItem)).register(
(ClientRequestFilter) requestContext -> ProcessMeta.fromKogitoWorkItem(workItem).asMap().forEach((k, v) -> requestContext.getHeaders().put(k, Collections.singletonList(v)))).build(clazz);
(ClientRequestFilter) requestContext -> ProcessMeta.fromKogitoWorkItem(workItem).asMap().forEach((k, v) -> requestContext.getHeaders().put(k, Collections.singletonList(v))))
.build(clazz);
try {
return internalExecute(ref, parameters);
} catch (WebApplicationException ex) {
Expand Down

0 comments on commit c7a02c4

Please sign in to comment.