Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Apr 11, 2025

In order to support a future TransportRequest variant that accepts the response type, TransportRequest needs to be an interface. This commit adds AbstractTransportRequest as a concrete implementation and makes TransportRequest a simple interface that joints together the parent interfaces from TransportMessage.

Note that this was done entirely in Intellij using structural find and replace.

In order to support a future TransportRequest variant that accepts the
response type, TransportRequest needs to be an interface. This commit
adds AbstractTransportRequest as a concrete implementation and makes
TransportRequest a simple interface that joints together the parent
interfaces from TransportMessage.

Note that this was done entirely in Intellij using structural find and
replace.
@rjernst rjernst added :Core/Infra/Transport API Transport client API >refactoring auto-backport Automatically create backport pull requests when merged v8.19.0 v9.1.0 labels Apr 11, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine elasticsearchmachine added Team:Core/Infra Meta label for core/infra team serverless-linked Added by automation, don't add manually labels Apr 11, 2025
@rjernst rjernst requested a review from DaveCTurner April 12, 2025 05:32
Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rjernst
Copy link
Member Author

rjernst commented Apr 14, 2025

@elasticmachine update branch

@rjernst rjernst merged commit 83ce15a into elastic:main Apr 14, 2025
17 checks passed
@rjernst rjernst deleted the di/transport_request_interface branch April 14, 2025 21:22
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.x Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 126733

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged backport pending :Core/Infra/Transport API Transport client API >refactoring serverless-linked Added by automation, don't add manually Team:Core/Infra Meta label for core/infra team v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants