Cloud for Capella User guide

1. Obeo SSO Account usage.

This section explains the process of onboarding on the Obeo SSO portal to access the Dedicated Appstream Application.

This process is only used when the service authentication is not delegated to the Client SSO.

1.1. Email invitation

The first step of the onboarding process is the reception of an invitation email from Obeo AWS SSO.

The email subject is: Invitation to join AWS IAM Identity Center (successor to AWS Single Sign-On)

email 1

The email content suggests accepting the invitation to set the initial password for the created account.

email 2

Click on the "Accept Invitation" button.

1.2. Password setup

Utilize the AWS interface to establish the initial password while adhering to the password policy constraints.

set password

This password is adjustable at any point through the AWS SSO portal.

Given that the Obeo SSO is configured to employ multifactor authentication or authentication validation via temporal codes sent through email, this password will not have an expiration date.

1.3. Classic Authentication

The classic authentication process consists of three steps:

  1. Provide the username.

    authent login

  2. Provide the password.

    authent password

  3. Validate the ephemeral code sent by email.

    authent check

    The received email containing the ephemeral code subject is: Verify your identity

    authent check email

After completing the authentication process, the SSO application page is displayed. This page contains all the Obeo applications assigned to your user profile. By default, only one AppStream access is provided.

app catalog

2. Appstream Usage

2.1. Appstream usage.

This section explain basic usage of the AWs Appstream 2.0 Portal

New Portal

This documentaiton explain the usage of the New version portal of AWS Appstream 2.0.

In case your are usng the old portal version, the new portal can be activated using The profile menu :

new portal

2.1.1. Application catalog

Regarding your user profile, some catalog are vaillable. Basically, only one Catalog is availlable.

catalog

Applications can be launched with a simple click on their respective icons.

application

Once an application is launched, if the session is not already active, it may take a few seconds to prepare the host and the user session before the application becomes ready to use.

loading

Once the session is loaded and the application is started, it is possible to experience some loading time for certain applications.

Once the application is launched and ready, the web browser can be used as a remote screen. The application catalog is directly accessible from the AppStream 2.0 toolbar.

2.1.2. Appstream Portal

The AppStream portal give access to a toolbar with some functionality :

  • portal_catalog : Open the application Catalog to open a new one.

  • portal_window : Open a view with all applications to easily switch between each.

  • portal_folder : Open the folder manager (see Storage usage).

  • portal_copy_paste : Allow to copy / paste text from client host to AppStream applications (Ctrl+C Ctrl+V is also allowed).

  • portal_settings : Give access to some settings linked to the audio and webcam (not useful in the C4C context).

  • portal_fullscreen : Switch the AppStream View on Fullscreen mode.

  • portal_screen : Open a new Windows of your browser to give a secondary screen linked to your AppStream Session.

2.1.3. Storage usage

The AppStream instances provide some storage spaces to the final user.

  1. Exchange path (Temporary Files)

    The Temporary Folder is utilized for storing and sharing files between the AppStream host and the user’s host. However, it is important to note that this space is not persistent and is deleted each time the user session is closed.

    Upload interface

    Local folder

  2. Persisted workspace

    The applicative workspace is stored on the Appstream host on a hidden space on the path D:\PhotonUser\workspace This space is persisted and must be only used for the workspace needs.

  3. Unpersisted Local Working space

    Additional folders such as C:\ may be available, The C:\ folder is not persistent and is recreated at each user session. It is advised not to store data in any other available spaces, as there is a risk of data loss. But this space can be used to store temporary data only used for one working session.

2.1.4. Leaving the platform

To leave the platform and free the allowed ressources, you should :

  • Cleanly close the application by using the X at the top right of the opened window.

  • Logout of the Appstream environment using the Profile menu available at the top right of the web page.

leave

2.1.5. Session duration

The Appstream instance is configured to have some session constraints :

  • In case of inactivity, the user is disconnected from his session after 4 hours. The graphical / user session is still alive, but the web page requests a new authentication with credentials to give access.

  • In case of disconnected sessions, the user session is destroyed after 30 minutes. This means that the graphical / user session is killed. If applications was running in this step with unsaved modification, this modifications will be lost

  • A user session cannot exceed 960 minutes. If a user is connected more than this time without disconnection, the session will be automatically killed. If applications was running in this step with unsaved modification, this modifications will be lost

2.1.6. Common Appstream errors

Blank page

When trying to connect to the Cloud for Capella service, you may end-up with the following empty page:

blank

This may happen if you close your session and then try to reconnect too fast (before AWS can clean up properly your previous session). In that case, close your tab, wait for 30 seconds, and open a new tab for reconnecting to the service

3. Quick start

3.1. First connection

Once the Capelle application is selected on the Appstream Catalog, it is possible to experience some loading time after the Appstream instance sarted.

capella loading

The Capella project on which you will work as been shared on the Team for Capella server hosted inside the service.

For the moment there is one main repository with one project. This will maybe change in the future following the need of your team.

To work on a shared project, please follow those steps:

  1. Launch the Capella Application

  2. Close the Welcome Page

  3. Right click the background of the Project Explorer view > New > Capella Connected Projet

  4. Select the Default repository and click on the Test Connection button

  5. Enter your repository credentials - For the moment its configured as identification : your password is your login

  6. On the next page, the shared project is already selected, the local name is prefill with the .team suffix

  7. Click on Finish

A "connected" project has been created in your workspace.

  • It contains a specific .aird file which contains connection information

  • Once opened and connected, the Capella model is visible, the share diagrams too and you can work on it as you would work with a local, file-based Capella model

  • Main difference : when a model element or a diagram is modified, a lock is automatically taken to prevent conflicts

    • green padlocks indicate that you have a lock

    • other users will see red padlock with the lockowner in a tooltip when the mouse hovers it.

    • when you click on save : locks are released and changes are propagated to other connected user

  • There a specific "Save with description" action which allows you to put a description for each save (commit)

    • It is possible to force this from preferences.

  • You can also manually take lock with the Lock actions available on model elements and diagrams, these locks will have to unlocked manually.

  • You can also see all the commits done on the repository from the Commit History view (Windows > Show View > Others…​ > Sirius Team Collaboration > Commit History) and see the impacted elements (see tooltips on each button to see the different available modes).

3.2. Next connections

When you will come back to the service, you will just need to :

  • Launch Capella

  • Open the project

  • Double click the .aird or right click > Open Session

  • Enter your credentials and validate

    • if you click on remember me, it will directly open the session for the next openings

4. Download a project from Capella Appstream

To export a project from the Capella Appstream instance the Temporary Files folder must be used as exchange space.

  1. Export the Capella project as a zip:

    export 1

    export 2

  2. Select the Temporary Files path D:\PhotonUser\My Files\Temporary Files\ to export the project zip.

    export 3

    export 4

  3. Once saved, use the appstream Folder icon to open the File transfert tool :

    export 5

5. Upload a zipped project to Capella AppStream

Pay attention to upload only zipped projects.

A Capella project contains several hidden files or folders which will not be uploaded if you attempt to upload an unzipped Capella project (ie. a folder):

  • .project file contains important pieces of information:

    • the Capella project name which might differ from the parent folder name on the file system

    • the Capella nature

    • optional info from add-ons or other tools (builders, natures, …​)

  • .setting folder contains project preferences. It is present only if preferences have been customized.

  • potentially other files/folders created by add-ons or tools.

There are other Import wizards in Capella than the one listed in this section, regarding the wizard and options used if you target a folder, you might end up with a Capella project referenced in your workspace but still located in the Temporary files area: all work done will be lost at the end of your session.

To import a project from your local workstation to the Appstream Capella, the Temporary Files folder must be used as exchange space.

  1. Use the Appstream Folder icon to open the File transfer tool to upload your archived project to import :

    import 1

    import 2

  2. Import archived project from capella Import wizard :

    import 3

    import 4

  3. Select the uploaded archive in D:\PhotonUser\My Files\Temporary Files\ :

    import 5

    import 6

6. Push a project from workspace to Team for Capella

To share model with team, the project must be exported on the Team for Capella server.

  1. Select the project to push on Team for Capella and start the export wizard :

    push on t4c 1

    push on t4c 2

  2. Connect to the Team for Capella server using your credentials (Test connection) :

    push on t4c 3

    push on t4c 4

  3. [Optionnal] If you select the "remember me" option, set a master password on the capella client :

    push on t4c 5

    push on t4c 6

  4. Push the projet : Click on Finish

    push on t4c 7

    push on t4c 8

7. Pull a project from Team for Capella to workspace

To work on a Team for Capella project already present on the server, the project must be imported as a shared project :

  1. Start the export wizard :

    pull from t4c 1

    pull from t4c 2

  2. Connect to the Team for Capella server using your credentials (Test connection) :

    pull from t4c 3

    pull from t4c 4

  3. Select the project to import :

    pull from t4c 5

  4. Click on finish :

    pull from t4c 6

8. Common Capella errors

8.1. The Folder xxx is read-only

If this is not the first time you’re launching Capella, and if you have not closed the Capella application the last time you used the service, you may encounter this error:

error readonly

To solve the issue, click OK to close the error popup window. Then click at the top left of your browser tab on the “Launch app” icon and click on Capella again:

error readonly solve

Please refer to Leaving the platform for more information on how to close your environment properly.