Method for application notification and tasking
First Claim
1. A system for enabling application tasking in an application execution system from an external web application which is external to the application execution system, the system comprising:
- one or more processing devices; and
one or more storage devices storing instructions that, when executed by the one or more processing devices, cause the one or more processing devices to;
receive, a task from the external web application destined for a specific task queue for a specific internal web application which is hosted inside the application execution system;
verify, using an authorization process, permission of the external web application to the specific task queue by checking information within a queue configuration file of the specific internal web application to determine whether the external web application has a sufficient privilege level to access and write to the specific internal web application'"'"'s specific task queue;
responsive to the verification, append, using a method in an external REST Task Queue API, the task to the specific task queue; and
assign the task to a worker process in the specific internal web application such that the worker process;
leases, using the method in the external REST Task Queue API, the task from the specific task queue;
determines whether to process the task at a current time based on whether the internal web application is busy;
modifies the task lease to zero seconds, if it is determined not to process the task at the current time, and releases, using the method in the external REST Task Queue API, the task to another worker process for processing;
processes the task by the worker process if it is determined that the specific internal web application is not busy; and
responsive to completing the task, removes, using the method in the external REST Task Queue API, the task from the specific task queue.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for notifying and tasking computer applications hosted by an application execution system by computer applications external to the application execution system is provided. An external computer application may use an external Task queue API to add tasks to the internal application'"'"'s task queue. The internal application can then see the tasks and act upon the tasks at a convenient, non-busy time for the internal application. An intermediary subscription system may manage an internal application'"'"'s event subscriptions. When an event occurs, the intermediary subscription system may add a task to the subscribing internal application'"'"'s task queue. A second intermediate system manages the access control list of an internal application'"'"'s task queue. This system restricts access to the task queue to only those external applications that are explicitly granted permission in the internal application'"'"'s task queue configuration file.
21 Citations
14 Claims
-
1. A system for enabling application tasking in an application execution system from an external web application which is external to the application execution system, the system comprising:
-
one or more processing devices; and one or more storage devices storing instructions that, when executed by the one or more processing devices, cause the one or more processing devices to; receive, a task from the external web application destined for a specific task queue for a specific internal web application which is hosted inside the application execution system; verify, using an authorization process, permission of the external web application to the specific task queue by checking information within a queue configuration file of the specific internal web application to determine whether the external web application has a sufficient privilege level to access and write to the specific internal web application'"'"'s specific task queue; responsive to the verification, append, using a method in an external REST Task Queue API, the task to the specific task queue; and assign the task to a worker process in the specific internal web application such that the worker process; leases, using the method in the external REST Task Queue API, the task from the specific task queue; determines whether to process the task at a current time based on whether the internal web application is busy; modifies the task lease to zero seconds, if it is determined not to process the task at the current time, and releases, using the method in the external REST Task Queue API, the task to another worker process for processing; processes the task by the worker process if it is determined that the specific internal web application is not busy; and responsive to completing the task, removes, using the method in the external REST Task Queue API, the task from the specific task queue. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-implemented method for enabling application tasking in an application execution system from an external web application which is external to the application execution system, the method comprising:
-
receiving a task from the external web application destined for a specific task queue of a specific internal web application which is hosted inside the application execution system; verifying, using an authorization process, that the external web application has permission to access the specific task queue by checking information within a queue configuration file of the specific internal web application to determine whether the external web application has a sufficient privilege level to access and write to the specific internal web application'"'"'s specific task queue; responsive to the verification, appending, using a method in an external REST Task Queue API, the received task to the specific task queue; and assigning the appended, received task to a worker process in the specific internal web application so that the worker process leases, using the method in the in the external REST Task Queue API, the appended, received task from the specific task queue; determines whether to process the task at a current time based on whether the specific internal web application is busy; modifies the task lease to zero seconds if it is determined not to process the task at the current time, and releases, using the method in the external REST Task Queue API, the task to another worker process for processing; processes the appended, received task by the worker process if it is determined that the specific internal web application is not busy; and responsive to completing the appended, received task, removes, using the method in the external REST Task Queue API, the task from the specific task queue. - View Dependent Claims (6, 7, 8, 9)
-
-
10. A non-transitory computer-readable medium having stored therein computer executable code that causes one or more processors to execute the steps of:
-
receiving a task from an external web application which is external to the application execution system destined for a specific internal task queue for a specific internal web application which is hosted inside the application execution system; verifying, using an authorization process, permission of the external web application to the specific task queue by checking information within a queue configuration file of the internal specific internal web application to determine whether the external web application has a sufficient privilege level to access and write to the specific internal web application'"'"'s specific task queue; responsive to the verification, appending, using a method in an external REST Task Queue API, the received task to the specific task queue; and assigning the task to a worker process in the specific internal web application such that the worker process; leases, using the method in the external REST Task Queue API, the task from the specific task queue; determines whether to process the task at a current time based on whether the internal web application is busy; modifies the task lease to zero seconds if it is determined not to process the task at the current time, and releases, using the method in the external REST Task Queue API, the task to another worker process for processing; processes the task by the worker process if it is determined that the specific internal web application is not busy; and responsive to completing the task, removes, using the method in the external REST Task Queue API, the task from the specific task queue. - View Dependent Claims (11, 12, 13, 14)
-
Specification