Routing handler for rule-based action triggering
First Claim
1. A system, comprising:
- a plurality of computing devices configured to implement a plurality of sub-services and a routing handler, and wherein the routing handler is configured to;
receive, from a client, a request that specifies a particular operation at one or more of the plurality of sub-services, wherein the plurality of sub-services comprise a rules sub-service and an actions sub-service, wherein the rules sub-service comprises one or more operations for defining a plurality of rules using a plurality of triggers and a plurality of actions, wherein individual ones of the rules are defined to bind a respective one or more of the triggers to a respective one or more of the actions, and wherein the actions sub-service comprises one or more operations for performing the actions in a provider network comprising a plurality of resources;
determine the particular operation in the request;
select the one or more sub-services from the plurality of sub services based at least in part on the particular operation in the request, wherein the one or more sub-services includes the rules sub-service and is selected via a lookup in a routing map, wherein the routing map maps individual operations to respective ones of the plurality of sub-services that provide the individual operations and is dynamically loaded from a data store to the routing handler;
route the request to the one or more sub-services including the rules sub-service;
receive one or more responses to the request from the one or more sub-services, including one or more messages from the rules sub-service that describe one or more of the actions specified in one or more of the rules that are triggered by the particular operation;
send one or more additional requests to one or more additional sub-services of the plurality of sub-services including the actions sub-service to perform the one or more actions, wherein the one or more additional sub-services are selected via the routing map; and
return a client response to the client based at least in part on the one or more responses.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, systems, and computer-readable media for implementing a routing handler for rule-based action triggering are disclosed. A request is received at a routing handler from a client. The request specifies a particular operation at a particular one of a plurality of sub-services. The sub-services comprise one or more operations for defining a plurality of rules; the rules are defined to bind triggers to actions. The sub-services also comprise one or more operations for performing the actions in a provider network comprising a plurality of resources. The particular operation in the request is determined at the routing handler. The particular one of the sub-services is determined at the routing handler based on the particular operation, using a routing map. The routing map is dynamically updated when operations provided by sub-services are modified. The request is routed to the particular one of the sub-services.
-
Citations
20 Claims
-
1. A system, comprising:
a plurality of computing devices configured to implement a plurality of sub-services and a routing handler, and wherein the routing handler is configured to; receive, from a client, a request that specifies a particular operation at one or more of the plurality of sub-services, wherein the plurality of sub-services comprise a rules sub-service and an actions sub-service, wherein the rules sub-service comprises one or more operations for defining a plurality of rules using a plurality of triggers and a plurality of actions, wherein individual ones of the rules are defined to bind a respective one or more of the triggers to a respective one or more of the actions, and wherein the actions sub-service comprises one or more operations for performing the actions in a provider network comprising a plurality of resources; determine the particular operation in the request; select the one or more sub-services from the plurality of sub services based at least in part on the particular operation in the request, wherein the one or more sub-services includes the rules sub-service and is selected via a lookup in a routing map, wherein the routing map maps individual operations to respective ones of the plurality of sub-services that provide the individual operations and is dynamically loaded from a data store to the routing handler; route the request to the one or more sub-services including the rules sub-service; receive one or more responses to the request from the one or more sub-services, including one or more messages from the rules sub-service that describe one or more of the actions specified in one or more of the rules that are triggered by the particular operation; send one or more additional requests to one or more additional sub-services of the plurality of sub-services including the actions sub-service to perform the one or more actions, wherein the one or more additional sub-services are selected via the routing map; and return a client response to the client based at least in part on the one or more responses. - View Dependent Claims (2, 3, 4)
-
5. A computer-implemented method, comprising:
-
receiving, at a routing handler from a client, a request that specifies a particular operation at one or more of a plurality of sub-services, wherein the plurality of sub-services comprise a rules sub-service that performs one or more operations for defining a plurality of rules, wherein individual ones of the rules are defined to bind a respective one or more of a plurality of triggers to a respective one or more of a plurality of actions, and wherein the plurality of sub-services comprise an actions sub-service that performs one or more operations for performing the plurality of actions in a provider network comprising a plurality of resources; determining, at the routing handler, the particular operation in the request; selecting, at the routing handler, the one or more sub-services based at least in part on the particular operation in the request, wherein the one or more sub-services includes the rules sub-service and is selected via a lookup in a routing map that maps individual operations to respective one of the plurality of sub-services that provide the individual operations and is shared by the routing handler and one or more additional routing handlers; routing the request to the one or more sub-services including the rules sub-service; receiving one or more responses to the request from the one or more sub-services, including one or more messages from the rules sub-service describing one or more of the actions specified in one or more of the rules that are triggered by the particular operation; sending one or more additional requests to one or more additional sub-services of the plurality of sub-services including the actions sub-service to perform the one or more actions, wherein the one or more additional sub-services are selected via the routing map; and returning a client response to the client based at least in part on the one or more responses. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable storage medium storing program instructions computer-executable to perform:
-
receiving, at a routing handler from a client, a request that specifies a particular operation at one or more of a plurality of sub-services, wherein the plurality of sub-services comprise a rules sub-service that performs one or more operations for defining a plurality of rules, wherein individual ones of the rules are defined to bind a respective one or more of a plurality of triggers to a respective one or more of a plurality of actions, and wherein the plurality of sub-services comprise an actions sub-service that performs one or more operations for performing the plurality of actions in a provider network comprising a plurality of resources; determining, at the routing handler, the particular operation in the request; selecting, at the routing handler, the one or more sub-services based at least in part on the particular operation in the request, wherein the one or more sub-services includes the rules sub-service and is selected via a lookup in a routing map that maps individual operations to respective ones of the plurality of sub-services that provide the individual operations, wherein the routing map is loaded from a data store and shared by the routing handler and one or more additional routing handlers; and routing the request to the one or more sub-services including the rules sub-service; receiving one or more responses to the request from the one or more sub-services, including one or more messages from the rules sub-service describing one or more of the actions specified in one or more of the rules that are triggered by the particular operation; sending one or more additional requests to one or more additional sub-services of the plurality of sub-services including the actions sub-service to perform the one or more actions, wherein the one or more additional sub-services are selected via the routing map; and returning a client response to the client based at least in part on the one or more responses. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification