File tree Expand file tree Collapse file tree 8 files changed +43
-1
lines changed Expand file tree Collapse file tree 8 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 4545 <properties >
4646 <jboss .home>${project.build.directory}${file.separator} wildfly</jboss .home>
4747 <version .wildfly>38.0.0.Final</version .wildfly>
48- <version .sdk>0.3.2 .Final</version .sdk>
48+ <version .sdk>0.3.3 .Final</version .sdk>
4949 <!-- This needs to be same version as used by the sdk -->
5050 <version .mutiny-zero>1.1.1</version .mutiny-zero>
5151 <!-- gRPC version matching the a2a-java-sdk -->
144144 <artifactId >a2a-java-sdk-common</artifactId >
145145 <version >${version.sdk} </version >
146146 </dependency >
147+ <dependency >
148+ <groupId >io.github.a2asdk</groupId >
149+ <artifactId >a2a-java-sdk-microprofile-config</artifactId >
150+ <version >${version.sdk} </version >
151+ </dependency >
147152 <dependency >
148153 <groupId >io.github.a2asdk</groupId >
149154 <artifactId >a2a-java-sdk-server-common</artifactId >
Original file line number Diff line number Diff line change 8383 </exclusions >
8484 </dependency >
8585
86+ <!--
87+ This is not strictly needed, but if you want to configure the a2a-java further as mentioned in
88+ https://github.com/a2aproject/a2a-java/blob/main/README.md#4-configuration-system
89+ via MicroProfile Config, this jar needs to be included.
90+ -->
91+ <dependency >
92+ <groupId >io.github.a2asdk</groupId >
93+ <artifactId >a2a-java-sdk-microprofile-config</artifactId >
94+ <scope >provided</scope >
95+ </dependency >
96+
97+
8698 <!--
8799 Include the TCK server from the a2a-java project.
88100 This is the application we will be using, providing the AgentExecutor and the AgentCard.
Original file line number Diff line number Diff line change 6868 <type >test-jar</type >
6969 <scope >test</scope >
7070 </dependency >
71+ <dependency >
72+ <groupId >io.github.a2asdk</groupId >
73+ <artifactId >a2a-java-sdk-microprofile-config</artifactId >
74+ <scope >test</scope >
75+ </dependency >
76+
7177 <!-- Add WildFly Jakarta implementation dependency -->
7278 <dependency >
7379 <groupId >${project.groupId} </groupId >
Original file line number Diff line number Diff line change 1010import io .a2a .client .transport .grpc .GrpcTransport ;
1111import io .a2a .client .transport .grpc .GrpcTransportConfigBuilder ;
1212import io .a2a .grpc .A2AServiceGrpc ;
13+ import io .a2a .integrations .microprofile .MicroProfileConfigProvider ;
1314import io .a2a .server .PublicAgentCard ;
1415import io .a2a .server .apps .common .AbstractA2AServerTest ;
1516import io .a2a .spec .Event ;
@@ -74,6 +75,8 @@ public static WebArchive createDeployment() throws Exception {
7475 getJarForClass (Event .class ),
7576 //a2a-java-transport-grpc.jar
7677 getJarForClass (GrpcHandler .class ),
78+ //a2a-java-sdk-microprofile-config.jar (needed to configure a2a-java settings via MP Config)
79+ getJarForClass (MicroProfileConfigProvider .class ),
7780 // a2a-java-spec-grpc.jar (contains generated gRPC classes)
7881 getJarForClass (A2AServiceGrpc .class ), // Removing to avoid auto-registration by WildFly gRPC subsystem
7982 // protobuf-java.jar - include correct version to match gencode 4.31.1
Original file line number Diff line number Diff line change 125125 <artifactId >a2a-java-sdk-transport-jsonrpc</artifactId >
126126 <scope >test</scope >
127127 </dependency >
128+ <dependency >
129+ <groupId >io.github.a2asdk</groupId >
130+ <artifactId >a2a-java-sdk-microprofile-config</artifactId >
131+ <scope >test</scope >
132+ </dependency >
128133 </dependencies >
129134 <build >
130135 <plugins >
Original file line number Diff line number Diff line change 88import io .a2a .client .http .A2AHttpClient ;
99import io .a2a .client .transport .jsonrpc .JSONRPCTransport ;
1010import io .a2a .client .transport .jsonrpc .JSONRPCTransportConfigBuilder ;
11+ import io .a2a .integrations .microprofile .MicroProfileConfigProvider ;
1112import io .a2a .server .PublicAgentCard ;
1213import io .a2a .server .apps .common .AbstractA2AServerTest ;
1314import io .a2a .spec .Event ;
@@ -63,6 +64,8 @@ public static WebArchive createTestArchive() throws Exception {
6364 getJarForClass (JSONRPCHandler .class ),
6465 // a2a-java-sdk-jakarta-jsonrpc.jar - contains WildflyJSONRPCTransportMetadata
6566 getJarForClass (WildflyJSONRPCTransportMetadata .class ),
67+ //a2a-java-sdk-microprofile-config.jar (needed to configure a2a-java settings via MP Config)
68+ getJarForClass (MicroProfileConfigProvider .class ),
6669 // mutiny-zero.jar. This is provided by some WildFly layers, but not always, and not in
6770 // the server provisioned by Glow when inspecting our war
6871 getJarForClass (ZeroPublisher .class )).toArray (new JavaArchive [0 ]);
Original file line number Diff line number Diff line change 125125 <artifactId >protobuf-java</artifactId >
126126 <scope >test</scope >
127127 </dependency >
128+ <dependency >
129+ <groupId >io.github.a2asdk</groupId >
130+ <artifactId >a2a-java-sdk-microprofile-config</artifactId >
131+ <scope >test</scope >
132+ </dependency >
128133 </dependencies >
129134 <build >
130135 <plugins >
Original file line number Diff line number Diff line change 99import io .a2a .client .transport .rest .RestTransportConfigBuilder ;
1010import io .a2a .grpc .A2AServiceGrpc ;
1111
12+ import io .a2a .integrations .microprofile .MicroProfileConfigProvider ;
1213import io .a2a .server .PublicAgentCard ;
1314import io .a2a .server .apps .common .AbstractA2AServerTest ;
1415import io .a2a .spec .Event ;
@@ -67,6 +68,8 @@ public static WebArchive createTestArchive() throws Exception {
6768 getJarForClass (A2AServiceGrpc .class ), // Removing to avoid auto-registration by WildFly gRPC subsystem
6869 // a2a-java-sdk-jakarta-rest.jar - contains WildflyRestTransportMetadata
6970 getJarForClass (A2ARestServerResource .class ),
71+ //a2a-java-sdk-microprofile-config.jar (needed to configure a2a-java settings via MP Config)
72+ getJarForClass (MicroProfileConfigProvider .class ),
7073 // protobuf-java.jar - include correct version to match gencode 4.31.1
7174 getJarForClass (com .google .protobuf .InvalidProtocolBufferException .class ),
7275 getJarForClass (com .google .protobuf .util .JsonFormat .class ),
You can’t perform that action at this time.
0 commit comments