Creating applications or systems from reusable components is common as a means to accelerate the delivery of solutions and reduce cost. Tracking the evolution of systems over time requires versioning, both for individual units of data and for configurations. The use of versioning provides the ability to view the history of individual units of data and compare any two versions of data to identify the changes between them, and the ability to view the history of a configuration to see how the data has changed over time. Today, the primary means of managing and tracking evolution of a system is via a configuration management system. A configuration management system requires a user to manually manage workspaces, and manually check out and check in data, assign new versions to the data, etc.
One or more embodiments disclosed within this specification relate to versioning configurations of reusable artifacts.
A computer-implemented method can include creating, from a present version of a first artifact which is mutable, an artifact baseline corresponding to the present version of the first artifact. The method also can include, responsive to creating the artifact baseline, making immutable the present version of the first artifact and present versions of children artifacts of the present version of the first artifact which are mutable. The method also can include, responsive to identifying a change to the present version of the first artifact, automatically creating, by a processor, a new version of the first artifact, wherein the new version of the first artifact is mutable.
A system includes a processor programmed to initiate executable operations. The executable operations include creating, from a present version of a first artifact which is mutable, an artifact baseline corresponding to the present version of the first artifact. The executable operations also can include, responsive to creating the artifact baseline, making immutable the present version of the first artifact and present versions of children artifacts of the present version of the first artifact which are mutable. The executable operations also can include, responsive to identifying a change to the present version of the first artifact, automatically creating a new version of the first artifact, wherein the new version of the first artifact is mutable.
A computer program product includes a computer readable storage device having program code stored thereon, the program code executable by a processor to perform a method. The method includes creating, by the processor, from a present version of a first artifact which is mutable, an artifact baseline corresponding to the present version of the first artifact. The method also can include, responsive to creating the artifact baseline, making, by the processor, immutable the present version of the first artifact and present versions of children artifacts of the present version of the first artifact which are mutable. The method also can include, responsive to identifying a change to the present version of the first artifact, automatically creating, by the processor, a new version of the first artifact, wherein the new version of the first artifact is mutable.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer-readable medium(s) having computer-readable program code embodied, e.g., stored, thereon.
Any combination of one or more computer-readable medium(s) may be utilized. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The phrase “computer-readable storage medium” means a non-transitory storage medium. A computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk drive (HDD), a solid state drive (SSD), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer-readable signal medium may be any computer-readable medium that is not a computer-readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber, cable, RF, etc., or any suitable combination of the foregoing. Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java™, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer, other programmable data processing apparatus, or other devices create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
For purposes of simplicity and clarity of illustration, elements shown in the figures have not necessarily been drawn to scale. For example, the dimensions of some of the elements may be exaggerated relative to other elements for clarity. Further, where considered appropriate, reference numbers are repeated among the figures to indicate corresponding, analogous, or like features.
Arrangements described herein relate to versioning configurations of reusable artifacts. A baseline for such artifacts can be established, which can cause such artifacts to be immutable. The baseline can include a version of a first artifact and versions of other artifacts that are children and/or parents of the first artifact. When the first artifact, or at least one of the children of the artifact, is changed, a new version of the artifact can be created. If a child artifact has changed, a new version of the child artifact also can be created. These versions can be mutable, at least until a new baseline is established.
The versioning can be supported with an object model that supports a containment relationship between various versions of the artifacts, and any version of an artifact can be reused. For example, a child artifact can be associated with any number of parent artifacts within an artifact hierarchy. When an artifact is made immutable, for example by establishing a new baseline, all children of the artifact also can be made immutable, for example from a point in the hierarchy representing the artifact down through the children of the artifact. Thus, locating various configurations that contain a same version of an artifact is possible. To change the artifact, a new version of the artifact (and/or parents of the artifact) can be created.
Several definitions that apply throughout this document will now be presented.
As used herein, the term “artifact” means a computer-based structure created for a practical purpose. An artifact can, for instance, comprise information (e.g., data) pertaining to a product (e.g., an article of manufacture, an application, a service, a system, or the like). Examples of an artifact include, but are not limited to, a product identification, a product specification, a drawing (e.g., a computer-aided design (CAD) drawing), a bill of materials, a procedure, computer-program code (e.g., a modules, routine, sub-routine, or the like), marketing material, and the like. Another example of an artifact is an artifact associated with one or more other artifacts, such as parent and/or child artifact.
In illustration, artifacts can be associated with one another in a hierarchy comprising a first parent artifact having one or more children artifacts, and one or more of the children artifacts themselves can be parent artifacts to other children artifacts. For example, a parent artifact can be a product identification, and the parent artifact can be associated with children artifacts corresponding to the product, for example a product specification, identifiers for components of the product (e.g., a bill of materials), drawings of the product, drawings of components of the product, etc. An artifact which is a parent to other artifacts also can be a child artifact to its parent artifact. For example, an artifact can be an identifier for a component of the product, and thus be a child artifact to the artifact representing the product, but also have children artifacts, for example drawings, specifications, etc. for the component, and children artifacts for sub-components of the component, and so on.
As used herein, the term “baseline” means a state of at least one version of an artifact in a particular immutable version.
As used herein, the term “immutable” means not changeable to a present version of an artifact. For example, if a first version of an artifact is immutable, a change to the first version of the artifact cannot be saved to that first version of the artifact. Instead, to save a change to the first version of the artifact, at least a second version of the artifact must be created to save the change. When an artifact is immutable, changes to children of the artifact also cannot be made without creating a new version of the artifact.
As used herein, the term “mutable” means changeable to a present version of an artifact. For example, if a first version of an artifact is mutable, changes may be made to that version without creating a new version of the artifact. Changes also may be made to children of the artifact. Moreover, children of the artifact can be disassociated from and the artifact and/or additional children can be associated with the artifact.
The components 100 can include an artifact 110, which may be a parent artifact for a particular product (e.g., a 2012 Sedan, version 12), and various children artifacts 120, 130, 132, 134, 136, 138. In this example, the artifact 110 may represent an identity and/or a bill of materials for the 2012 Sedan, version 12. The artifact 120 may represent an E500 engine, version 3, used in the 2012 Sedan, version 12, and thus be a child artifact of the artifact 110. The artifacts 130-138 can represent any other suitable artifacts that are children artifacts of the artifact 110. Further, the artifact 130, though being a child of the artifact 110, can be a parent to the artifacts 132, 134, 136, 138. Similarly, the artifact 134, though being a child of the artifact 130, can be a parent to the artifacts 136, 138. In this regard,
The components 100 also include an artifact 150, which may be a parent artifact for a particular product (e.g., a 2012 SUV, version 8), and various children artifacts 120, 160, 162, 164, 166, 168. In this regard,
In this example, the artifact 150 may represent an identity and/or a bill of materials for the 2012 SUV, version 8. The artifacts 160-168 can represent any other suitable artifacts that are children artifacts to the artifact 110. The artifact 120 may represent the same E500 engine, version 3, used in the 2012 SUV, version 8, and thus not only be a child artifact of the artifact 150, but also be a child artifact to the artifact 110. In this regard, the artifact 120 can represent the same E500 engine used in the 2012 Sedan, version 12. Thus, both the artifact 110 and the artifact 150 can share, as a child artifact, the same artifact 120. Thus, the artifact 120 is a reusable artifact, being used both by the artifact 110 and the artifact 150. The artifact 120 can have associated therewith one or more children artifacts (not shown). By virtue of their association with the artifact 120, such other artifacts can be associated with the artifacts 110, 150, and thus also be considered to be reusable.
Since the artifact 120 is immutable, the user can be prompted to create a new version (e.g. version 4) of the E500 engine. If the user declines, the user's revisions need not be saved in the components 300. If, however, the user agrees to create the new version of the engine, a new version (e.g., version 4) can be automatically created and saved in the components 300, as represented by decision line 302. When this occurs, a new artifact 320 can be automatically created for the E500 engine, version 4, and can be automatically associated with a new artifact 310 created for, and associated with, the 2012 Sedan. In this regard, the changes creating the artifact 320 can be automatically cause the artifact 310 to be created, and the artifact can be automatically associated with (e.g., propagated) to the artifact 310.
The artifact 310 can be a parent artifact to the artifact 320. Since the engine has been revised, the artifact 310 can represent a new version of the 2012 sedan, for instance version 13. Also, the artifacts 310, 320 can be made mutable until a new baseline for the artifact 310 and/or artifact 320 is established. Nonetheless, all relationships between the artifacts 110, 120 and the artifacts 130-138 can be retained, and promulgated to, for the artifacts 310, 320. In other words, the artifacts 310, 320 can maintain the relationships with the artifacts 130-138 previously established by the artifacts 110, 120. Nonetheless, while the artifacts 310, 320 are mutable, children of the artifacts 310, 320 can be disassociated from the artifacts 310, 320, or additional children can be associated with the artifacts 310, 320, for example in response to one or more user inputs.
Further, referring to
Such operations can be transparent to the user. Accordingly, the user need only agree that the artifact be created and/or included in the components 300, and all processing to create the new version can be automatically implemented. Moreover, associations between respective versions can be automatically established. Thus, the user, or other users, easily can review the relationships between different versions of the artifacts to identify changes that were made.
To make changes to a particular artifact, such as the artifact 120, the artifact can be checked out of a configuration management system. Moreover, parent artifacts (e.g. artifacts, 110, 150) also can be checked out. When the artifact (or the parent artifact 110, 150) is checked back in, the user can be prompted to choose whether to create a new version. If the user chooses to do so, the system can be updated as described. If the user chooses not to, the system need not be updated, and the artifact need not be implemented in the system. For example, the user can choose to keep the artifact as a work in progress without creating a new version that is applied in the system or establishing a new baseline. The user can check the artifact 120 back in, for example as the artifact 320, at any time desired by the user.
When a new baseline for the artifact 310 and/or artifact 320 is established, the components 300 can be automatically updated accordingly to make the artifact 310 and/or artifact 320 immutable as described with respect to
At step 415, responsive to identifying a change to the present version of the first artifact, or a change to at least one child artifact of the present version of the first artifact, a new version of the first artifact can be automatically created, wherein the new version of the first artifact is mutable. At step 420, a new version for each parent artifact of the first artifact can be automatically created, wherein the new version of each parent artifact is mutable. At step 425, responsive to a user input, the new version of the first artifact can be made immutable. Further, each child artifact of the new version of the first artifact also can be made immutable. For example, a new artifact baseline corresponding to the new version of the first artifact can be created. In response to the artifact baseline being created, the new version of the first artifact, and its children artifacts, can be made immutable.
The processing system 500 can include at least one processor 505 (e.g., a central processing unit) coupled to memory elements 510 through a system bus 515 or other suitable circuitry. As such, the processing system 500 can store program code within the memory elements 510. The processor 505 can execute the program code accessed from the memory elements 510 via the system bus 515. It should be appreciated that the processing system 500 can be implemented in the form of any system including a processor and memory that is capable of performing the functions and/or operations described within this specification. For example, the processing system 500 can be implemented as a computer (e.g., a server, a workstation, a mobile computer, a laptop computer, a tablet computer, or the like), a computing appliance, and so on.
The memory elements 510 can include one or more physical memory devices such as, for example, local memory 520 and one or more bulk storage devices 525. Local memory 520 refers to RAM or other non-persistent memory device(s) generally used during actual execution of the program code. The bulk storage device(s) 525 can be implemented as a hard disk drive (HDD), solid state drive (SSD), or other persistent data storage device. The processing system 500 also can include one or more cache memories (not shown) that provide temporary storage of at least some program code in order to reduce the number of times program code must be retrieved from the bulk storage device 525 during execution.
Input/output (I/O) devices such as a display 530, a pointing device 535 and, optionally, a keyboard 540 can be coupled to the processing system 500. The I/O devices can be coupled to the processing system 500 either directly or through intervening I/O controllers. For example, the display 530 can be coupled to the processing system 500 via a graphics processing unit (GPU), which may be a component of the processor 505 or a discrete device. One or more network adapters 545 also can be coupled to processing system 500 to enable processing system 500 to become coupled to other systems, computer systems, remote printers, and/or remote storage devices through intervening private or public networks. Modems, cable modems, transceivers, and Ethernet cards are examples of different types of network adapters 545 that can be used with processing system 500.
As pictured in
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “includes,” “including,” “comprises,” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Reference throughout this specification to “one embodiment,” “an embodiment,” or similar language means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment disclosed within this specification. Thus, appearances of the phrases “in one embodiment,” “in an embodiment,” and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
The term “plurality,” as used herein, is defined as two or more than two. The term “another,” as used herein, is defined as at least a second or more. The term “coupled,” as used herein, is defined as connected, whether directly without any intervening elements or indirectly with one or more intervening elements, unless otherwise indicated. Two elements also can be coupled mechanically, electrically, or communicatively linked through a communication channel, pathway, network, or system. The term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will also be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms, as these terms are only used to distinguish one element from another unless stated otherwise or the context indicates otherwise.
The term “if” may be construed to mean “when” or “upon” or “in response to determining” or “in response to detecting,” depending on the context. Similarly, the phrase “if it is determined” or “if [a stated condition or event] is detected” may be construed to mean “upon determining” or “in response to determining” or “upon detecting [the stated condition or event]” or “in response to detecting [the stated condition or event],” depending on the context.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the embodiments disclosed within this specification have been presented for purposes of illustration and description, but are not intended to be exhaustive or limited to the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the embodiments of the invention. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the inventive arrangements for various embodiments with various modifications as are suited to the particular use contemplated.
Number | Date | Country | |
---|---|---|---|
Parent | 13837559 | Mar 2013 | US |
Child | 15334016 | US |