Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Feat]: Add ability to skip transport validation #264

Copy link
Copy link
@kabir

Description

@kabir
Issue body actions

Is your feature request related to a problem? Please describe.

#251 introduced validation of transports in the AgentCard vs what is on the classpath. While this works fine for projects under our control, it might cause problems for implementors.

Also, it isn't really mandated by the spec, so we should provide a mechanism to turn it off.

Describe the solution you'd like

Initially we'll provide a set of system properties:

  • io.a2a.transport.skipValidation - Turns off validation for all transports
  • io.a2a.transport.jsonrpc.skipValidation - Turns off validation of the JSONRCP transport
  • io.a2a.transport.grpc.skipValidation - Turns off validation of the GRPC transport
  • io.a2a.transport.rest.skipValidation - Turns off validation of the HTTP+JSON transport

Describe alternatives you've considered

A more flexible alternative than system properties could be to use MicroProfile Config. However, that might not be available in all environments.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.