|
Repository Browser allows you to browse all instances in the RapidOSS repository. Repository is divided into 2:
While the Application category enables you to view your instances and their relationships, System category displays any system instances created as the administrator configures or the users use RapidOSS. Go to the Repository Browser tab in the admin UI (admin.gsp) and expand classes of either the Application or the System category. Once you select the class of interest, you can further refine the results by entering search queries in the search box. Each list item has a browse menu at the beginning of the row which will open up the details dialog to display detailed properties of the selected instance. You can also double click on an instance to display its details. Browsing over relations is available via the links provided in details dialog. Properties and operations defined for each class is also available by selecting the "Get Properties and Operations" menu for any class on the tree. URLs for Direct AccessRepository Browser provides some urls for fast access to the RapidOSS repository. Listing all modeled and internal classes either with default html or xml formathttp://.../RapidSuite/rsBrowser/classes
Listing the instances of a class specified in "className"URL syntax: .../RapidSuite/rsBrowser/className/ For example:
Accessing the details of an instanceURL syntax: .../RapidSuite/rsBrowser/className/id http://.../RapidSuite/rsEvent/4566
By default while getting properties of an instance federated properties are included whereas operation properties and relations are excluded. To exclude federated properties, or to include operation properties or relations federatedProperties=false, operationProperties=true and relations=true parameters should be provided. A sample URL can be like the following: Searching using User or Public QueriesSearch over instances of class specified with 'className" with the user or public query specified with "searchQuery". URL syntax: .../RapidSuite/className/search/searchQuery For example: Or you can simply provide the query with "query" parameter. For example:
Getting Property and Operation Meta-datahttp://../RapidSuite/rsBrowser/rsComputerSystem/propertiesAndOperations sample result: <Class name="RsComputerSystem"> <Properties> <Keys> <Property name="name" type="java.lang.String"/> </Keys> <SimpleProperties> <Property name="className" type="java.lang.String"/> <Property name="description" type="java.lang.String"/> <Property name="displayName" type="java.lang.String"/> <Property name="geocodes" type="java.lang.String"/> <Property name="id" type="java.lang.Long"/> <Property name="isManaged" type="java.lang.Boolean"/> <Property name="location" type="java.lang.String"/> <Property name="model" type="java.lang.String"/> <Property name="osVersion" type="java.lang.String"/> <Property name="primaryOwnerContact" type="java.lang.String"/> <Property name="primaryOwnerName" type="java.lang.String"/> <Property name="readCommunity" type="java.lang.String"/> <Property name="rsDatasource" type="java.lang.String"/> <Property name="rsInsertedAt" type="java.util.Date"/> <Property name="rsUpdatedAt" type="java.util.Date"/> <Property name="snmpAddress" type="java.lang.String"/> <Property name="systemName" type="java.lang.String"/> <Property name="systemObjectID" type="java.lang.String"/> <Property name="vendor" type="java.lang.String"/> </SimpleProperties> <Relations> <Property name="childObjects" type="RsTopologyObject"/> <Property name="connectedVia" type="RsLink"/> <Property name="parentObjects" type="RsTopologyObject"/> <Property name="relatedTickets" type="RsTicket"/> </Relations> <FederatedProperties/> </Properties> <Operations> <Operation name="getState" description="" returnType="class java.lang.Object" parameters=""/> </Operations> </Class> |



Add Comment