WSO2 Governance Center — Advanced Asset Classification Using Multiple Taxonomy and Categorization Feature (Part 2)
This article is focused on the usage of Taxonomy and Categorization feature in WSO2 Governance Center 5.3.0 which was introduced in the previous article.
WSO2 Governance Center has a built in getting started sample and anyone can follow this guide and run it. After running the sample and logging in to the publisher (https://localhost:9443/publisher) you can see a similar landing page as seen in the diagram 1.
Governance Center — Publisher application is used to create and manage artifacts. Classifying assets for taxonomies and adding there categorization attributes or changing them should be done via the Publisher. In the getting started sample sample taxonomies have been applied to REST Service and SOAP Service artifacts by default. If you browse either type of asset and navigate to an asset, you can see the taxonomies applied to the asset in the overview page as shown in diagram 2.
Following documentation describes how to classify assets using defined taxonomies.
The categorization feature discussed in the previous part of the article can be managed as following documentation describes.
Filtering Assets in Governance Center Store
This section covers how to use the two features discussed before in the Governance Center — Store application which allows users to discover and use assets. The features discussed above which are Multiple Taxonomy and Categorization come in handy when discovering relevant assets from thousands of assets managed in the registry. When you navigate to the Governance Center — Store web user interface (http://localhost:9763/store), you will see a page similar to diagram 3.
Navigating to an asset type (which are shown in the left navigation bar) will show the available filtering options in the left navigation bar as shown in Diagram 4.
In the diagram 4.1, you can see the available taxonomies under ‘Filter By’ section and the categorization options under ‘Refine By’ section. These options can be used simultaneously to filter and find the assets stored in the Governance Center very easily. To filter by a taxonomy, you can navigate through a taxonomy tree and apply a taxonomy as shown in diagram 4.2 or using the expanded view shown in Diagram 4.3 (You can expand the taxonomy view by clicking the icon next to ‘Filter By’ heading. A user can add multiple filters by following the same procedure. Diagram 5 shows how it is seen when multiple taxonomy filters are applied.
Once the filters are applied, these can be removed by clicking the red icon with the minus sign in the filter as shown in Diagram 5.3 and can be updated by clicking the white icon with the pencil sign.
Once these filters are applied, you may notice that the assets get filter out in the left side. Simultaneously the options in the ‘Refine By’ section and ‘Tags’ refreshes and will show only the relevant options to further refine the search.
Further Refining the Filtered Assets
Section above discussed filtering assets by applying multiple taxonomies. There is another feature which allows asset filtering which is Categorization feature. The available categorization options are listed under ‘Refine By’ section in the left navigation bar as a set of checkboxes as shown in Diagram 4.1.
Simply clicking these checkboxes as shown in Diagram 6 will filter the assets. The advantage of this feature is this can be used in combination with any other filter or search types. When any search or filter is applied, this section automatically refreshes and show only the relevant options that can be used to further filter the assets.
Conclusion
WSO2 Governance Center provides the capability of very advanced search and filter mechanisms with its latest release which is WSO2 Governance Center 5.3.0. These discussed features become unique because it is the first time that a SOA Governance product provides the capability to filter assets using multiple taxonomy simultaneously. More about WSO2 Governance Center can be found here and you can find the latest release here.