You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9032f08
Browse filesBrowse the repository at this point in the historyBrowse files
feat(server): make @PublicAgentCard optional with fallback to @ExtendedAgentCard (a2aproject#1124)
* test(multitenancy): add gRPC tests and extract shared test infrastructure
- Add gRPC multitenancy integration tests verifying tenant-based executor routing
- Extract shared CDI producers into test-common module, reuse across jsonrpc and gRPC
- Config-driven TestAuthorizationController with CDI alternative verification test
This fixesa2aproject#1102
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
* feat(server): make @PublicAgentCard optional with fallback to @ExtendedAgentCard
- Remove @DefaultBean AgentCard from DefaultProducers; bean absence is the signal
- Return 404 from /.well-known/agent-card.json when no @PublicAgentCard
- Fall back to @ExtendedAgentCard for internal capability checks across all transports
Fixesa2aproject#1120
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
---------
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
Copy file name to clipboardExpand all lines: compat-0.3/reference/jsonrpc/src/main/java/org/a2aproject/sdk/compat03/server/apps/quarkus/A2AServerRoutes_v0_3.java
Copy file name to clipboardExpand all lines: compat-0.3/reference/rest/src/main/java/org/a2aproject/sdk/compat03/server/rest/quarkus/A2AServerRoutes_v0_3.java
Copy file name to clipboardExpand all lines: compat-0.3/tck/src/multi-version/java/org/a2aproject/sdk/compat03/tck/server/DerivedAgentCardProducer.java
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,6 @@
18
18
/**
19
19
* Produces a v1.0 {@link AgentCard} derived from the v0.3 {@link AgentCard_v0_3}
20
20
* when the multi-version profile adds v1.0 reference dependencies to the classpath.
21
-
* Overrides the {@code @DefaultBean} in {@code DefaultProducers}.
Copy file name to clipboardExpand all lines: docs/content/dev/server.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,13 @@ You can add more than one transport dependency to support multiple protocols sim
51
51
52
52
## 2. Define an Agent Card
53
53
54
+
The agent card tells clients what the agent can do. Two qualifiers control how the card is exposed:
55
+
56
+
-**`@PublicAgentCard`** — served at `/.well-known/agent-card.json` for public discovery. Use this when external clients need to find your agent.
57
+
-**`@ExtendedAgentCard`** — used for internal capability checks (transport validation, feature gates) and served via the `GetExtendedAgentCard` JSON-RPC method. Use this when you need to advertise additional capabilities that are not publicly visible.
58
+
59
+
`@PublicAgentCard` is optional — if omitted, the public endpoint returns HTTP 404 and the server falls back to `@ExtendedAgentCard` for internal capability checks. At least one of the two must be provided, or the server will fail to start with an error.
0 commit comments