Representational state transfer resource collection management
First Claim
Patent Images
1. A computer-implemented method of managing resources within a computer system implementing a representational state transfer architecture, the computer-implemented method comprising:
- accessing a persisted collection resource and at least one metadata resource identifying the persisted collection resource, the persisted collection resource comprising a collection query with at least one query parameter defining a collection of resources, wherein the at least one metadata resource comprises a Uniform Resource Identifier (URI), the URI identifying a location of the collection query with the at least one query parameter;
processing the collection query with respect to resources within the computer system to dynamically generate a list of resources associated with the at least one query parameter, wherein dynamically generating the list is a result of processing the collection query;
providing a resource structure comprising a first resource structure comprising the at least one metadata resource and the persisted collection resource and a second resource structure separate from the first resource structure comprising the collection of resources defined by the collection query with the at least one query parameter; and
determining a resource request for at least one of the resources, the resource request comprising a resource identifier, wherein the accessing the persisted collection resource comprises accessing the persisted collection resource based on the resource identifier, wherein the resource request further comprises an action, and the method further comprises processing the action based on the list of resources, and wherein the processing the action based on the list of resources comprises performing a Hypertext Transfer Protocol (HTTP) action with respect to the list of resources.
1 Assignment
0 Petitions
Accused Products
Abstract
Management of resources within a representational state transfer architecture comprising a plurality of service resources. A persisted collection resource is accessed, and the persisted collection resource includes a collection query with at least one query parameter defining a collection of resources. The collection query is processed with respect to the resources within the computer system to generate a list of resources associated with the at least one query parameter.
21 Citations
10 Claims
-
1. A computer-implemented method of managing resources within a computer system implementing a representational state transfer architecture, the computer-implemented method comprising:
-
accessing a persisted collection resource and at least one metadata resource identifying the persisted collection resource, the persisted collection resource comprising a collection query with at least one query parameter defining a collection of resources, wherein the at least one metadata resource comprises a Uniform Resource Identifier (URI), the URI identifying a location of the collection query with the at least one query parameter; processing the collection query with respect to resources within the computer system to dynamically generate a list of resources associated with the at least one query parameter, wherein dynamically generating the list is a result of processing the collection query; providing a resource structure comprising a first resource structure comprising the at least one metadata resource and the persisted collection resource and a second resource structure separate from the first resource structure comprising the collection of resources defined by the collection query with the at least one query parameter; and determining a resource request for at least one of the resources, the resource request comprising a resource identifier, wherein the accessing the persisted collection resource comprises accessing the persisted collection resource based on the resource identifier, wherein the resource request further comprises an action, and the method further comprises processing the action based on the list of resources, and wherein the processing the action based on the list of resources comprises performing a Hypertext Transfer Protocol (HTTP) action with respect to the list of resources. - View Dependent Claims (2, 3, 4)
-
-
5. A system for managing resources within a system implementing a representational state transfer architecture, the system comprising:
-
a memory; and a processor in communication with the memory, wherein the system is configured to perform a method, said method comprising; accessing a persisted collection resource and at least one metadata resource identifying the persisted collection resource, the persisted collection resource comprising a collection query with at least one query parameter defining a collection of resources, wherein the at least one metadata resource comprises a Uniform Resource Identifier (URI), the URI identifying a location of the collection query with the at least one query parameter; processing the collection query with respect to resources within the computer system to dynamically generate a list of resources associated with the at least one query parameter, wherein dynamically generating the list is a result of processing the collection query; providing a resource structure comprising a first resource structure comprising the at least one metadata resource and the persisted collection resource and a second resource structure separate from the first resource structure comprising the collection of resources defined by the collection query with the at least one query parameter; and determining a resource request for at least one of the resources, the resource request comprising a resource identifier, wherein the accessing the persisted collection resource comprises accessing the persisted collection resource based on the resource identifier, wherein the resource request further comprises an action, and the method further comprises processing the action based on the list of resources, and wherein the processing the action based on the list of resources comprises performing a Hypertext Transfer Protocol (HTTP) action with respect to the list of resources. - View Dependent Claims (6, 7)
-
-
8. A computer program product for managing resources within a computer system implementing a representational state transfer architecture, the computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; accessing a persisted collection resource and at least one metadata resource identifying the persisted collection resource, the persisted collection resource comprising a collection query with at least one query parameter defining a collection of resources, wherein the at least one metadata resource comprises a Uniform Resource Identifier (URI), the URI identifying a location of the collection query with the at least one query parameter; processing the collection query with respect to resources within the computer system to dynamically generate a list of resources associated with the at least one query parameter, wherein dynamically generating the list is a result of processing the collection query; providing a resource structure comprising a first resource structure comprising the at least one metadata resource and the persisted collection resource and a second resource structure separate from the first resource structure comprising the collection of resources defined by the collection query with the at least one query parameter; and determining a resource request for at least one of the resources, the resource request comprising a resource identifier, wherein the accessing the persisted collection resource comprises accessing the persisted collection resource based on the resource identifier, wherein the resource request further comprises an action, and the method further comprises processing the action based on the list of resources, and wherein the processing the action based on the list of resources comprises performing a Hypertext Transfer Protocol (HTTP) action with respect to the list of resources. - View Dependent Claims (9, 10)
Specification