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
- On the app details page, click Export.
- Select
TIBCO Cloud Integration artifacts.
The
manifest.json
andflogo.json
files are 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 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 navigate 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 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.