Skip to content

Commit 3e901db

Browse files
committed
Added missing import in the main service interface in the archetypes
1 parent c6ac72f commit 3e901db

File tree

2 files changed

+3
-0
lines changed
  • archetypes

2 files changed

+3
-0
lines changed

archetypes/wanaku-provider-archetype/src/main/resources/archetype-resources/src/main/java/ResourceService.java

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import io.quarkus.runtime.ShutdownEvent;
3434
import io.quarkus.runtime.StartupEvent;
3535
import io.smallrye.mutiny.Uni;
36+
import io.smallrye.common.annotation.Blocking;
3637
import org.eclipse.microprofile.config.inject.ConfigProperty;
3738
import org.jboss.logging.Logger;
3839

archetypes/wanaku-tool-service-archetype/src/main/resources/archetype-resources/src/main/java/InvocationService.java

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import io.quarkus.runtime.ShutdownEvent;
3434
import io.quarkus.runtime.StartupEvent;
3535
import io.smallrye.mutiny.Uni;
36+
import io.smallrye.common.annotation.Blocking;
3637
import org.eclipse.microprofile.config.inject.ConfigProperty;
3738
import org.jboss.logging.Logger;
3839

@@ -50,6 +51,7 @@ public class InvocationService implements ToolInvoker, Inquirer {
5051
int port;
5152

5253
@Override
54+
@Blocking
5355
public Uni<ToolInvokeReply> invokeTool(ToolInvokeRequest request) {
5456
return Uni.createFrom().item(() -> delegate.invoke(request));
5557
}

0 commit comments

Comments
 (0)