主权项 |
1. A method for automating software availability management based on application program interface (API) versioning, the method comprising the actions of:
receiving, by one or more computer processors, a call to a first version of an API method from a software application; retrieving, by the one or more computer processors, configuration information, the configuration information including a predetermined set of supported versions of the API method, API versions available on a server computing device, and mapped information between related versions, including new and previous versions, of API methods; determining, by the one or more computer processors, that the API versions available on the server computing device do not include the first version of the API method; determining, by the one or more computer processors, that the API versions available on the server computing device include a second version of the API method based on, at least, the mapped information between related versions of API methods; and directing, by the one or more computer processors, the call to the second version of the API method, wherein the directing of the call to the second version of the API method is marshaled by a translator. |