Scenario: creating and uploading a MARS app

This scenario includes the context and approach for creating a new MARS app and uploading it to MARS.

Context

Daryl, a software engineer at Future Software has created some CLOUDFLOW workflows to test software builds. He wants to add them to a MARS app and upload the MARS app to MARS in order to conserve the MARS app and all its future versions.

Daryl does not have a MARS app on his system where he can add the workflows to, so he has to create a new MARS app, add the workflows and upload it to MARS.

Approach

First, Daryl needs to create the MARS app.

He takes the following steps:
  1. He logs in to CLOUDFLOW with his username and password.
  2. He opens MARS.
  3. He selects New....
  4. He enters the following parameters:
    • The Name of the MARS app: testmysoftwarebuilds.
    • The Description of the MARS app. He chooses MARS app to test my software builds.
  5. He selects Create New.
The MARS app is now created locally on Daryl's system and is in the list in MARS > My Apps > Installed. The MARS app does not contain any content yet.
Next, Daryl needs to add the workflows to the MARS app.
  1. In MARS > My Apps > Installed, he selects Edit next to the MARS app testmysoftwarebuilds.
  2. He selects the version number of the MARS app. Since this is the first version of the MARS app, Daryl chooses 0.0.1.
  3. He adds the workflows.
  4. He saves.

The MARS app now contains the workflows, but it is not yet uploaded to MARS.

Daryl takes the following steps to upload the MARS app to MARS:
  1. In MARS > My Apps > Installed, he selects Upload to MARS next to the MARS app testmysoftwarebuilds.
  2. He selects Push to MARS.
The MARS app testmysoftwarebuilds is now uploaded to Daryl's personal space on MARS. It is only available for Daryl, it is not publicly available. The MARS app exists in both MARS > My Apps > Available and MARS > My Apps > Installed. In this case, Daryl will not be able to install the MARS app from MARS > My Apps > Available to MARS > My Apps > Installed. If he wants to do that, he first needs to delete the MARS app on MARS > My Apps > Installed.