Uploading Extensions
To upload an extension, perform the following steps:
.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
-
In TIBCO Control Plane, click Data Planes from the left navigation.
-
On the Data Plane card of your choice, click Go to Data Plane.
-
In the Capabilities section, select the FLOGO capability.
-
Navigate to the Available Custom Extensions section.
-
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. -
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. -
Click Upload selected File.
Note: Ensure that thego.mod
file is present in the uploaded.zip
file or else it generates an error.
You can view your extension on the Available Custom Extension page.
The following details are displayed:
- Name: name of the extension
- Uploaded by: name of the extension contributor
- Version: version of the extension
- 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.
You must have Visual Studio Code installed. For more information, see Downloading the Extension.
- Procedure
- Add the unzipped version of your extensions file to
go/src
. - Navigate to
go/src/{extension}
and open Visual Studio Code. - Run the below commands on the terminal:
go mod init {ref}
exa. go mod init github.com/TIBCOSoftware/tci-flogo/samples/extensions/AWSSQS/activity/sqssendmessage
go mod tidy
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.