The WSO2 Governance Registry (G-Reg) is an SOA-integrated registry-repository for storing and managing data or metadata related to services and other artifacts. It consists of two Web-based interfaces: the G-Reg Publisher and G-Reg Store. The Publisher is used t o create and manage assets, while the Store is used to search for and subscribe to assets.
...
Introducing the sample
BuyMore is a fictitious supermarket chain with more than 200 retail branches. Given below is a snapshot of the existing services of BuyMore with their lifecycle states:
...
- Sign in to the G-Reg Store (https://localhost:9443/store/) as Smith (smith/smith@bm).
- Click any one of the menus (such as REST Services) and note the new notification icon in the upper right-hand corner of the G-Reg Store.
- Click the icon to expand and read the notification.
Upon seeing the notification, Smith searches for a new version of the asset. - Log in to the G-Reg Store (https://localhost:9443/store/) as Smith. Smith's credentials are smith/smith@bm.
- Click Rest Services in the left menu.
- Search for the asset by typing "name:BuyMoreBillCalculateRESTAPI" in the search field and clicking the search icon.
Notice that many services are shown in the search results. Smith knows that the service he wants (i.e.BuyMoreBillCalculateRESTAPI version 2.0.0
) is developed using Java and belongs to the gold silver throttling tier, so he refines the search by those criteria to make sure he finds the right one. - Select java under Language in the Refine by menu.
- Select silver under Throttling Tier in the Refine by menu.
The service
BuyMoreBillCalculateRESTAPI
version 2.0.0
appears in the search results. Click it to open it.
...
Reviewing the new version of the asset
In the previous step, Smith opened BuyMoreBillCalculateRESTAPI Version 2.0.0
in the G-Reg Store.
- Go to the User Reviews tab of the asset and add a rating (let's say 5). Also add a review comment (such as "This version of the asset is recommended as it implements the company's new loyalty scheme"), and then click Post Review.
- Note that the review that Smith just added appears on the console, under the NEWEST category. You can filter reviews according to popularity and the date added.
...