- All Implemented Interfaces:
- DatabaseUpgradeTask
public class ResourceAncestryUpgradeTask
extends Object
implements DatabaseUpgradeTask
The introduction of pre-computed disambiguated "ancestry" for Resources requires that existing
inventory be updated with pre-computed values. Rhq_resource.ancestry must be set.
This task queries for each platform, assigns its ancestry string, and then traverses the family tree assigning
ancestry strings as it goes. InventoryStatus is not important as the resource hieracrhy is always well-formed.
- Author:
- Jay Shaughnessy