Skip to content
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
82efb88
v3_issue_1018: Add remaining TPMSecurityAssertions and OID-value tran…
iadgovuser62 Nov 19, 2025
720a409
Merge branch 'main' into v3_issue_1018
iadgovuser62 Jan 30, 2026
7d763d9
v3_issue_1018: Fix front end to work with Thymeleaf
iadgovuser62 Feb 10, 2026
6110104
Merge branch 'main' into v3_issue_1018
iadgovuser62 Feb 10, 2026
0e6d493
v3_issue_1018: Fix spotbugs
iadgovuser62 Feb 10, 2026
5586d55
v3.1_issue_1101: First cut at fixing javadoc warnings/errors
ThatSilentCoder Feb 10, 2026
6815409
v3.1_issue_1101: Slowly but surely cutting down warnings. Added a lin…
ThatSilentCoder Feb 10, 2026
9ac095c
v3.1_issue_1101: Slowly but surely cutting down warnings. Moved files…
ThatSilentCoder Feb 10, 2026
b6e1661
v3.1_issue_1101: Fixed up more javadoc issues and moved classes to th…
ThatSilentCoder Feb 12, 2026
ee48571
v3.1_issue_1101: Fixed javadoc errors. Handling as many manageable ja…
ThatSilentCoder Feb 12, 2026
a634f3d
Merge branch 'main' into v3_issue_1101_fix_javadoc_generation_error_w…
ThatSilentCoder Feb 12, 2026
38fd1a1
v3.1_issue_1101: Fixed build error.
ThatSilentCoder Feb 12, 2026
14ee0a5
Merge branch 'main' into v3_issue_1101_fix_javadoc_generation_error_w…
ThatSilentCoder Feb 13, 2026
1e1cc87
v3.1_issue_1101: Fixed broken issue
ThatSilentCoder Feb 13, 2026
7920ebc
v3.1_issue_1101: Fixed more warnings and errors from javadocs. Will c…
ThatSilentCoder Feb 17, 2026
d38bd6f
v3.1_issue_1101: Fixed all major warnings in HIRS_UTILS. PR ready.
ThatSilentCoder Feb 17, 2026
3204e9e
v3.1_issue_1101: Commented the line that allows gradle to print unlim…
ThatSilentCoder Feb 17, 2026
d2837b8
v3.1_issue_1101: Removed unused code found during PR
ThatSilentCoder Feb 19, 2026
2a7bacd
Merge branch 'main' into v3_issue_1101_fix_javadoc_generation_error_w…
ThatSilentCoder Feb 24, 2026
6b80015
Merge branch 'main' into v3_issue_1101_fix_javadoc_generation_error_w…
ThatSilentCoder Feb 25, 2026
6df6af1
v3.1_issue_1105: Merged main into local branch.
ThatSilentCoder Feb 26, 2026
93eb2c6
v3.1_issue_1105: Merged main into local branch.
ThatSilentCoder Feb 26, 2026
d6c5108
v3.1_issue_1105: Fixed build errors.
ThatSilentCoder Feb 26, 2026
3a9340b
Merge branch 'main' into v3_issue_1101_fix_javadoc_generation_error_w…
ThatSilentCoder Mar 2, 2026
9b1b9e2
v3.1_issue_1105: Merged main into local branch.
ThatSilentCoder Mar 11, 2026
8aa936a
v3.1_issue_1105: Merged main into JavaDoc generation error branch.
ThatSilentCoder Mar 19, 2026
05b1bda
Forgot to include this in the just recently merged in PR
ThatSilentCoder Mar 30, 2026
5509ad5
v3.1_issue_1105: Merged main into local branch.
ThatSilentCoder Mar 30, 2026
a8384bd
v3.1_issue_1105: Merged main into local branch.
ThatSilentCoder Mar 30, 2026
3121684
v3.1_issue_1105: Added more javadocs to the repo, service classes.
ThatSilentCoder Mar 30, 2026
7497cba
v3.1_issue_1105: Fixed comments made in the javadocs.
ThatSilentCoder Mar 30, 2026
58d7382
v3.1_issue_1105: Addressed remaining javadoc warnings.
ThatSilentCoder Mar 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/system-tests/sys_test_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ docker exec -i $aca_container mysql -u root -proot -D hirs_db -e "Update PolicyS
clearAcaDb() {
docker exec -i $aca_container mysql -u root -proot -e "use hirs_db; set foreign_key_checks=0; truncate Appraiser;
truncate Certificate;truncate Issued_Attestation_Platform_Join_Table;truncate CertificatesUsedToValidate;truncate ComponentAttributeResult;
truncate ComponentInfo;truncate ComponentResult;truncate Device;truncate DeviceInfoReport;truncate PortalInfo;
truncate ComponentInfo;truncate ComponentResult;truncate Device;truncate DeviceInfoReport;
truncate ReferenceDigestValue;truncate ReferenceManifest;truncate Report;truncate SupplyChainValidation;
truncate SupplyChainValidationSummary;truncate SupplyChainValidationSummary_SupplyChainValidation;
truncate TPM2ProvisionerState;set foreign_key_checks=1;"
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
import java.util.List;
import java.util.UUID;

/**
* Repository interface for managing {@link Certificate} entities in the database.
*
* <p>
* The {@link CertificateRepository} interface extends {@link JpaRepository} to provide basic CRUD operations,
* including save, find, delete, and query methods. Custom query methods can be defined
* using Spring Data JPA's query method naming conventions or with the Query annotation.
* </p>
*/
@Repository
public interface CertificateRepository extends JpaRepository<Certificate, UUID> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
import java.util.List;
import java.util.UUID;

/**
* Repository interface for managing {@link ComponentAttributeResult} entities in the database.
*
* <p>
* The {@link ComponentAttributeRepository} interface extends {@link JpaRepository} to provide basic CRUD operations,
* including save, find, delete, and query methods. Custom query methods can be defined
* using Spring Data JPA's query method naming conventions or with the Query annotation.
* </p>
*/
public interface ComponentAttributeRepository extends JpaRepository<ComponentAttributeResult, UUID> {
/**
* Query to look up Attribute Results based on the PlatformCredential's
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
import java.util.List;
import java.util.UUID;

/**
* Repository interface for managing {@link ComponentInfo} entities in the database.
*
* <p>
* The {@link ComponentInfoRepository} interface extends {@link JpaRepository} to provide basic CRUD operations,
* including save, find, delete, and query methods. Custom query methods can be defined
* using Spring Data JPA's query method naming conventions or with the Query annotation.
* </p>
*/
public interface ComponentInfoRepository extends JpaRepository<ComponentInfo, UUID> {
/**
* Query that retrieves device components by device name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
import java.util.List;
import java.util.UUID;

/**
* Repository interface for managing {@link ComponentResult} entities in the database.
*
* <p>
* The {@link ComponentResultRepository} interface extends {@link JpaRepository} to provide basic CRUD operations,
* including save, find, delete, and query methods. Custom query methods can be defined
* using Spring Data JPA's query method naming conventions or with the Query annotation.
* </p>
*/
@Repository
public interface ComponentResultRepository extends JpaRepository<ComponentResult, UUID> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@

import java.util.UUID;

/**
* Repository interface for managing {@link Device} entities in the database.
*
* <p>
* The {@link DeviceRepository} interface extends {@link JpaRepository} to provide basic CRUD operations,
* including save, find, delete, and query methods. Custom query methods can be defined
* using Spring Data JPA's query method naming conventions or with the Query annotation.
* </p>
*/
@Repository
public interface DeviceRepository extends JpaRepository<Device, UUID> {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@

import java.util.UUID;

/**
* Repository interface for managing the ACA's {@link PolicySettings} in the database.
*
* <p>
* The {@link PolicyRepository} interface extends {@link JpaRepository} to provide basic CRUD operations,
* including save, find, delete, and query methods. Custom query methods can be defined
* using Spring Data JPA's query method naming conventions or with the Query annotation.
* </p>
*/
@Repository
public interface PolicyRepository extends JpaRepository<PolicySettings, UUID> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
import java.util.List;
import java.util.UUID;

/**
* Repository interface for managing {@link ReferenceDigestValue} entities in the database.
*
* <p>
* The {@link ReferenceDigestValueRepository} interface extends {@link JpaRepository} to provide basic CRUD operations,
* including save, find, delete, and query methods. Custom query methods can be defined
* using Spring Data JPA's query method naming conventions or with the Query annotation.
* </p>
*/
@Repository
public interface ReferenceDigestValueRepository extends JpaRepository<ReferenceDigestValue, UUID> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
import java.util.List;
import java.util.UUID;

/**
* Repository interface for managing {@link SupplyChainValidation} entities in the database.
*
* <p>
* The {@link SupplyChainValidationRepository} interface extends {@link JpaRepository} to provide basic CRUD
* operations, including save, find, delete, and query methods. Custom query methods can be defined
* using Spring Data JPA's query method naming conventions or with the Query annotation.
* </p>
*/
@Repository
public interface SupplyChainValidationRepository extends JpaRepository<SupplyChainValidation, UUID> {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
* Repository interface for managing {@link TPM2ProvisionerState} entities in the database.
*
* <p>
* The {@link TPM2ProvisionerStateRepository} interface extends {@link JpaRepository} to provide basic CRUD operations,
* including save, find, delete, and query methods. Custom query methods can be defined
* using Spring Data JPA's query method naming conventions or with the Query annotation.
* </p>
*/
@Repository
public interface TPM2ProvisionerStateRepository extends JpaRepository<TPM2ProvisionerState, Long> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
/**
* Contains all the HIRS manager classes responsible for interacting with the database.
* These managers encapsulate the logic for data retrieval, persistence, and manipulation,
* providing a higher-level interface for accessing and modifying the underlying data models.
*/
package hirs.attestationca.persist.entity.manager;
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* This package has objects for hibernate entity.
* Contains Hibernate entity classes that define the data model and map to database tables,
* providing the necessary structure for data persistence and retrieval.
*/
package hirs.attestationca.persist.entity;
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/**
* Contains files for capturing information about the TPM Provisioning state.
*/
package hirs.attestationca.persist.entity.tpm;
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@ public static byte[] readBytes(final Path certificatePath) throws IOException {
* found in various RFCs.
*
* @param certificate the certificate holding subject DNs
* @return IOException if there is an issue decoding the subject DNs
* @return subject distinguished name
* @throws IOException if there is an issue decoding the subject DNs
*/
public static String getSubjectDNString(final X509Certificate certificate)
throws IOException {
Expand All @@ -509,7 +510,8 @@ public static String getSubjectDNString(final X509Certificate certificate)
* in various RFCs.
*
* @param certificate the certificate holding issuer DNs
* @return IOException if there is an issue decoding the issuer DNs
* @return issuer distinguished name
* @throws IOException if there is an issue decoding the issuer distinguished names
*/
public static String getIssuerDNString(final X509Certificate certificate)
throws IOException {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package hirs.attestationca.persist.service.util;
package hirs.attestationca.persist.entity.userdefined;

import lombok.AllArgsConstructor;
import lombok.Builder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
import java.sql.Timestamp;
import java.time.LocalDateTime;

/**
* User-defined, Java representation of a physical Device.
*/
@Entity
@Table(name = "Device")
@Setter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package hirs.attestationca.persist.util;
package hirs.attestationca.persist.entity.userdefined;

import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package hirs.attestationca.persist;
package hirs.attestationca.persist.entity.userdefined;

import lombok.Data;
import lombok.EqualsAndHashCode;
Expand Down
Loading
Loading