Details
Description
While testing HCM-88, we found that most nodes get reported as "override" when re-applying the configuration. The code that logs these overrides is in ConfigurationConfigService:
if (baselineChild == null) { // node should not yet exist, but actually does; one edge case in which is ok and no message needs // to be logged is if the node is autoCreated and its parent was also just created if (!(existingChildNode.getDefinition().isAutoCreated() && existingChildNode.getParent().isNew())) { final String msg = String.format("[OVERRIDE] Node '%s' has been added, " + "but will be re-created due to the incoming definition %s.", updateChild.getPath(), updateChild.getOrigin()); logger.info(msg); } final String childPrimaryType = existingChildNode.getPrimaryNodeType().getName(); baselineChild = newChildOfType(childPrimaryType); }