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/.

Adding Gadgets

WSO2 Gadgets adhere to the Google Gadget Specification. This allows users to extend the default Dashboard by adding new Gadgets.

The gadgets API consists of a few building blocks: XML, HTML, and JavaScript. See more information on how to write your custom gadget here.

Once the gadget is written and hosted on a WEB server, you can add it to the Governance Registry using the Management Console.

The following is the list of default gadgets shipped with WSO2 Governance Registry.

  • Lifecycle Data - Shows a pie chart and number of services per each life-cycle stage.
  • Impact Analysis - Gives an impact analysis of various artifacts associated with web service.
  • Resource Impact - Shows the impact which any resource has to any other resources.

Follow the instructions below to add a gadget to the Governance Registry.

1. Sign in. Enter your user name and password to log on to the Management Console.

2. Click the "Main" button to access the "Dashboard" menu.

3. In the "Dashboard" menu of "Governance Registry Management Console," click on "Governance Dashboard" to access the "Dashboard" page.

4. Click on the "Add Gadget" link to add a new gadget.

5. On the "Adding New Gadgets" page, enter the URL of the gadget XML to the "Enter URL" field.

6. Click on the "Add gadget" button.

7. You will be taken back to the "Dashboard" page with a new tab containing this gadget.

From here, you can duplicate gadgets, copy them to lifecycle data and learn full information about the gadget.