Configuring pattern cleanup

The data model used in BMC Discovery version 10.0 shares pattern module nodes between knowledge upload nodes if the corresponding pattern versions have not changed between upload versions. BMC Discovery version 9.0 duplicated the pattern module nodes. Additionally, the components in TKU releases are now combined into a single upload (formerly known as a pattern package). This work has made it possible to provide automatic cleanup capability to the installed patterns.

Pattern cleanup determines whether old knowledge uploads or pattern modules are obsolete and enables you to remove obsolete knowledge uploads or pattern modules automatically.

When writing TPL patterns, it is recommended that you do not modify TKU patterns. If you have done so, auto cleanup eventually removes the TKU patterns from the system, because later versions of the patterns are introduced by subsequent TKUs. When writing a pattern to override a TKU pattern, use the overrides statement in the pattern declaration.

To cleanup patterns and knowledge uploads automatically

From the Knowledge Management page toolbar, select Auto Cleanup. Confirmation is requested.

Enabling auto cleanup results in an initial evaluation of all uploads to see whether any old uploads and pattern modules can be removed. Thereafter, automatic cleanup is performed as a result of further uploads and actions on pattern modules.

Automatic cleanup can remove pattern modules belonging to a knowledge upload, without removing the upload itself. The upload is cleaned up only after all of its component modules have been removed.

Was this page helpful? Yes No Submitting... Thank you

Comments