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
29 changes: 6 additions & 23 deletions examples/cloud-deployment/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
@@ -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
@@ -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