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 any WSO2 product instance that has C-App deployment capabilities.
- See User Guide in the Developer Studio documentation to create artifacts.
- See Packaging Artifacts Into Deployable Archives in the 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 as follows. - Log in to the product's management console and select Add menu under the Applications menu.
Select your CAR file and click Upload.
Note
The CAR files you deploy this way are dropped to the <PRODUCT_HOME>/repository/carbonapps/{tenant-ID}.
As an alternative to uploading the cApp using the management console, you can copy the CAR archive into <PRODUCT_HOME>/repository/carbonapps/{tenant-ID} manually and it will be deployed. {tenant-ID} is the ID of the tenant, which is 0 in a single-tenanted environment. 0 is the super tenant ID. Manual deployment in a multi-tenanted environment is not recommended if you are unaware of the tenant ID.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.