Installing TIBCO Flogo Flow State Manager

Using TIBCO Flogo Flow State Manager and the TIBCO Flogo® Enterprise Monitoring app, you can collect information about the state of all executed flows of a Flogo app.

TIBCO Flogo Flow State Manager acts as an interface between a Flogo app and the TIBCO Flogo® Enterprise Monitoring application. The Flogo app pushes data to the TIBCO Flogo Flow State Manager. The TIBCO Flogo Flow State Manager then persists the data to the supported database (currently, PostgreSQL). From the TIBCO Flogo Flow State Manager, the TIBCO Flogo® Enterprise Monitoring application gets information about the state of all executed flows of a Flogo app and displays it on the UI.

To install the TIBCO Flogo Flow State Manager:

    Procedure
  1. Download the flogo_flow_state_manager.tar file.
  2. Extract the flogo_flow_state_manager.tar file.

    The flogo_flow_state_manager folder that is created contains the following subfolders:

    Folder Contains
    bin

    The bin folder contains executables to run the TIBCO Flogo Flow State Manager on supported operating systems:

    • flowstatemanager-windows_amd64 (Windows executable)
    • flowstatemanager-linux_amd64 (Linux executable)
    • flowstatemanager-darwin_amd64 (Mac executable)
    config

    Contains configuration files for each supported database. Currently, PostgreSQL is the only database supported.

    • config.json: The default configuration file for TIBCO Flogo Flow State Manager.
    • flowstate.sql: Script to create the flowstatedatabase table.
    • Note: If you are running the flowstate.sql script in a terminal, convert the script content to a single continuous line.

    • step.sql: Script to create the step database table.
    • Note: If you are running the step.sql script in a terminal, convert the script content to a single continuous line.

    deploymentsContain files that build a Docker image for the supported databases.
    deployments/k8s

    Contains artifacts for a Kubernetes deployment.

    • deployment.yml: Manifest file for the deployment and service.
    • deploy.sh: Script to define configmap, service, and deployment.
    • undeploy.sh: Script to delete all objects created by the deploy.sh script.

  3. From the bin folder, run the executable for your operating system. For example, for Windows, run flowstatemanager-windows_amd64.exe.
ResultYou can now use the TIBCO Flogo Flow State Manager and the TIBCO Flogo® Enterprise Monitoring app to collect information about the state of all executed flows of a Flogo app. For more information, see the "Monitoring" section in TIBCO Flogo® Enterprise User Guide.