Here is the user guide of the Capella to Enterprise Architect extension.
This extension allows to transform a Capella model to an Enterprise Architect model. This manual is composed of three sections:
-
Installation: description of the extension installation
-
Capella: description of the capella extension and how to use it
-
Enterprise Architect: explains how to import the model exported from Capella into Enterprise Architect.
The product is delivered as a ZIP archive: Delivery_CapellaEABridge_X.Y.Z.zip, where "X.Y.Z" represents the current version of the extension.
The ZIP archive contains the extension products for the both 1.3.x and 1.4.x Capella versions.
For each Capella version, a drop-in and an update site are delivered.
A drop-in is delivered as ZIP archive: CapellaEABridge_VP-X.Y.Z-dropins.zip, where X.Y.Z is the version of the extension.
An update site is delivered as ZIP archive: CapellaEABridge_X.Y.Z_updatesite.zip, where X.Y.Z the version of the extension.
Unzip the Delivery_CapellaEABridge_X.Y.Z.zip archive.
Open the dropins directory.
Copy/paste and unzip the CapellaEABridge_X.Y.Z-dropins.zip into the dropins directory of the Capella_X.Y.Z installation.
It is then possible to delete the CapellaEABridge_X.Y.Z-dropins.zip archive.
Unzip Delivery_CapellaEABridge_X.Y.Z.zip archive.
Execute the Capella software.
In the Capella "Help" menu, select "Install New Software…".
In the opened wizard, click on the "Add…" button and choose the CapellaEABridge_X.Y.Z_updatesite.zip archive. Set CapellaEABridge in the "Name" field.
Select the CapellaEABridge feature and click on the "Next" button.
Click again on the "Next" button.
Accept the terms of the licence agreement and click on the "Finish" button.
Once the CapellaEABridge udapte site is installed, you must restart Capella to activate it.
Note: This chapter describes the check of the installation in the case of the update site installation. For check the dropin installation, check the Model transformation menu is available as it is describes in the Open Contextual "Transform model" menu section.
After installation procedure, launch Capella.
Check in the plugins installation CapellaEABridge is correctly installed.
In the Capella "Help" menu, select "About Capella".
In the opened wizard, select "Installation details" button.
Check the Capella to Enterprise Architecture feature exists.
-
A Capella Project: the goal of the Capella to Enterprise Architect extension is to transform an existing capella project into a EA model stored in a XMI/UML file.
In the following sections, the Camera SysML2 Example Capella project is used to illustrate the process.
Note: In case of Team4Capella environment, the projects hosted in remote server shall be downloaded locally before to launch of the Enterprise Architect export.
Right click on a Capella Element, and select the "Transform model" menu.
The opened wizard shall be filled with:
-
The type of the transformation (the first available transformation is selected by default).
-
The path of the target file.
-
The (predefined) algorithm to use.
Select the type of the transformation: the field proposes the "Capella to Enterprise Architect" type.
Select a target file: set the target path or click on the "Browse…" button. Using the opened wizard, all the existing xml files are displayed.
Select an existing xml file, or set a new file name. Click on the "Open" button.
Select a predefined algorithm.
The OK button is available only when the three fields are filled.
Click on the "OK" button.
The Enterprise Architect model is built and persisted in the generated output xml file.
In the "Model transformation" wizard, in the case where "Capella to Enterprise Architect" type is selected, a check button "Export profiles" appears.
This option allows to export PVMT data as UML profile.
The profiles will be exported into a XML file naming "MDG_CapellaProfile_xxxxx" with xxxx is the export date. This file is exported in the same path than the target file.
Start Enterprise Architect. Click on the "New File" menu.
In the displayed standard Windows file browser dialog, locate a suitable folder for your project and, in the "File name" field, type in a distinctive name. Click on the "Save" button.
In the case where profiles has been exported from Capella (<PVMT options>), It’s necessary to import these profiles in Enterprise Architect. In this way, the user can use this profile in Enterprise Architect software.
Start Enterprise Architect. In the Enterprise Architect ribbon, select "Start → Share → Resources" menu.
The Resources browser is displayed.
In the "MDG Technologies" node, right click and select the "Import Technology" menu.
"Import MDG Technology" wizard is displayed. In the "Filename" field, select the MGG_CapellaProfile_xxxx.xml exported from Capella.
In this wizard, the others fields are automatically filled. Click on "OK" button.
In the EA project, create a new Component.
Select this component. In the "Properties" view, select the Stereotype field.
In the "Perpective" field, select "Specialized → Model Technologies" value.
In the "Profile" field, several profiles are available In the "Profile" field, several profiles are available, including profiles imported from Capella.
In this list, select a profile. All the compatible stereotypes from the profile with selected element are displayed.
Select stereotype and click on "OK" button. The stereotype is applied on the Component.
In the "Browser" explorer, select the "Model" node.
In the Enterprise Architect ribbon, select "Publish → Model Exchange → Import XMI → Import Package from XMI" menu.
In the displayed "Import Package from XMI" dialog:
-
Filename field: type the directory path and filename from which to import the XMI file.
-
Baseline Package after import checkbox: Select this checkbox to open the "Create Baseline" dialog, through which to baseline the imported Package once the import is complete.
-
Import button: Click on this button to start the import
-
Close button: Click on this button to close the dialog.
In the "Browser" explorer, the imported data are displayed. Under the "Model" node, "Import Capella" package is created. This package contains all imported data from Capella.
Create a component diagram and drag and drop all components inside.
Create a Class diagram and drag and drop all others elements.
This schema shows the different steps to execute a merge in Enterprise Architect. The merge process allows to compare the last version of the EA model with a previous version and to choose to keep old or new data.
In Capella software, modify the name of the following Capella elements:
-
"Camera power button" component name to "Camera power button from Capella"
-
"Sensor Command" exchange item name to "Sensor Command from Capella"
-
"Timestamp" class name to "Timestamp from Capella".
Export the Capella model as it’s describe in the Export from Capella section.
In Enterprise Architect, in the previously imported model, modify the name of the following EA elements:
-
"Camera power button" component to "Camera power button from EA"
-
"Sensor Command" operation to "Sensor Command from EA"
-
"Explosure Triangle" datatype to "Explosure Triangle from EA".
It’s very important to increment the version of the Enterprise Architect model after the last modification. This version allows to have a tag to compare with the new import to merge.
In the "Browser/Project" explorer, select the root package item (Logical Architecture in the example). In the Enterprise Architect ribbon, select "Design → Model → Manage → Manage Baselines…" menu.
In the displayed Baselines dialog:
Select the "New Baseline" button. In the "New Baseline" dialog, type the new version name in the version field.
In the Baselines dialog, the new version is added in the top of the list.
And click in "Close" Button.
Select the root package item in the "Browser/Project" explorer (Logical Architecture in the example) and import the last version of the Capella export file as described in the Import Enterprise Architect model section.
In the Import Package from XML dialog, after to configure when describe in the above screenshot, click on the "Import" Button. Warning don’t use the "Merge" Button. The exported Capella file is write in XMI 2.1/ UML 2.1 format. The EA merge doesn’t support XMI and UML version upper than 1.3.
After the import, the "New Baseline" is displayed. In the "Version" field, type a new name version.
Click on "OK" button. And Click on "Close" button in the "Import Package from XML" dialog.
In the "Browser" explorer, all the data modified before the last import are removed.
In the Enterprise Architect ribbon, select "Design → Model → Manage → Manage Baselines…" menu.
In the displayed dialog, select the version before the last import.
And click on the "Show Differences" button.
The "Baseline Comparison" view is opened and display the differences between the two compared versions.
Warning: In the Capella software, the both created and modified dates aren’t managed for the Capella element. For this reason, in Enterprise Architect is possible to ignore the dates differences. In the "Baseline Comparison" toolbar, click on the "Baseline comparison options" button.
Check the both "Suppress Date Modified" and "Suppress Date Created" options. These options allow to ignore the dates informations in the "Baseline Comparison" view.
If the Enterprise Architect user want keep the old value, select the element in the "Model Elements" explorer and click on the green arrow.
Click on the "OK" button in the opened message dialog.
The element is removed from the "Baseline Comparison" view and is updated in the EA model.
The last step, is to create a new Baselines after the merge.
When in Capella the Components are in Component packages, the bridge does not export these Components packages because Enterprise Architect cannot build packages under Commponents.
The bridge does not keep the order of the model elements in Enterprise Architect as in Capella.
In Capella, it is possible to use the data, Exchange Items and Interfaces of a superior Arcadia perspective (for example, In PA, it is possible to reference data coming from SA or LA). The bridge transit only the data, Exchange Items and Interfaces of the selected Arcadia perspective (for example, if the physical architecture is transited, only the data, Exchange Items and Interfaces of this PA will be transited)
In Enterprise Architect, when a Capella profile has been imported into Enterprise Architect via MDG technology it is not possible to see the content of this profile (but it is possible to use it).
The iterative process is not fully efficient in order to take account the differences coming from EA (OK from Capella): in the documentation, the process describes the last baseline of the EA model is the model coming from the transition of the Capella model ; the process says to display the differences between the previous baseline (the last updated EA model) and the new baseline. So in these differences, we retrieve the differences coming from the last Capella model but all the differences coming from the all updates (of all iterations) of the EA models.