From 59f50212f17eeda678c0c62d359996cd0723ca85 Mon Sep 17 00:00:00 2001 From: TheSilentCoder <184309164+ThatSilentCoder@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:04:28 -0400 Subject: [PATCH] issue_847: More javadocs --- .../entity/manager/ComponentAttributeRepository.java | 8 ++++++-- .../persist/entity/manager/ComponentInfoRepository.java | 4 +++- .../persist/entity/manager/ComponentResultRepository.java | 7 +++++-- 3 files changed, 14 insertions(+), 5 deletions(-) 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(