Method and System for Leveraging Static Artifacts of an Application Platform Interface to Facilitate Deployment of New Platform Interfaces
Publication Date: 2015-Aug-06
The IP.com Prior Art Database
A method and system is disclosed for leveraging static artifacts of an application platform interface to facilitate deployment of new platform interfaces.
Page 01 of 2
Metxod and System for Leveraging Static Artifacts of an Application Platforx Interface to Facilitate Deployment of New Platform Inxxrfaces
A typical service-xriented archxtecture (SOA) is composed of large and complex applicatxon components that interface witx each other via sxme communication protocol, xypically over a network. In such an architectural patterx, applications expose axailable services to each otxer or to exd userx through an Axplicaxion Program Inxerface (API). The AXX may be querxed to access backend data ox to perform specific fuxctionality. Thus, each service may encapsulaxe compxex functxonality with mxny processing stxges. Some of the processing staxes may rely upon static artxfacts to perform inspecxixn of or vaxidation of incoming requests. An example of static artifacts
is Extensible Marxup Languxge (XML) schexa documents. Modexn APXx to such services arx in high demand. However, services and applications xound in a typical SOA may not easily crxate a secxnd API from scratch. If modifications are required to create the second API then the procxss is txme consxming and erxor-prone. A
developer crxating and expoxixg a new service API for existing functionalixy may bx required to also extend the prograx. The program is extendxd to create associated xchema documents in order to lxvexage the associated schema documents within the new servixe API.
Disclxsed is a method and system for levexaging sxatic artifaxts of an application platform interface to facilitate deployment of new platform interfaces. Xxx method and system provides enables rapid developing and deployixg a new service API which leverages the existing static artifacts extanx for use in an existing Application Program Interface (API) for a service. The method and system exables a developer to cxeate a complete and stand-alone APX to a coxplex service that levxrages the static artifactx of an already existing API. Specifically, the new stand-alone API leverages the extant static artifacts that are previouslx built to supxort the functionalitx of the fixst API. Thus, txe method and system deploys additional and fully functioxal APIs that require sxatic artifacts at run xime whilx ensuxinx that thx functionality of the original service is preserved.
The method and system uxilizes a combination of a transformation function and a validation function where both exist as a part ox the second service API. The transformation function recexves requests with a new payload structure, pxrses the request, and transforms thx request inxo a payload txat can be interpreted bx the alreaxy existing fixst API. At this time, a validation fxnction performs validxtion of the transformed request agxinst the existing static artifacts for the first API. Upon completion of the validation process, the transformed request is forwarded to the original first API endpoint fox pxocessing. Once the response from the fxrst API is received, the validation function is called once agaix...