mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-20 05:28:22 +00:00
Typo
This commit is contained in:
parent
e8415ded27
commit
7ba391c75a
@ -17,7 +17,6 @@ import java.util.UUID;
|
|||||||
public interface ReferenceManifestRepository extends JpaRepository<ReferenceManifest, UUID> {
|
public interface ReferenceManifestRepository extends JpaRepository<ReferenceManifest, UUID> {
|
||||||
|
|
||||||
ReferenceManifest findByHexDecHash(String hexDecHash);
|
ReferenceManifest findByHexDecHash(String hexDecHash);
|
||||||
ReferenceManifest findByEventLogHash(String rimType, String eventLogHash);
|
|
||||||
ReferenceManifest findByBase64Hash(String base64Hash);
|
ReferenceManifest findByBase64Hash(String base64Hash);
|
||||||
ReferenceManifest findByHexDecHashAndRimType(String hexDecHash, String rimType);
|
ReferenceManifest findByHexDecHashAndRimType(String hexDecHash, String rimType);
|
||||||
@Query(value = "SELECT * FROM ReferenceManifest WHERE platformManufacturer = ?1 AND platformModel = ?2 AND rimType = 'Base'", nativeQuery = true)
|
@Query(value = "SELECT * FROM ReferenceManifest WHERE platformManufacturer = ?1 AND platformModel = ?2 AND rimType = 'Base'", nativeQuery = true)
|
||||||
|
@ -321,7 +321,7 @@ public class SupplyChainValidationService {
|
|||||||
deviceName));
|
deviceName));
|
||||||
} else {
|
} else {
|
||||||
ReferenceManifest manifest = referenceManifestRepository
|
ReferenceManifest manifest = referenceManifestRepository
|
||||||
.findByEventLogHash(sRim.getRimType(), sRim.getEventLogHash());
|
.findByHexDecHashAndRimType(sRim.getEventLogHash(), sRim.getRimType());
|
||||||
if (manifest instanceof EventLogMeasurements) {
|
if (manifest instanceof EventLogMeasurements) {
|
||||||
eventLog = (EventLogMeasurements)manifest;
|
eventLog = (EventLogMeasurements)manifest;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user