Service Registry 3.1 Administration Guide

Enabling Versioning of Registry Objects

By default, versioning of registry objects is disabled. If versioning is enabled, a new version of an object is created whenever any of the object's attributes is changed. Enabling versioning is an administrative task.

ProcedureTo Enable Versioning of Registry Objects

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

  2. Open the file omar.properties in a text editor.

  3. Find the definition of the property omar.server.lcm.VersionManager.versionableClassList.

    By default, this property has no value:

    omar.server.lcm.VersionManager.versionableClassList=
  4. Specify any objects for which you want the Registry to create new versions when the objects are modified. Separate the objects with a vertical bar (|).

    For example:

    omar.server.lcm.VersionManager.versionableClassList=Service|Organization

    Use the commented-out copy of the property setting in the file as an example.

  5. Save and close the omar.properties file.

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