This is a test commit. Changes will be removed.

This commit is contained in:
Cyrus 2022-02-15 11:17:07 -05:00
parent e16f009294
commit 0f839ebd08

View File

@ -459,13 +459,18 @@ public class SupplyChainValidationServiceImpl implements SupplyChainValidationSe
} }
} }
LOGGER.error(String.format("CYRUS - # of resources (ie support rims) - %d", resources.size());
for (SwidResource swidRes : resources) { for (SwidResource swidRes : resources) {
LOGGER.error(String.format("CYRUS - Looking for hash %s", swidRes.getHashValue()));
supportReferenceManifest = SupportReferenceManifest.select(referenceManifestManager) supportReferenceManifest = SupportReferenceManifest.select(referenceManifestManager)
.byHexDecHash(swidRes.getHashValue()).getRIM(); .byHexDecHash(swidRes.getHashValue()).getRIM();
if (supportReferenceManifest != null) { if (supportReferenceManifest != null) {
// Removed the filename check from this if statement // Removed the filename check from this if statement
referenceManifestValidator.validateSupportRimHash( referenceManifestValidator.validateSupportRimHash(
supportReferenceManifest.getRimBytes(), swidRes.getHashValue()); supportReferenceManifest.getRimBytes(), swidRes.getHashValue());
} else {
LOGGER.error("CYRUS - Didn't find support rim by hash");
} }
} }