Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 3.11 KB

upload_from_forge.md

File metadata and controls

65 lines (42 loc) · 3.11 KB

Upload Components/Application templates from Ystia Forge

The Ystia Forge at https://github.com/ystia/forge provides components and application templates that can be uploaded in Alien4Cloud, to be deployed by Yorc.

For example, it provides:

See the list of available components and application templates at https://github.com/ystia/forge/tree/v3.0.0-milestone.1/org/ystia.

Here, we will upload a sample application template, Welcome, deploying an HTTP server.

To upload this application template in Alien4Cloud, you could generate zip archives and upload these archives in Alien4Cloud.

Or you can directly upload a git repository from Alien4Cloud. This is what is done below.

From Alien4Cloud UI, select menus Catalog > Manage Archives > Git Import. This page appears :

Alien4Cloud Catalog Manage Archives

Click on Git location, a popup appears where you need to provide the following inputs to import the Welcome sample application template at as well as its dependencies, common components and the Welcome component referenced in the application template:

You need to provide the repository URL: https://github.com/ystia/forge.git. And for each directory you want to deploy, you need to specify:

  • the Branch or Tag: here you need to specify tag v3.0.0-milestone.1 as this is the version of the Forge compatible with Yorc 4.1.x
  • the path to the directory to import.

Then click on + to add this tag/directory to the list of directories to import.

It gives finally :

Alien4Cloud Catalog Git Location

Click on Save. Then from this page, click on the operation Import to import components and the application template:

Alien4Cloud Catalog Git Import

Once done, you get this page providing the import result:

Alien4Cloud Catalog Git Import Result

You can click select in the menu Browse components or Browse topologies to see the components/application templates imported in the Alien4Cloud catalog:

Alien4Cloud Catalog Topologies

Now that the Welcome application template is uploaded, the next step is to create and deploy an application from this template.