Deprecating classes and attributes in your data model
You might need to deprecate one or more objects in your data model to adapt to your changing business needs, and evolving technology and services. When you deprecate a class or an attribute in your data model, you remove it or replace it with another class or attribute.
- Use cases for deprecating your data model
- Identification of the metadata to deprecate
- Creating deprecation mappings
- Installation of the updated data model
To deprecate data model objects, you must first create deprecation mappings in the BMC Atrium Explorer and then run the Deprecation utility, which is located in the following directories depending on the installation version:
- 32-bit version — cmdb/sdk/bin
- 64-bit version — cmdb/sdk64/bin
On Microsoft Windows, the Deprecation utility uses the deputil77.jar file and the deputil.cmd script file to run the utility. On UNIX, the utility uses the deputil.sh script file.
When you create a deprecation mapping, you mark a class and its attributes for deprecation. Whether you delete a class or mark a class for deprecation, the changes are not replicated in the data model until you run the Deprecation utility. This mechanism enables applications with older versions of the data model to function smoothly until they are ready for the upgrade.
The Deprecation utility does not allow you to transform data values when deprecating a class and migrating its data. You must correct your data before deprecating its class.
BMC_SoftwareServer class, which ships with BMC Atrium Core, and creates an
OracleAppServer class, only the discovery application should deprecate the
You deprecate classes and attributes in your data model in the following steps:
- Identify the metadata to deprecate, as described in the procedure on Identification of the metadata to deprecate.
- Create the deprecation mappings, as described in the procedure on Creating deprecation mappings.
- Install the updated data model, as described in the procedure on Installation of the updated data model.