Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 to 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:

...

Localtabgroup
Localtab
titleSearch using search bar
  1. Log in to the G-Reg Store (https://localhost:9443/store/) as Smith. Smith's credentials are smith/smith@bm.
  2. Once logged in, search for the asset by typing "name:BuyMoreBillCalculateRESTAPI version:1.0.0" in the search field and clicking the search icon.
Localtab
titleSearch using filters

Smith can follow the steps below to search for the BuyMoreBillCalculateRESTAPI version 1.0.0 asset using the pre-defined search filters.

  1. Log in to the G-Reg Store (https://localhost:9443/store/) as Smith. Smith's credentials are smith/smith@bm.
  2. Click Rest Services in the left menu.
    select rest services in the left menu
  3. Expand the Teams filter in the Filter by menu, expand the Boston menu, and click the icon with the plus sign next to Think Tank to select it.
    select the team filter
  4. Expand the DataCenters filter in the Filter by menu, and click the icon with the plus sign next to Vancouver to select it.
    select the data center
  5. Type "BuyMoreBillCalculateRESTAPI" (i.e. the name of the asset) in the search field and click the search icon.
    search results in taxonomy
Tip

For more information, see the tutorial on Searching for Assets Using Filters.

Localtab
titleSearch using refinementsRefining the search results

Smith can follow the steps below to search for the BuyMoreBillCalculateRESTAPI version 1.0.0 asset using by refining the pre-defined search refinementsresults.

  1. Log in to the G-Reg Store (https://localhost:9443/store/) as Smith. Smith's credentials are smith/smith@bm.
  2. Click Rest Services in the left menu.
    select rest services in the left menu
  3. Select java under Language in the Refine by menu.
    select java refinement
  4. Select gold under Throttling Tier in the Refine by menu.
    selecting the throttling tier
  5. Type "BuyMoreBillCalculateRESTAPI(i.e. the name of the asset) in the search field and click the search icon.
    results of the search refinements
Tip

For more information, see the tutorial on Searching for Assets using Refinements.

...

Reviewing the new version of the asset

In the previous step, Smith opened BuyMoreBillCalculateRESTAPI Version 2.0.0 in the G-Reg Store.

  1. 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
  2. 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.

...