Service Registry 3.1 Update 1 Administration Guide

Configuring the Dependency Resolution Depth for the Export Feature

The Export Repository Content to Zip File feature of the Search menu area allows you to export the repository items associated with ExtrinsicObject objects to a zip file. Repository items such as WSDL files can import other WSDL files, so the Dependency Resolution Depth combo box allows users to specify how many levels of dependency should be searched in order to export the required files. By default, the menu allows users to specify zero, 1, 2, 3, or all levels of dependency, and the default level is zero. A level of zero specifies that only the requested objects should be exported, not the files they depend upon.

Sometimes the dependency tree for a particular file is deep and complex. If all dependencies are returned for every export request, the resulting file set can be very large and can contain unwanted files. Also, traversing the entire dependency tree is resource-intensive, leading to a potential performance degradation. Therefore, you may wish to limit the number of levels searched. You may also want to specify a default level other than zero.

As an administrator, you can set properties to configure the number of levels and the default level with values appropriate for your installation.

ProcedureTo Configure the Dependency Resolution Depth

  1. Change to the directory RegistryDomain-base/domains/registry/applications/j2ee-modules/soar/WEB-INF/classes.

  2. Open the file jaxr-ebxml.properties in a text editor.

  3. Find the commented-out definition of the property omar.client.thinbrowser.compressContent.maxDepthLevel:

    #omar.client.thinbrowser.compressContent.maxDepthLevel=6
  4. Remove the comment character and specify the value you prefer. The default is 4, meaning that the levels 0, 1, 2, and 3 appear in the menu, along with All Levels.

  5. Find the commented-out definition of the property omar.client.thinbrowser.compressContent.defaultDepthLevel:

    #omar.client.thinbrowser.compressContent.defaultDepthLevel=-1
  6. Remove the comment character and specify the value you prefer. A level of –1 specifies that All Levels should be the default.

  7. Save and close the jaxr-ebxml.properties file.

  8. Follow the instructions in To Stop and Restart the Application Server Domain for the Registry.