Rename tpm-events to rim-database. Add link to index page.

This commit is contained in:
chubtub 2022-02-02 10:39:22 -05:00
parent 035efad9d2
commit 862387230a
4 changed files with 11 additions and 7 deletions

View File

@ -61,7 +61,7 @@ public enum Page {
/**
* Page to display TPM event table.
*/
TPM_EVENTS("TPM Events", null, "first"),
RIM_DATABASE("RIM Database", null, "first"),
/**
* Help page.
*/

View File

@ -39,8 +39,8 @@ import java.util.List;
* Controller for the TPM Events page.
*/
@Controller
@RequestMapping("/tpm-events")
public class TpmEventsPageController
@RequestMapping("/rim-database")
public class RimDatabasePageController
extends PageController<NoPageParams> {
private static final String BIOS_RELEASE_DATE_FORMAT = "yyyy-MM-dd";
@ -49,7 +49,7 @@ public class TpmEventsPageController
private final ReferenceDigestManager referenceDigestManager;
private final ReferenceEventManager referenceEventManager;
private static final Logger LOGGER
= LogManager.getLogger(TpmEventsPageController.class);
= LogManager.getLogger(RimDatabasePageController.class);
/**
* This class was created for the purposes of avoiding findbugs message: As
@ -100,10 +100,10 @@ public class TpmEventsPageController
* @param referenceEventManager the referenceEventManager object
*/
@Autowired
public TpmEventsPageController(
public RimDatabasePageController(
final DBReferenceDigestManager referenceDigestManager,
final DBReferenceEventManager referenceEventManager) {
super(Page.TPM_EVENTS);
super(Page.RIM_DATABASE);
this.referenceDigestManager = referenceDigestManager;
this.referenceEventManager = referenceEventManager;
this.biosValidator = new BiosDateValidator(BIOS_RELEASE_DATE_FORMAT);

View File

@ -67,6 +67,10 @@
<a href="${portal}/devices"><img src="${icons}/ic_devices_black_24dp.png" /> Devices</a>
</h3>
<h4>View devices covered by this CA for supply chain validation.</h4>
<h3>
<a href="${portal}/rim-database"><img src="${icons}/ic_devices_black_24dp.png" /> RIM Database</a>
</h3>
<h4>View a list of TPM events </h4>
</div>
</div>
</div>

View File

@ -12,7 +12,7 @@
<jsp:attribute name="script">
<script type="text/javascript" src="${lib}/jquery.spring-friendly/jquery.spring-friendly.js"></script>
</jsp:attribute>
<jsp:attribute name="pageHeaderTitle">TPM Events</jsp:attribute>
<jsp:attribute name="pageHeaderTitle">RIM Database</jsp:attribute>
<jsp:body>
<br/>