Adapting legacy endpoints to modern apis
Abstract
Example methods and systems are directed to adapting legacy endpoints to modern application protocol interfaces (APIs). A legacy endpoint may provide a powerful and complex API. A modern application may desire access to the legacy endpoint. One or more layers may be added between the modern application and the legacy endpoint. Each layer may provide a different API. These layers of APIs may transform the interface from a powerful and complex interface to a more limited but simpler and easier to use interface. In some example embodiments, a proxy layer, an adapter layer, a facade layer, and a service layer may be used.
Claims
exact text as granted — not AI-modified1 . A service machine comprising:
a first order service layer that receives a function call having a first parameter; an order facade layer that receives the function call from the first order service layer, the first order service layer determining a second parameter used by the order facade layer; an order adapter layer that receives the function call from the order facade layer, the order facade layer determining a third parameter used by the order adapter layer; an order proxy layer that receives the function call from the order adapter layer, the order adapter layer determining a fourth parameter used by the order proxy layer, wherein the order proxy layer performs a transformation of the function call; and a second order layer that receive the transformed function call from the order proxy layer, where the order proxy layer is a proxy for the second order layer.
2 . The service machine of claim 1 , wherein the second order layer provides a response to the transformed function call.
3 . The service machine of claim 2 , wherein each of the first order service layer, the order façade layer, the order adapter layer, and the order proxy layer are configured to transform the response upon receipt of the response and prior to forwarding the response.
4 . The service machine of claim 1 , wherein the first order service layer is a representational state transfer (REST) protocol layer.
5 . The service machine of claim 1 , wherein the first order service layer receives the function call at an application protocol interface.
6 . The service machine of claim 1 , wherein the order facade layer conforms to synchronous and asynchronous service application protocol interfaces.
7 . A computer-implemented method comprising:
receiving, at a first order service layer, a function call having a first parameter; receiving, at an order facade layer, the function call from the first order service layer, the first order service layer determining a second parameter used by the order facade layer; receiving, at an order adapter layer, the function call from the order facade layer, the order facade layer determining a third parameter used by the order adapter layer; receiving, an order proxy layer, the function call from the order adapter layer, the order adapter layer determining a fourth parameter used by the order proxy layer, wherein the order proxy layer performs a transformation of the function call; and receiving, a second order layer, the transformed function call from the order proxy layer, where the order proxy layer is a proxy for the second order layer.
8 . The method of claim 7 , wherein the second order layer provides a response to the transformed function call.
9 . The method of claim 8 , wherein each of the first order service layer, the order façade layer, the order adapter layer, and the order proxy layer are configured to transform the response upon receipt of the response and prior to forwarding the response.
10 . The method of claim 7 , wherein the first order service layer is a representational state transfer (REST) protocol layer.
11 . The method of claim 7 , wherein the first order service layer receives the function call at an application protocol interface.
12 . The method of claim 7 , wherein the order facade layer conforms to synchronous and asynchronous service application protocol interfaces.
13 . A system comprising:
memory that stores instructions; and one or more processors configured by the instructions to perform operations comprising:
receiving, at a first order service layer, a function call having a first parameter;
receiving, at an order facade layer, the function call from the first order service layer, the first order service layer determining a second parameter used by the order facade layer;
receiving, at an order adapter layer, the function call from the order facade layer, the order facade layer determining a third parameter used by the order adapter layer;
receiving, an order proxy layer, the function call from the order adapter layer, the order adapter layer determining a fourth parameter used by the order proxy layer, wherein the order proxy layer performs a transformation of the function call; and
receiving, a second order layer, the transformed function call from the order proxy layer, where the order proxy layer is a proxy for the second order layer.
14 . The system of claim 13 , wherein the second order layer provides a response to the transformed function call.
15 . The system of claim 14 , wherein each of the first order service layer, the order façade layer, the order adapter layer, and the order proxy layer are configured to transform the response upon receipt of the response and prior to forwarding the response.
16 . The system of claim 13 , wherein the first order service layer is a representational state transfer (REST) protocol layer.
17 . The system of claim 13 , wherein the first order service layer receives the function call at an application protocol interface.
18 . The system of claim 13 , wherein the order facade layer conforms to synchronous and asynchronous service application protocol interfaces.Join the waitlist — get patent alerts
Track US2021124632A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.