US 11,734,153 B2
Automated discovery of API endpoints for health check and automated health check generation
Robert M. O'Dell, Seattle, WA (US); Nicolas Hernan Battiato, Buenos Aires (AR); Diego Gabriel Larralde, Buenos Aires (AR); Guido Agustin Martinez, Buenos Aires (AR); Christian Vallejos, Buenos Aires (AR); Maria Florencia Vimberg, Buenos Aires (AR); Eduardo Cominguez, Buenos Aires (AR); Ignacio Agustin Manzano, Buenos Aires (AR); and Peter Gorski, Burlingame, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by salesforce.com, inc., San Francisco, CA (US)
Filed on Sep. 20, 2021, as Appl. No. 17/479,518.
Prior Publication US 2023/0093659 A1, Mar. 23, 2023
Int. Cl. G06F 3/00 (2006.01); G06F 11/34 (2006.01); G06F 9/54 (2006.01)
CPC G06F 11/3495 (2013.01) [G06F 9/54 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
comparing, by one or more computing devices using an algorithm based on reference application programming interfaces (APIs) and reference metadata, a specification of a target application programming interface (API) and the reference APIs and reference meta data, wherein the algorithm is a machine learning algorithm, wherein the target API comprises an endpoint, and wherein the reference metadata comprises historical reference about instability of endpoints of the reference APIs;
assigning, by the one or more computing devices and based on the comparing, a relevance value to the endpoint of the target API, wherein the relevance value indicates a probability of the endpoint of the target API being of interest for a health check according to the historical reference about instability;
determining, by the one or more computing devices, the endpoint of the target API as being of interest for a health check using the machine learning algorithm, wherein the machine learning algorithm is trained using training APIs from the reference APIs; and
generating, by the one or more computing devices and based on the relevance value and the determining, an executable health check for the endpoint of the target API, wherein the executable health check comprises code extracted from a health check generation library.