Versions Compared

Key

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

...

  1. Open the SysML project Syndeia_Artifactory_Tutorial.rpy (or your own) (Get it here -SysML Models, Profiles and Mappings.), right-click the Engineering Software Environment package, select a Syndeia project if necessary, and launch the Syndeia dashboard (Figure 1).

    Image Modified

    Figure 1 Launching Syndeia dashboard

  2. To connect to an Artifactory repository, right-click the Artifactory category under Repositories in the Repository Manager tab and select Add… (Figure 2), then enter a name, your own Artifactory URL and credentials, and click OK (Figure 3).

    Figure 2 Adding an Artifactory network connection

    Figure 3 Entering Artifactory repository info

  3. Your repository should load. Expand it to show Repositories, Packages and Artifacts, as in Figure 4.

    Image Modified

    Figure 4 Viewing Artifactory repository contents in Repository Manager tab

  4. To create a reference connection between a SysML element and an Artifactory artifact, go to the Connection Manager tab on the Syndeia dashboard, as in Figure 5.

    Image Modified

    Figure 5  Syndeia Dashboard, Connection Manager tab

    1. Expand the SysML model in the left pane to show the CFD 4.0 block.

    2. Select Reference under Connection Type in the middle pane.

    3. Select the Artifactory repository connection for the right-hand column and expand the Repositories folder to show the artifact to be connected, for example, CFD_4.0.pdf.

    4. Drag and drop CFD_4.0 from the left pane on top of CFD_4.0.pdf in the right pane to connect them (or vice versa).

  5. To see the reference connections that have been created, go to the Connection Search tab on the Syndeia dashboard and click the Refresh button (see Figure 6).

    Image Modified

    Figure 6  Syndeia Dashboard, Connection Search tab

  6. The reference connections can be used in a number of ways by Syndeia. Close the Syndeia dashboard. To open an Artifactory element directly from Rhapsody, right-click on the CFD 4.0 block in the Entire Model View browser and select Syndeia → Open Connected Artifacts.. The Artifactory artifact CFD_4.0.pdf will be opened in the default web browser (see Figure 7). Note: your Artifactory user interface may appear different depending on your configuration settings.

    Image Modified

    Figure 7  Artifactory web interface

  7. The reference connection may also be used to detect changes across the connection. To demonstrate,

    1. Make a change in the file CFD_4.0.pdf in the Artifactory repository through its web interface, e.g. create a new version of the pdf and deploy it.

    2. Reopen the Syndeia dashboard. Go to the Connection Browser, expand to find the connection to CFD_4.0, right-click and select Compare Source & Target (Figure 8).

      Image Modified

      Figure 8  Syndeia Connection Browser, comparison across new connection

    3. The Comparison Result tab (Figure 9) shows a newer version of the Artifactory file is available. The reference connection can be updated by right-clicking on the red row and selecting either Sync Source to Target or Sync Target to Source.

      Image Modified

      Figure 9  Syndeia Comparison Results tab showing a newer version of the Artifactory file available

...