Skip to content
Closed
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
4 changes: 2 additions & 2 deletions .github/workflows/build-with-release-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Build with '-Prelease'
on:
# Handle all branches for now
push:
pull_request:
pull_request_target:
workflow_dispatch:

# Only run the latest job
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
mkdir -p ~/.m2
echo "<settings><servers><server><id>central-a2asdk-temp</id><username>${{ secrets.CENTRAL_TOKEN_USERNAME }}</username><password>${{ secrets.CENTRAL_TOKEN_PASSWORD }}</password></server></servers></settings>" > ~/.m2/settings.xml

# Deploy to Maven Central
# Build with the same settings as the deploy job
# -s uses the settings file we created.
- name: Build with same arguments as deploy job
run: >
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/run-tck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ on:
push:
branches:
- main
- 0.3.x
pull_request:
branches:
- main
- 0.3.x
workflow_dispatch:

env:
# TODO once we have the TCK for 0.4.0 we will need to look at the branch to decide which TCK version to run.
# Tag of the TCK
TCK_VERSION: 0.3.0.beta2
TCK_VERSION: 0.3.0.beta3
# Tells uv to not need a venv, and instead use system
UV_SYSTEM_PYTHON: 1
# SUT_JSONRPC_URL to use for the TCK and the server agent
Expand Down
2 changes: 1 addition & 1 deletion client/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>a2a-java-sdk-client</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion client/transport/grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>a2a-java-sdk-client-transport-grpc</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion client/transport/jsonrpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>a2a-java-sdk-client-transport-jsonrpc</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion client/transport/rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>a2a-java-sdk-client-transport-rest</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion client/transport/spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>a2a-java-sdk-client-transport-spi</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
</parent>
<artifactId>a2a-java-sdk-common</artifactId>

Expand Down
31 changes: 7 additions & 24 deletions examples/cloud-deployment/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>

Expand All @@ -17,7 +17,7 @@
<description>Example demonstrating A2A agent deployment in Kubernetes with database persistence and event replication</description>

<dependencies>
<!-- Core A2A SDK with JSON-RPC transport -->
<!-- Core A2A SDK with JSON-RPC transport. This pulls in the rest of the needed a2a-java dependencies -->
<dependency>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-reference-jsonrpc</artifactId>
Expand Down Expand Up @@ -45,14 +45,17 @@
<version>${project.version}</version>
</dependency>

<!-- Replicated queue manager with Kafka via MicroProfile Reactive Messaging -->
<!-- Provides the MicroProfile Reactive Messaging ReplicationStrategy for the replicated queue manager-->
<dependency>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-queue-manager-replication-mp-reactive</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Quarkus Kafka connector for MicroProfile Reactive Messaging -->
<!--
MicroProfile Reactive Messaging support including the Kafka connector, used by the MP RM
ReplicationStrategy
-->
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-messaging-kafka</artifactId>
Expand All @@ -70,32 +73,12 @@
<artifactId>quarkus-hibernate-orm</artifactId>
</dependency>

<!-- Quarkus REST/JAX-RS -->
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jackson</artifactId>
</dependency>

<!-- Quarkus Health checks -->
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-health</artifactId>
</dependency>

<!-- CDI API (provided by Quarkus) -->
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<scope>provided</scope>
</dependency>

<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>


<dependency>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-client</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-examples-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
</parent>

<artifactId>a2a-java-sdk-examples-client</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS io.github.a2asdk:a2a-java-sdk-client:0.3.0.Final
//DEPS io.github.a2asdk:a2a-java-sdk-client-transport-jsonrpc:0.3.0.Final
//DEPS io.github.a2asdk:a2a-java-sdk-client:0.3.2.Beta1-SNAPSHOT
//DEPS io.github.a2asdk:a2a-java-sdk-client-transport-jsonrpc:0.3.2.Beta1-SNAPSHOT
//SOURCES HelloWorldClient.java

/**
Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-examples-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
</parent>

<artifactId>a2a-java-sdk-examples-server</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extras/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion extras/push-notification-config-store-database-jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>a2a-java-extras-push-notification-config-store-database-jpa</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extras/queue-manager-replicated/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-queue-manager-replicated-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void testTaskStatusUpdateEventSerialization() throws JsonProcessingExcept
public void testTaskArtifactUpdateEventSerialization() throws JsonProcessingException {
// Create a TaskArtifactUpdateEvent
List<Part<?>> parts = List.of(new TextPart("Test artifact content"));
Artifact artifact = new Artifact("test-artifact-123", "Test Artifact", "Test description", parts, null);
Artifact artifact = new Artifact("test-artifact-123", "Test Artifact", "Test description", parts, null, null);
TaskArtifactUpdateEvent originalEvent = new TaskArtifactUpdateEvent.Builder()
.taskId("test-task-xyz")
.contextId("test-context-uvw")
Expand Down
2 changes: 1 addition & 1 deletion extras/queue-manager-replicated/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-queue-manager-replicated-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-queue-manager-replicated-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-queue-manager-replicated-tests-multi-instance-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Application HTTP Port
quarkus.http.port=8081

# Select our ReplicatedQueueManager and JpaDatabaseTaskStore as the active implementations
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore

# Configure PostgreSQL database (connection details will be provided by Testcontainers)
quarkus.datasource."a2a-java".db-kind=postgresql
quarkus.datasource."a2a-java".jdbc.url=${DATABASE_URL:jdbc:postgresql://localhost:5432/a2adb}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-queue-manager-replicated-tests-multi-instance-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Application HTTP Port
quarkus.http.port=8082

# Select our ReplicatedQueueManager and JpaDatabaseTaskStore as the active implementations
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore

# Configure PostgreSQL database (connection details will be provided by Testcontainers)
quarkus.datasource."a2a-java".db-kind=postgresql
quarkus.datasource."a2a-java".jdbc.url=${DATABASE_URL:jdbc:postgresql://localhost:5432/a2adb}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-queue-manager-replicated-tests-multi-instance-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-queue-manager-replicated-tests-multi-instance-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-queue-manager-replicated-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Select our ReplicatedQueueManager as the active implementation
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore

# Configure in-memory H2 database for testing
quarkus.datasource."a2a-java".db-kind=h2
quarkus.datasource."a2a-java".jdbc.url=jdbc:h2:mem:test
Expand Down
2 changes: 1 addition & 1 deletion extras/task-store-database-jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>a2a-java-extras-task-store-database-jpa</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion http-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
</parent>
<artifactId>a2a-java-sdk-http-client</artifactId>

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>

<version>0.3.2.Beta1-SNAPSHOT</version>
<!-- Just to trigger CI -->
<packaging>pom</packaging>

<name>Java SDK A2A Parent</name>
Expand Down
2 changes: 1 addition & 1 deletion reference/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>a2a-java-sdk-reference-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion reference/grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion reference/jsonrpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>a2a-java-sdk-reference-jsonrpc</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion reference/rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.a2asdk</groupId>
<artifactId>a2a-java-sdk-parent</artifactId>
<version>0.3.0.Final</version>
<version>0.3.2.Beta1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>a2a-java-sdk-reference-rest</artifactId>
Expand Down
Loading
Loading