Declarative programming model for modeling and execution of triggers for resource oriented system
First Claim
1. A method of executing operations sets on data sets accessible through a host having a processor according to a protocol, comprising:
- executing on the processor instructions configured to;
for a data set and a verb of the protocol associated with an action, associate at least one operations set other than the action with the verb of the protocol and the data set; and
upon receiving a protocol request specifying a verb of the protocol and a data set;
execute the action associated with the verb of the protocol to fulfill the protocol request; and
additionally execute at least one operations set associated with the verb and the data set.
2 Assignments
0 Petitions
Accused Products
Abstract
Data sets of various types may be accessible through a host according to a protocol, such as a RESTful HTTP interface. Various domains may involve domain-specific processes to be executed as pre-triggers or post-triggers of various protocol requests (e.g., an HTTP GET request specifying a Read operation on an access-restricted data set may involve an authorization operations set that verifies the access privileges of the requester.) A host of the data set may be configured to receive a resource script expressing the operations set in a script language, to store the resource script, and to associated it with at least one data set and at least one verb of the protocol. Upon later receiving a protocol request specifying the verb and the resource, the host may then execute the resource script (as a pre-trigger and/or as a post-trigger) in accordance with the business logic of the domain.
75 Citations
20 Claims
-
1. A method of executing operations sets on data sets accessible through a host having a processor according to a protocol, comprising:
executing on the processor instructions configured to; for a data set and a verb of the protocol associated with an action, associate at least one operations set other than the action with the verb of the protocol and the data set; and upon receiving a protocol request specifying a verb of the protocol and a data set; execute the action associated with the verb of the protocol to fulfill the protocol request; and additionally execute at least one operations set associated with the verb and the data set. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
10. A method of executing operations sets on data sets accessible according to a protocol on a host having a processor and a memory, comprising:
executing on the processor instructions configured to; upon receiving a request to associate, with a data set and a verb of the protocol that is associated with an action, an operations set other than the action of the verb; store the operations set in the memory, and associate the operations set with the verb of the protocol and the data set; and upon receiving a protocol request specifying a verb of the protocol and a data set; execute the action associated with the verb of the protocol to fulfill the protocol request; and additionally execute at least one operations set associated with the verb and the data set. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19)
-
20. A method of executing an operations set specifying a domain-specific operation on a data set comprising a resource represented in a domain in a deployable computing environment hosted by a host having a processor and accessible according to a protocol, comprising:
-
executing on the processor instructions configured to; express the operations set as a resource script in a declarative script language comprising; at least one data set instruction corresponding to at least one verb of the protocol, and at least one flow control instruction configured to alter an execution flow of the resource script, the resource script comprising at least one data set operation and at least one flow control operation; associate the data set with at least one verb of the protocol and at least one resource script; upon receiving a protocol request specifying the verb of the protocol and the data set, at least one of; execute the at least one resource script before executing a verb of the protocol on the data set, and execute the at least one resource script after executing a verb of the protocol on the data set; and receive a result generated by the resource script and included in a protocol response returned by the host in response to the protocol request.
-
Specification