Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

WSO2GREG : Categorized View of Your Assets

DZone's Guide to

WSO2GREG : Categorized View of Your Assets

WSO2GREG is a tool for managing enterprise metadata on the WSO2 service-oriented platform.

Free Resource

Today’s data climate is fast-paced and it’s not slowing down. Here’s why your current integration solution is not enough. Brought to you in partnership with Liaison Technologies.

Let's assume you have five services, namely, Service1, Service2, Service3, Service4 and Service5. If you just create these service in the WSO2GREG, all those services will be displayed as follows,






Sometime it is needed to group the assets based on some criteria. Let's say, Service1 and Service2 belong to DepartmentA and Service3, Service4, and Service5 belong to DepartmentB.

If we need to have a categorized view based on the department, follow the steps below.

1. Add the following code filed to the "soapservice" artifact. You edit it via the management console. Extensions->Configure->Artifact Types->soapservice->Edit

<field type="options">
  <name label="Category">Category</name>
  <values>
    <value>Department1</value>
    <value>Department2</value>
  </values>
</field>


2. Download the asset.js file in the following location and copy it to the following location [GREG_HOME]/repository/deployment/server/jaggeryapps/publisher/extensions/assets/soapservice (replace the existing asset.js file)

http://www.mediafire.com/view/ka31hd4q5eqt44u/asset.js

3. Restart the server

4. You can now see, a new dropdown appears in front of the search box.






5. Go to each of those services and edit them to have its corresponding department in the "Category" field.

6. You can now view and search by the selected category.







Is iPaaS solving the right problems? Not knowing the fundamental difference between iPaaS and iPaaS+ could cost you down the road. Brought to you in partnership with Liaison Technologies.

Topics:
wso2 ,wso2greg ,governance ,category ,assets

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}