US 11,880,727 B2
Dynamic application programming interface (API) contract generation and conversion through microservice sidecars
Marcos Carranza, Portland, OR (US); Cesar Martinez-Spessot, Hillsboro, OR (US); Mateo Guzman, Beaverton, OR (US); Francesc Guim Bernat, Barcelona (ES); Karthik Kumar, Chandler, AZ (US); Rajesh Poornachandran, Portland, OR (US); and Kshitij Arun Doshi, Tempe, AZ (US)
Assigned to Intel Corporation, Santa Clara, CA (US)
Filed by Intel Corporation, Santa Clara, CA (US)
Filed on Dec. 20, 2021, as Appl. No. 17/556,682.
Prior Publication US 2023/0195547 A1, Jun. 22, 2023
Int. Cl. G06F 9/54 (2006.01); H04L 67/133 (2022.01)
CPC G06F 9/547 (2013.01) [H04L 67/133 (2022.05)] 18 Claims
OG exemplary drawing
 
1. A method comprising:
intercepting, by a first sidecar of a first microservice, a first call by the first microservice to a first application programming interface (API) of a second microservice, wherein the first API is of a first API type of a plurality of API types and is specified by a first contract;
selecting, by the first sidecar, an API type of the plurality of API types; and
responsive to determining the selected API type differs from the first API type:
transforming, by the first sidecar, the first contract into a second contract specifying a second API of the selected API type corresponding to the first API; and
causing, by the first sidecar, a second sidecar of the second microservice to generate the second API and internally connect the second API to the first API by providing the second contract to the second sidecar.