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
- In the Flogo Web UI, open the app details page.
- Click the Export button to expose its dropdown menu.
- Select
TIBCO Cloud Integration artifacts.
The
manifest.json
andflogo.json
get downloaded. Themanifest.json
contains the manifest details such as the endpoints, memory resource details, and so on. Theflogo.json
contains the app itself. These are the artifacts needed to push the app directly from Flogo Enterprise using TIBCO Cloud CLI. - Create a temporary directory on your machine.
- Move the downloaded
flogo.json
and themanifest.json
files into a temporary directory.Note: Thetibcli
ortibcli.exe
executable should not be in the same directory (the temporary directory you created) as the app you are pushing. - Open a terminal or command prompt and
cd
to the temporary directory. - 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.