File tree Expand file tree Collapse file tree 5 files changed +4
-9
lines changed
reference/grpc/src/main/resources/META-INF
spec-grpc/src/main/resources/META-INF Expand file tree Collapse file tree 5 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" ?>
2- <beans xmlns =" https://jakarta.ee/xml/ns/jakartaee"
3- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4- xsi : schemaLocation =" https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd"
5- version =" 4.0" bean-discovery-mode =" all" >
6- </beans >
Original file line number Diff line number Diff line change 1- # The GrpcHandler @ApplicationScoped annotation is not compatible with Quarkus
2- quarkus.arc.exclude-types =io.a2a.grpc.handler.GrpcHandler
31%dev.quarkus.http.port =9999
Original file line number Diff line number Diff line change 33import static io .a2a .grpc .utils .ProtoUtils .FromProto ;
44import static io .a2a .grpc .utils .ProtoUtils .ToProto ;
55
6+ import jakarta .enterprise .inject .Vetoed ;
7+
68import java .util .HashMap ;
79import java .util .List ;
810import java .util .Map ;
4345import io .grpc .Status ;
4446import io .grpc .stub .StreamObserver ;
4547
48+ @ Vetoed
4649public abstract class GrpcHandler extends A2AServiceGrpc .A2AServiceImplBase {
4750
4851 // Hook so testing can wait until streaming subscriptions are established.
Original file line number Diff line number Diff line change 22<beans xmlns =" https://jakarta.ee/xml/ns/jakartaee"
33 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
44 xsi : schemaLocation =" https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd"
5- version = " 4.0 " bean-discovery-mode =" all " >
5+ bean-discovery-mode =" annotated " >
66</beans >
You can’t perform that action at this time.
0 commit comments