Skip to content

Commit 8c87e94

Browse files
authored
fix: Clean up the k8s example pom, and the extras application properties (#416)
Upstream: #415
1 parent dbe4bd5 commit 8c87e94

File tree

4 files changed

+6
-32
lines changed

4 files changed

+6
-32
lines changed

examples/cloud-deployment/server/pom.xml

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<description>Example demonstrating A2A agent deployment in Kubernetes with database persistence and event replication</description>
1818

1919
<dependencies>
20-
<!-- Core A2A SDK with JSON-RPC transport -->
20+
<!-- Core A2A SDK with JSON-RPC transport. This pulls in the rest of the needed a2a-java dependencies -->
2121
<dependency>
2222
<groupId>io.github.a2asdk</groupId>
2323
<artifactId>a2a-java-sdk-reference-jsonrpc</artifactId>
@@ -45,14 +45,17 @@
4545
<version>${project.version}</version>
4646
</dependency>
4747

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

55-
<!-- Quarkus Kafka connector for MicroProfile Reactive Messaging -->
55+
<!--
56+
MicroProfile Reactive Messaging support including the Kafka connector, used by the MP RM
57+
ReplicationStrategy
58+
-->
5659
<dependency>
5760
<groupId>io.quarkus</groupId>
5861
<artifactId>quarkus-messaging-kafka</artifactId>
@@ -70,32 +73,12 @@
7073
<artifactId>quarkus-hibernate-orm</artifactId>
7174
</dependency>
7275

73-
<!-- Quarkus REST/JAX-RS -->
74-
<dependency>
75-
<groupId>io.quarkus</groupId>
76-
<artifactId>quarkus-resteasy-jackson</artifactId>
77-
</dependency>
78-
7976
<!-- Quarkus Health checks -->
8077
<dependency>
8178
<groupId>io.quarkus</groupId>
8279
<artifactId>quarkus-smallrye-health</artifactId>
8380
</dependency>
8481

85-
<!-- CDI API (provided by Quarkus) -->
86-
<dependency>
87-
<groupId>jakarta.enterprise</groupId>
88-
<artifactId>jakarta.enterprise.cdi-api</artifactId>
89-
<scope>provided</scope>
90-
</dependency>
91-
92-
<!-- Logging -->
93-
<dependency>
94-
<groupId>org.slf4j</groupId>
95-
<artifactId>slf4j-api</artifactId>
96-
</dependency>
97-
98-
9982
<dependency>
10083
<groupId>io.github.a2asdk</groupId>
10184
<artifactId>a2a-java-sdk-client</artifactId>

extras/queue-manager-replicated/tests-multi-instance/quarkus-app-1/src/main/resources/application.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Application HTTP Port
22
quarkus.http.port=8081
33

4-
# Select our ReplicatedQueueManager and JpaDatabaseTaskStore as the active implementations
5-
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore
6-
74
# Configure PostgreSQL database (connection details will be provided by Testcontainers)
85
quarkus.datasource."a2a-java".db-kind=postgresql
96
quarkus.datasource."a2a-java".jdbc.url=${DATABASE_URL:jdbc:postgresql://localhost:5432/a2adb}

extras/queue-manager-replicated/tests-multi-instance/quarkus-app-2/src/main/resources/application.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Application HTTP Port
22
quarkus.http.port=8082
33

4-
# Select our ReplicatedQueueManager and JpaDatabaseTaskStore as the active implementations
5-
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore
6-
74
# Configure PostgreSQL database (connection details will be provided by Testcontainers)
85
quarkus.datasource."a2a-java".db-kind=postgresql
96
quarkus.datasource."a2a-java".jdbc.url=${DATABASE_URL:jdbc:postgresql://localhost:5432/a2adb}

extras/queue-manager-replicated/tests-single-instance/src/test/resources/application.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Select our ReplicatedQueueManager as the active implementation
2-
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore
3-
41
# Configure in-memory H2 database for testing
52
quarkus.datasource."a2a-java".db-kind=h2
63
quarkus.datasource."a2a-java".jdbc.url=jdbc:h2:mem:test

0 commit comments

Comments
 (0)