diff --git a/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/entity/manager/ComponentAttributeRepository.java b/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/entity/manager/ComponentAttributeRepository.java index bfa10117..87e4c9b4 100644 --- a/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/entity/manager/ComponentAttributeRepository.java +++ b/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/entity/manager/ComponentAttributeRepository.java @@ -10,6 +10,7 @@ public interface ComponentAttributeRepository extends JpaRepository findByComponentIdAndProvisionSessionId(UUID componentId, UUID provisionSessionId); + List findByComponentIdAndProvisionSessionId(UUID componentId, + UUID provisionSessionId); } diff --git a/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/entity/manager/ComponentInfoRepository.java b/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/entity/manager/ComponentInfoRepository.java index 67fec4f0..919c0494 100644 --- a/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/entity/manager/ComponentInfoRepository.java +++ b/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/entity/manager/ComponentInfoRepository.java @@ -9,6 +9,7 @@ import java.util.UUID; public interface ComponentInfoRepository extends JpaRepository { /** * Query that retrieves device components by device name. + * * @param deviceName string for the host name * @return a list of device components */ @@ -17,7 +18,8 @@ public interface ComponentInfoRepository extends JpaRepository findByBoardSerialNumberAndDelta(String boardSerialNumber, boolean delta); /** * Query based on certificate serial number and device serial number. + * * @param certificateSerialNumber certificate specific serial number - * @param boardSerialNumber variable holding the device serial number + * @param boardSerialNumber variable holding the device serial number * @return a list of component result. */ List findByCertificateSerialNumberAndBoardSerialNumber(