From 63cd58389c254d1fa704916f822b329eb7ec4399 Mon Sep 17 00:00:00 2001 From: chasegawa Date: Mon, 28 Nov 2022 13:53:46 -0700 Subject: [PATCH] SHIBUI-2393/2477 Added createdBy --- .../ui/domain/frontend/DynamicRegistrationRepresentation.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/frontend/DynamicRegistrationRepresentation.java b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/frontend/DynamicRegistrationRepresentation.java index 133bac4d2..971ac1124 100644 --- a/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/frontend/DynamicRegistrationRepresentation.java +++ b/backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/frontend/DynamicRegistrationRepresentation.java @@ -19,6 +19,7 @@ public class DynamicRegistrationRepresentation { private boolean approved; private String contacts; private LocalDateTime createdDate; + private String createdBy; private boolean enabled; private GrantType grantType; private String idOfOwner; @@ -40,6 +41,7 @@ public DynamicRegistrationRepresentation(DynamicRegistrationInfo dri) { applicationType = dri.getApplicationType(); approved = dri.isApproved(); contacts = dri.getContacts(); + createdBy = dri.getCreatedBy(); createdDate = dri.getCreatedDate(); enabled = dri.isEnabled(); grantType = dri.getGrantType(); @@ -60,7 +62,7 @@ public DynamicRegistrationRepresentation(DynamicRegistrationInfo dri) { } public DynamicRegistrationInfo buildDynamicRegistrationInfo() { - // Approved and enabled shouldn't be handled from here, and owner shouldn't come from the UI, so we ignore all those + // Approved and enabled shouldn't be handled from here, and owner and created by shouldn't come from the UI, so we ignore all those DynamicRegistrationInfo dri = new DynamicRegistrationInfo(); dri.setApplicationType(applicationType);