Pushing Apps to TIBCO Cloud

You can push apps that were created in Flogo to TIBCO Cloud Integration using the TIBCO Cloud - Command Line Interface (tibcli).

You must download the TIBCO Cloud Integration artifacts to use TIBCO Cloud CLI to push the apps.
Before you begin You must have the TIBCO Cloud CLI installed on your local machine before you follow this procedure. Refer to the "Downloading TIBCO Cloud Integration Tools" and "Installing the TIBCO®Cloud - Command Line Interface" sections in the TIBCO Cloud Integration documentation for details on how to download the TIBCO Cloud CLI and install it.
Note: For REST apps, be sure to change the port to 9999 before downloading the artifacts.

To push the app using the TIBCO Cloud CLI, follow this procedure:

    Procedure
  1. On the app details page, click Export.
  2. Select TIBCO Cloud Integration artifacts.
    The manifest.json and flogo.json files are downloaded. The manifest.json contains the manifest details such as the endpoints, memory resource details, and so on. The flogo.json contains the app itself. These are the artifacts needed to push the app directly from Flogo using TIBCO Cloud CLI.
  3. Create a temporary directory on your machine.
  4. Move the downloaded flogo.json and the manifest.json files into a temporary directory.
    Note: The tibcli or tibcli.exe executable should not be in the same directory (the temporary directory you created) as the app you are pushing.
  5. Open a terminal or command prompt and navigate to the temporary directory.
  6. Run the following command to push the app:
    tibcli app push <app-name>
    Important: If there is an existing app with an identical name as the app that you are trying to push to the cloud, the existing app is overwritten with the newly pushed app. You do not get a warning about it.
ResultThe app is pushed to TIBCO Cloud Integration. You can see the progress of the app push on the UI. After the app is pushed, the app implementation details on the Flowtab are replaced with the actual flow.