The following sections explain how to search an locate an asset in WSO2 G-Reg Publisher.
...
- Navigate to the G-Reg Store. For instructions, see Navigating to G-Reg Publisher.
Enter your username and password in the next screen as shown below.
Tip |
---|
If you do not have credentials to log in, you may temporarily use the default admin/admin credentials. |
Image Modified
- Click Sign In. The home page will appear as shown below.
...
Note |
---|
- If you need to search against all assets, do the search in the Governance Publisher Home page.
- If you need to search against one asset type (e.g. search only in SOAP services), do the search in the page that lists all assets of that asset type, which you view when you click the button of that asset type (e.g. SOAP Services) in the left menu of the Governance Publisher Home page.
- There can be assets that are restricted for a certain user role, which is done at artifact level. If you are logged in to the Publisher as one of the users with a role restricted for a certain artifact, you will not view that particular artifact in the Publisher search.
- You can use the the wildcard (*) search, and the character ? to represent one character in the search queries.
|
Expand |
---|
title | Using keywords to search |
---|
|
WSO2 G-Reg Publisher supports the following advanced search operators, for you to use as keywords or symbols, to find what you are looking for quickly and accurately in the search operation. You can view a summary of these by clicking the info icon next to the search filed as shown below. Image Added
Operator | Description | Example |
---|
name: | Specifies the asset name. You view assets that contain the word you enter in its name, which you define when creating the asset. | | mediaType: | Specifies the asset type (mime type). The search keywords for o ut of the box media types are: wsdl, wadl, policy, xsd, restservice, soap-service, etc. You view assets which contain the word you enter in its media type (e.g. application/wsdl+xml , application/vnd.wso2-soap-service+xml ). For information on finding the media-type or artifact-type of an asset, see Governance Artifacts Configuration Model Elements. | -
mediaType: wsdl -
mediaType: soap-service
| version: | Specify the asset version. You view assets of which the version equals to what you enter. To search by this, you need to create of the selected asset. For information on creating new versions of an asset, see Adding a New Version of an Asset. | version: 1.0.0 | tags: | Specifies tags attached to the asset. You view assets which are tagged with the word you enter. To search by this, you need to create tags for the selected asset. For information on creating tags for an asset, see Viewing, Adding and Deleting Tags in Publisher. | -
tags: mac -
tags: new-Engineering
Note |
---|
The search query for tags does not allow you to use spaces in between its words. Therefore, to search using a tag that includes spaces (e.g. "new Engineering"), use the dash sign in the search query. |
| content: | Searches for assets with content as preferred. You view assets which contain the word you enter in its content. Other than that, you can search sentences by passing the value within quotes.
| | lcName: | Specifies the asset's lifecycle name. You view assets of which the lifecycle name equals to what you enter. For information on the life cycle of an asset, see Managing Life Cycles of Assets. | lcName: ServiceLifeCycle | lcState: | Specifies the asset's lifecycle state. You view assets of which the lifecycle state equals to what you enter. For information on the life cycle of an asset, see Managing Life Cycles of Assets . | lcState: Development | associationType: | Searches for assets which are associated with the given type. To search by this, you need to create associations for the selected asset. For information on creating associations for an asset, see Adding Associations for an Asset. | -
associationType: depends -
associationType: security
| author: | Specifies the author of the asset. You view assets which are created or deployed by the given author. | author: admin
| updater: | Specifies the last updater of the asset. You view assets which are last updated by the given author. | updater: admin | category: | Searches for assets that belong to the given category. To search by this, you need to create categories for the selected asset. For information on creating categories for an asset, see Adding Categories for an Asset. | category: Engineeringcategory: Marketing
| <RXT_TABLE_NAME>_<RXT_FIELD_NAME> :<RXT_FIELD_VALUE> | Searches for assets by the given RXT field value. You view assets which have the value as specified of the given RXT field name. For information on table and field names of a Configurable Governance Artifact (RXT) file, see Governance Artifacts Configuration Model Elements.
| | [space] - in between the search operators | Searches assets by two or more fields. You view assets which match all the given search operators. | name: echo version: 1.0.0
|
|
Expand |
---|
title | Using the Advanced Search |
---|
|
If you know one or more attributes of an asset, you can click on the following Advanced Search button, to perform an advanced search: Image Added Enter value(s) for the given attributes of the asset that you want to search as shown below. Image Added |
For an example, you can search for version 1.0.0 of the BuyMoreBillCalculateRESTAPI asset (i.e. deployed when you execute the
Quick Start Guide sample), by typing the following text in the provided search field as shown below:
name:BuyMoreBillCalculateRESTAPI version:1.0.0
...