Creating a Flogo App
Creating a Flogo app only creates a .flogo
file. You can create a Flogo app from the Explorer view using Ctrl+Shift+E.
-
Create a workspace in Visual Studio Code.
-
Enable the Auto-save option from the File Menu in Visual Studio Code.
Note: Use the path of a local directory instead of a shared location path. Entering a shared location might not work.
- Procedure
- Open the Explorer view (Ctrl+Shift+E) from the Activity Bar of Visual Studio Code.
- Navigate to the workspace where you want to create a Flogo app and click the dropdown icon next to that workspace folder.
- Click Create a New Flogo App, using the Flogo icon available right next to the workspace folder.
-
Add the name of your app in the top-most text bar that pops up.
Note: The app name must not contain any spaces. It must start with a letter or underscore. The app name can contain letters, digits, periods, dashes, and underscores. When deploying an app on TIBCO Control Center, you can only use lowercase and alphanumeric characters. Hyphens (-) can be added in the middle of the app name. -
Press enter to create your Flogo app.
Generating a POM File for Flogo App
TIBCO Flogo® Enterprise supports Maven as a tool for the CI-CD workflow. To get started with a Maven build, TIBCO Flogo® Extension for Visual Studio Code provides a context menu for generating the pom.xml
file. To generate a pom.xml
file, perform the following steps:
- Procedure
- Right-click the Flogo app.
- Select the Generate POM file for Flogo App option.
For more details on pom.xml
files, related configurations, how to use the Maven build for a Flogo app, running unit tests, and generating the test reports, see https://github.com/TIBCOSoftware/flogo-maven-plugin
.
-
FLOWS: A flow with the same name as the app is automatically created. You can now create one or more flows for the app. For more information, see Creating Flows and Triggers.
-
APP PROPERTIES: You can modify the properties of the app. For more information, see App Properties.
-
CONNECTIONS: You can view and edit the connections. For more information, see Creating Connections.
-
SCHEMAS: You can add, delete, or modify schemas. For more information, see App Schemas.
-
SPECS: You can import specs locally or from runtime. For more information, see App Specs.