WSO2 Enterprise Store (ES) ships some default assets: Gadgets and Sites. Nevertheless, users have the freedom to create their own customized asset types and make them available on the Publisher. All WSO2 ES asset information are stored in WSO2 Governance Registry using its RXT (Registry Extension Type) mechanism. As WSO2 ES has an embedded Governance Registry server, WSO2 ES uses it by default for asset storage.Follow the instructions below to add a new asset type via the WSO2 ES Management Console:
- On the Extensions tab, click Artifact Types.
The Artifacts Type page appears. This page lists all the asset types that are available in WSO2 ES.
- Click Add new Artifact.
- Optionally, if you do not want to use an existing lifecycle for this asset type, you can add a new lifecycle. For more information, see Adding a Lifecycle.
Define the RXT definition for the new asset type in the editor. For more information on creating an RXT definition, see Defining a Registry Extension File.
- Click Save to add and install the asset type in WSO2 ES.
- Click Ok.
- Restart the WSO2 ES server. This step is only needed if you have not enabled hot deployment for asset types. For more information, see Asset Type Hot Deployment.
If you did not define a lifecycle for the asset type when you created it, then you can add it later by attaching the lifecycle to the asset type.