Prior to subscribing to a cartridge, you have to create a remote Git repository in GitHub to store your artifacts. The Git repository folder structure will vary based on the respective WSO2 cartridge. Therefore, it is very important that you create the Git folder structure accurately.
The Git repository folder structure for the various WSO2 cartridges that are available in WSO2 Private PaaS are as follows:
WSO2 API Manager (AM) cartridge uses an internal Git repository that is provided by WSO2 Private PaaS. Therefore, the tenant does not need to maintain a remote Git repository.
To get the respective Git repository folder structure for WSO2 products follow the instructions below:
- Download the respective WSO2 product pack and extract it.
- Navigate to the
<PRODUCT_HOME>/repository/deployment/server
directory.cd <PRODUCT_HOME>/repository/deployment/server
- Copy the content in the latter mentioned folder recursively to the local Git repository root folder.
- Commit the changes and push it to the Git repository.