Pushing Apps to TIBCO Cloud

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

You must download the TIBCO Cloud Integration artifacts in order 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. In the Flogo Web UI, open the app details page.
  2. Click the Export button to expose its dropdown menu.
  3. Select TIBCO Cloud Integration artifacts.
    The manifest.json and flogo.json get 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 Enterprise using TIBCO Cloud CLI.
  4. Create a temporary directory on your machine.
  5. 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.
  6. Open a terminal or command prompt and cd to the temporary directory.
  7. 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 gets overwritten with the newly pushed app. You do not get a warning about it.
ResultThe app gets pushed to TIBCO Cloud Integration. You see the progress of the app push in the Flogo Web UI, but once the app is pushed successfully, the app implementation details do not display in the Flows tab in TIBCO Cloud Integration Web UI. You can view the flows in the app.