Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
</parent>

<artifactId>a2a-java-sdk-jakarta-examples-parent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-examples-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-examples-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion impl/grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion impl/jsonrpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion impl/rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
9 changes: 7 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>

<packaging>pom</packaging>

Expand Down Expand Up @@ -45,7 +45,7 @@
<properties>
<jboss.home>${project.build.directory}${file.separator}wildfly</jboss.home>
<version.wildfly>38.0.0.Final</version.wildfly>
<version.sdk>0.3.2.Final</version.sdk>
<version.sdk>0.3.3.Final</version.sdk>
<!-- This needs to be same version as used by the sdk -->
<version.mutiny-zero>1.1.1</version.mutiny-zero>
<!-- gRPC version matching the a2a-java-sdk -->
Expand Down Expand Up @@ -144,6 +144,11 @@
<artifactId>a2a-java-sdk-common</artifactId>
<version>${version.sdk}</version>
</dependency>
<dependency>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-microprofile-config</artifactId>
<version>${version.sdk}</version>
</dependency>
<dependency>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-server-common</artifactId>
Expand Down
14 changes: 13 additions & 1 deletion tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
</parent>

<artifactId>a2a-java-sdk-jakarta-tck-wildfly</artifactId>
Expand Down Expand Up @@ -83,6 +83,18 @@
</exclusions>
</dependency>

<!--
This is not strictly needed, but if you want to configure the a2a-java further as mentioned in
https://github.com/a2aproject/a2a-java/tree/v0.3.3.Final?tab=readme-ov-file#4-configuration-system
via MicroProfile Config, this jar needs to be included.
-->
<dependency>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-microprofile-config</artifactId>
<scope>provided</scope>
</dependency>


<!--
Include the TCK server from the a2a-java project.
This is the application we will be using, providing the AgentExecutor and the AgentCard.
Expand Down
8 changes: 7 additions & 1 deletion tests/grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-tests-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
</parent>

<artifactId>a2a-java-sdk-jakarta-tests-grpc</artifactId>
Expand Down Expand Up @@ -68,6 +68,12 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-microprofile-config</artifactId>
<scope>test</scope>
</dependency>

<!-- Add WildFly Jakarta implementation dependency -->
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import io.a2a.client.transport.grpc.GrpcTransport;
import io.a2a.client.transport.grpc.GrpcTransportConfigBuilder;
import io.a2a.grpc.A2AServiceGrpc;
import io.a2a.integrations.microprofile.MicroProfileConfigProvider;
import io.a2a.server.PublicAgentCard;
import io.a2a.server.apps.common.AbstractA2AServerTest;
import io.a2a.spec.Event;
Expand Down Expand Up @@ -74,6 +75,8 @@ public static WebArchive createDeployment() throws Exception {
getJarForClass(Event.class),
//a2a-java-transport-grpc.jar
getJarForClass(GrpcHandler.class),
//a2a-java-sdk-microprofile-config.jar (needed to configure a2a-java settings via MP Config)
getJarForClass(MicroProfileConfigProvider.class),
// a2a-java-spec-grpc.jar (contains generated gRPC classes)
getJarForClass(A2AServiceGrpc.class), // Removing to avoid auto-registration by WildFly gRPC subsystem
// protobuf-java.jar - include correct version to match gencode 4.31.1
Expand Down
7 changes: 6 additions & 1 deletion tests/jsonrpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-tests-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
</parent>

<artifactId>a2a-java-sdk-jakarta-tests-jsonrpc</artifactId>
Expand Down Expand Up @@ -125,6 +125,11 @@
<artifactId>a2a-java-sdk-transport-jsonrpc</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-microprofile-config</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import io.a2a.client.http.A2AHttpClient;
import io.a2a.client.transport.jsonrpc.JSONRPCTransport;
import io.a2a.client.transport.jsonrpc.JSONRPCTransportConfigBuilder;
import io.a2a.integrations.microprofile.MicroProfileConfigProvider;
import io.a2a.server.PublicAgentCard;
import io.a2a.server.apps.common.AbstractA2AServerTest;
import io.a2a.spec.Event;
Expand Down Expand Up @@ -63,6 +64,8 @@ public static WebArchive createTestArchive() throws Exception {
getJarForClass(JSONRPCHandler.class),
// a2a-java-sdk-jakarta-jsonrpc.jar - contains WildflyJSONRPCTransportMetadata
getJarForClass(WildflyJSONRPCTransportMetadata.class),
//a2a-java-sdk-microprofile-config.jar (needed to configure a2a-java settings via MP Config)
getJarForClass(MicroProfileConfigProvider.class),
// mutiny-zero.jar. This is provided by some WildFly layers, but not always, and not in
// the server provisioned by Glow when inspecting our war
getJarForClass(ZeroPublisher.class)).toArray(new JavaArchive[0]);
Expand Down
2 changes: 1 addition & 1 deletion tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
</parent>

<artifactId>a2a-java-sdk-jakarta-tests-parent</artifactId>
Expand Down
7 changes: 6 additions & 1 deletion tests/rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.wildfly.a2a</groupId>
<artifactId>a2a-java-sdk-jakarta-tests-parent</artifactId>
<version>0.3.1.Beta1-SNAPSHOT</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
</parent>

<artifactId>a2a-java-sdk-jakarta-tests-rest</artifactId>
Expand Down Expand Up @@ -125,6 +125,11 @@
<artifactId>protobuf-java</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-microprofile-config</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import io.a2a.client.transport.rest.RestTransportConfigBuilder;
import io.a2a.grpc.A2AServiceGrpc;

import io.a2a.integrations.microprofile.MicroProfileConfigProvider;
import io.a2a.server.PublicAgentCard;
import io.a2a.server.apps.common.AbstractA2AServerTest;
import io.a2a.spec.Event;
Expand Down Expand Up @@ -67,6 +68,8 @@ public static WebArchive createTestArchive() throws Exception {
getJarForClass(A2AServiceGrpc.class), // Removing to avoid auto-registration by WildFly gRPC subsystem
// a2a-java-sdk-jakarta-rest.jar - contains WildflyRestTransportMetadata
getJarForClass(A2ARestServerResource.class),
//a2a-java-sdk-microprofile-config.jar (needed to configure a2a-java settings via MP Config)
getJarForClass(MicroProfileConfigProvider.class),
// protobuf-java.jar - include correct version to match gencode 4.31.1
getJarForClass(com.google.protobuf.InvalidProtocolBufferException.class),
getJarForClass(com.google.protobuf.util.JsonFormat.class),
Expand Down