API method and system for providing access to an external service via an application services platform
First Claim
1. A method, comprising:
- detecting a request by an application services platform including at least one application server to access an external service, utilizing an application program interface;
determining whether the request complies with at least one rule specific to a user initiating the request, including;
identifying statistics associated with the request, wherein the statistics are gathered from tracking previous usage of the external service;
gauging an amount of usage of the external service required by the request, based on the statistics gathered from tracking previous usage of the external service;
comparing the amount of usage of the external service gauged to be required by the request to a predetermined amount of usage of the external service allowed by one of the rules specific to the user; and
determining that the request does not comply with the one of the rules specific to the user when the amount of usage of the external service gauged to be required by the request exceeds the predetermined amount of usage of the external service allowed by one of the rules specific to the user; and
determining that the request complies with the one of the rules specific to the user when the amount of usage of the external service gauged to be required by the request does not exceed the predetermined amount of usage of the external service allowed by one of the rules specific to the user;
conditionally preparing an invocation message to invoke the external service, the invocation message including information, wherein the invocation is prepared in response to the determination that the request complies with the one of the rules specific to the user and the invocation is not prepared in response to the determination that the request does not comply with the one of the rules specific to the user; and
sending the invocation message to the external service.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided mechanisms and methods for providing access to an external service via an application services platform, utilizing an application program interface (API). These mechanisms and methods for providing access to an external service via an application services platform can enable embodiments to provide an effective way of allowing access to such external service without necessarily forcing access to the external service separately with respect to the application services platform. The ability of embodiments to provide such effective technique can enable the integration of an external service with an application services platform, thus allowing access to the external service in a more time effective manner.
-
Citations
18 Claims
-
1. A method, comprising:
-
detecting a request by an application services platform including at least one application server to access an external service, utilizing an application program interface; determining whether the request complies with at least one rule specific to a user initiating the request, including; identifying statistics associated with the request, wherein the statistics are gathered from tracking previous usage of the external service; gauging an amount of usage of the external service required by the request, based on the statistics gathered from tracking previous usage of the external service; comparing the amount of usage of the external service gauged to be required by the request to a predetermined amount of usage of the external service allowed by one of the rules specific to the user; and determining that the request does not comply with the one of the rules specific to the user when the amount of usage of the external service gauged to be required by the request exceeds the predetermined amount of usage of the external service allowed by one of the rules specific to the user; and determining that the request complies with the one of the rules specific to the user when the amount of usage of the external service gauged to be required by the request does not exceed the predetermined amount of usage of the external service allowed by one of the rules specific to the user; conditionally preparing an invocation message to invoke the external service, the invocation message including information, wherein the invocation is prepared in response to the determination that the request complies with the one of the rules specific to the user and the invocation is not prepared in response to the determination that the request does not comply with the one of the rules specific to the user; and sending the invocation message to the external service. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory machine-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
detecting a request by an application services platform including at least one application server to access an external service, utilizing an application program interface; determining whether the request complies with at least one rule specific to a user initiating the request, including; identifying statistics associated with the request, wherein the statistics are gathered from tracking previous usage of the external service; gauging an amount of usage of the external service required by the request, based on the statistics gathered from tracking previous usage of the external service; comparing the amount of usage of the external service gauged to be required by the request to a predetermined amount of usage of the external service allowed by one of the rules specific to the user; and determining that the request does not comply with the one of the rules specific to the user when the amount of usage of the external service gauged to be required by the request exceeds the predetermined amount of usage of the external service allowed by one of the rules specific to the user; and determining that the request complies with the one of the rules specific to the user when the amount of usage of the external service gauged to be required by the request does not exceed the predetermined amount of usage of the external service allowed by one of the rules specific to the user; conditionally preparing an invocation message to invoke the external service, the invocation message including information, wherein the invocation is prepared in response to the determination that the request complies with the one of the rules specific to the user and the invocation is not prepared in response to the determination that the request does not comply with the one of the rules specific to the user; and sending the invocation message to the external service.
-
-
18. An apparatus, comprising:
-
a processor; and one or more stored sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of; detecting a request by an application services platform including at least one application server to access an external service, utilizing an application program interface; determining whether the request complies with at least one rule specific to a user initiating the request, including; identifying statistics associated with the request, wherein the statistics are gathered from tracking previous usage of the external service; gauging an amount of usage of the external service required by the request, based on the statistics gathered from tracking previous usage of the external service; comparing the amount of usage of the external service gauged to be required by the request to a predetermined amount of usage of the external service allowed by one of the rules specific to the user; and determining that the request does not comply with the one of the rules specific to the user when the amount of usage of the external service gauged to be required by the request exceeds the predetermined amount of usage of the external service allowed by one of the rules specific to the user; and determining that the request complies with the one of the rules specific to the user when the amount of usage of the external service gauged to be required by the request does not exceed the predetermined amount of usage of the external service allowed by one of the rules specific to the user; conditionally preparing an invocation message to invoke the external service, the invocation message including information, wherein the invocation is prepared in response to the determination that the request complies with the one of the rules specific to the user and the invocation is not prepared in response to the determination that the request does not comply with the one of the rules specific to the user; and sending the invocation message to the external service.
-
Specification