Artificial intelligence-based application programming interface version management

An AI-based scoring engine assists API consumers and producers in managing API versions by generating a switch score to evaluate the impact of transitioning, addressing the inefficiencies in existing solutions and enhancing the decision-making process for API version management.

US20260377175A1Pending Publication Date: 2026-11-26INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/214490
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Filing Date
2025-05-21
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing API management solutions do not provide effective guidance to API consumers in weighing the benefits and risks associated with transitioning to new API versions, leading to a tedious and resource-intensive decision-making process.

Method used

An AI-based scoring engine generates a switch score to quantify the value of transitioning from a historic to a new API version, using historical data and fuzzy logic to evaluate independent scoring variables such as consumer adoption rate, error rate, and performance metrics, providing unbiased guidance to API consumers and producers.

Benefits of technology

The solution reduces the human effort involved in determining API version transitions by automating the evaluation process, improving the efficiency and accuracy of API version management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260377175A1-D00000_ABST
    Figure US20260377175A1-D00000_ABST
Patent Text Reader

Abstract

One or more systems, devices, computer program products and / or computer-implemented methods of use provided herein relate to artificial intelligence (AI)-based application programming interface (API) version management. For example, in one or more embodiments, a system is provided. The system can comprise a memory that can store computer-executable components. The system can further comprise a processor that can execute the computer-executable components stored in the memory, where the computer-executable components can comprise a data access component that can access historical data related to an API. The computer-executable components can further comprise a scoring component that can generate, based on the historical data, a switch score for a historic version of the API, where the switch score can quantify an impact of transitioning an application associated with the API from the historic version of the API to a new version of the API.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND

[0001] The subject disclosure relates to artificial intelligence (AI) and, more specifically, to AI-based application programming interface (API) version management.SUMMARY

[0002] The following presents a summary to provide a basic understanding of one or more embodiments described herein. This summary is not intended to identify key or critical elements, delineate scope of particular embodiments or scope of claims. Its sole purpose is to present concepts in a simplified form as a prelude to the more detailed description that is presented later. In one or more embodiments described herein, systems, computer-implemented methods, apparatus and / or computer program products that enable AI-based API version management are discussed.

[0003] According to an embodiment, a system is provided. The system can comprise a memory that can store computer-executable components. The system can further comprise a processor that can execute the computer-executable components stored in the memory, where the computer-executable components can comprise a data access component that can access historical data related to an application programming interface (API). The computer-executable components can further comprise a scoring component that can generate, based on the historical data, a switch score for a historic version of the API, where the switch score can quantify an impact of transitioning an application associated with the API from the historic version of the API to a new version of the API.

[0004] According to various embodiments, the above-described system can be implemented as a computer-implemented method or as a computer program product.BRIEF DESCRIPTION OF THE DRAWINGS

[0005] One or more embodiments are described below in the Detailed Description section with reference to the following drawings:

[0006] FIG. 1 illustrates a block diagram of an example, non-limiting system that can manage API versions by employing AI models, in accordance with one or more embodiments described herein.

[0007] FIG. 2 illustrates another block diagram of an example, non-limiting system that can manage API versions by employing AI models, in accordance with one or more embodiments described herein.

[0008] FIG. 3 illustrates yet another block diagram of an example, non-limiting system that can manage API versions by employing AI models, in accordance with one or more embodiments described herein.

[0009] FIG. 4 illustrates diagrams of example, non-limiting graphs that show how independent scoring variables related to an API can be fuzzified and defuzzified to generate a switch score for a version of the API, in accordance with one or more embodiments described herein.

[0010] FIG. 5 illustrates a flow diagram of an example, non-limiting method that can tune fuzzy sets of memberships associated with independent scoring variables related to an API, in accordance with one or more embodiments described herein.

[0011] FIG. 6-8 illustrates diagrams of example, non-limiting steps that can be employed to tune fuzzy sets of memberships associated with independent scoring variables related to APIs, in accordance with one or more embodiments described herein.

[0012] FIG. 9 illustrates a flow diagram of an example, non-limiting method that can manage API versions by employing AI models, in accordance with one or more embodiments described herein.

[0013] FIG. 10 illustrates a block diagram of an example, non-limiting operating environment in which one or more embodiments described herein can be facilitated.DETAILED DESCRIPTION

[0014] The following detailed description is merely illustrative and is not intended to limit embodiments and / or application or uses of embodiments. Furthermore, there is no intention to be bound by any expressed or implied information presented in the preceding Background or Summary sections, or in the Detailed Description section.

[0015] One or more embodiments are now described with reference to the drawings, wherein like referenced numerals are used to refer to like elements throughout. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a more thorough understanding of the one or more embodiments. It is evident, however, in various cases, that the one or more embodiments can be practiced without these specific details.

[0016] An API is a set of rules that allows different software applications to communicate with each other. APIs can be internal (e.g., internal to an organization) or public (e.g., external to an organization), and API producers typically make multiple versions of different APIs available to API consumers. An API (internal or external) can have a lifecycle that involves regular and / or frequent publishing of new versions of the API by an API producer. When a new version of an API is published, the onus of determining whether and when the new version of the API can be adopted by an API consumer falls on the API consumer. For example, based on criteria such as how much change the new version of the API can be expected to entail to applications employed by the API consumer, whether the new version of the API will break or damage some existing functionalities employed by the API consumer for the applications, and so on, the API consumer can decide either to adopt the new version of the API or to continue employing a historic (i.e., previous or older) version of the API. Thus, API consumers typically decide whether to transition (i.e., switch) applications to the new version of the API, and such decision-making can be tedious and involve a significant amount of work, especially if a signature of the API, an interface associated with the API or the API itself changes. For example, API consumers can evaluate the risk of adopting the new version of the API against the benefits associated with the new version of the API to determine whether to transition an application from a historic version of the API to the new version of the API. For example, API consumers can weigh the risk of applying changes and updates involved in adopting the new version of the API against the benefits associated with the new version of the API.

[0017] Some existing API management solutions provide API management systems and application management systems that can be employed internally by API developers to determine whether to publish an API version. However, contrary to the embodiments of the present disclosure, these existing solutions do not address the management of different versions of an API from the perspective of API consumers. Thus, methods and techniques that can assist and provide unbiased guidance to API consumers in weighing actual benefits associated with a new version of an API against the risk and effort involved in implementing the new version of the API can be desirable.

[0018] Various embodiments of the present disclosure can be implemented to produce a solution to the problems discussed herein. Embodiments described herein include systems, computer-implemented methods, and computer program products that can enable AI-based API version management. For example, the embodiments of the present disclosure include systems, computer-implemented methods, and computer program products that can be employed by API consumers and API producers to manage new versions of APIs by employing an AI-based scoring engine. In some embodiments, the API consumers and / or API producers can be hardware, software, machines, AI, and / or neural networks, whereas in other embodiments, the API consumers and / or API producers can be human users. For example, in various embodiments, a system is provided. When a new version of an API is available, the system can identify API consumers actively employing a historic version of the API. Next, for each API consumer, the system can employ a scoring technique based on historical analysis of the API to quantify, for an API consumer, a value of adopting the new version of the API. The scoring technique can be based on the consumption of the new version of the API and other activities associated with new version of the API that can be performed by other API consumers related (e.g., similar) to the API consumer. Finally, the system can generate and present a switch score to the API consumer, wherein the switch score can quantify the value of transitioning one or more applications from the historic version of the API to the new version of the API. As such, the switch score can assist API consumers in transitioning applications to newer versions of APIs based on the preferences of the API consumers. The switch score can also assist API producers in reviewing the adoptability (i.e., adoption or adoption rate) of the new version of the API in a pre-production environment. For example, if the switch score exceeds a defined threshold, an API producer can promote the API to a higher environment (e.g., a production or pre-production environment). In this regard, the switch score can act as an adoptability score. In case of lower environments (e.g., development, testing or staging environments), the switch score can be computed based on internal consumers and acceptability tests.

[0019] Specifically, in one or more environments, a system can comprise an API version management model that can provide unbiased guidance to end entities (e.g., hardware, software, machines, AI, neural networks and / or users) to manage new versions of APIs. The API version management model can provide the unbiased guidance by employing a scoring component (i.e., an AI-based scoring engine) to generate a switch score, wherein the switch score can quantify, for an API consumer, the value of transitioning an application employed by the API consumer from a historic version of an API to a new version of the API. For example, the scoring component can determine independent scoring variables associated with a target (e.g., new) version of the API, wherein at least one scoring variable can be based on a comparison of the new version of the API with a source (e.g., historic) version of the API. The scoring component can generate a function based on the independent scoring variables and represent the function as a fuzzy model, wherein the fuzzy model can define linguistic rules. The scoring component can generate the switch score by employing the linguistic rules and a center-of-gravity (COG) technique involving clustering algorithms such as k-means, K-nearest neighbors (KNN), etc.

[0020] For example, the fuzzy model employed by the scoring component can define fuzzy sets of memberships, and respective fuzzy sets of memberships can be employed by the scoring component to quantify respective independent scoring variables. For example, a fuzzy set of memberships can define a consumer adoption rate less than 100(<100 ) as low, a consumer adoption rate between 100 and 500 (100-500) as medium, and a consumer adoption rate greater than 500(>500 ) as high. Thereafter, the scoring component can combine respective fuzzy sets of memberships to generate a final fuzzy set of memberships and compute a crisp score based on the final fuzzy set of memberships by applying, via a clustering algorithm, a COG technique. The crisp score thus generated can be the switch score, and the switch score can be a comparative score representing a comparison of the new version of the API to the historic (e.g., second / third / fourth) version of the API. As such, scoring component can generate a switch score for every combination of a target (e.g., new) version of an API and a source (e.g., a historic) version of the API.

[0021] In one or more embodiments, the independent scoring variables can comprise runtime statistics variables associated with the new version of the API, such as consumer adoption rate, consumption growth rate, error rate (errors per unit invocations of the API), performance, latency, security (over previous versions of the API), etc. The independent scoring variables can further comprise qualitative factors / performance ratings variables associated with the new version of the API, such as ratings describing the ease of use and new capabilities introduced by the new version of the API, ratings describing the monetary benefits realized by employing the new version of the API, etc. The runtime statistics variables can be collected and / or generated by a log analyzer component based on an API log associated with the new version of the API. The performance ratings variables can be provided to the system by end entities (e.g., hardware, software, machines, AI, neural networks and / or users) via an API Portal accessible to a feedback component. The independent scoring variables collected and / or generated by the log analyzer component and the feedback component can be stored by the log analyzer component and the feedback component as historical data within the system. The historical data can be accessed by a data access component that can forward the historical data to scoring component to generate the switch score.

[0022] In one or more embodiments, an exposure component can expose the switch score, via the API portal, to API consumers, and based on the switch score, the API consumers can determine whether to transition one or more applications from the historic version of the API to the new version of the API. In one or more embodiments, an API management component can employ the switch score to manage adoption of the new version of the API. In one or more embodiments, a tuning component can run event data and log data associated with the new version of the API though a clustering algorithm (e.g., k-means, KNN, etc.) to learn (i.e., tune) the respective fuzzy sets of memberships corresponding to the respective independent variables over time. As a result, the tuning component can learn (i.e., tune) the fuzzy model over time via a self-learning (i.e., self-tuning) mechanism. Thus, the embodiments of the present disclosure can proactively predict, based on the switch score, the adoption rate of the new version of the API (applicable to API producers) and the value of adopting the new version of the API (applicable to API consumers) by employing criteria such as API runtime log analysis, API feedback from application developers, and switch statistics (e.g., how frequently API consumers transition applications to the new version of the API) associated with the new version of the API to compute the switch score.

[0023] The embodiments of the present disclosure can be implemented within existing API management platforms to provide a competitive advantage to such platforms, and the scoring technique described in one or more embodiments can be applied to different versions of micro-service applications and / or container images. Further, the embodiments of the present disclosure can be easy to implement and save API consumers and API producers time and resources when managing different versions of APIs.

[0024] For simplicity of explanation, the computer-implemented and non-computer-implemented methodologies provided herein are depicted and / or described as a series of acts. It is to be understood that the subject innovation is not limited by the acts illustrated and / or by the order of acts, for example acts can occur in one or more orders and / or concurrently, and with other acts not presented and described herein. Furthermore, not all illustrated acts can be utilized to implement the computer-implemented and non-computer-implemented methodologies in accordance with the described subject matter. Additionally, the computer-implemented methodologies described hereinafter and throughout this specification are capable of being stored on an article of manufacture to enable transporting and transferring the computer-implemented methodologies to computers. The term article of manufacture, as used herein, is intended to encompass a computer program accessible from any computer-readable device or storage media.

[0025] The systems and / or devices have been (and / or will be further) described herein with respect to interaction between one or more components. Such systems and / or components can include those components or sub-components specified therein, one or more of the specified components and / or sub-components, and / or additional components. Sub-components can be implemented as components communicatively coupled to other components rather than included within parent components. One or more components and / or sub-components can be combined into a single component providing aggregate functionality. The components can interact with one or more other components not specifically described herein for the sake of brevity, but known by those of skill in the art.

[0026] The embodiments depicted in one or more figures described herein are for illustration only, and as such, the architecture of embodiments is not limited to the systems, devices and / or components depicted therein, nor to any particular order, connection and / or coupling of systems, devices and / or components depicted therein. For example, in one or more embodiments, the non-limiting systems described herein, such as non-limiting system 100 as illustrated at FIG. 1, and / or systems thereof, can further comprise, be associated with and / or be coupled to one or more computer and / or computing-based elements described herein with reference to an operating environment, such as the operating environment 1000 illustrated at FIG. 10. For example, non-limiting system 100 can be associated with, such as accessible via, a computing environment 1000 described below with reference to FIG. 10, such that aspects of processing can be distributed between non-limiting system 100 and the computing environment 1000. In one or more described embodiments, computer and / or computing-based elements can be used in connection with implementing one or more of the systems, devices, components and / or computer-implemented operations shown and / or described in connection with FIG. 1 and / or with other figures described herein.

[0027] FIG. 1 illustrates a block diagram of an example, non-limiting system 100 that can manage API versions by employing AI models, in accordance with one or more embodiments described herein.

[0028] Non-limiting system 100 and / or the components of non-limiting system 100 can be employed to use hardware and / or software to solve problems that are highly technical in nature (e.g., related to AI, fuzzy logic, API version management, etc.), that are not abstract and that cannot be performed as a set of mental acts by a human. Further, some of the processes performed may be performed by specialized computers for carrying out defined tasks related to applying AI technology to automate the prediction, model refinement and improvement of API versioning. Non-limiting system 100 and / or components of non-limiting system 100 can be employed to solve new problems that arise through advancements in technologies mentioned above, and / or the like. Non-limiting system 100 can provide technical improvements to API management systems by automatically evaluating performance and usage statistics associated with APIs, generating scores that can quantify the values associated with transitioning applications to newer versions of APIs and that can quantify the adoption rate of the newer version of the APIs, reducing the human effort involved in determining whether to transition applications from historic versions of APIs to newer versions of APIs and in implementing newer versions of APIs, and automating the prediction, model refinement and improvement of API versioning.

[0029] In one or more embodiments, non-limiting system 100 can comprise system 102. Discussion turns briefly to processor 104, memory 106 and bus 108 of system 102. For example, in one or more embodiments, system 102 can comprise processor 104 (e.g., computer processing unit, microprocessor, classical processor, and / or like processor). In one or more embodiments, a component associated with system 102, as described herein with or without reference to the one or more figures of the one or more embodiments, can comprise one or more computer and / or machine readable, writable and / or executable components and / or instructions that can be executed by processor 104 to enable performance of one or more processes defined by such component(s) and / or instruction(s).

[0030] In one or more embodiments, system 102 can comprise a computer-readable memory (e.g., memory 106) that can be operably connected to processor 104. Memory 106 can store one or more computer and / or machine readable, writable and / or executable components and / or instructions that, when executed by processor 104, can enable performance of one or more operations defined by such component(s) and / or instruction(s). For example, in one or more embodiments, memory 106 can store computer-executable instructions that, upon execution by processor 104, can cause processor 104 and / or one or more other components of system 102 (e.g., application programming interface (API) version management model 110, data access component 202, log analyzer component 204, scoring component 206, exposure component 208, API management component 210, tuning component 212 and feedback component 214) to perform one or more actions. In one or more embodiments, memory 106 can store computer-executable components (e.g., API version management model 110, data access component 202, log analyzer component 204, scoring component 206, exposure component 208, API management component 210, tuning component 212 and feedback component 214). In one or more embodiments, one or more of the components of system 102 can reside in the cloud, and / or can reside locally in a local computing environment (e.g., at a specified location(s)).

[0031] Non-limiting system 100 and / or a component thereof as described herein, can be communicatively, electrically, operatively, optically and / or otherwise coupled to one another via bus 108. Bus 108 can comprise one or more of a memory bus, memory controller, peripheral bus, external bus, local bus, and / or another type of bus that can employ one or more bus architectures. One or more of these examples of bus 108 can be employed. In one or more embodiments, non-limiting system 100 can be coupled (e.g., communicatively, electrically, operatively, optically and / or like function) to one or more external systems (e.g., a non-illustrated electrical output production system, one or more output targets, an output target controller and / or the like), sources and / or devices (e.g., classical computing devices, communication devices and / or like devices), such as via a network.

[0032] In one or more embodiments, system 102 can comprise API version management model 110. As illustrated in FIG. 2, API version management model 110 can comprise data access component 202, log analyzer component 204, scoring component 206, exposure component 208, API management component 210, tuning component 212 and feedback component 214. In one or more embodiments, API version management model 110 can perform API version management by employing AI models. For example, API version management model 110 can generate respective switch scores for respective historic (i.e., occurring earlier in time) versions of an API, wherein a switch score corresponding to a historic version of the API can assist an end entity (e.g., hardware, software, machine, AI, neural network and / or user) employing the historic version of the API to determine whether to transition an application employed by the end entity (e.g., hardware, software, machine, AI, neural network and / or user) from the historic version of the API to a new version of the API.

[0033] Specifically, in one or more embodiments, data access component 202 can access historical data related to an API (i.e., historical data 120). Historical data 120 can comprise a set of independent scoring variables (also known as independent scoring values or independent switch variables), wherein the set of independent scoring variables can comprise a set of runtime statistics variables and a set of performance ratings variables, and wherein the set of independent scoring variables can be associated with the new version of the API. For example, the set of runtime statistics variables can comprise variables such as consumer adoption rate, consumer growth rate, error rate (e.g., errors per unit invocations of the new version of the API), performance, latency and security of the new version of the API over historic versions of the API), etc. that describe the runtime statistics associated with the new version of the API. Likewise, the set of performance ratings variables can comprise variables such as ratings associated with the ease of use of the new version of the API and new capabilities introduced by the new version of the API, ratings associated with monetary benefits realized upon employing the new version of the API, etc. that describe the qualitative factors associated with the new version of the API. Further, respective independent scoring variables of the set of independent variables can be comprised within historical data 120 as raw values or raw scores (e.g., consumer adoption rate, consumer growth rate, monetary benefits ratings, etc.) having numeric, percentage, binary, or other suitable formats. It should be appreciated that in various embodiments, historical data 120 represents data or new data associated with historical (e.g., past or recent) usage of the new version of the API by end entities (e.g., hardware, software, machines, AI, neural networks and / or users).

[0034] In one or more embodiments, at least one independent scoring variable comprised within the set of independent scoring variables can be based on a comparison of the new version of the API to the historic version of the API. For example, a first historic version of the API, a second historic version of the API and the new version of the API can be represented as Vk, Vk-1 and Vn, respectively, and the consumer adoption rate associated with the new version of the API can be represented as a comparison with the consumer adoption rates of the historic versions of the API (e.g., Vn versus Vk with respect to the first historic version of the API, Vn versus Vk-1 with respect to the second historic version of the API, and so on), wherein the second historic version of the API can be an older (i.e., older in time) version of the API as compared to the first historic version of the API. One or more independent scoring variables comprised within the set of independent scoring variables can be based on a comparison of the new version of the API to the historic version of the API.

[0035] In one or more embodiments, historical data 120 can be collected and / or generated by log analyzer component 204 (a log analyzer) and feedback component 214. For example, in one or more embodiments, log analyzer component 204 can track respective runtime statistics variables comprised within the set of runtime statistics variables. For example, log analyzer component 204 can access an API log associated with the API, and based on the API log, log analyzer component 204 can identify API customers employing the new version of the API and track the respective runtime statistics variables logged in the API log. API logs are detailed records of requests made by applications to an API and the corresponding responses. API logs typically capture information such as request data, response data, timestamps, status codes, user identifiers, error rate information and performance metrics, and API logs are employable to monitor API activity, troubleshoot issues, analyze performance, and ensure proper operation and security of applications.

[0036] Further, log analyzer component 204 can track errors (e.g., abnormal errors) encountered by one or more applications upon invoking (i.e., initiating / making a request to) APIs and generate runtime statistics variables based on the errors. For example, log analyzer component 204 can measure error data / track errors (e.g., abnormal errors) encountered by one or more applications during past invocations of the new version of the API. For example, the new version of the API can be adopted by one or more end entities (e.g., hardware, software, machines, AI, neural networks and / or users), and different applications employed by different end entities (e.g., hardware, software, machines, AI, neural networks and / or users) can invoke the new version of the API for data access and communication with other applications. The errors encountered by the different applications upon invoking the new version of the API can be automatically recorded in an API log associated with the API, and log analyzer component 204 can access the API log and track the errors logged in the API log.

[0037] Based on the errors, log analyzer component 204 can compute the error rate (e.g., errors per unit invocations) associated with the new version of the API and generate a risk score associated with the new version of the API. The error rate and the risk score can represent respective runtime statistics variables that can be employed by scoring component 206 to generate switch score 128. In an embodiment, log analyzer component 204 can directly forward the respective runtime statistics variables to scoring component 206 (also known as a scoring engine, scoring model or analytics engine). In another embodiment, log analyzer component 204 can store the respective runtime statistics variables in a memory (e.g., memory 106), and data access component 202 can access the respective runtime statistics variables from the memory and forward the respective runtime statistics variables to scoring component 206. Thus, log analyzer component 204 can analyze API logs to collect and / or generate the respective runtime statistics variables.

[0038] In one or more embodiments, feedback component 214 can track respective performance ratings variables comprised within the set of performance ratings variables. For example, the respective performance ratings variables can represent qualitative feedback associated with the new version of the API. The respective performance ratings variables can be input to system 102, via the user interface (UI) of a computing device (e.g., a desktop computer, a laptop computer, a tablet, a smartphone, etc.), by the different end entities (e.g., hardware, software, machines, AI, neural networks and / or users) employing the new version of the API, wherein the UI can be an API portal (e.g., API portal 308 of FIG. 3). In an embodiment, feedback component 214 can directly forward the respective performance ratings variables to scoring component 206 (a scoring engine, scoring model or analytics engine). In another embodiment, feedback component 214 can store the respective performance ratings variables in a memory (e.g., memory 106), and data access component 202 can access the respective performance ratings variables from the memory and forward the respective performance ratings variables to scoring component 206.Computing the Switch Score

[0039] In one or more embodiments, scoring component 206 can generate (i.e., compute or update), based on historical data 120, switch score 128 for the historic version of the API, wherein switch score 128 can quantify an impact of transitioning an application associated with the API from the historic version of the API to a new version of the API. Scoring component 206 can model the computation of switch score 128 via a function based on the set of independent scoring variables comprised within historical data 120. For example, scoring component 206 can generate function 122, wherein function 122 can represent the set of independent scoring variables comprised within historical data 120. Further, scoring component 206 can represent function 122 via a fuzzy model (i.e., fuzzy model 124), wherein fuzzy model 124 can define a set of linguistic rules employable by scoring component 206 to compute switch score 128. Finally, scoring component 206 can apply fuzzy model 124 to the set of independent scoring variables comprised within historical data 120.Fuzzy Models

[0040] A fuzzy model or fuzzy logic-based model is a mathematical or computational model that uses fuzzy logic to handle uncertainty and imprecision, allowing variables to have degrees of truth rather than fixed true / false values. Fuzzy logic is designed to model human thinking. Humans typically use imprecise or qualitative terms such as “low,”“medium,”“high,”“fast,” or “hot” instead of exact numerical values. This spectrum of preferences and reasoning is well captured by fuzzy logic, unlike binary logic, which deals in absolutes (true / false or 0 / 1). To model human thinking, fuzzy logic employs a set of linguistic rules. Linguistic rules in fuzzy models are if-then statements that employ natural language terms (e.g., “high,”“low,”“fast,”“slow”) to describe relationships between inputs and outputs. Linguistic rules are a key part of fuzzy inference systems. Fuzzy sets of memberships provide the mathematical foundation for fuzzy logic by quantifying the degree to which inputs belong to qualitative categories, enabling the use of linguistic rules to model human-like reasoning. Fuzzy sets of memberships refer to mathematical representations in which elements have varying degrees of associations with a set, rather than a binary inclusion or exclusion. Each element's degree of membership is quantified by a value between 0 and 1, as defined by a membership function. This approach allows fuzzy models to interpret and process imprecise, qualitative, or subjective input data, enabling reasoning that closely reflects human decision-making.

[0041] To apply fuzzy model 124 to the set of independent scoring variables, scoring component 206 can quantify (i.e., fuzzify), via fuzzy model 124, respective independent scoring variables comprised within the set of independent scoring variables according to respective fuzzy sets of memberships. For example, scoring component 206 can quantify (i.e., fuzzify) the respective independent scoring variables by employing the set of linguistic rules defined by fuzzy model 124. For example, scoring component 206 can fuzzify the raw scores for the consumer adoption rate of the new version of the API with a three element set, such that a consumer adoption rate between 0 to 100 [0-100] can be classified as low, a consume adoption rate between 100 to 500 [100-500] can be classified as medium, and a consumer adoption rate greater than 500 [>500] can be classified as high, by scoring component 206. Herein, quantifying independent scoring variables refers to converting raw values into flexible qualitative scores such as low / high, fast / slow, etc. by assigning numerical degrees of membership to the raw values.

[0042] Upon fuzzifying the respective independent scoring variables comprised within the set of independent scoring variables, scoring component 206 can compute, via fuzzy model 124, a final set of memberships (i.e., final fuzzy set of memberships 126) based on the respective fuzzy sets of memberships. Scoring component 206 can employ a fuzzy rule-based expert system to compute final fuzzy set of memberships 126, wherein the fuzzy rule-based expert system can be based on the set of linguistic rules defined by fuzzy model 124. For example, scoring component 206 can combine the respective fuzzy sets of memberships by employing if-then rules, such as “If consumer adoption rate is high and growth rate is medium, then the overall score is high,” to generate final fuzzy set of memberships 126 that can represent a combined output. As a result, scoring component 206 can incorporate the interactions between the independent scoring variables comprised within historical data 120 and facilitate decision-making based on fuzzy inference.

[0043] In the final defuzzification process, scoring component 206 can employ a COG technique to compute, via fuzzy model 124, based on final fuzzy set of memberships 126, a crisp score (also known as a crisp final switch score), wherein the crisp score can represent switch score 128. Stated differently, scoring component 206 can defuzzify final fuzzy set of memberships 126. The COG technique can compute the crisp score as the COG of a group of data points comprised within final fuzzy set of memberships 126.COG Technique

[0044] The COG technique is a common statistical technique employed in clustering algorithms, such as k-means clustering, wherein given data points on an X-Y plane, the centroid of the data points is employed within clustering algorithms to group the data points into clusters. For example, during the clustering process, a clustering algorithm attempts to identify a centroid (i.e., a center point) for each cluster, such that the sum of squared distances from the centroid to all other data points within the cluster is minimized. For example, in k-means clustering, after initially assigning data points to clusters, the clustering algorithm calculates the centroid of each cluster by averaging the values of the data points within the cluster. The clustering algorithm then reassigns the data points to the new centroids and repeats the process until convergence, when the centroids stop changing significantly.

[0045] In one or more embodiments, switch score 128 computed by scoring component 206 can be based on affinity mapping. For example, different subsets of API consumers or end entities (e.g., hardware, software, machines, AI, neural networks and / or users) within different verticals (e.g., industries) can be associated with different risk levels. Further, different verticals can adopt a version of an API at different rates for similar end uses. For example, a first vertical (e.g., Fintech) can have a low risk level associated with adopting the new version of the API, whereas a second level can have a high risk level associated with adopting the new version of the API. Accordingly, the adoption rate for the new version of the API can be higher within the first vertical and lower within the second vertical. For example, a first subset of API consumers within a first vertical can adopt the new version of the API faster than a second subset of API consumers within a second vertical. In one or more embodiments, scoring component 206 can factor such criteria into the computation of switch score 128. For example, scoring component 206 can group API consumers based on likeness criteria such as similar use cases, industry verticals, behaviors, risk profiles, etc.

[0046] To compute switch score 128 for a group of API consumers, scoring component 206 can employ independent scoring variables comprised within historical data 120 that are relevant to the group of API consumers, generate a function based on the relevant independent scoring variables, represent the function with a fuzzy model (e.g., fuzzy model 124) and apply the fuzzy model to the set of independent scoring variables to generate switch score 128, as discussed with reference to FIG. 1. In one or more embodiments, scoring component 206 can also assign a base score to the group of API consumers, wherein the base score can reflect, for example, a likelihood of the adoption of the new version of the API by the group of API consumers. For example, scoring component 206 can assign a higher score to more agile, high-risk industries (e.g., technology startups) and lower scores to more regulated industries (e.g., healthcare). Further, scoring component 206 can adjust the base score according to behavioral factors such as early or late adoption, update frequency, historical responsiveness to API changes, etc. and employ the adjusted base score to further weight switch score 128. Thus, scoring component 206 can provide a layered scoring method based on affinity mapping that can be impactful in defining the cost of transitioning an application from a historic version of the API to a new version of the API.

[0047] As stated elsewhere herein, switch score 128 can quantify, for an API consumer, an impact of transitioning the application from the historic version of the API to a new version of the API. Stated differently, switch score 128 can be a quantitative score having a value that can indicate the impact of adopting a version of the API. In this regard, switch score 128 can be defined as an advanced property of the API that can be dynamically computed and updated by scoring component 206.

[0048] In one or more embodiments, switch score 128 can be a recommendation that can be provided to consumers of the API or end entities (e.g., hardware, software, machines, AI, neural networks and / or users) to determine whether to transition applications from a historic version of an API to the new version of the API. For example, in one or more embodiments, exposure component 208 can expose, via an API portal (e.g., API portal 308), switch score 128 to the application associated with (i.e., subscribed to) the historic version of the API. Once exposed, switch score 128 can be employed by end entities (e.g., hardware, software, machines, AI, neural networks and / or users) employing the historic version of the API in connection with the application to determine whether to transition the application from the historic version of the API to the new version of the API. For example, if switch score 128 is greater than a first defined threshold, an end entity (e.g., hardware, software, machine, AI, neural network and / or user) can transition the application from the historic version of the API to the new version of the API. Alternatively, if switch score 128 is less than the first defined threshold, an end entity (e.g., hardware, software, machine, AI, neural network and / or user) can refrain from transitioning the application from the historic version of the API to the new version of the API. Similarly, in one or more embodiments, exposure component 208 can expose, via the API portal (e.g., API portal 308), switch score 128 to one or more applications associated with (i.e., subscribed to) the historic version of the API, and end entities (e.g., hardware, software, machines, AI, neural networks and / or users) employing the historic version of the API in connection with the one or more applications can determine, based on switch score 128, whether to transition the one or more applications from the historic version of the API to the new version of the API.

[0049] In one or more embodiments, exposure component 208 can be a module designed to expose switch score 128 to one or more applications subscribed to the historic version of the API when queried by the one or more subscribed applications. In one or more embodiments, the API portal employed by exposure component 208 to expose switch score 128 can be the same API portal employed by different end entities (e.g., hardware, software, machines, AI, neural networks and / or users) such as application developers to input respective performance ratings variables comprised within historical data 120 to system 102, wherein the respective performance ratings variables can be input to system 102 as feedback associated with the new version of the API.

[0050] API producers typically release different versions of an API and manage the adoption of various releases of the API. In one or more embodiments, switch score 128 can be a recommendation that can be provided to producers of APIs or end entities (e.g., hardware, software, machines, AI, neural networks and / or users) to determine whether to increase the adoptability (i.e., adoption or adoption rate) of the new version of the API. For example, in one or more embodiments, API management component 210 can access switch score 128 and manage the new version of the API based on switch score 128. For example, if switch score 128 is greater than a second defined threshold, API management component 210 can increase the adoption of the new version of the API. Alternatively, if switch score 128 is less than the second defined threshold, API management component 210 can decrease the adoption of the new version of the API or maintain the adoption of the new version of the API at an existing adoption rate.

[0051] In one or more embodiments, API management component 210 can be a module designed to manage different versions (i.e., manage the adoption of different versions) of the API based on different switch scores. For example, in one or more embodiments, scoring component 206 can be a module that can manage the logic employable to compute switch scores for different versions of the API. Accordingly, scoring component 206 can generate respective switch scores for respective versions of an API. Based on the respective switch scores, API management component 210 can manage the adoption of the respective versions of the API.

[0052] In one or more embodiments, switch score 128 can assist API producers in reviewing the adoptability of the new version of the API in a pre-production environment. For example, if switch score 128 exceeds the second defined threshold, an API producer can promote the API to a higher environment (e.g., a production or pre-production environment). In this regard, switch score 128 can act as an adoptability score. In case of lower environments (e.g., development, testing or staging environments), switch score 128 can be computed by scoring component 206 based on data (e.g., independent scoring variables) from internal consumers and acceptability tests.Tuning Fuzzy Sets of Memberships

[0053] In one or more embodiments, tuning component 212 can employ event and log data from API logs associated with the API, in conjunction with a clustering algorithm such as k-means or KNN, to learn and tune the respective fuzzy sets of memberships corresponding to respective independent scoring variables comprised within historical data 120. For example, once a fuzzy set of memberships is defined by fuzzy model 124, tuning component 212 can employ k-means to determine the COG of the cluster corresponding to the fuzzy set of memberships. Thereafter, tuning component 212 can adjust the fuzzy set of memberships by employing a 1-sigma adjustment from the COG, thereby continuously learning how the fuzzy set of memberships can be tuned.

[0054] Specifically, tuning component 212 can continuously tune the respective fuzzy sets of memberships employable by scoring component 206 to quantify (i.e., fuzzify) the respective independent scoring variables comprised within historical data 120. To tune a fuzzy set of memberships comprised within the respective fuzzy sets of memberships, tuning component 212 can monitor the independent scoring variable corresponding to the fuzzy set of memberships, wherein the independent scoring variable can be comprised within the set of independent scoring variables. Tuning component 212 can continuously monitor the independent scoring variable based on logs and events of a running API, that is, running versions of the API / versions of the API being employed by end entities (e.g., hardware, software, machines, AI, neural networks and / or users). Based on the monitoring, tuning component 212 can cluster time series data associated with the independent scoring variable by applying a clustering algorithm to the time series data. The time series data can comprise the values assumed by the independent scoring variable over a defined duration of time.

[0055] Based on the clustering, tuning component 212 can compute a COG value for the independent scoring variable, and based on the COG value, tuning component 212 can adjust the fuzzy set of memberships. That is, tuning component 212 can adjust the definition of the fuzzy set of memberships (fuzzy set values). For example, the fuzzy set of memberships can indicate that a consumption growth rate value between the range of 130 to 170 can be classified as medium (medium fuzzy set) by scoring component 206. However, the definition of what can be defined as a medium consumption rate can vary over time as newer versions of the API are adopted by end entities (e.g., hardware, software, machine, AI, neural networks, and / or users), new data (e.g., logs and events from API logs) corresponding to the newer versions becomes available, etc. As an analogy, the local temperature of a city can change from an average of 70 degrees Fahrenheit (F) in April to an average of 80 degrees F in April over the course of 10 years. By continuously monitoring the consumption growth rate over time, tuning component 212 can access new data representative of a new definition for the consumption growth rate. Based on the new data, tuning component 212 can compute a COG value for the consumption growth rate by employing clustering algorithms (e.g., k-means, KNN, etc.), and based on the COG value, tuning component 212 can adjust the definition of the fuzzy set of memberships corresponding to the consumption growth rate, such that a consumption growth rate value between the range of 140 to 180 (as opposed to 130 to 170) can be classified as medium (e.g., a medium fuzzy set) by scoring component 206. Thus, tuning component 212 can ensure that the fuzzy sets of memberships that can be employed by scoring component 206 are accurate and relevant to the new version of the API.

[0056] In one or more embodiments, tuning component 212 can employ clustering algorithms to automatically tune respective fuzzy sets of memberships for each new version of the API. Given the potentially large number of permutations across different versions of the API, tuning component 212 can provide a continuous learning model to learn (i.e., tune) the respective fuzzy sets of memberships. The tuning method described herein can integrate well with AI-based systems such as Cloud Pak® for Artificial Intelligence for IT Operations (AIOps®), a solution developed by the International Business Machines Corporation (IBM®) that employs AI and automation to help businesses manage and optimize their IT operations.

[0057] In one or more embodiments, tuning component 212 can employ a computer hardware fuzzy logic system to tune the respective fuzzy sets of memberships. The computer hardware fuzzy logic system can comprise a controlled system and a fuzzy logic application that can control the controlled system. For example, the fuzzy logic application can retrieve, from a store of historical input values for the controlled system, a dataset defined by a period of time. Further, the fuzzy logic application can generate K clusters from the dataset, generate new fuzzy set definitions for the K clusters and update, within the fuzzy logic application, old fuzzy set definitions with the new fuzzy set definitions. Based on received input values for the controlled system, the fuzzy logic application can generate variable adjustments to the control system by employing the new fuzzy set definitions. Finally, the fuzzy logic application can modify the controlled system using the variable adjustments. Fuzzy logic applications are known in the art, and a typical fuzzy logic application can comprise a fuzzifier, a fuzzy logic rules executioner, fuzzy set definitions and a defuzzifier. A fuzzifier is a device that can convert crisp numbers of the input variables for the controlled system into fuzzy sets with some degree of membership. The membership can be anywhere within the interval [0, 1], wherein zero (0) means that the value does not belong to a particular fuzzy set, wherein one (1) means that the value fully belongs to the particular fuzzy set, and wherein any value between 0 and 1 means that the value partially belong to the particular fuzzy set.

[0058] Additional aspects of the various embodiments herein are described with reference to the subsequent figures.

[0059] FIG. 2 illustrates another block diagram of an example, non-limiting system 200 that can manage API versions by employing AI models, in accordance with one or more embodiments described herein. Repetitive description of like elements and / or processes employed in respective embodiments is omitted for sake of brevity.

[0060] Non-limiting system 200 illustrates the system of API version management model 110 of FIG. 1. As described with reference to FIG. 1, API version management model 110 can comprise data access component 202, log analyzer component 204, scoring component 206, exposure component 208, API management component 210, tuning component 212 and feedback component 214.

[0061] In one or more embodiments, scoring component 206 can comprise and manage the logic to compute switch score 128, wherein switch score 128 can represent a quantitative measure of the value associated with transitioning (i.e., switching) an application from a historic version of an API to a new version of the API. Scoring component 206 can compute different switch scores for different historic versions of the API based on the new version of the API. For example, a switch score based on a combination of a first historic version of the API and the new version of the API can be different than the switch score associated with a combinations of a second historic version of the API and the new version of the API. Scoring component 206 can employ a fuzzy model 124 to represent a function based on independent scoring variables associated with the new version of the API, and scoring component 206 can combine fuzzy logic with a linguistic scoring mechanism to compute switch score 128.

[0062] In one or more embodiments, log analyzer component 204 can track runtime statistics variables associated with the new version of the API. Log analyzer component 204 can also track errors associated with the new version of the API based on logs and events recorded in an API log when the new version of the API is invoked. Based on the errors, log analyzer component 204 can compute an error rate and a risk score, and log analyzer component 204 can forward the error rate and the risk score to scoring component 206. Scoring component 206 can employ the error rate and the risk score to compute switch score 128.

[0063] In one or more embodiments, exposure component 208 can expose switch score 128 at an API portal in response to the API being queried by one or more subscribed applications. The exposed API score (i.e., switch score 128) can be employed by end entities (e.g., hardware, software, machines, AI, neural networks and / or users) such as API consumers to determine whether to transition the one or more subscribed applications from the historic version of the API to the new version of the API. The API portal can also be employed by the end entities (e.g., hardware, software, machines, AI, neural networks and / or users) to provide feedback in the form of quantitative metrics, for example, when transitioning the one or more subscribed applications to the new version of the API.

[0064] In one or more embodiments, API management component 210 can manage different versions of the API based on switch score 128. Thus, switch score 128 can be defined as a property of the API that can be constantly updated. In one or more embodiments, switch score 128 can assist end entities (e.g., hardware, software, machines, AI, neural networks and / or users) in adopting any suitable version of the API.

[0065] In one or more embodiments, tuning component 212 can employ a clustering algorithm to tune fuzzy model 124 over time by continuously tuning fuzzy sets of memberships employable by scoring component 206 to compute switch score 128. Thus, tuning component 212 can provide an automatic learning mechanism to tune the fuzzy sets of memberships.

[0066] FIG. 3 illustrates yet another block diagram of an example, non-limiting system 300 that can manage API versions by employing AI models, in accordance with one or more embodiments described herein. Repetitive description of like elements and / or processes employed in respective embodiments is omitted for sake of brevity.

[0067] Non-limiting system 300 illustrates API management platform 302. An API management platform is a tool or set of tools that assists organizations in creating, publishing, securing, monitoring, and managing APIs across the full lifecycles of the APIs. An API management platform can also assist API consumers and applications in discovering APIs, authenticating requests, and securely integrating API functionality into their systems.

[0068] For example, API management platform 302 can comprise API gateway 304, analytics 306, API portal 308 and API manager 310. API gateway 304 can be a component that can be employed by API management platform 302 to manage the runtime invocation of different APIs. API gateways enforce runtime policies to secure and control API traffic, provide the endpoints that expose APIs to the calling applications, and provide assembly functions that enable APIs to integrate with various endpoints. Analytics 306 can be a component that can be employed to manage the analytics gathered for exposed APIs. API portal 308 can be a component that can be employed by API management platform 302 to expose published APIs for consumption by end entities (e.g., hardware, software, machines, AI, neural networks and / or users). That is, API portal 308 can assist with the socializing of APIs. API manager 310 can be a component that can manage different software configurations employable to support authoring and managing the lifecycles of different APIs.

[0069] API management platform 302 can be employed by API producer 316 to create, publish and manage different versions of different APIs, by API consumer 314 to access and implement the different versions of the different APIs in connection with application 312, and by application 312 to invoke the different versions of the different APIs for data access and communication with other applications. In some embodiments, API producer 316 can be a hardware, software, machine, AI and / or neural network, whereas in other embodiments, API producer 316 can be a human user. Likewise, in some embodiments, API consumer 314 can be a hardware, software, machine, AI and / or neural network, whereas in other embodiments, API consumer 314 can be a human user. API Connect® by IBM® is an example of an API management platform. API connect® is a comprehensive API management solution designed to support entire API lifecycles from creation and deployment to security, management, and analytics.

[0070] With continued reference to at least FIGS. 1 and 2, in one or more embodiments, API management platform 302 can also be a platform within which API version management model 110 can be implemented. For example, as illustrated in FIG. 3, API management platform 302 can comprise log analyzer component 204, scoring component 206, exposure component 208 and API management component 210. In an embodiment, log analyzer component 204 can be comprised within API gateway 304, scoring component 206 can be comprised within analytics 306, exposure component 208 can be comprised within API portal 308 and API management component 210 can be comprised within API manager 310. In another embodiment, log analyzer component 204 can be located external to API gateway 304 within API management platform 302, scoring component 206 can be located external to analytics 306 within API management platform 302, exposure component 208 can be located external to API portal 308 within API management platform 302, and API management component 210 can be located external to API manager 310 within API management platform 302. Although not illustrated, in one or more embodiments, API management platform 302 can also comprise data access component 202, tuning component 212 and feedback component 214.

[0071] Thus, the embodiments of the present disclosure can be implemented within existing API management solutions such as API management platform 302 to benefit entire API ecosystems, API management spaces and event streams.

[0072] FIG. 4 illustrates diagrams of example, non-limiting graphs 400 and 420 that show how independent scoring variables related to an API can be fuzzified and defuzzified, respectively, to generate a switch score for a version of the API, in accordance with one or more embodiments described herein. Repetitive description of like elements and / or processes employed in respective embodiments is omitted for sake of brevity.

[0073] With continued reference to FIGS. 1 and 2, non-limiting graph 400 shows how independent scoring variables comprised within historical data 120 can be fuzzified via fuzzy model 124, and non-limiting graph 420 shows how final fuzzy set of memberships 126 based on the fuzzified variables can be defuzzified via fuzzy model 124.

[0074] Recall that to apply fuzzy model 124 to the set of independent scoring variables, scoring component 206 can quantify (i.e., fuzzify), via fuzzy model 124, respective independent scoring variables comprised within the set of independent scoring variables comprised within historical data 120, according to respective fuzzy sets of memberships. Upon fuzzifying the respective independent scoring variables, scoring component 206 can compute, via fuzzy model 124, final fuzzy set of memberships 126 based on the respective fuzzy sets of memberships. Scoring component 206 can employ a fuzzy rule-based expert system to compute final fuzzy set of memberships 126, wherein the fuzzy rule-based expert system can be based on the set of linguistic rules defined by fuzzy model 124. During the defuzzification process, scoring component 206 can employ a COG technique to compute, via fuzzy model 124, based on final fuzzy set of memberships 126, a crisp score, wherein the crisp score can represent switch score 128. That is, scoring component 206 can defuzzify final fuzzy set of memberships 126.

[0075] A fuzzy set of memberships (also known as a fuzzy membership set, a fuzzy set with membership values or a fuzzy set with a membership function) can be defined as a collection of membership values corresponding to elements in a universe, assigned by a fuzzy set's membership function. In one or more embodiments, scoring component 206 can select the appropriate fuzzy set of memberships to fuzzify each independent scoring variable. For example, as described with reference to FIG. 1, historical data 120 can comprise runtime statistics variables (i.e., independent scoring variables) such as consumption growth rate, consumer adoption rate, invocation error rate, performance, latency, security, etc. associated with the new version of the API, as well as performance ratings variables (i.e., independent scoring variables) such as ease of use ratings, monetary benefit ratings, and other qualitative factors associated with the new version of the API. In non-limiting graph 400, block 402, block 404 and block 406 can represent a fuzzy set of memberships selected by scoring component 206 to fuzzify the consumer adoption rate variable, wherein block 402 can define the range of raw values of the consumer adoption rate variable that can be classified as low, block 404 can define the range of raw values of the consumer adoption rate variable that can be classified as medium, and block 406 can define the range of raw values of the consumer adoption rate variable that can be classified as high. Thus, based on the fuzzy set of memberships illustrated by non-limiting graph 400, scoring component 206 can classify a consumer adoption rate of 133, illustrated between lines 408 and 410, as a medium consumer adoption rate.

[0076] In this manner, fuzzifying independent scoring variables can assist scoring component 206 in transforming qualitative and quantitative metrics into fuzzy values (e.g., more quantitative values) by assigning degrees of membership, enabling consistent interpretation and reasoning within a fuzzy logic framework. Employing purely quantitative data points to compute switch score 128 is often not practical since the scales employed to generate such data points can evolve with API versions. For example, a latency of 10 milliseconds (ms) for an API can be considered good for a historic version of the API, but the same amount of latency can be considered slow for a new version of the API. Thus, purely quantitative data points are not the best measures to compute switch scores for different versions of an API. Accordingly, employing fuzzy logic, via fuzzy model 124, can be a more suitable solution to compute switch score 128 as compared to other AI-based techniques known in the art. The fuzzy logic can introduce a contextual aspect to the embodiments of the present disclosure since fuzzy linguistic variables can quantify metrics according to preferences (e.g., low / medium / high, slow / fast, slower / faster, etc.) naturally expressed by humans.

[0077] Upon fuzzification of the respective independent scoring variables comprised within historical data 120, scoring component 206 can employ a fuzzy rule-based expert system (i.e., fuzzy, linguistic rules) that can combine respective fuzzy sets of memberships corresponding to the respective independent scoring variables to generate final fuzzy set of memberships 126. For example, the fuzzy rule-based expert system can map an input set to an output set, by computing a switch value. For example, if the consumer adoption rate is classified as high and the consumption growth rate is classified as fast by scoring component 206, then a corresponding switch value can be maximum. Based on the linguistic rules, scoring component 206 can generate multiple switch values, and employ the switch values to scale different output sets by rule strength. For example, scoring component 206 can assign respective values to respective scaled output sets based on the activation strength of the linguistic rules. Thereafter, scoring component 206 can combine the scaled output sets to generate final fuzzy set of memberships 126. For example, each scaled output set can be clipped by scoring component 206 according to the switch value of the scaled output set. Clipping refers to the process of limiting or reducing the membership values of a fuzzy set of memberships based on a certain criterion, usually the switch value (or rule strength). Thereafter, scoring component 206 can combine the respective clipped sets resulting from respective scaled output sets.

[0078] Code 1 illustrates a portion of the algorithm that can be employed by scoring component 206 to compute different switch values.Code 1if

[0080] consumer adoption rate is high and

[0081] consumption growth rate is fast

[0082] then

[0083] switch value is maximum

[0084] if

[0085] latency improvement of Vn Over Vk Is high

[0086] then

[0087] switch value is high

[0088] Finally, scoring component 206 can defuzzify final fuzzy set of memberships 126, via the COG technique, to compute switch score 128. Defuzzification is a process known in the art, wherein a final fuzzy set of memberships comprising scaled output sets can be converted into a single crisp output value known as a crisp score. For example, scoring component 206 can compute, via the COG technique, the centroid of the area formed by final fuzzy set of memberships 126 (also known as a fuzzy sets area), wherein the centroid can be the crisp score. In other words, scoring component 206 can compute the COG of the area formed by final fuzzy set of memberships 126 and clipped according to the switch values based on the different linguistic rules. The shaded region within non-limiting graph 420 illustrates the area formed by final fuzzy set of memberships 126, and point 422 on non-limiting graph 420 illustrates switch score 128.

[0089] FIG. 5 illustrates a flow diagram of an example, non-limiting method 500 that can tune fuzzy sets of memberships associated with independent scoring variables related to an API, in accordance with one or more embodiments described herein. Repetitive description of like elements and / or processes employed in respective embodiments is omitted for sake of brevity.

[0090] With continued reference to FIGS. 1 and 2, non-limiting method 500 illustrates the process that can be employed by tuning component 212 to tune respective fuzzy sets of memberships employable by scoring component 206 to quantify (i.e., fuzzify) respective independent scoring variables comprised within historical data 120. For example, new API versions 502 can represent new versions of an API. Prior to being published, a new version of an API typically undergoes regression tests to ensure proper functionality of the new version of the API. Thereafter, the new version of the API can be published, and as end entities (e.g., hardware, software, machines, AI, neural networks and / or users) implement and consume the new version of the API, new data (e.g., usage statistics, logs, events, etc.) can be generated.

[0091] At 504 in non-limiting method 500, tuning component 212 can collect the new data by continuously monitoring an API log associated with the new version of the API.

[0092] At 506 in non-limiting method 500, tuning component 212 can apply a clustering algorithm (e.g., k-means, KNN, etc.) to the new data to cluster the new data. For example, tuning component 212 can continuously monitor the new data and cluster, via k-means, time series data associated with respective independent scoring variables comprised within the new data.

[0093] At 508 in non-limiting method 500, tuning component 212 can update, based on the clustering, the respective fuzzy sets of memberships associated with the respective independent scoring variables. For example, to update a fuzzy set of memberships, tuning component 212 can compute a COG value for the independent scoring variable corresponding to the fuzzy set of memberships and employ the COG value to adjust (e.g., forwards or backwards) the definition of the fuzzy set of memberships based on the new data. For example, a fuzzy set of memberships associated with a historic version of the API can indicate that a consumption growth rate value between the range of 130 to 170 can be classified as medium. Based on feedback from consumers on the new version of the API, the corresponding updated fuzzy set of memberships can indicate that a consumption growth rate value between the range of 140 to 180 can be classified as medium. Thus, tuning component 212 can employ a continuous self-adjusting mechanism to continuously update the definitions of the different fuzzy sets of memberships employable by scoring component 206 to compute switch score 128.

[0094] FIGS. 6, 7 and 8 illustrates diagrams of example, non-limiting steps 600, 700 and 800, respectively, that can be employed to tune fuzzy sets of memberships associated with independent scoring variables related to APIs, in accordance with one or more embodiments described herein. Repetitive description of like elements and / or processes employed in respective embodiments is omitted for sake of brevity.

[0095] With continued reference to FIG. 5, FIGS. 6-8 illustrate how tuning component 212 can adjust fuzzy sets of memberships by clustering observed independent scoring variables. For example, in one or more embodiments, tuning component 212 can continuously gather independent scoring variables (i.e., quantitative scoring data points) from logs and events of running APIs to tune the fuzzy sets of memberships employable by scoring component 206 to fuzzify the independent scoring variables.

[0096] As illustrated by non-limiting step 600 in FIG. 6, in one or more embodiments, tuning component 212 can apply a clustering algorithm (e.g., k-means, KNN, etc.) to time series data associated with respective independent scoring variables, wherein the number of clusters employed by the clustering algorithm to cluster the time series data can correspond to (e.g., be equal to) the number of the fuzzy sets of memberships. For example, FIG. 6 illustrates a range / spectrum of API call latency values (i.e., time series data) associated with the new version of the API, wherein section 602, section 604 and section 606 illustrate, in increasing order from the left-hand side to the right-hand side of FIG. 6, different consecutive ranges within the range / spectrum of API call latency values. The arrows illustrate a typical API call latency for a historic version of the API (Vn−1) versus a typical API call latency for the new version of the API (Vn), wherein the historic version of the API can have a longer API call latency than that of the new version of the API. Thus, the definition of a fuzzy set of memberships employable by scoring component 206 to fuzzify the API call latency variable can have different respective definitions based on the historic version of the API and the new version of the API. In other words, an API call latency considered to be good according to the historic version of the API can be considered poor according to the new version of the API. The API call latency information can be collected by tuning component 212 from an API log associated with the new version of the API, and tuning component 212 can continuously apply a one-dimensional (1D) k-means algorithm on the API call latency values to cluster the API call latency values.

[0097] As illustrated by non-limiting step 700 in FIG. 7, in one or more embodiments, upon clustering the time series data associated with respective independent scoring variables, tuning component 212 can compute, via the COG technique, respective COG values for respective independent scoring variables. Tuning component 212 can further compute a standard deviation of 1 sigma (±1 σ) around each COG value. For example, applying the 1D k-means can isolate section 602 comprised within the range of API call latency values illustrated in FIG. 6 as a cluster (illustrated in FIG. 7), and tuning component can compute a COG value and a standard deviation of ±1 σ around the COG. Point 702 in FIG. 7 represents the COG value computed by tuning component 212 for the API call latency, and the length of the arrow passing through point 702 can indicate the ±1 σ range.

[0098] As illustrated by non-limiting step 800 in FIG. 8, in one or more embodiments, tuning component 212 can employ the ±1 σ range around a cluster to adjust the definition of the corresponding fuzzy set of memberships. For example, the arrow at 802 can represent the adjusted definition of the fuzzy set of memberships applicable to the API call latency variable.

[0099] FIG. 9 illustrates a flow diagram of an example, non-limiting method 900 that can manage API versions by employing AI models, in accordance with one or more embodiments described herein. Repetitive description of like elements and / or processes employed in respective embodiments is omitted for sake of brevity.

[0100] At 902, non-limiting method 900 can comprise accessing (e.g., by data access component 202), by a system operatively coupled to a processor, historical data related to an API.

[0101] At 904, non-limiting method 900 can comprise generating (e.g., by scoring component 206), by the system, based on the historical data, a switch score for a historic version of the API, wherein the switch score quantifies an impact of transitioning an application associated with the API from the historic version of the API to a new version of the API.

[0102] At 906, non-limiting method 900 can comprise determining (e.g., by API management component 210), by the system, whether the switch score is higher than a defined threshold.

[0103] If yes, then at 908, non-limiting method 900 can comprise increasing (e.g., by API management component 210), by the system, the adoption of the new version of the API.

[0104] If not, then at 910, non-limiting method 900 can comprise not increasing (e.g., by API management component 210), by the system, the adoption of the new version of the API.

[0105] In various instances, machine learning algorithms or models can be implemented in any suitable way to facilitate any suitable aspects described herein. To facilitate some of the above-described machine learning aspects of various embodiments, consider the following discussion of artificial intelligence (AI). Various embodiments described herein can employ artificial intelligence to facilitate automating one or more features or functionalities. The components can employ various AI-based schemes for carrying out various embodiments / examples disclosed herein. In order to provide for or aid in the numerous determinations (e.g., determine, ascertain, infer, calculate, predict, prognose, estimate, derive, forecast, detect, compute) described herein, components described herein can examine the entirety or a subset of the data to which it is granted access and can provide for reasoning about or determine states of the system or environment from a set of observations as captured via events or data. Determinations can be employed to identify a specific context or action, or can generate a probability distribution over states, for example. The determinations can be probabilistic; that is, the computation of a probability distribution over states of interest based on a consideration of data and events. Determinations can also refer to techniques employed for composing higher-level events from a set of events or data.

[0106] Such determinations can result in the construction of new events or actions from a set of observed events or stored event data, whether or not the events are correlated in close temporal proximity, and whether the events and data come from one or several event and data sources. Components disclosed herein can employ various classification (explicitly trained (e.g., via training data) as well as implicitly trained (e.g., via observing behavior, preferences, historical information, receiving extrinsic information, and so on)) schemes or systems (e.g., support vector machines, neural networks, expert systems, Bayesian belief networks, fuzzy logic, data fusion engines, and so on) in connection with performing automatic or determined action in connection with the claimed subject matter. Thus, classification schemes or systems can be used to automatically learn and perform a number of functions, actions, or determinations.

[0107] A classifier can map an input attribute vector, z=(z1, z2, z3, z4, zn), to a confidence that the input belongs to a class, as by f(z)=confidence(class). Such classification can employ a probabilistic or statistical-based analysis (e.g., factoring into the analysis utilities and costs) to determinate an action to be automatically performed. A support vector machine (SVM) can be an example of a classifier that can be employed. The SVM operates by finding a hyper-surface in the space of possible inputs, where the hyper-surface attempts to split the triggering criteria from the non-triggering events. Intuitively, this makes the classification correct for testing data that is near, but not identical to training data. Other directed and undirected model classification approaches include, e.g., naïve Bayes, Bayesian networks, decision trees, neural networks, fuzzy logic models, or probabilistic classification models providing different patterns of independence, any of which can be employed. Classification as used herein also is inclusive of statistical regression that is utilized to develop models of priority.

[0108] FIG. 10 illustrates a block diagram of an example, non-limiting, operating environment 1000 in which one or more embodiments described herein can be facilitated. FIG. 10 and the following discussion are intended to provide a general description of a suitable operating environment 1000 in which one or more embodiments described herein at FIGS. 1-9 can be implemented.

[0109] Various aspects of the present disclosure are described by narrative text, flowcharts, block diagrams of computer systems and / or block diagrams of the machine logic included in computer program product (CPP) embodiments. With respect to any flowcharts, depending upon the technology involved, the operations can be performed in a different order than what is shown in a given flowchart. For example, again depending upon the technology involved, two operations shown in successive flowchart blocks may be performed in reverse order, as a single integrated step, concurrently, or in a manner at least partially overlapping in time.

[0110] A computer program product embodiment (“CPP embodiment” or “CPP”) is a term used in the present disclosure to describe any set of one, or more, storage media (also called “mediums”) collectively included in a set of one, or more, storage devices that collectively include machine readable code corresponding to instructions and / or data for performing computer operations specified in a given CPP claim. A “storage device” is any tangible device that can retain and store instructions for use by a computer processor. Without limitation, the computer-readable storage medium may be an electronic storage medium, a magnetic storage medium, an optical storage medium, an electromagnetic storage medium, a semiconductor storage medium, a mechanical storage medium, or any suitable combination of the foregoing. Some known types of storage devices that include these mediums include: diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), static random access memory (SRAM), compact disc read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded device (such as punch cards or pits / lands formed in a major surface of a disc) or any suitable combination of the foregoing. A computer-readable storage medium, as that term is used in the present disclosure, is not to be construed as storage in the form of transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide, light pulses passing through a fiber optic cable, electrical signals communicated through a wire, and / or other transmission media. As will be understood by those of skill in the art, data is typically moved at some occasional points in time during normal operations of a storage device, such as during access, de-fragmentation or garbage collection, but this does not render the storage device as transitory because the data is not transitory while it is stored.

[0111] Computing environment 1000 contains an example of an environment for the execution of at least some of the computer code involved in performing the inventive methods, such as application programming interface (API) version management code 1028. In addition to block 1028, computing environment 1000 includes, for example, computer 1001, wide area network (WAN) 1002, end user device (EUD) 1003, remote server 1004, public cloud 1005, and private cloud 1006. In this embodiment, computer 1001 includes processor set 1010 (including processing circuitry 1020 and cache 1021), communication fabric 1011, volatile memory 1012, persistent storage 1013 (including operating system 1022 and block 1028, as identified above), peripheral device set 1014 (including user interface (UI) device set 1023, storage 1024, and Internet of Things (IoT) sensor set 1025), and network module 1015. Remote server 1004 includes remote database 1030. Public cloud 1005 includes gateway 1040, cloud orchestration module 1041, host physical machine set 1042, virtual machine set 1043, and container set 1044.

[0112] COMPUTER 1001 may take the form of a desktop computer, laptop computer, tablet computer, smart phone, smart watch or other wearable computer, mainframe computer, quantum computer or any other form of computer or mobile device now known or to be developed in the future that is capable of running a program, accessing a network or querying a database, such as remote database 1030. As is well understood in the art of computer technology, and depending upon the technology, performance of a computer-implemented method may be distributed among multiple computers and / or between multiple locations. On the other hand, in this presentation of computing environment 1000, detailed discussion is focused on a single computer, specifically computer 1001, to keep the presentation as simple as possible. Computer 1001 may be located in a cloud, even though it is not shown in a cloud in FIG. 10. On the other hand, computer 1001 is not required to be in a cloud except to any extent as may be affirmatively indicated.

[0113] PROCESSOR SET 1010 includes one, or more, computer processors of any type now known or to be developed in the future. Processing circuitry 1020 may be distributed over multiple packages, for example, multiple, coordinated integrated circuit chips. Processing circuitry 1020 may implement multiple processor threads and / or multiple processor cores. Cache 1021 is memory that is located in the processor chip package(s) and is typically used for data or code that should be available for rapid access by the threads or cores running on processor set 1010. Cache memories are typically organized into multiple levels depending upon relative proximity to the processing circuitry. Alternatively, some, or all, of the cache for the processor set may be located “off chip.” In some computing environments, processor set 1010 may be designed for working with qubits and performing quantum computing.

[0114] Computer-readable program instructions are typically loaded onto computer 1001 to cause a series of operational steps to be performed by processor set 1010 of computer 1001 and thereby effect a computer-implemented method, such that the instructions thus executed will instantiate the methods specified in flowcharts and / or narrative descriptions of computer-implemented methods included in this document (collectively referred to as “the inventive methods”). These computer-readable program instructions are stored in various types of computer-readable storage media, such as cache 1021 and the other storage media discussed below. The program instructions, and associated data, are accessed by processor set 1010 to control and direct performance of the inventive methods. In computing environment 1000, at least some of the instructions for performing the inventive methods may be stored in block 1028 in persistent storage 1013.

[0115] COMMUNICATION FABRIC 1011 is the signal conduction path that allows the various components of computer 1001 to communicate with each other. Typically, this fabric is made of switches and electrically conductive paths, such as the switches and electrically conductive paths that make up buses, bridges, physical input / output ports and the like. Other types of signal communication paths may be used, such as fiber optic communication paths and / or wireless communication paths.

[0116] VOLATILE MEMORY 1012 is any type of volatile memory now known or to be developed in the future. Examples include dynamic type random access memory (RAM) or static type RAM. Typically, volatile memory 1012 is characterized by random access, but this is not required unless affirmatively indicated. In computer 1001, the volatile memory 1012 is located in a single package and is internal to computer 1001, but, alternatively or additionally, the volatile memory may be distributed over multiple packages and / or located externally with respect to computer 1001.

[0117] PERSISTENT STORAGE 1013 is any form of non-volatile storage for computers that is now known or to be developed in the future. The non-volatility of this storage means that the stored data is maintained regardless of whether power is being supplied to computer 1001 and / or directly to persistent storage 1013. Persistent storage 1013 may be a read only memory (ROM), but typically at least a portion of the persistent storage allows writing of data, deletion of data and re-writing of data. Some familiar forms of persistent storage include magnetic disks and solid state storage devices. Operating system 1022 may take several forms, such as various known proprietary operating systems or open source Portable Operating System Interface-type operating systems that employ a kernel. The code included in block 1028 typically includes at least some of the computer code involved in performing the inventive methods.

[0118] PERIPHERAL DEVICE SET 1014 includes the set of peripheral devices of computer 1001. Data communication connections between the peripheral devices and the other components of computer 1001 may be implemented in various ways, such as Bluetooth connections, Near-Field Communication (NFC) connections, connections made by cables (such as universal serial bus (USB) type cables), insertion-type connections (for example, secure digital (SD) card), connections made through local area communication networks and even connections made through wide area networks such as the internet. In various embodiments, UI device set 1023 may include components such as a display screen, speaker, microphone, wearable devices (such as goggles and smart watches), keyboard, mouse, printer, touchpad, game controllers, and haptic devices. Storage 1024 is external storage, such as an external hard drive, or insertable storage, such as an SD card. Storage 1024 may be persistent and / or volatile. In some embodiments, storage 1024 may take the form of a quantum computing storage device for storing data in the form of qubits. In embodiments where computer 1001 is required to have a large amount of storage (for example, where computer 1001 locally stores and manages a large database) then this storage may be provided by peripheral storage devices designed for storing very large amounts of data, such as a storage area network (SAN) that is shared by multiple, geographically distributed computers. IoT sensor set 1025 is made up of sensors that can be used in Internet of Things applications. For example, one sensor may be a thermometer and another sensor may be a motion detector.

[0119] NETWORK MODULE 1015 is the collection of computer software, hardware, and firmware that allows computer 1001 to communicate with other computers through WAN 1002. Network module 1015 may include hardware, such as modems or Wi-Fi signal transceivers, software for packetizing and / or de-packetizing data for communication network transmission, and / or web browser software for communicating data over the internet. In some embodiments, network control functions and network forwarding functions of network module 1015 are performed on the same physical hardware device. In other embodiments (for example, embodiments that utilize software-defined networking (SDN)), the control functions and the forwarding functions of network module 1015 are performed on physically separate devices, such that the control functions manage several different network hardware devices. Computer-readable program instructions for performing the inventive methods can typically be downloaded to computer 1001 from an external computer or external storage device through a network adapter card or network interface included in network module 1015.

[0120] WAN 1002 is any wide area network (for example, the internet) capable of communicating computer data over non-local distances by any technology for communicating computer data, now known or to be developed in the future. In some embodiments, the WAN 1002 may be replaced and / or supplemented by local area networks (LANs) designed to communicate data between devices located in a local area, such as a Wi-Fi network. The WAN and / or LANs typically include computer hardware such as copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and edge servers.

[0121] END USER DEVICE (EUD) 1003 is any computer system that is used and controlled by an end user (for example, a customer of an enterprise that operates computer 1001), and may take any of the forms discussed above in connection with computer 1001. EUD 1003 typically receives helpful and useful data from the operations of computer 1001. For example, in a hypothetical case where computer 1001 is designed to provide a recommendation to an end user, this recommendation would typically be communicated from network module 1015 of computer 1001 through WAN 1002 to EUD 1003. In this way, EUD 1003 can display, or otherwise present, the recommendation to an end user. In some embodiments, EUD 1003 may be a client device, such as thin client, heavy client, mainframe computer, desktop computer and so on.

[0122] REMOTE SERVER 1004 is any computer system that serves at least some data and / or functionality to computer 1001. Remote server 1004 may be controlled and used by the same entity that operates computer 1001. Remote server 1004 represents the machine(s) that collect and store helpful and useful data for use by other computers, such as computer 1001. For example, in a hypothetical case where computer 1001 is designed and programmed to provide a recommendation based on historical data, then this historical data may be provided to computer 1001 from remote database 1030 of remote server 1004.

[0123] PUBLIC CLOUD 1005 is any computer system available for use by multiple entities that provides on-demand availability of computer system resources and / or other computer capabilities, especially data storage (cloud storage) and computing power, without direct active management by the user. Cloud computing typically leverages sharing of resources to achieve coherence and economies of scale. The direct and active management of the computing resources of public cloud 1005 is performed by the computer hardware and / or software of cloud orchestration module 1041. The computing resources provided by public cloud 1005 are typically implemented by virtual computing environments that run on various computers making up the computers of host physical machine set 1042, which is the universe of physical computers in and / or available to public cloud 1005. The virtual computing environments (VCEs) typically take the form of virtual machines from virtual machine set 1043 and / or containers from container set 1044. It is understood that these VCEs may be stored as images and may be transferred among and between the various physical machine hosts, either as images or after instantiation of the VCE. Cloud orchestration module 1041 manages the transfer and storage of images, deploys new instantiations of VCEs and manages active instantiations of VCE deployments. Gateway 1040 is the collection of computer software, hardware, and firmware that allows public cloud 1005 to communicate through WAN 1002.

[0124] Some further explanation of virtualized computing environments (VCEs) will now be provided. VCEs can be stored as “images.” A new active instance of the VCE can be instantiated from the image. Two familiar types of VCEs are virtual machines and containers. A container is a VCE that uses operating-system-level virtualization. This refers to an operating system feature in which the kernel allows the existence of multiple isolated user-space instances, called containers. These isolated user-space instances typically behave as real computers from the point of view of programs running in them. A computer program running on an ordinary operating system can utilize all resources of that computer, such as connected devices, files and folders, network shares, CPU power, and quantifiable hardware capabilities. However, programs running inside a container can only use the contents of the container and devices assigned to the container, a feature which is known as containerization.

[0125] PRIVATE CLOUD 1006 is similar to public cloud 1005, except that the computing resources are only available for use by a single enterprise. While private cloud 1006 is depicted as being in communication with WAN 1002, in other embodiments a private cloud may be disconnected from the internet entirely and only accessible through a local / private network. A hybrid cloud is a composition of multiple clouds of different types (for example, private, community or public cloud types), often respectively implemented by different vendors. Each of the multiple clouds remains a separate and discrete entity, but the larger hybrid cloud architecture is bound together by standardized or proprietary technology that enables orchestration, management, and / or data / application portability between the multiple constituent clouds. In this embodiment, public cloud 1005 and private cloud 1006 are both part of a larger hybrid cloud.

[0126] CLOUD COMPUTING SERVICES AND / OR MICROSERVICES (not separately shown in FIG. 10): private and public clouds 1006 are programmed and configured to deliver cloud computing services and / or microservices (unless otherwise indicated, the word “microservices” shall be interpreted as inclusive of larger “services” regardless of size). Cloud services are infrastructure, platforms, or software that are typically hosted by third-party providers and made available to users through the internet. Cloud services facilitate the flow of user data from front-end clients (for example, user-side servers, tablets, desktops, laptops), through the internet, to the provider's systems, and back. In some embodiments, cloud services may be configured and orchestrated according to as “as a service” technology paradigm where something is being presented to an internal or external customer in the form of a cloud computing service. As-a-Service offerings typically provide endpoints with which various customers interface. These endpoints are typically based on a set of APIs. One category of as-a-service offering is Platform as a Service (PaaS), where a service provider provisions, instantiates, runs, and manages a modular bundle of code that customers can use to instantiate a computing platform and one or more applications, without the complexity of building and maintaining the infrastructure typically associated with these things. Another category is Software as a Service (SaaS) where software is centrally hosted and allocated on a subscription basis. SaaS is also known as on-demand software, web-based software, or web-hosted software. Four technological sub-fields involved in cloud services are: deployment, integration, on demand, and virtual private networks.

[0127] The embodiments described herein can be directed to one or more of a system, a method, an apparatus and / or a computer program product at any possible technical detail level of integration. The computer program product can include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the one or more embodiments described herein. The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium can be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a superconducting storage device and / or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium can also include the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon and / or any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves and / or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide and / or other transmission media (e.g., light pulses passing through a fiber-optic cable), and / or electrical signals transmitted through a wire.

[0128] Computer readable program instructions described herein can be downloaded to respective computing / processing devices from a computer readable storage medium and / or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and / or a wireless network. The network can comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers. A network adapter card or network interface in each computing / processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing / processing device. Computer readable program instructions for carrying out operations of the one or more embodiments described herein can be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, and / or source code and / or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and / or procedural programming languages, such as the “C” programming language and / or similar programming languages. The computer readable program instructions can execute entirely on a computer, partly on a computer, as a stand-alone software package, partly on a computer and / or partly on a remote computer or entirely on the remote computer and / or server. In the latter scenario, the remote computer can be connected to a computer through any type of network, including a local area network (LAN) and / or a wide area network (WAN), and / or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). In one or more embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA) and / or programmable logic arrays (PLA) can execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the one or more embodiments described herein.

[0129] Aspects of the one or more embodiments described herein are described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to one or more embodiments described herein. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions. These computer readable program instructions can be provided to a processor of a general-purpose computer, special purpose computer and / or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, can create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus and / or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein can comprise an article of manufacture including instructions which can implement aspects of the function / act specified in the flowchart and / or block diagram block or blocks. The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus and / or other device to cause a series of operational acts to be performed on the computer, other programmable apparatus and / or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus and / or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0130] The flowcharts and block diagrams in the figures illustrate the architecture, functionality and / or operation of possible implementations of systems, computer-implementable methods and / or computer program products according to one or more embodiments described herein. In this regard, each block in the flowchart or block diagrams can represent a module, segment and / or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function. In one or more alternative implementations, the functions noted in the blocks can occur out of the order noted in the Figures. For example, two blocks shown in succession can be executed substantially concurrently, and / or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flowchart illustration, and / or combinations of blocks in the block diagrams and / or flowchart illustration, can be implemented by special purpose hardware-based systems that can perform the specified functions and / or acts and / or carry out one or more combinations of special purpose hardware and / or computer instructions.

[0131] While the subject matter has been described above in the general context of computer-executable instructions of a computer program product that runs on a computer and / or computers, those skilled in the art will recognize that the one or more embodiments herein also can be implemented at least partially in parallel with one or more other program modules. Generally, program modules include routines, programs, components and / or data structures that perform particular tasks and / or implement particular abstract data types. Moreover, the aforedescribed computer-implemented methods can be practiced with other computer system configurations, including single-processor and / or multiprocessor computer systems, mini-computing devices, mainframe computers, as well as computers, hand-held computing devices (e.g., PDA, phone), and / or microprocessor-based or programmable consumer and / or industrial electronics. The illustrated aspects can also be practiced in distributed computing environments in which tasks are performed by remote processing devices that are linked through a communications network. However, one or more, if not all aspects of the one or more embodiments described herein can be practiced on stand-alone computers. In a distributed computing environment, program modules can be located in both local and remote memory storage devices.

[0132] As used in this application, the terms “component,”“system,”“platform” and / or “interface” can refer to and / or can include a computer-related entity or an entity related to an operational machine with one or more specific functionalities. The entities described herein can be either hardware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program and / or a computer. By way of illustration, both an application running on a server and the server can be a component. One or more components can reside within a process and / or thread of execution and a component can be localized on one computer and / or distributed between two or more computers. In another example, respective components can execute from various computer readable media having various data structures stored thereon. The components can communicate via local and / or remote processes such as in accordance with a signal having one or more data packets (e.g., data from one component interacting with another component in a local system, distributed system and / or across a network such as the Internet with other systems via the signal). As another example, a component can be an apparatus with specific functionality provided by mechanical parts operated by electric or electronic circuitry, which is operated by a software and / or firmware application executed by a processor. In such a case, the processor can be internal and / or external to the apparatus and can execute at least a part of the software and / or firmware application. As yet another example, a component can be an apparatus that provides specific functionality through electronic components without mechanical parts, where the electronic components can include a processor and / or other means to execute software and / or firmware that confers at least in part the functionality of the electronic components. In an aspect, a component can emulate an electronic component via a virtual machine, e.g., within a cloud computing system.

[0133] In addition, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless specified otherwise, or clear from context, “X employs A or B” is intended to mean any of the natural inclusive permutations. That is, if X employs A; X employs B; or X employs both A and B, then “X employs A or B” is satisfied under any of the foregoing instances. Moreover, articles “a” and “an” as used in the subject specification and annexed drawings should generally be construed to mean “one or more” unless specified otherwise or clear from context to be directed to a singular form. As used herein, the terms “example” and / or “exemplary” are utilized to mean serving as an example, instance, or illustration. For the avoidance of doubt, the subject matter described herein is not limited by such examples. In addition, any aspect or design described herein as an “example” and / or “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects or designs, nor is it meant to preclude equivalent exemplary structures and techniques known to those of ordinary skill in the art.

[0134] As it is employed in the subject specification, the term “processor” can refer to substantially any computing processing unit and / or device comprising, but not limited to, single-core processors; single-processors with software multithread execution capability; multi-core processors; multi-core processors with software multithread execution capability; multi-core processors with hardware multithread technology; parallel platforms; and / or parallel platforms with distributed shared memory. Additionally, a processor can refer to an integrated circuit, an application specific integrated circuit (ASIC), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic controller (PLC), a complex programmable logic device (CPLD), a discrete gate or transistor logic, discrete hardware components, and / or any combination thereof designed to perform the functions described herein. Further, processors can exploit nano-scale architectures such as, but not limited to, molecular and quantum-dot based transistors, switches and / or gates, in order to optimize space usage and / or to enhance performance of related equipment. A processor can be implemented as a combination of computing processing units.

[0135] Herein, terms such as “store,”“storage,”“data store,” data storage,”“database,” and substantially any other information storage component relevant to operation and functionality of a component are utilized to refer to “memory components,” entities embodied in a “memory,” or components comprising a memory. Memory and / or memory components described herein can be either volatile memory or nonvolatile memory or can include both volatile and nonvolatile memory. By way of illustration, and not limitation, nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), flash memory and / or nonvolatile random-access memory (RAM) (e.g., ferroelectric RAM (FeRAM). Volatile memory can include RAM, which can act as external cache memory, for example. By way of illustration and not limitation, RAM can be available in many forms such as synchronous RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), direct Rambus RAM (DRRAM), direct Rambus dynamic RAM (DRDRAM) and / or Rambus dynamic RAM (RDRAM). Additionally, the described memory components of systems and / or computer-implemented methods herein are intended to include, without being limited to including, these and / or any other suitable types of memory.

[0136] What has been described above includes mere examples of systems and computer-implemented methods. It is, of course, not possible to describe every conceivable combination of components and / or computer-implemented methods for purposes of describing the one or more embodiments, but one of ordinary skill in the art can recognize that many further combinations and / or permutations of the one or more embodiments are possible. Furthermore, to the extent that the terms “includes,”“has,”“possesses,” and the like are used in the detailed description, claims, appendices and / or drawings such terms are intended to be inclusive in a manner similar to the term “comprising” as “comprising” is interpreted when employed as a transitional word in a claim.

[0137] The descriptions of the various embodiments have been presented for purposes of illustration but are not intended to be exhaustive or limited to the embodiments described herein. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application and / or technical improvement over technologies found in the marketplace, and / or to enable others of ordinary skill in the art to understand the embodiments described herein.

Claims

1. A system, comprising:a memory that stores computer-executable components;a processor that executes the computer-executable components stored in the memory, wherein the computer-executable components comprise:a data access component that accesses historical data related to an application programming interface (API); anda scoring component that generates, based on the historical data, a switch score for a historic version of the API, wherein the switch score quantifies an impact of transitioning an application associated with the API from the historic version of the API to a new version of the API.

2. The system of claim 1, wherein the historical data comprises a set of independent scoring variables, wherein the set of independent scoring variables comprises a set of runtime statistics variables and a set of performance ratings variables, wherein the set of independent scoring variables are associated with the new version of the API, and wherein at least one independent scoring variable comprised within the set of independent scoring variables is based on a comparison of the new version of the API to the historic version of the API.

3. The system of claim 2, wherein generating the switch score comprises:generating, by the scoring component, a function representing the set of independent scoring variables;representing, by the scoring component, the function via a fuzzy model that defines a set of linguistic rules employable to compute the switch score; andapplying, by the scoring component, the fuzzy model to the set of independent scoring variables, wherein the applying comprises:quantifying, by the scoring component, via the fuzzy model, respective independent scoring variables comprised within the set of independent scoring variables according to respective fuzzy sets of memberships;computing, by the scoring component, via the fuzzy model, a final fuzzy set of memberships based on the respective fuzzy sets of memberships; andcomputing, by the scoring component, via the fuzzy model, based on the final fuzzy set of memberships, a crisp score by employing a center-of-gravity technique, wherein the crisp score represents the switch score.

4. The system of claim 3, further comprising:a tuning component that continuously tunes the respective fuzzy sets of memberships, wherein tuning a fuzzy set of memberships comprised within the respective fuzzy sets of memberships comprises:monitoring, by the tuning component, an independent scoring variable comprised within the set of independent scoring variables, wherein the independent scoring variable corresponds to the fuzzy set of memberships;clustering, by the tuning component, based on the monitoring, time series data associated with the independent scoring variable by applying a clustering algorithm to the time series data;computing, by the tuning component, based on the clustering, a center-of-gravity value for the independent scoring variable; andadjusting, by the tuning component, based on the center-of-gravity value, the fuzzy set of memberships.

5. The system of claim 1, further comprising:an exposure component that exposes the switch score to the application via an API portal.

6. The system of claim 1, further comprising:an API management component that manages the new version of the API based on the switch score.

7. The system of claim 2, further comprising:a log analyzer component that tracks respective runtime statistics variables comprised within the set of runtime statistics variables and that further tracks errors encountered by one or more applications during past invocations of the new version of the API.

8. The system of claim 2, further comprising:a feedback component that tracks respective performance ratings variables comprised within the set of performance ratings variables.

9. The system of claim 1, wherein the switch score is employable by an API producer to manage adoption of the new version of the API.

10. A computer-implemented method, comprising:accessing, by a system operatively coupled to a processor, historical data related to an API; andgenerating, by the system, based on the historical data, a switch score for a historic version of the API, wherein the switch score quantifies an impact of transitioning an application associated with the API from the historic version of the API to a new version of the API.

11. The computer-implemented method of claim 10, wherein the historical data comprises a set of independent scoring variables, wherein the set of independent scoring variables comprises a set of runtime statistics variables and a set of performance ratings variables, wherein the set of independent scoring variables are associated with the new version of the API, and wherein at least one independent scoring variable comprised within the set of independent scoring variables is based on a comparison of the new version of the API to the historic version of the API.

12. The computer-implemented method of claim 11, wherein the generating the switch score comprises:generating, by the system, a function representing the set of independent scoring variables;representing, by the system, the function via a fuzzy model that defines a set of linguistic rules employable to compute the switch score; andapplying, by the system, the fuzzy model to the set of independent scoring variables, wherein the applying comprises:quantifying, by the system, via the fuzzy model, respective independent scoring variables comprised within the set of independent scoring variables according to respective fuzzy sets of memberships;computing, by the system, via the fuzzy model, a final fuzzy set of memberships based on the respective fuzzy sets of memberships; andcomputing, by the system, via the fuzzy model, based on the final fuzzy set of memberships, a crisp score by employing a center-of-gravity technique, wherein the crisp score represents the switch score.

13. The computer-implemented method of claim 12, further comprising:tuning, by the system, the respective fuzzy sets of memberships, wherein tuning a fuzzy set of memberships comprised within the respective fuzzy sets of memberships comprises:monitoring, by the system, an independent scoring variable comprised within the set of independent scoring variables, wherein the independent scoring variable corresponds to the fuzzy set of memberships;clustering, by the system, based on the monitoring, time series data associated with the independent scoring variable by applying a clustering algorithm to the time series data;computing, by the system, based on the clustering, a center-of-gravity value for the independent scoring variable; andadjusting, by the system, based on the center-of-gravity value, the fuzzy set of memberships.

14. The computer-implemented method of claim 10, further comprising:exposing, by the system, the switch score to the application via an API portal.

15. The computer-implemented method of claim 10, further comprising:managing, by the system, the new version of the API based on the switch score.

16. The computer-implemented method of claim 11, further comprising:tracking, by the system, respective runtime statistics variables comprised within the set of runtime statistics variables; andtracking, by the system, errors encountered by one or more applications during past invocations of the new version of the API.

17. The computer-implemented method of claim 11, further comprising:tracking, by the system, respective performance ratings variables comprised within the set of performance ratings variables.

18. The computer-implemented method of claim 10, further comprising:generating, by the system, respective switch scores for respective historic versions of the API being employed by respective applications.

19. A computer program product for API version management, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:access, by the processor, historical data related to an API; andgenerate, by the processor, based on the historical data, a switch score for a historic version of the API, wherein the switch score quantifies an impact of transitioning an application associated with the API from the historic version of the API to a new version of the API.

20. The computer program product of claim 19, wherein the historical data comprises a set of independent scoring variables, wherein the set of independent scoring variables comprises a set of runtime statistics variables and a set of performance ratings variables, wherein the set of independent scoring variables are associated with the new version of the API, and wherein at least one independent scoring variable comprised within the set of independent scoring variables is based on a comparison of the new version of the API to the historic version of the API.