Introduction
Software architecture is becoming more and more complex and can involve various components and patterns. The library provides a means to store frequently used Layers and Sets that can be inserted (with their definition) into Architecture Models/Quality Models or Templates, so that you do not need to define the same Sets and Layers again and again. Take the following example:
- Any Layer or Set that exists in an Architecture Model/Quality Model or in a Template can be saved and stored in the Library.
- When subsequently building a new Architecture Model/Quality Model (either to use in an analysis/snapshot or as a basis for a template), Layers and Sets stored in the Library can be re-used therefore reducing the time needed to build the Model.
Therefore, like Architecture/Quality Templates, they can facilitate the creation of Architecture Models/Quality Models:
- Some elements are supplied with Console (standard library elements)
- Elements can be created manually from existing Architecture Models (custom/user defined library elements)
You can manage library components using the following menu:
Available options
Create | This option enables you to create a brand new Library Component using the interface available in Console. Choose a name of the item, then click OK to start the editing process - see AIP Console - Architecture Studio - Model editor for more information. | ||||
---|---|---|---|---|---|
Upload | Use this button to import a Library Component created with the end-user application CAST Architecture Checker or one that has been saved to file using Console (i.e. a .castarchitect file). The item will be displayed in the list. Imported items are stored in the following location: ≥ 2.x \\share\aip-node-data\common-data\upload\architecture\libraries 1.x %PROGRAMDATA%\CAST\AipConsole\AipConsole\upload\architecture\libraries | ||||
User Defined | Use this option to toggle the display of components based on their type:
| ||||
Search Components | Use this to search for a specific Library Component. Search will be performed on the file name and/or the Name of the model. The list of items will be filtered based on the search term entered. | ||||
Name | Name of the existing Library Model. Rolling your mouse pointer over the name of the model will reveal the Description assigned to the model. | ||||
File Name | Name of the .castarchitect file assigned to the model. Files are stored in the following location: ≥ 2.x \\share\aip-node-data\common-data\upload\architecture\libraries 1.x %PROGRAMDATA%\CAST\AipConsole\AipConsole\upload\architecture\libraries Note:
| ||||
Compatible | Indicates the compatibility of the Library Component:
| ||||
Type | Indicates the type of component:
| ||||
Validity | Indicates the validity of the Library Component. A red warning icon will be displayed if a component has an error (not related to metamodel) - for example a bad configuration: Any component that is "invalid" will not be available in the Library Components drop down in the AIP Console - Architecture Studio - Model editor. | ||||
Last Modified | Displays the date the component was last modified. For imported components that have not been subsequently modified in Console, the date the model was imported will be displayed. | ||||
Options Edit Use this option to edit the component in the Model editor. Components provided by CAST (standard components) will be opened in read-only mode. Download Use this option to download the component (whether created from scratch or imported from file) to .castarchitect file. Remove Use this option to remove a custom component (standard components provided by CAST cannot be removed). Removing a Model cannot be reversed. Ensure you download the .castarchitect file if you need to re-use the component. |
Update of standard Library Components provided by CAST
The update of standard library components provided in CAST Extend is actioned automatically. This will occur roughly 2 minutes after the Console service has been (re-)started, then once per day each time the "SAVE" button is pressed in any of the Console System Settings (whether a field has been changed or not).