[jira] [Created] (FLINK-16321) Refactor HttpFunction to improve testability

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-16321) Refactor HttpFunction to improve testability

Shang Yuanchun (Jira)
Igal Shilman created FLINK-16321:
------------------------------------

             Summary: Refactor HttpFunction to improve testability
                 Key: FLINK-16321
                 URL: https://issues.apache.org/jira/browse/FLINK-16321
             Project: Flink
          Issue Type: Improvement
          Components: Stateful Functions
            Reporter: Igal Shilman
             Fix For: statefun-1.1


The HTTP specific parts (okhttp client) can be extracted out of the HttpFunction,
into a ReuestReply function that is oblivious to the underlying transport, and only captures the protocol.
This would improve testability and would allow other transports,
(like gRPC)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)