This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Creating and Deploying a C-App
The steps below show how to use WSO2 Developer Studio to develop individual artifacts and export them as a single C-App artifact. You can then deploy the C-App on a WSO2 product instance that has C-App deployment capability. You use this method to move the configurations of your server from one environment to another.
- See User Guide in the WSO2 Developer Studio documentation to create various artifacts.
- See Packaging Artifacts into Deployable Archives in the WSO2 Developer Studio documentation to export the C-App as a Carbon Application Archive (CAR) file.
Next, you can upload the CAR file into your new product instance. - Log in to the product's management console and select Add menu under the Applications menu.
Select your CAR file and click Upload.
- The CAR files you deploy this way are dropped toÂ
<PRODUCT_HOME>/repository/carbonapps/{tenant-ID}
folder where{tenant-ID}
is 0 in a single-tenanted environment. 0 is the super tenant ID. Â - As an alternative to using the management console, you can copy the CAR archive intoÂ
<PRODUCT_HOME>/repository/carbonapps/{tenant-ID}
manually and it will be deployed. - Manual deployment in a multi-tenanted environment is not recommended if you are unaware of the
{tenant-ID}
.
- The CAR files you deploy this way are dropped toÂ
If successfully deployed, the C-App will be listed on the Applications List window. For example,
If the Carbon application does not have artifacts that are applicable to the particular product you are using, nothing will be listed on this window.