Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Objectives

The new learning objectives of this exercise are to compare connected requirements models in Jama and Cameo/MagicDraw (via custom mappings) and to synchronize changes that have arisen.  These changes will be demonstrated by both adding and removing Jama requirements, comparing those changes in Syndeia client, and syncing both to Jama connect and SysML.

...

  • Part 1: Sync SysML to Jama

    • Transform requirements from Jama to SysML using custom mappings

    • Add requirement in SysML, compare result, and sync to Jama

    • Delete requirement in SysML, compare result, and sync to Jama

  • Part 2: Sync Jama to SysML

    • Add requirement in Jama, compare result, and sync to SysML

    • Delete requirement in Jama, compare result, and sync to SysML

Preparation

This exercise assumes the student has:

  • Cameo System Modeler 19.0 (or MagicDraw with SysML plug-in) or later installed correctly on his or her machine with a valid license for use.

  • Syndeia 3.6 or later installed as a plugin for Cameo/MagicDraw with a valid license for use.

  • Jama repository (server) that can be connected over the network from the Syndeia Repository Manager.

...

  1. A mappings file, syndeia34Tutorial.mappings (get it here -SysML Models, Profiles and Mappings), which contains the specific starting mappings used in this and the following exercises. To install this,

    1. Close MagicDraw, if it is open

    2. Rename the existing syndeia.mappings file in the .syndeia folder to something like syndeiaOld.mappings

    3. Copy syndeia34Tutorial.mappings into the .syndeia folder

    4. Rename syndeiaTutorial.mappings as syndeia.mappings

    5. When you have completed the mapping tutorial exercises, you may want to reverse this process to restore the original mappings file.

  2. A mappings profile,Syndeia_Mapping_Tutorials_Profile.mdzip (get it here -SysML Models, Profiles and Mappings), which is loaded automatically with the SysML project Syndeia_Jama_Mapping_Tutorial.mdzip and can be used with other projects.

Exercise

Part 1 - Add/delete requirement in SysML and sync to Jama

  1. This exercise assumes the user has access to the SysML model Syndeia_Jama_Mapping_Tutorial.mdzip (get it here -SysML Models, Profiles and Mappings) and their Jama repository.

  2. Go to the Settings tab (Figure 1) and check the Use mapping element under the General heading, if not already checked. Click Apply.

...

  1. After Syndeia is finished syncing, check that the Requirement no longer shows in Jama Connect as shown in Figure 16.

...

Part 2 - Add/delete requirement in Jama and sync to SysML

  1. In Jama, modify the text of ‘Product_Spec’ and add a new Requirement (Feature_1_Maintenance) underneath it as shown in Figure 17.

...

  1. Check in Cameo that the Requirement ‘Feature_1_Environmental’ has been moved to the Parent Package level in the Containment Tree as shown in Figure 24.

...

Future improvements in Syndeia will include This specific feature will be extended in future Syndeia releases with a setting to allow the user to either delete the requirement or move it to the parent level in SysMLnot delete it. The latter use case is for scenarios where the given requirement may have relations from/to other elements and the user may decide to not delete it, or refactor the model and then delete. Currently, Syndeia moves the requirements to the parent package and does not delete it during sync when using custom mappings specifically to address this scenario. For any questions, please reach us on our helpdesk.

...