WebSphere brand IBM WebSphere Sensor Events, Version 6.2

Asset Management

The Asset Management Reusable Component stores assets.

With the Asset Management Reusable Component, you can:

An asset is an instance of an asset type. The asset type defines the properties (their names, default values, and various other metadata) that a class of assets can have. An asset type can inherit from another asset type, in which case the child asset type contains all the properties of its ancestors as well as the properties it has defined for itself. The asset contains values for the properties defined by its asset type, as well as all the ancestors of its asset type.

For example, if you define an asset type called Employee, then this type could contain the properties: First Name, Last Name, and Department. Then you can define an instance of this type with a value of John for First Name, Doe for Last Name, and Software Department for Department.

WebSphere Sensor Events configuration

Table 1. Asset Management agent properties
Name Description PID Agent properties
Asset Agent RUC Asset Mgmt Agent com.ibm.premises.reusable.assetmgmt.AssetAgent
  • assign.output.failure=rucresponse/assetmgmt/assign/failure
  • assign.output.success=rucresponse/assetmgmt/assign/success
  • ruc.targetBackend=ruc.db
  • unassign.output.failure=rucresponse/assetmgmt/unassign/failure
  • unassign.output.success=rucresponse/assetmgmt/unassign/success
  • updateproperty.output.failure=rucresponse/assetmgmt/updateproperty/failure
  • updateproperty.output.success=rucresponse/assetmgmt/updateproperty/success

WebSphere Application Server configuration

See Configuring the messaging interface for the WebSphere® Application Server configuration details.

Methods

Methods for assets:

Methods for asset types:

Using the Asset Management Reusable Component

Calling many of the methods of the Asset Management Reusable Component synchronously, using the Stateless Session Bean interface or Web service interface, requires using these defined classes, which are documented in the WebSphere Sensor Events API documentation:

To publish to Reusable Components MDBs, set the following values for the JMS topic and eventType. For multi-action Reusable Components, the topic is checked in the message selector and in the MDB code.

For any of the three actions, the payload must also include:

For the updateproperty action, the payload must also include:

To invoke the assign or unassign action on the Asset Management Reusable Component using IBM® Sensor Events or XML, the payload must include:

Generic payload created from a map can also be used. It must include either of the following:

Note: TAG_KEY_INOUT takes a String value. TAGLIST_KEY_INOUT takes a value of java.util.List populated with Strings.

The JMS topic and eventType for the MDB output from the Reusable Component comes from the agent properties. Default output topics for success and failure for each action are shown in Table 1.

Exceptions

In addition to the exceptions listed in Troubleshooting the Reusable Components, the following exceptions can be generated by the Asset Management Reusable Component:


Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2009. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.