Uploading Extensions

To upload an extension, perform the following steps:

Note: This procedure assumes that you have the .zip file for your extension available for upload. The maximum allowed file size for an extension is 20 MB. Ensure your .zip file does not exceed this limit before attempting to upload.
    Procedure
  1. In TIBCO Control Plane, click Data Planes from the left navigation.

  2. On the Data Plane card of your choice, click Go to Data Plane.

  3. In the Capabilities section, select the FLOGO capability.

  4. Navigate to the Available Custom Extensions section.

  5. Click Upload Extension.

    The Upload an Extension dialog opens.

    Note: If you are deploying an app that uses a missing extension, you can install it using the Upload Extension option on the App Build and Deploy page. Ensure that the extension version on Control Plane matches the version on the App Build and Deploy page.
  6. Click browse to upload and navigate to your extension .zip file. Alternatively, drag and drop the .zip file to the designated area defined by a dotted line in the Upload an Extension dialog.

  7. Click Upload selected File.

    Note: Ensure that the go.mod file is present in the uploaded .zip file or else it generates an error.
Result

You can view your extension on the Available Custom Extension page.

Note: Extensions are at the org level by default.

The following details are displayed:

  • Name: name of the extension
  • Uploaded by: name of the extension contributor
  • Version: version of the extension
  • Note: You can upload the same extension with multiple versions. If the same extension is uploaded, then the version is overridden.
  • Type: type of extension

Go Mod Compatibility

For custom extensions to run on TIBCO Control Plane, extension must be go mod compatible to generate app binary and run successfully.

Before you beginMake sure you meet the following pre-requisites:

You must have Visual Studio Code installed. For more information, see Downloading the Extension.

    Procedure
  1. Add the unzipped version of your extensions file to go/src.
  2. Navigate to go/src/{extension} and open Visual Studio Code.
  3. Run the below commands on the terminal:
    1. go mod init {ref}
      exa. go mod init github.com/TIBCOSoftware/tci-flogo/samples/extensions/AWSSQS/activity/sqssendmessage
    2. go mod tidy
ResultAfter the commands are run successfully, go.mod and go.sum files are generated.

Custom Extensions Usage

You can use Activity extensions (for example Concat Activity) when creating a flow or editing an existing flow.

You can use function extensions (for example, jwt ) inside the mapper when mapping elements.

You can use a trigger extension in the Create a Flow dialog. If you select the trigger, it creates the flow with your trigger.