log.warn("Cannot process repeat change set. No drift definition found for [resourceId: " + resourceId
+ ", driftDefinitionName: " + driftDefName + "]");
}
DriftDefinition driftDef = defs.get(0);
DriftServerPluginFacet driftServerPlugin = getServerPlugin();
GenericDriftChangeSetCriteria criteria = new GenericDriftChangeSetCriteria();
criteria.addFilterResourceId(resourceId);
criteria.addFilterDriftDefinitionId(driftDef.getId());
criteria.addFilterVersion(Integer.toString(version));
criteria.fetchDrifts(true);
PageList<? extends DriftChangeSet<?>> changeSets = driftServerPlugin.findDriftChangeSetsByCriteria(overlord,
criteria);
if (changeSets.isEmpty()) {
log.warn("Cannot process repeat change set. No change set found for [driftDefinitionId: "
+ driftDef.getId() + ", version: " + version + "]");
return;