System and method for installing, updating and uninstalling applications
First Claim
1. A method comprising:
- using an environment definition to identify server configuration items in a source environment;
determining, for each identified server configuration item, whether the server configuration item exists in a property file, the property file mapping server configuration items to respective objects in an environment agnostic format;
including the configuration items that exist in the property file in a first set of configuration information;
identifying a set of environment independent attributes from the first set of configuration information, wherein the set of environment independent attributes includes a set of attributes that is equivalent between the source environment and target environments;
identifying a set of environment dependent attributes from the first set of configuration information, wherein the set of environment dependent attributes includes a set of attributes with values that are specific to the target environment and that differ from the source environment;
converting the set of environment independent attributes to objects in the environment agnostic format using the property file;
converting the set of environment dependent attributes to objects in the environment agnostic format, including replacing environment dependent attribute values with corresponding tokens using the property file, the converting being performed prior to identification of a target environment;
receiving an indication of the target environment; and
automatically creating a set of target environment configuration information, including converting the attributes from the environment agnostic format to a format recognized by the target environment, including replacing the tokens for the one or more environment dependent attributes with a value specific to the target environment from a collection of environment properties for the target environment.
15 Assignments
0 Petitions
Accused Products
Abstract
One method includes mapping a set of environment independent attributes and tokenizing a set of environment dependent attributes in a user selected format. Optionally, the tokens may be replaced with values for the environment dependent attributes. The mapped attributes and the values for the environment dependent attributes may then be used to configure an environment(s). In one embodiment, the configuration is a transaction in a J2EE environment and the format is XML. Additionally, the transaction may tolerate the presence/absence of attributes which are to be installed/deleted. Moreover, the method may support uninstalling applications, change logging, version skipping, and generating prospective change and state reports. The mapping may be from an operational or development server. Likewise, the configuration can occur to an operational or development server. The sets of attributes may be identified by, for example, using predefined rules.
-
Citations
25 Claims
-
1. A method comprising:
-
using an environment definition to identify server configuration items in a source environment; determining, for each identified server configuration item, whether the server configuration item exists in a property file, the property file mapping server configuration items to respective objects in an environment agnostic format; including the configuration items that exist in the property file in a first set of configuration information; identifying a set of environment independent attributes from the first set of configuration information, wherein the set of environment independent attributes includes a set of attributes that is equivalent between the source environment and target environments; identifying a set of environment dependent attributes from the first set of configuration information, wherein the set of environment dependent attributes includes a set of attributes with values that are specific to the target environment and that differ from the source environment; converting the set of environment independent attributes to objects in the environment agnostic format using the property file; converting the set of environment dependent attributes to objects in the environment agnostic format, including replacing environment dependent attribute values with corresponding tokens using the property file, the converting being performed prior to identification of a target environment; receiving an indication of the target environment; and automatically creating a set of target environment configuration information, including converting the attributes from the environment agnostic format to a format recognized by the target environment, including replacing the tokens for the one or more environment dependent attributes with a value specific to the target environment from a collection of environment properties for the target environment. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 20, 22, 23)
-
-
9. A method comprising:
-
querying a first server program for a set of configuration information for a source environment; identifying a set of environment independent attributes from the set of configuration information, wherein the set of environment independent attributes includes a set of attributes that is equivalent between the source environment and target environments, the set of environment independent attributes being server configuration items that exist in a property file that maps server configuration items to respective objects an environment independent representation; identifying a set of environment dependent attributes from the set of configuration information, wherein the set of environment dependent attributes includes a set of attributes with values that are specific to target environments and that differ from the source environment, the set of environment dependent attributes being server configuration items that exist in the property file; and creating an installation atomic used to install a server program in a target environment, the creation occurring prior to identification of a specific target environment, the installation atomic including; an environment agnostic representation for members of the set of environment dependent attributes and members of the set of environment independent attributes, each representation for an environment dependent attribute including at least one token that replaces a value of the attribute in the representation, the creating of the environment agnostic representation being based on the mapping in the property file, an environment properties data structure having values that correspond to the tokens for at least one environment of a plurality of target environments, and compiled binary artifacts created based on the server program. - View Dependent Claims (10, 11, 12, 13, 14, 15, 24, 25)
-
-
16. A method comprising:
-
querying a sever program operating in a first environment for a first set of configuration information in a source environment; identifying a first set of environment independent attributes from the first set of configuration information, the first set being server configuration items that exist in a property file that maps server configuration items to respective objects an environment independent representation; identifying a first set of environment dependent attributes from the first set of configuration information, wherein the first set of environment dependent attributes includes attributes with values that are specific to target environments and that differ from the source environment, the first set being server configuration items that exist in the property file; generating a first environment independent representation of the first set of environment dependent attributes and the first set of environment independent attributes, the first environment independent representation including at least one token replacing one of the values specific to target environments in the first set of configuration information, the generating being based on the mapping in the property file and performed independently of identification of a target environment; querying the server program operating in a second environment for a second set of configuration information, the second environment and the first environment having different server types; generating a second environment independent representation of the second configuration information that includes a second set of environment independent attributes and a second set of environment dependent attributes with at least one token replacing a value in the representation, the generating being based on a mapping in a property file that maps the second set of environment independent attributes and the second set of environment dependent attributes to respective objects in the environment independent representation and being performed independently of identification of a target environment; comparing the first environment independent representation to the second environment independent representation to identify differences between the configuration information for the server program operating in the first environment and the server program operating in the second environment; and reporting the differences. - View Dependent Claims (17, 18, 19, 21)
-
Specification