Pulling Extensions from an Open Source Public Git Repository
You can upload extensions that are available from an open-source public Git repository by pulling them directly into Flogo Enterprise. This section describes how to pull the Default category Project Flogo extensions directly from an external public Git repository and upload it to Flogo Enterprise. Pulling from private Git repositories is currently not supported.
Keep the following in mind when pulling the contribution:
- You can download only from public repositories. Accessing private Git repositories is not supported.
- The Git repository link should be the reference of the Activity and not the URL.
- The repository link needs to be a reference of the contribution and must not begin with
http://
orhttps://
, for example, to pull the LogMessage Activity from the Project Flogo Git repository, usegithub.com/project-flogo/contrib/Activity/log
- Any new default category contribution that you pull from the Git repository gets appended to the ones that already exist for the category in Flogo Enterprise. Contributions pulled and uploaded to other categories in Flogo Enterprise, overwrites the category itself. Hence, if there are any existing activities in the category, they get deleted when the category is overwritten.
- Default category extensions can only be downloaded one at a time.
To pull an extension from a public Git repository:
- Procedure
- On the
Extensions page, click
Upload.
The Upload an extension dialog box opens.
- Click
From Git repository.
When you select this option you are prompted to enter the location of the Git repository from which you want to pull the extension.
- Enter the reference to the extension in the Git repository.
Important: Make sure you do not enter the initial
http://
- Click
Import.
Flogo Enterprise validates the format of the reference you entered in the Git repository URL text box. Import remains disabled until you enter a valid reference format. A
.zip
file for the Activity gets generated and uploaded to the Default category on the Extensions page in Flogo Enterprise. Once you start the process of downloading the contribution from the Git repository, you cannot cancel the process or switch to the process of uploading From a Zip file. You must wait for the upload process to complete, then click Done. - Click
Done.
The extension you uploaded appears on the Extensions page.