Oracle Waveset 8.1.1 Deployment Guide

Testing the Resource Object

This section describes the following methods for testing the resource object:

Viewing and Editing a Resource Object

You can confirm the configuration of your resource by viewing the raw XML in the repository.

ProcedureTo View and Edit a Resource Object

  1. Log into the Administrator user interface.

  2. Open the Waveset Debug pages by entering http://host:port/idm/debug in the browser.

  3. Choose Resource from the pull-down menu located next to the List Objects button.

  4. Click the List Objects button.

    The List Objects of Type: Resource page displays with a list of all resource adapters and Active Sync-enabled adapters.


    Note –

    All resource adapter and Active Sync-enabled adapter classes are based on existing Waveset Resource classes.


  5. Find the resource object you want to see.

    • To view the resource object, click the View link.

    • To edit the resource object, click the Edit link.

  6. When you are finished, click Back.

Testing the Resource Object in Waveset

You can use the Find Resources and List Resources pages in the Waveset Administrative interface to test your implementation of a resource object.

Select Resource > List Resource to confirm the following performance characteristics.

Table 10–32 List Resource Performance Characteristics

Expected Behavior in Interface 

If This Does Not Occur 

Waveset includes your resource type in the drop-down list of possible new resources. 

Confirm that you have added it to the resource.adapters attribute in the Waveset.properties file.

When you open the resource folder, its contents reflect all the <ObjectType> elements that are defined in your resource adapter’s <ObjectTypes> section.

Review the <ObjectType> elements in the adapter’s prototypeXML.

When you right-click on one of your resource object types, all the supported features specified in your resource adapter’s <ObjectFeatures> section per <ObjectType> is available from the menu.

Go to the Debug page and view or edit the resource in question to ensure that its list of <ObjectFeatures> for the <ObjectType> in question is correct.

You can create new resources and update existing resource objects. 

Verify that your resource adapter code is in WEB-INF/classes/com/waveset/adapter/sample

The correct ResourceForms have been loaded for each type of operation. 

  • Confirm that you have checked in all needed resource forms

  • Verify that the forms are correctly referenced (including the correct case) in the section for forms in the System configuration object.

Select Resource > Find Resources to confirm the following performance characteristics.

Table 10–33 Find Resources Performance Characteristics

Expected Behavior in the Interface 

If not...  

You can set all attributes you expect from the Resources > Find Resources page

Check all <ObjectType> elements and associated <ObjectAttribute> elements.

A find resource request returns the appropriate resource objects 

Double-check the query arguments to ensure that the appropriate set of resource objects will match that query. If it still doesn’t work, try the same query through another LDAP browser to ensure that it is not a problem with the query. 

You can edit and/or delete objects returned from your find request.

Check to ensure that the <ObjectFeatures> section of the <ObjectType> in question includes the Update feature, which enables editing or the Delete feature, which enables deletion.