Skip to content

Commit 818a9fc

Browse files
authored
Rename references to a2a-java-sdk to a2a-java (#123)
1 parent 0fa0ef4 commit 818a9fc

File tree

8 files changed

+33
-26
lines changed

8 files changed

+33
-26
lines changed

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ reported to the community leaders responsible for enforcement:
6363

6464
Farah Juma - [email protected] \
6565
Kabir Khan - [email protected] \
66-
Stefano Maestri - [email protected] \
66+
Stefano Maestri - [email protected]
6767

6868
All complaints will be reviewed and investigated promptly and fairly.
6969

CONTRIBUTING.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Contributing to a2a-java-sdk
1+
Contributing to a2a-java
22
==================================
33

44
Welcome to the A2A Java SDK project! We welcome contributions from the community. This guide will walk you through the steps for getting started on our project.
@@ -12,12 +12,12 @@ Welcome to the A2A Java SDK project! We welcome contributions from the community
1212

1313

1414
## Forking the Project
15-
To contribute, you will first need to fork the [a2a-java-sdk](https://github.com/fjuma/a2a-java-sdk) repository.
15+
To contribute, you will first need to fork the [a2a-java](https://github.com/a2aproject/a2a-java) repository.
1616

1717
This can be done by looking in the top-right corner of the repository page and clicking "Fork".
1818
![fork](images/fork.jpg)
1919

20-
The next step is to clone your newly forked repository onto your local workspace. This can be done by going to your newly forked repository, which should be at `https://github.com/USERNAME/a2a-java-sdk`.
20+
The next step is to clone your newly forked repository onto your local workspace. This can be done by going to your newly forked repository, which should be at `https://github.com/USERNAME/a2a-java`.
2121

2222
Then, there will be a green button that says "Code". Click on that and copy the URL.
2323

@@ -30,17 +30,17 @@ Be sure to replace [URL] with the URL that you copied.
3030
Now you have the repository on your computer!
3131

3232
## Issues
33-
The `a2a-java-sdk` project uses GitHub to manage issues. All issues can be found [here](https://github.com/fjuma/a2a-java-sdk/issues).
33+
The `a2a-java` project uses GitHub to manage issues. All issues can be found [here](https://github.com/a2aproject/a2a-java/issues).
3434

3535
To create a new issue, comment on an existing issue, or assign an issue to yourself, you'll need to first [create a GitHub account](https://github.com/).
3636

3737

3838
### Good First Issues
39-
Want to contribute to the a2a-java-sdk project but aren't quite sure where to start? Check out our issues with the `good-first-issue` label. These are a triaged set of issues that are great for getting started on our project. These can be found [here](https://github.com/fjuma/a2a-java-sdk/labels/good%20first%20issue).
39+
Want to contribute to the a2a-java project but aren't quite sure where to start? Check out our issues with the `good-first-issue` label. These are a triaged set of issues that are great for getting started on our project. These can be found [here](https://github.com/a2aproject/a2a-java/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22good%20first%20issue%22).
4040

4141
Once you have selected an issue you'd like to work on, make sure it's not already assigned to someone else, and assign it to yourself.
4242

43-
It is recommended that you use a separate branch for every issue you work on. To keep things straightforward and memorable, you can name each branch using the GitHub issue number. This way, you can have multiple PRs open for different issues. For example, if you were working on [issue-20](https://github.com/fjuma/a2a-java-sdk/issues/20), you could use `issue-20` as your branch name.
43+
It is recommended that you use a separate branch for every issue you work on. To keep things straightforward and memorable, you can name each branch using the GitHub issue number. This way, you can have multiple PRs open for different issues. For example, if you were working on [issue-20](https://github.com/a2aproject/a2a-java/issues/20), you could use `issue-20` as your branch name.
4444

4545
## Setting up your Developer Environment
4646
You will need:
@@ -51,15 +51,15 @@ You will need:
5151

5252
To set up your development environment you need to:
5353

54-
1. First `cd` to the directory where you cloned the project (eg: `cd a2a-java-sdk`)
54+
1. First `cd` to the directory where you cloned the project (eg: `cd a2a-java`)
5555

5656
2. Add a remote ref to upstream, for pulling future updates. For example:
5757

5858
```
59-
git remote add upstream https://github.com/fjuma/a2a-java-sdk
59+
git remote add upstream https://github.com/a2aproject/a2a-java
6060
```
6161
62-
3. To build `a2a-java-sdk` and run the tests, use the following command:
62+
3. To build `a2a-java` and run the tests, use the following command:
6363
6464
```
6565
mvn clean install
@@ -82,10 +82,10 @@ When submitting a PR, please keep the following guidelines in mind:
8282
8383
3. Your PR should include tests for the functionality that you are adding.
8484
85-
4. Your PR should include appropriate [documentation](https://github.com/fjuma/a2a-java-sdk/blob/main/README.md) for the functionality that you are adding.
85+
4. Your PR should include appropriate [documentation](https://github.com/a2aproject/a2a-java/blob/main/README.md) for the functionality that you are adding.
8686
8787
## Code Reviews
8888
89-
All submissions, including submissions by project members, need to be reviewed by at least one `a2a-java-sdk` committer before being merged.
89+
All submissions, including submissions by project members, need to be reviewed by at least one `a2a-java` committer before being merged.
9090
9191
The [GitHub Pull Request Review Process](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews) is followed for every pull request.

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# A2A Java SDK
22

3+
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
4+
5+
<!-- markdownlint-disable no-inline-html -->
6+
37
<html>
4-
<h3 align="center">A Java library that helps run agentic applications as A2AServers following Google's <a href="https://google-a2a.github.io/A2A">Agent2Agent (A2A) Protocol</a>.</h3>
8+
<h2 align="center">
9+
<img src="https://raw.githubusercontent.com/google-a2a/A2A/refs/heads/main/docs/assets/a2a-logo-black.svg" width="256" alt="A2A Logo"/>
10+
</h2>
11+
<h3 align="center">A Java library that helps run agentic applications as A2AServers following the <a href="https://google-a2a.github.io/A2A">Agent2Agent (A2A) Protocol</a>.</h3>
512
</html>
613

714
## Installation
@@ -30,7 +37,7 @@ The A2A Java SDK provides a Java server implementation of the [Agent2Agent (A2A)
3037
### 1. Add the A2A Java SDK Core Maven dependency to your project
3138

3239
> **Note**: The A2A Java SDK isn't available yet in Maven Central but will be soon. For now, be
33-
> sure to check out the latest tag (you can see the tags [here](https://github.com/fjuma/a2a-java-sdk/tags)), build from the tag, and reference that version below. For example, if the latest tag is `0.2.3`, you can use the following dependency.
40+
> sure to check out the latest tag (you can see the tags [here](https://github.com/a2aproject/a2a-java/tags)), build from the tag, and reference that version below. For example, if the latest tag is `0.2.3`, you can use the following dependency.
3441
3542
```xml
3643
<dependency>
@@ -176,7 +183,7 @@ public class WeatherAgentExecutorProducer {
176183
### 4. Add an A2A Java SDK Server Maven dependency to your project
177184

178185
> **Note**: The A2A Java SDK isn't available yet in Maven Central but will be soon. For now, be
179-
> sure to check out the latest tag (you can see the tags [here](https://github.com/fjuma/a2a-java-sdk/tags)), build from the tag, and reference that version below. For example, if the latest tag is `0.2.3`, you can use the following dependency.
186+
> sure to check out the latest tag (you can see the tags [here](https://github.com/a2aproject/a2a-java/tags)), build from the tag, and reference that version below. For example, if the latest tag is `0.2.3`, you can use the following dependency.
180187
181188
Adding a dependency on an A2A Java SDK Server will allow you to run your agentic Java application as an A2A server.
182189

examples/src/main/java/io/a2a/examples/helloworld/client/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ The Java client can be run using JBang, which allows you to run Java source file
4747

4848
### Build the A2A Java SDK
4949

50-
First, ensure you have built the `a2a-java-sdk` project:
50+
First, ensure you have built the `a2a-java` project:
5151

5252
```bash
53-
cd /path/to/a2a-java-sdk
53+
cd /path/to/a2a-java
5454
mvn clean install
5555
```
5656

@@ -81,7 +81,7 @@ Alternatively, you can run the Java client with JBang by specifying the classpat
8181
mvn clean package
8282
```
8383

84-
2. Run the Java client with JBang from the root of the a2a-java-sdk project:
84+
2. Run the Java client with JBang from the root of the a2a-java project:
8585
```bash
8686
jbang --cp target/classes examples/src/main/java/io/a2a/examples/helloworld/client/HelloWorldClient.java
8787
```

examples/src/main/java/io/a2a/examples/helloworld/server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The client will connect to the Java server running on `http://localhost:9999`.
5454
The Python A2A client (`test_client.py`) performs the following actions:
5555

5656
1. Fetches the server's public agent card
57-
2. Fetches the server's extended agent card if supported by the server (see https://github.com/fjuma/a2a-java-sdk/issues/81)
57+
2. Fetches the server's extended agent card if supported by the server (see https://github.com/a2aproject/a2a-java/issues/81)
5858
3. Creates an A2A client using the extended agent card that connects to the Python server at `http://localhost:9999`.
5959
4. Sends a regular message asking "how much is 10 USD in INR?".
6060
5. Prints the server's response.

sdk-jakarta/src/main/java/io/a2a/server/apps/jakarta/A2AServerResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public AgentCard getAgentCard() {
117117
@Produces(MediaType.APPLICATION_JSON)
118118
public Response getAuthenticatedExtendedAgentCard() {
119119
// TODO need to add authentication for this endpoint
120-
// https://github.com/fjuma/a2a-java-sdk/issues/77
120+
// https://github.com/a2aproject/a2a-java/issues/77
121121
if (! jsonRpcHandler.getAgentCard().supportsAuthenticatedExtendedCard()) {
122122
JSONErrorResponse errorResponse = new JSONErrorResponse("Extended agent card not supported or not enabled.");
123123
return Response.status(Response.Status.NOT_FOUND)

sdk-quarkus/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public AgentCard getAgentCard() {
161161
@Route(path = "/agent/authenticatedExtendedCard", methods = Route.HttpMethod.GET, produces = APPLICATION_JSON)
162162
public void getAuthenticatedExtendedAgentCard(RoutingExchange re) {
163163
// TODO need to add authentication for this endpoint
164-
// https://github.com/fjuma/a2a-java-sdk/issues/77
164+
// https://github.com/a2aproject/a2a-java/issues/77
165165
try {
166166
if (! jsonRpcHandler.getAgentCard().supportsAuthenticatedExtendedCard()) {
167167
JSONErrorResponse errorResponse = new JSONErrorResponse("Extended agent card not supported or not enabled.");

tests/server-common/src/test/java/io/a2a/server/apps/common/AbstractA2AServerTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public void testGetTaskNotFound() {
154154
.extract()
155155
.as(GetTaskResponse.class);
156156
assertEquals("1", response.getId());
157-
// this should be an instance of TaskNotFoundError, see https://github.com/fjuma/a2a-java-sdk/issues/23
157+
// this should be an instance of TaskNotFoundError, see https://github.com/a2aproject/a2a-java/issues/23
158158
assertInstanceOf(JSONRPCError.class, response.getError());
159159
assertEquals(new TaskNotFoundError().getCode(), response.getError().getCode());
160160
assertNull(response.getResult());
@@ -202,7 +202,7 @@ public void testCancelTaskNotSupported() {
202202
.as(CancelTaskResponse.class);
203203
assertEquals(request.getId(), response.getId());
204204
assertNull(response.getResult());
205-
// this should be an instance of UnsupportedOperationError, see https://github.com/fjuma/a2a-java-sdk/issues/23
205+
// this should be an instance of UnsupportedOperationError, see https://github.com/a2aproject/a2a-java/issues/23
206206
assertInstanceOf(JSONRPCError.class, response.getError());
207207
assertEquals(new UnsupportedOperationError().getCode(), response.getError().getCode());
208208
} catch (Exception e) {
@@ -225,7 +225,7 @@ public void testCancelTaskNotFound() {
225225
.as(CancelTaskResponse.class);
226226
assertEquals(request.getId(), response.getId());
227227
assertNull(response.getResult());
228-
// this should be an instance of UnsupportedOperationError, see https://github.com/fjuma/a2a-java-sdk/issues/23
228+
// this should be an instance of UnsupportedOperationError, see https://github.com/a2aproject/a2a-java/issues/23
229229
assertInstanceOf(JSONRPCError.class, response.getError());
230230
assertEquals(new TaskNotFoundError().getCode(), response.getError().getCode());
231231
}
@@ -376,7 +376,7 @@ public void testError() {
376376
.as(SendMessageResponse.class);
377377
assertEquals(request.getId(), response.getId());
378378
assertNull(response.getResult());
379-
// this should be an instance of UnsupportedOperationError, see https://github.com/fjuma/a2a-java-sdk/issues/23
379+
// this should be an instance of UnsupportedOperationError, see https://github.com/a2aproject/a2a-java/issues/23
380380
assertInstanceOf(JSONRPCError.class, response.getError());
381381
assertEquals(new UnsupportedOperationError().getCode(), response.getError().getCode());
382382
}
@@ -732,7 +732,7 @@ public void testResubscribeNoExistingTaskError() throws Exception {
732732
if (jsonResponse != null) {
733733
assertEquals(request.getId(), jsonResponse.getId());
734734
assertNull(jsonResponse.getResult());
735-
// this should be an instance of TaskNotFoundError, see https://github.com/fjuma/a2a-java-sdk/issues/23
735+
// this should be an instance of TaskNotFoundError, see https://github.com/a2aproject/a2a-java/issues/23
736736
assertInstanceOf(JSONRPCError.class, jsonResponse.getError());
737737
assertEquals(new TaskNotFoundError().getCode(), jsonResponse.getError().getCode());
738738
latch.countDown();

0 commit comments

Comments
 (0)