Consolidating tasks into a composite request
First Claim
1. A server comprising:
- at least one processor;
a memory storage device associated with the at least one processor, the memory storage device comprising a memory area storing a system management component, wherein the at least one processor executes the system management component to;
process a composite hypertext transfer protocol (HTTP) POST job request, the composite HTTP POST job request comprising a plurality of nested job create requests, the plurality of nested job create requests defining a plurality of jobs, respectively, to be performed on one or more management resources of a data storage system;
create a composite job in accordance with the composite HTTP POST job request on at least one data storage system server, the composite job comprising the plurality of jobs to be performed on the one or more management resources, each job in the plurality of jobs corresponding to a respective nested job create request in the plurality of nested job create requests, the composite job having a single composite job identifier for tracking execution progress of the composite job and each job in the plurality of jobs corresponding to the respective nested job create request;
execute the composite job, by the at least one processor, in accordance with a dependency for each job in the plurality of jobs associated with the composite job; and
upon determining that the dependency indicates a first job in the plurality of jobs is dependent on a second job in the plurality of jobs, execute the second job prior to executing the first job and pass an output of the second job as an input to the first job,wherein the composite HTTP POST job request further comprises;
a composite request HTTP header; and
a composite request uniform resource locator (URL),wherein the at least one processor executes computer executable program code to apply the composite request HTTP header and the composite request URL to each nested job create request in the plurality of nested job create requests, andwherein each nested job create request in the plurality of nested job create requests share a same HTTP header and URL provided for the composite HTTP POST job request.
8 Assignments
0 Petitions
Accused Products
Abstract
Described are techniques for consolidating tasks into a composite job. A server processes a composite request to create a composite job on the server. The composite request comprises a plurality of nested job create requests. The composite job comprises a plurality of jobs. Each job in the plurality of jobs corresponds to a job create request in the plurality of nested job create requests. The server generates a dependency tree indicating a dependency of each job in the plurality of jobs. The server executes the composite job in accordance with the dependency tree. On determining that a first job is dependent on a second job, the server executes the second job prior to executing the first job. The server passes the output of the second job as input to the first job.
-
Citations
20 Claims
-
1. A server comprising:
-
at least one processor; a memory storage device associated with the at least one processor, the memory storage device comprising a memory area storing a system management component, wherein the at least one processor executes the system management component to; process a composite hypertext transfer protocol (HTTP) POST job request, the composite HTTP POST job request comprising a plurality of nested job create requests, the plurality of nested job create requests defining a plurality of jobs, respectively, to be performed on one or more management resources of a data storage system; create a composite job in accordance with the composite HTTP POST job request on at least one data storage system server, the composite job comprising the plurality of jobs to be performed on the one or more management resources, each job in the plurality of jobs corresponding to a respective nested job create request in the plurality of nested job create requests, the composite job having a single composite job identifier for tracking execution progress of the composite job and each job in the plurality of jobs corresponding to the respective nested job create request; execute the composite job, by the at least one processor, in accordance with a dependency for each job in the plurality of jobs associated with the composite job; and upon determining that the dependency indicates a first job in the plurality of jobs is dependent on a second job in the plurality of jobs, execute the second job prior to executing the first job and pass an output of the second job as an input to the first job, wherein the composite HTTP POST job request further comprises; a composite request HTTP header; and a composite request uniform resource locator (URL), wherein the at least one processor executes computer executable program code to apply the composite request HTTP header and the composite request URL to each nested job create request in the plurality of nested job create requests, and wherein each nested job create request in the plurality of nested job create requests share a same HTTP header and URL provided for the composite HTTP POST job request. - View Dependent Claims (2, 3, 4, 5, 20)
-
-
6. A computer-implemented method for consolidating tasks into a composite job, the method comprising:
-
receiving a composite hypertext transfer protocol (HTTP) POST job request via an application programming interface of a computing device associated with a data storage system, the composite HTTP POST job request comprising a plurality of nested job requests encapsulated within a body of the composite HTTP POST job request, the plurality of nested job requests comprising a set of parameters defining a plurality of individual jobs, respectively, to be performed on one or more management resources of the data storage system; creating a composite job corresponding to the composite HTTP POST job request, the composite job comprising the plurality of individual jobs to be performed on the one or more management resources, each individual job in the plurality of individual jobs corresponding to a respective nested job request in the plurality of nested job requests, and the composite job having a single composite job identifier for tracking execution progress of the composite job and each individual job in the plurality of individual jobs corresponding to the respective nested job request; generating a dependency tree; executing each individual job in the plurality of individual jobs associated with the composite job, by a processing device, in accordance with the dependency tree, the composite HTTP POST job request further comprising a composite request HTTP header, and a composite request uniform resource locator (URL); and applying the composite request HTTP header and the composite request URL to each nested job request in the plurality of nested job requests, each nested job create request in the plurality of nested job create requests sharing a same HTTP header and URL provided for the composite HTTP POST job request. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
-
14. One or more computer storage media embodying computer executable components, said components comprising a systems management component that, when executed, cause at least one processor to:
-
parse a composite hypertext transfer protocol (HTTP) POST job request received from a client, the composite HTTP POST job request comprising a plurality of nested job requests, the plurality of nested job requests defining a plurality of nested jobs, respectively, to be performed on one or more data storage system resources; generate a composite job corresponding to the composite HTTP POST job request, the composite job comprising the plurality of nested jobs to be performed on the one or more data storage system resources, each nested job in the plurality of nested jobs corresponding to a respective nested job request in the plurality of nested job requests; return a composite job identifier to the client, the composite job identifier for tracking execution progress of the composite job and each nested job in the plurality of nested jobs corresponding to the respective nested job request, the composite job identifier identifying the composite job; track execution of the composite job to form a composite job status, the composite job status including an execution status of each nested job in the plurality of nested jobs; return the composite job status to the client in response to receiving a composite job status update request, the composite job status comprising a current execution status of each nested job in the plurality of nested jobs, the composite job update request comprising the composite job identifier; return a composite job complete status to the client on determining execution of the plurality of nested jobs is complete, the composite HTTP POST job request further comprising a composite request HTTP header, and a composite request uniform resource locator (URL); and apply the composite request HTTP header and the composite request URL to each nested job request in the plurality of nested job requests, each nested job request in the plurality of nested job requests sharing a same HTTP header and URL provided for the composite HTTP POST job request. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification