发明名称 |
Automating client development for network APIs |
摘要 |
System and method of automating client development for an application programming interface (API). An embodiment includes an apparatus capable of receiving information regarding a target application resource accessible by an API, and of generating a selected sequence of API calls based on weighted transitions in an API model representing resources needed for a client to perform interactions with the API. The apparatus is able to automatically generate a client program for interacting with the API according to a sequence of API calls. Additionally, methods are described for converting a model of an API into a directed, weighted graph, allowing determination of a selected sequence of API calls to access a target application resource. The API may be a Representational State Transfer API (REST API) implemented for a software defined network (SDN). |
申请公布号 |
US9398081(B2) |
申请公布日期 |
2016.07.19 |
申请号 |
US201414464040 |
申请日期 |
2014.08.20 |
申请人 |
Futurewei Technologies, Inc. |
发明人 |
Li Li;Chou Wu;Zhou Wei |
分类号 |
G06F9/54;H04L29/08;H04L29/06;H04N21/443;H04M7/00 |
主分类号 |
G06F9/54 |
代理机构 |
Futurewei Technologies, Inc. |
代理人 |
Futurewei Technologies, Inc. |
主权项 |
1. An apparatus comprising:
a transceiver configured to receive a request including a target application resource accessible to an application programming interface (API) executable on the apparatus; a memory storing a description of the API; and a processor communicatively coupled to said transceiver and said memory and configured to:
access the description of the API;generate an API model based on the description, wherein said API model comprises a plurality of elements corresponding to application resource representations and a plurality of weights corresponding to application transitions and associated with a plurality of API calls;determine, based on the plurality of weights, a selected sequence of elements between a first and a second element of the plurality of elements, the first element corresponding to an initial application resource accessible to the API and the second element corresponding to the target application resource;generate selected API calls based on a selection of the application resource representations and the application transitions corresponding to the selected sequence; andsend the selected API calls to a client device. |
地址 |
Plano TX US |