From 74865a04e3bd7a5a0a20ff4f65a4c9bbebc32626 Mon Sep 17 00:00:00 2001 From: rushtong Date: Thu, 22 May 2025 18:28:57 -0400 Subject: [PATCH 01/26] wip: first pass at making LCs singular - compilation and most tests pass --- .idea/codeStyles/Project.xml | 1 + .../consent/http/db/LibraryCardDAO.java | 4 +- .../consent/http/db/UserDAO.java | 81 +++++-- .../http/db/mapper/DarCollectionReducer.java | 2 +- .../http/db/mapper/UserWithRolesReducer.java | 57 +++-- .../consent/http/models/LibraryCard.java | 7 + .../consent/http/models/User.java | 24 +-- .../consent/http/resources/DaaResource.java | 34 ++- .../resources/DataAccessRequestResource.java | 2 +- .../service/DataAccessRequestService.java | 7 +- .../http/service/LibraryCardService.java | 59 +++-- .../consent/http/service/UserService.java | 44 ++-- .../consent/http/db/DarCollectionDAOTest.java | 18 +- .../consent/http/db/LibraryCardDAOTest.java | 57 ++--- .../consent/http/db/UserDAOTest.java | 10 +- .../http/resources/DaaResourceTest.java | 202 +++++++++--------- .../DataAccessRequestResourceTest.java | 14 +- .../service/DataAccessRequestServiceTest.java | 12 +- .../http/service/LibraryCardServiceTest.java | 89 +++----- .../consent/http/service/UserServiceTest.java | 50 ++--- .../http/service/dao/NihServiceDAOTest.java | 11 +- 21 files changed, 379 insertions(+), 406 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index b6c57434e5..9672c273ac 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -49,6 +49,7 @@