PROCESSING MODEL-BASED COMMANDS FOR DISTRIBUTED APPLICATIONS
First Claim
1. At a computer system, the computer system including an executive service and a repository that stores models, a method for processing a model-based command for a distributed application, the method comprising:
- an act of receiving a command request for a distributed application, the command request including a command reference to a command definition model defining a corresponding command, the command request also including a reference to model, the command request indicating that the corresponding command is to be implemented for the application model;
an act of creating a command record for the received command request in the repository, the command record for storing information related to implementing the command request;
an act of identifying a workflow model from the command definition model, the workflow model describing how to implement the received command request;
an act of accessing the workflow model from the repository;
an act of creating an instance of the workflow from the workflow model, the workflow instance having a command ID and including a set of pre-defined activities configured to interoperate to implement the command request;
an act of storing a the command ID in the command record;
an act of submitting the application reference to the workflow instance to initiate the workflow instance; and
an act of recording information related to the behavior of the workflow instance within the command record as the workflow instance implements the command request for the application model.
5 Assignments
0 Petitions
Accused Products
Abstract
The present invention extends to methods, systems, and computer program products for processing model based commands for distributed applications. Embodiments facilitate execution of model-based commands, including software lifecycle commands, using model-based workflow instances. Data related to command execution is stored in a shared repository such that command processors can understand their status in relationship to workflow instances. Further, since the repository is shared, command execution can be distributed and balanced across a plurality of different executive services. Embodiments also include model-based error handling and error recovery mechanisms.
-
Citations
20 Claims
-
1. At a computer system, the computer system including an executive service and a repository that stores models, a method for processing a model-based command for a distributed application, the method comprising:
-
an act of receiving a command request for a distributed application, the command request including a command reference to a command definition model defining a corresponding command, the command request also including a reference to model, the command request indicating that the corresponding command is to be implemented for the application model; an act of creating a command record for the received command request in the repository, the command record for storing information related to implementing the command request; an act of identifying a workflow model from the command definition model, the workflow model describing how to implement the received command request; an act of accessing the workflow model from the repository; an act of creating an instance of the workflow from the workflow model, the workflow instance having a command ID and including a set of pre-defined activities configured to interoperate to implement the command request; an act of storing a the command ID in the command record; an act of submitting the application reference to the workflow instance to initiate the workflow instance; and an act of recording information related to the behavior of the workflow instance within the command record as the workflow instance implements the command request for the application model. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17)
-
-
13. At a computer system, the computer system including an executive service and a repository that stores models, a method for releasing a command definition model for further use, the method comprising:
-
an act of receiving a command request for a distributed application, the command request including a command reference to a command definition model defining a corresponding command, the command request also including a reference to model, the command request indicating that the corresponding command is to be implemented for the application model; an act of creating an instance of the workflow from a corresponding workflow model, the workflow instance including a set of pre-defined activities configured to interoperate to implement the command request; an act of locking the application model to prevent further access to the application model while the workflow instance implements the command request for the model application. an act of submitting the application model reference to the workflow instance to initiate the workflow instance; an act of recording information related to the behavior of the workflow instance within the command record as the workflow instance implements the command request for the application model; an act of determining that the workflow instance is to be stopped; an act of determining that the workflow instance is stopped; and an act of releasing the lock on the application model such that other commands can be implemented for the application model.
-
-
18. At a computer system, the computer system including a plurality of executive services and a repository that stores models, a method for distributing the implementation of a command, the method comprising:
-
an act of a first executive service receiving a command request for a distributed application, the command request including a command reference to a command definition model defining a corresponding command, the command request also including a reference to model, the command request indicating that the corresponding command is to be implemented for the application model; an act of the first executive service determining that it is already running a plurality of other model-based commands; an act of the first executive service querying the repository to determine if other executive services are available; an act of the first executive service receiving an indication that a second executive service is available for processing model-based commands; and an act of the first executive service passing the command request to the second executive service in response to the indication that the second executive service is available so as to balance the load of command processing across the plurality of executive services. - View Dependent Claims (19, 20)
-
Specification