This documentation is for WSO2 Private PaaS 4.1.0. View documentation for the latest release.
Creating a Git Repository for Artifact Distribution - WSO2 Private PaaS 4.1.0 - WSO2 Documentation
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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:

  1. Download the respective WSO2 product pack and extract it.
  2. Navigate to the <PRODUCT_HOME>/repository/deployment/server directory.
    cd <PRODUCT_HOME>/repository/deployment/server
  3. Copy the content in the latter mentioned folder recursively to the local Git repository root folder.
  4. Commit the changes and push it to the Git repository.
You need to also add the required default configurations in the respective Git folder structure. For example for WSO2 ESB, there are a few module meta files, which are used to configure properties related to modules, such as, Rampart and Rahas. These configurations change based on the product.
You should take a look at the existing folder structure for a tenant on a standalone pack to identify the default configuration files that you need to add to the respective Git repository folder structure.
  • No labels