From 98f2006e48bb17a47ef577aa9175a3d673f81c69 Mon Sep 17 00:00:00 2001 From: Duc Nguyen <117302958+ndduc01@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:12:26 -0400 Subject: [PATCH] clean up --- .../container/interfaces/PageProxyContainer.java | 10 ++++++++++ .../interfaces/ReportSummaryInterface.java | 10 ++++++++++ .../model/dto/RootDtoInterface.java | 11 ++++++++++- .../msgoute/repos/NbsInterfaceRepository.java | 10 ++++++++++ .../nbs/msgoute/repos/StoredProcRepository.java | 10 ++++++++++ .../nbs/odse/repos/CustomAuthUserRepository.java | 10 ++++++++++ .../odse/repos/CustomNbsQuestionRepository.java | 10 ++++++++++ .../nbs/odse/repos/CustomRepository.java | 10 ++++++++++ .../nbs/odse/repos/act/ActIdRepository.java | 10 ++++++++++ .../act/ActLocatorParticipationRepository.java | 10 ++++++++++ .../act/ActRelationshipHistoryRepository.java | 10 ++++++++++ .../repos/act/ActRelationshipRepository.java | 10 ++++++++++ .../nbs/odse/repos/act/ActRepository.java | 10 ++++++++++ .../repos/act/NbsActEntityHistRepository.java | 10 ++++++++++ .../odse/repos/act/NbsActEntityRepository.java | 10 ++++++++++ .../nbs/odse/repos/act/WAQuestionRepository.java | 10 ++++++++++ .../nbs/odse/repos/auth/AuthUserRepository.java | 10 ++++++++++ .../odse/repos/dsm/DsmAlgorithmRepository.java | 10 ++++++++++ .../odse/repos/edx/EdxDocumentRepository.java | 10 ++++++++++ .../repos/edx/EdxEventProcessRepository.java | 10 ++++++++++ .../odse/repos/entity/EntityIdRepository.java | 10 ++++++++++ .../EntityLocatorParticipationRepository.java | 10 ++++++++++ .../nbs/odse/repos/entity/EntityRepository.java | 10 ++++++++++ .../locator/LocalUidGeneratorRepository.java | 10 ++++++++++ .../repos/locator/PhysicalLocatorRepository.java | 10 ++++++++++ .../repos/locator/PostalLocatorRepository.java | 10 ++++++++++ .../repos/locator/TeleLocatorRepository.java | 10 ++++++++++ .../log/EdxActivityDetailLogRepository.java | 10 ++++++++++ .../odse/repos/log/EdxActivityLogRepository.java | 10 ++++++++++ .../nbs/odse/repos/log/MessageLogRepository.java | 10 ++++++++++ .../odse/repos/log/NNDActivityLogRepository.java | 10 ++++++++++ .../repos/lookup/LookupMappingRepository.java | 10 ++++++++++ .../repos/matching/EdxEntityMatchRepository.java | 10 ++++++++++ .../matching/EdxPatientMatchRepository.java | 10 ++++++++++ .../material/ManufacturedMaterialRepository.java | 10 ++++++++++ .../odse/repos/material/MaterialRepository.java | 10 ++++++++++ .../odse/repos/nbs/NbsAnswerHistRepository.java | 10 ++++++++++ .../nbs/odse/repos/nbs/NbsAnswerRepository.java | 10 ++++++++++ .../odse/repos/nbs/NbsCaseAnswerRepository.java | 10 ++++++++++ .../repos/nbs/NbsDocumentHistRepository.java | 10 ++++++++++ .../odse/repos/nbs/NbsDocumentRepository.java | 10 ++++++++++ .../nbs/odse/repos/nbs/NbsNoteRepository.java | 10 ++++++++++ .../odse/repos/nbs/NbsUiMetaDataRepository.java | 10 ++++++++++ .../notification/NotificationRepository.java | 10 ++++++++++ .../observation/ObsValueCodedRepository.java | 10 ++++++++++ .../observation/ObsValueDateRepository.java | 10 ++++++++++ .../observation/ObsValueNumericRepository.java | 10 ++++++++++ .../repos/observation/ObsValueTxtRepository.java | 10 ++++++++++ .../observation/ObservationInterpRepository.java | 10 ++++++++++ .../observation/ObservationReasonRepository.java | 10 ++++++++++ .../repos/observation/ObservationRepository.java | 10 ++++++++++ .../Observation_SummaryRepository.java | 10 ++++++++++ .../organization/OrganizationHistRepository.java | 10 ++++++++++ .../OrganizationNameHistRepository.java | 10 ++++++++++ .../organization/OrganizationNameRepository.java | 10 ++++++++++ .../organization/OrganizationRepository.java | 10 ++++++++++ .../ParticipationHistRepository.java | 10 ++++++++++ .../participation/ParticipationRepository.java | 10 ++++++++++ .../repos/person/PersonEthnicRepository.java | 10 ++++++++++ .../odse/repos/person/PersonNameRepository.java | 10 ++++++++++ .../odse/repos/person/PersonRaceRepository.java | 10 ++++++++++ .../nbs/odse/repos/person/PersonRepository.java | 10 ++++++++++ .../odse/repos/phc/CaseManagementRepository.java | 10 ++++++++++ .../repos/phc/ClinicalDocumentRepository.java | 10 ++++++++++ .../repos/phc/ConfirmationMethodRepository.java | 10 ++++++++++ .../odse/repos/phc/EntityGroupRepository.java | 10 ++++++++++ .../phc/NonPersonLivingSubjectRepository.java | 10 ++++++++++ .../repos/phc/PatientEncounterRepository.java | 10 ++++++++++ .../nbs/odse/repos/phc/PlaceRepository.java | 10 ++++++++++ .../repos/phc/PublicHealthCaseRepository.java | 10 ++++++++++ .../nbs/odse/repos/phc/ReferralRepository.java | 10 ++++++++++ .../nbs/odse/repos/role/RoleRepository.java | 10 ++++++++++ .../repository/CodeValueGeneralRepository.java | 10 ++++++++++ .../srte/repository/ConditionCodeRepository.java | 10 ++++++++++ .../nbs/srte/repository/ElrXrefRepository.java | 10 ++++++++++ .../repository/JurisdictionCodeRepository.java | 10 ++++++++++ .../JurisdictionParticipationRepository.java | 10 ++++++++++ .../nbs/srte/repository/LOINCCodeRepository.java | 10 ++++++++++ .../nbs/srte/repository/LabResultRepository.java | 10 ++++++++++ .../repository/LabResultSnomedRepository.java | 10 ++++++++++ .../srte/repository/LabTestLoincRepository.java | 10 ++++++++++ .../nbs/srte/repository/LabTestRepository.java | 10 ++++++++++ .../repository/ProgramAreaCodeRepository.java | 10 ++++++++++ .../nbs/srte/repository/RaceCodeRepository.java | 10 ++++++++++ .../srte/repository/SnomedCodeRepository.java | 10 ++++++++++ .../repository/SnomedConditionRepository.java | 10 ++++++++++ .../nbs/srte/repository/StateCodeRepository.java | 10 ++++++++++ .../StateCountyCodeValueRepository.java | 10 ++++++++++ .../repository/custom/SrteCustomRepository.java | 10 ++++++++++ .../config/DataProcessingSecurityConfig.java | 1 + .../investigation/AutoInvestigationService.java | 2 +- .../investigation/DecisionSupportService.java | 9 +++++---- .../investigation/LookupService.java | 4 ++-- .../person/base/ProviderMatchingBaseService.java | 2 +- .../interfaces/act/IActRelationshipService.java | 10 ++++++++++ .../interfaces/action/ILabReportProcessing.java | 10 ++++++++++ .../interfaces/answer/IAnswerService.java | 10 ++++++++++ .../interfaces/auth_user/IAuthUserService.java | 10 ++++++++++ .../interfaces/cache/ICatchingValueService.java | 10 ++++++++++ .../data_extraction/IDataExtractionService.java | 10 ++++++++++ .../IEntityLocatorParticipationService.java | 10 ++++++++++ .../jurisdiction/IJurisdictionService.java | 10 ++++++++++ .../jurisdiction/IProgramAreaService.java | 10 ++++++++++ .../service/interfaces/log/IEdxLogService.java | 10 ++++++++++ .../interfaces/log/IMessageLogService.java | 10 ++++++++++ .../interfaces/log/INNDActivityLogService.java | 10 ++++++++++ .../interfaces/lookup_data/ILookupService.java | 10 ++++++++++ .../lookup_data/ISrteCodeObsService.java | 10 ++++++++++ .../manager/IManagerAggregationService.java | 10 ++++++++++ .../interfaces/manager/IManagerCacheService.java | 10 ++++++++++ .../interfaces/manager/IManagerService.java | 10 ++++++++++ .../interfaces/material/IMaterialService.java | 10 ++++++++++ .../notification/INotificationService.java | 10 ++++++++++ .../observation/IEdxDocumentService.java | 10 ++++++++++ .../observation/IObservationCodeService.java | 10 ++++++++++ .../observation/IObservationMatchingService.java | 10 ++++++++++ .../observation/IObservationService.java | 10 ++++++++++ .../observation/IObservationSummaryService.java | 10 ++++++++++ .../IOrganizationMatchingService.java | 10 ++++++++++ .../organization/IOrganizationService.java | 10 ++++++++++ .../interfaces/page_and_pam/IPageService.java | 10 ++++++++++ .../interfaces/page_and_pam/IPamService.java | 10 ++++++++++ .../paticipation/IParticipationService.java | 10 ++++++++++ .../interfaces/person/INokMatchingService.java | 10 ++++++++++ .../person/IPatientMatchingService.java | 10 ++++++++++ .../interfaces/person/IPersonService.java | 10 ++++++++++ .../person/IProviderMatchingService.java | 10 ++++++++++ .../IAutoInvestigationService.java | 10 ++++++++++ .../IContactSummaryService.java | 10 ++++++++++ .../IDecisionSupportService.java | 10 ++++++++++ .../IInvestigationNotificationService.java | 10 ++++++++++ .../IInvestigationService.java | 10 ++++++++++ .../public_health_case/ILdfService.java | 10 ++++++++++ .../IPublicHealthCaseService.java | 10 ++++++++++ .../IRetrieveSummaryService.java | 10 ++++++++++ .../service/interfaces/role/IRoleService.java | 10 ++++++++++ .../stored_proc/IMsgOutEStoredProcService.java | 10 ++++++++++ .../uid_generator/IOdseIdGeneratorService.java | 10 ++++++++++ .../IOdseIdGeneratorWCacheService.java | 10 ++++++++++ .../interfaces/uid_generator/IUidService.java | 10 ++++++++++ .../utilities/DynamicBeanBinding.java | 6 +++--- .../component/nbs/NbsDocumentRepositoryUtil.java | 2 +- .../base/ProviderMatchingBaseServiceTest.java | 16 ++++++++-------- .../data_parser/util/EntityIdUtilTest.java | 2 +- .../nbs/NbsDocumentRepositoryUtilTest.java | 2 +- 145 files changed, 1374 insertions(+), 23 deletions(-) diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/container/interfaces/PageProxyContainer.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/container/interfaces/PageProxyContainer.java index 239da24dc..374a577ec 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/container/interfaces/PageProxyContainer.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/container/interfaces/PageProxyContainer.java @@ -3,6 +3,16 @@ import gov.cdc.dataprocessing.model.container.model.InterventionContainer; import gov.cdc.dataprocessing.model.container.model.PublicHealthCaseContainer; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface PageProxyContainer { public static final long serialVersionUID = 1L; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/container/interfaces/ReportSummaryInterface.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/container/interfaces/ReportSummaryInterface.java index 472026026..1d14f1d5e 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/container/interfaces/ReportSummaryInterface.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/container/interfaces/ReportSummaryInterface.java @@ -2,6 +2,16 @@ import java.sql.Timestamp; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ReportSummaryInterface { public boolean getIsTouched(); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/dto/RootDtoInterface.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/dto/RootDtoInterface.java index c83de61b5..8549bfed9 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/dto/RootDtoInterface.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/model/dto/RootDtoInterface.java @@ -1,7 +1,16 @@ package gov.cdc.dataprocessing.model.dto; import java.sql.Timestamp; - +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface RootDtoInterface { /** * A getter for last change user id diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/msgoute/repos/NbsInterfaceRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/msgoute/repos/NbsInterfaceRepository.java index 88de72d27..a596052fd 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/msgoute/repos/NbsInterfaceRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/msgoute/repos/NbsInterfaceRepository.java @@ -7,6 +7,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NbsInterfaceRepository extends JpaRepository { Optional findByNbsInterfaceUid(Integer id); } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/msgoute/repos/StoredProcRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/msgoute/repos/StoredProcRepository.java index 65067b71b..e31a7fe6d 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/msgoute/repos/StoredProcRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/msgoute/repos/StoredProcRepository.java @@ -9,6 +9,16 @@ import java.sql.Timestamp; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface StoredProcRepository extends CrudRepository { @Procedure(name = "UpdateSpecimenCollDate_SP") void updateSpecimenCollDateSP(@Param("NBSInterfaceUid") Long nbsInterfaceUid, @Param("specimentCollectionDate") Timestamp specimentCollectionDate); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomAuthUserRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomAuthUserRepository.java index c83d0bed6..e95e8d51a 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomAuthUserRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomAuthUserRepository.java @@ -5,6 +5,16 @@ import java.util.Collection; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface CustomAuthUserRepository { Collection getAuthUserRealizedRole(String userId); } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomNbsQuestionRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomNbsQuestionRepository.java index e79fd0ef8..5b52a3466 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomNbsQuestionRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomNbsQuestionRepository.java @@ -6,6 +6,16 @@ import java.util.Collection; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface CustomNbsQuestionRepository { Collection retrieveQuestionRequiredNnd(String formCd); } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomRepository.java index 7d1256bab..83955a0c4 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/CustomRepository.java @@ -13,6 +13,16 @@ import java.util.Map; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface CustomRepository { Collection getContactByPatientInfo(String queryString); Map getLabParticipations(Long observationUID); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActIdRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActIdRepository.java index 90f43be13..ed5e6b553 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActIdRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActIdRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ActIdRepository extends JpaRepository { @Query("SELECT data FROM ActId data WHERE data.actUid = :uid") Optional> findRecordsById(@Param("uid") Long uid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActLocatorParticipationRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActLocatorParticipationRepository.java index 747380c61..7bbdc5910 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActLocatorParticipationRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActLocatorParticipationRepository.java @@ -9,6 +9,16 @@ import java.util.Collection; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ActLocatorParticipationRepository extends JpaRepository { @Query("SELECT data FROM ActLocatorParticipation data WHERE data.actUid = :uid") Collection findRecordsById(@Param("uid") Long uid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRelationshipHistoryRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRelationshipHistoryRepository.java index 63dcbe975..bb5f77cf1 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRelationshipHistoryRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRelationshipHistoryRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ActRelationshipHistoryRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRelationshipRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRelationshipRepository.java index d6daef487..eb82dcd4b 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRelationshipRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRelationshipRepository.java @@ -11,6 +11,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ActRelationshipRepository extends JpaRepository { @Query("SELECT data FROM ActRelationship data WHERE data.targetActUid = :uid") Optional> findRecordsByActUid(@Param("uid") Long uid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRepository.java index aea808430..b9495a998 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/ActRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ActRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/NbsActEntityHistRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/NbsActEntityHistRepository.java index 8d2e3df73..49718ec0a 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/NbsActEntityHistRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/NbsActEntityHistRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NbsActEntityHistRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/NbsActEntityRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/NbsActEntityRepository.java index e8a91ac00..af1a84627 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/NbsActEntityRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/NbsActEntityRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NbsActEntityRepository extends JpaRepository { /** * private final String SELECT_ACT_ENTITY_COLLECTION="SELECT nbs_act_entity_uid \"nbsActEntityUid\", add_time \"addTime\", add_user_id \"addUserId\", last_chg_time \"lastChgTime\", last_chg_user_id \"lastChgUserId\", act_uid \"actUid\", entity_uid \"entityUid\", type_cd \"typeCd\", entity_version_ctrl_nbr \"entityVersionCtrlNbr\" diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/WAQuestionRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/WAQuestionRepository.java index c011b606d..554612ada 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/WAQuestionRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/act/WAQuestionRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface WAQuestionRepository extends JpaRepository { @Query(value = ComplexQueries.GENERIC_QUESTION_OID_METADATA_SQL, nativeQuery = true) Optional> findGenericQuestionMetaData(); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/auth/AuthUserRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/auth/AuthUserRepository.java index a3e182124..3a9db472f 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/auth/AuthUserRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/auth/AuthUserRepository.java @@ -9,6 +9,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface AuthUserRepository extends JpaRepository { @Query("SELECT data FROM AuthUser data WHERE data.userId = :userId") Optional findAuthUserByUserId(@Param("userId") String userId); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/dsm/DsmAlgorithmRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/dsm/DsmAlgorithmRepository.java index 01b1be002..3c174f641 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/dsm/DsmAlgorithmRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/dsm/DsmAlgorithmRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface DsmAlgorithmRepository extends JpaRepository { // SELECT_DSM_ALGORITHM_LIST ="SELECT dsm_algorithm_uid \"dsmAlgorithmUid\", algorithm_nm \"algorithmNm\", event_type \"eventType\", condition_list \"conditionList\", frequency \"frequency\" , apply_to \"applyTo\", sending_system_list \"sendingSystemList\", reporting_system_list \"reportingSystemList\", event_action \"eventAction\"," diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/edx/EdxDocumentRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/edx/EdxDocumentRepository.java index 011637f18..f43420664 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/edx/EdxDocumentRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/edx/EdxDocumentRepository.java @@ -11,6 +11,16 @@ @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface EdxDocumentRepository extends JpaRepository { /* * String SELECT_EDX_DOCUMENT_COLLECTION = "SELECT EDX_Document_uid \"eDXDocumentUid\", act_uid \"actUid\", diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/edx/EdxEventProcessRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/edx/EdxEventProcessRepository.java index 66542e52b..6565a269f 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/edx/EdxEventProcessRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/edx/EdxEventProcessRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface EdxEventProcessRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityIdRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityIdRepository.java index f938c090d..340405534 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityIdRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityIdRepository.java @@ -12,6 +12,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface EntityIdRepository extends JpaRepository { @Query("SELECT pn FROM EntityId pn WHERE pn.entityUid = :parentUid") Optional> findByParentUid(@Param("parentUid") Long parentUid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityLocatorParticipationRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityLocatorParticipationRepository.java index c9c98dafa..8f66c93fc 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityLocatorParticipationRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityLocatorParticipationRepository.java @@ -11,6 +11,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface EntityLocatorParticipationRepository extends JpaRepository { @Query("SELECT pn FROM EntityLocatorParticipation pn WHERE pn.entityUid = :parentUid") Optional> findByParentUid(@Param("parentUid") Long parentUid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityRepository.java index a1df0ac4a..b3b470594 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/entity/EntityRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface EntityRepository extends JpaRepository { } \ No newline at end of file diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/LocalUidGeneratorRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/LocalUidGeneratorRepository.java index 938ed0e29..ae2c799e7 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/LocalUidGeneratorRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/LocalUidGeneratorRepository.java @@ -8,6 +8,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface LocalUidGeneratorRepository extends JpaRepository { @Query("select lug from LocalUidGenerator lug where lug.classNameCd = :id") Optional findByIdForUpdate(String id); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/PhysicalLocatorRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/PhysicalLocatorRepository.java index 9911ba5d0..8dc75b81f 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/PhysicalLocatorRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/PhysicalLocatorRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface PhysicalLocatorRepository extends JpaRepository { @Query(value = "SELECT x FROM PhysicalLocator x WHERE x.physicalLocatorUid IN :uids", nativeQuery = false) Optional> findByPhysicalLocatorUids(@Param("uids") List uids); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/PostalLocatorRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/PostalLocatorRepository.java index 95d1fdea4..845beaec9 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/PostalLocatorRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/PostalLocatorRepository.java @@ -11,6 +11,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface PostalLocatorRepository extends JpaRepository { @Query(value = "SELECT x FROM PostalLocator x WHERE x.postalLocatorUid IN :uids", nativeQuery = false) Optional> findByPostalLocatorUids(@Param("uids") List uids); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/TeleLocatorRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/TeleLocatorRepository.java index 515c694c1..051b6b08d 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/TeleLocatorRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/locator/TeleLocatorRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface TeleLocatorRepository extends JpaRepository { @Query(value = "SELECT x FROM TeleLocator x WHERE x.teleLocatorUid IN :uids", nativeQuery = false) Optional> findByTeleLocatorUids(@Param("uids") List uids); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/EdxActivityDetailLogRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/EdxActivityDetailLogRepository.java index d5a3b3cfd..9318e2fc9 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/EdxActivityDetailLogRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/EdxActivityDetailLogRepository.java @@ -9,6 +9,16 @@ import java.util.List; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface EdxActivityDetailLogRepository extends JpaRepository { @Query(value = "SELECT edx_activity_detail_log_uid FROM NBS_ODSE.dbo.EDX_activity_detail_log WHERE edx_activity_log_uid = :edxActivityLogUid AND log_comment = :logComment", nativeQuery = true) List findIdsByEdxActivityLogUidAndLogComment(@Param("edxActivityLogUid") Long edxActivityLogUid, @Param("logComment") String logComment); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/EdxActivityLogRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/EdxActivityLogRepository.java index cae8a6b11..904c2d992 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/EdxActivityLogRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/EdxActivityLogRepository.java @@ -7,6 +7,16 @@ import java.util.Optional; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface EdxActivityLogRepository extends JpaRepository { @Query("SELECT eal FROM EdxActivityLog eal WHERE eal.sourceUid = :sourceUid") diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/MessageLogRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/MessageLogRepository.java index ba726ab5d..0eb4d3e7c 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/MessageLogRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/MessageLogRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface MessageLogRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/NNDActivityLogRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/NNDActivityLogRepository.java index e325fd4ce..9a6929060 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/NNDActivityLogRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/log/NNDActivityLogRepository.java @@ -3,5 +3,15 @@ import gov.cdc.dataprocessing.repository.nbs.odse.model.log.NNDActivityLog; import org.springframework.data.jpa.repository.JpaRepository; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NNDActivityLogRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/lookup/LookupMappingRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/lookup/LookupMappingRepository.java index 388d0dfb2..a9675bfc6 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/lookup/LookupMappingRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/lookup/LookupMappingRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface LookupMappingRepository extends JpaRepository { @Query(value = "SELECT " + " LOOKUP_QUESTION.*, " + diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/matching/EdxEntityMatchRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/matching/EdxEntityMatchRepository.java index 4eb604791..9aa94786f 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/matching/EdxEntityMatchRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/matching/EdxEntityMatchRepository.java @@ -5,6 +5,16 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface EdxEntityMatchRepository extends JpaRepository { } \ No newline at end of file diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/matching/EdxPatientMatchRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/matching/EdxPatientMatchRepository.java index edadbc91a..cb7279728 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/matching/EdxPatientMatchRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/matching/EdxPatientMatchRepository.java @@ -8,6 +8,16 @@ import org.springframework.transaction.annotation.Transactional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface EdxPatientMatchRepository extends JpaRepository { @Transactional @Modifying diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/material/ManufacturedMaterialRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/material/ManufacturedMaterialRepository.java index c2a9aa778..ca5738f65 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/material/ManufacturedMaterialRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/material/ManufacturedMaterialRepository.java @@ -8,6 +8,16 @@ import java.util.List; import java.util.Optional; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ManufacturedMaterialRepository extends JpaRepository { @Query("SELECT data FROM ManufacturedMaterial data WHERE data.materialUid = :parentUid") Optional> findByParentUid(@Param("parentUid") Long parentUid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/material/MaterialRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/material/MaterialRepository.java index c875266c3..19a4d9883 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/material/MaterialRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/material/MaterialRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface MaterialRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsAnswerHistRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsAnswerHistRepository.java index a7a636b7b..66e748332 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsAnswerHistRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsAnswerHistRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NbsAnswerHistRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsAnswerRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsAnswerRepository.java index 814d27e58..86a10a5e0 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsAnswerRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsAnswerRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NbsAnswerRepository extends JpaRepository { /** * diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsCaseAnswerRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsCaseAnswerRepository.java index 3533b89fe..003dda33d 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsCaseAnswerRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsCaseAnswerRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NbsCaseAnswerRepository extends JpaRepository { // private final String SELECT_NBS_ANSWER_COLLECTION = "SELECT nbs_case_answer_uid \"nbsCaseAnswerUid\", seq_nbr \"seqNbr\", add_time \"addTime\", add_user_id \"addUserId\", answer_txt \"answerTxt\", last_chg_time \"lastChgTime\", last_chg_user_id \"lastChgUserId\", nbs_question_uid \"nbsQuestionUid\", act_uid \"actUid\", nbs_question_version_ctrl_nbr \"nbsQuestionVersionCtrlNbr\", answer_large_txt \"answerLargeTxt\",nbs_table_metadata_uid \"nbsTableMetadataUid\", answer_group_seq_nbr \"answerGroupSeqNbr\" FROM " diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsDocumentHistRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsDocumentHistRepository.java index b3a346307..940ff9c74 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsDocumentHistRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsDocumentHistRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NbsDocumentHistRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsDocumentRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsDocumentRepository.java index 7f18d4986..3e99875b1 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsDocumentRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsDocumentRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NbsDocumentRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsNoteRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsNoteRepository.java index 4ac805855..03ba6b14a 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsNoteRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsNoteRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NbsNoteRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsUiMetaDataRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsUiMetaDataRepository.java index e47254b62..081915ef9 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsUiMetaDataRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/nbs/NbsUiMetaDataRepository.java @@ -11,6 +11,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NbsUiMetaDataRepository extends JpaRepository { @Query(value = ComplexQueries.DMB_QUESTION_OID_METADATA_SQL, nativeQuery = true) Optional> findDmbQuestionMetaData(); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/notification/NotificationRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/notification/NotificationRepository.java index dad4a0253..992f61c75 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/notification/NotificationRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/notification/NotificationRepository.java @@ -8,6 +8,16 @@ @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NotificationRepository extends JpaRepository { @Query("SELECT COUNT(*) " + diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueCodedRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueCodedRepository.java index 59ba07ede..4c835e1ed 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueCodedRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueCodedRepository.java @@ -9,6 +9,16 @@ import java.util.Collection; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ObsValueCodedRepository extends JpaRepository { @Query("SELECT data FROM ObsValueCoded data WHERE data.observationUid = :uid") Collection findRecordsById(@Param("uid") Long uid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueDateRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueDateRepository.java index c8255f342..eb808f0cb 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueDateRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueDateRepository.java @@ -9,6 +9,16 @@ import java.util.Collection; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ObsValueDateRepository extends JpaRepository { @Query("SELECT data FROM ObsValueDate data WHERE data.observationUid = :uid") Collection findRecordsById(@Param("uid") Long uid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueNumericRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueNumericRepository.java index b38c9b79a..bc509efdd 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueNumericRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueNumericRepository.java @@ -9,6 +9,16 @@ import java.util.Collection; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ObsValueNumericRepository extends JpaRepository { @Query("SELECT data FROM ObsValueNumeric data WHERE data.observationUid = :uid") Collection findRecordsById(@Param("uid") Long uid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueTxtRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueTxtRepository.java index 02ec19e03..bcd61cd82 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueTxtRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObsValueTxtRepository.java @@ -9,6 +9,16 @@ import java.util.Collection; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ObsValueTxtRepository extends JpaRepository { @Query("SELECT data FROM ObsValueTxt data WHERE data.observationUid = :uid") Collection findRecordsById(@Param("uid") Long uid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationInterpRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationInterpRepository.java index b3d163bc4..76cea592c 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationInterpRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationInterpRepository.java @@ -9,6 +9,16 @@ import java.util.Collection; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ObservationInterpRepository extends JpaRepository { @Query("SELECT data FROM ObservationInterp data WHERE data.observationUid = :uid") Collection findRecordsById(@Param("uid") Long uid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationReasonRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationReasonRepository.java index 384a1166c..d5caf69e7 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationReasonRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationReasonRepository.java @@ -9,6 +9,16 @@ import java.util.Collection; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ObservationReasonRepository extends JpaRepository { /** * public static final String SELECT_OBSERVATION_REASONS = diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationRepository.java index 53b934aa4..e2179b6b2 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/ObservationRepository.java @@ -11,6 +11,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ObservationRepository extends JpaRepository { @Query(value = ComplexQueries.RETRIEVE_OBSERVATION_QUESTION_SQL, nativeQuery = true) diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/Observation_SummaryRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/Observation_SummaryRepository.java index 58f7469dc..136c671e7 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/Observation_SummaryRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/observation/Observation_SummaryRepository.java @@ -6,6 +6,16 @@ import java.util.Collection; import java.util.Optional; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface Observation_SummaryRepository { Collection findAllActiveLabReportUidListForManage(Long investigationUid, String whereClause); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationHistRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationHistRepository.java index a6d3fd4d0..99d1d2dc9 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationHistRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationHistRepository.java @@ -4,5 +4,15 @@ import gov.cdc.dataprocessing.repository.nbs.odse.model.organization.OrganizationHist; import org.springframework.data.jpa.repository.JpaRepository; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface OrganizationHistRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationNameHistRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationNameHistRepository.java index 706d64249..0b379bc04 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationNameHistRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationNameHistRepository.java @@ -4,5 +4,15 @@ import gov.cdc.dataprocessing.repository.nbs.odse.model.organization.OrganizationNameHist; import org.springframework.data.jpa.repository.JpaRepository; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface OrganizationNameHistRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationNameRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationNameRepository.java index e26fb3509..f33d476f8 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationNameRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationNameRepository.java @@ -9,6 +9,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface OrganizationNameRepository extends JpaRepository { Optional> findByOrganizationUid(long organizationUID); } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationRepository.java index cdfa0fbd4..4aa326668 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/organization/OrganizationRepository.java @@ -4,6 +4,16 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface OrganizationRepository extends JpaRepository { } \ No newline at end of file diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/participation/ParticipationHistRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/participation/ParticipationHistRepository.java index 0029f413b..0fc81b0b3 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/participation/ParticipationHistRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/participation/ParticipationHistRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ParticipationHistRepository extends JpaRepository { @Query("SELECT data.versionCtrlNbr FROM ParticipationHist data WHERE data.subjectEntityUid = ?1 AND data.actUid = ?2 AND data.typeCd = ?3") Optional> findVerNumberByKey(Long subjectEntityUid, Long actUid, String typeCd); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/participation/ParticipationRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/participation/ParticipationRepository.java index efc558ca1..653329d6a 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/participation/ParticipationRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/participation/ParticipationRepository.java @@ -14,6 +14,16 @@ @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ParticipationRepository extends JpaRepository { @Query("SELECT data FROM Participation data WHERE data.actUid = :uid") Optional> findByActUid(@Param("uid") Long uid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonEthnicRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonEthnicRepository.java index 677c4608e..8c9250d90 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonEthnicRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonEthnicRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface PersonEthnicRepository extends JpaRepository { @Query("SELECT pn FROM PersonEthnicGroup pn WHERE pn.personUid = :parentUid") Optional> findByParentUid(@Param("parentUid") Long parentUid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonNameRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonNameRepository.java index 40aee6779..660aeda5a 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonNameRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonNameRepository.java @@ -12,6 +12,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface PersonNameRepository extends JpaRepository { @Query("SELECT pn FROM PersonName pn WHERE pn.personUid = :parentUid") Optional> findByParentUid(@Param("parentUid") Long parentUid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonRaceRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonRaceRepository.java index c19367ee6..b30adbc8a 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonRaceRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonRaceRepository.java @@ -13,6 +13,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface PersonRaceRepository extends JpaRepository { @Query("SELECT pn FROM PersonRace pn WHERE pn.personUid = :parentUid") Optional> findByParentUid(@Param("parentUid") Long parentUid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonRepository.java index 7f970b4cb..f6546b306 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/person/PersonRepository.java @@ -12,6 +12,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface PersonRepository extends JpaRepository { @Query("SELECT pn FROM Person pn WHERE pn.personParentUid = :parentUid") Optional> findByParentUid(@Param("parentUid") Long parentUid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/CaseManagementRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/CaseManagementRepository.java index 45c859d66..619d8362b 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/CaseManagementRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/CaseManagementRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface CaseManagementRepository extends JpaRepository { @Query("SELECT data FROM CaseManagement data WHERE data.publicHealthCaseUid = :uid") Optional> findRecordsByPhcUid(@Param("uid") Long phcUid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ClinicalDocumentRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ClinicalDocumentRepository.java index a2661a0f1..30fbb87da 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ClinicalDocumentRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ClinicalDocumentRepository.java @@ -5,6 +5,16 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ClinicalDocumentRepository extends JpaRepository { } \ No newline at end of file diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ConfirmationMethodRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ConfirmationMethodRepository.java index 698531816..6de284251 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ConfirmationMethodRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ConfirmationMethodRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ConfirmationMethodRepository extends JpaRepository { @Query("SELECT data FROM ConfirmationMethod data WHERE data.publicHealthCaseUid = :uid") Optional> findRecordsByPhcUid(@Param("uid") Long phcUid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/EntityGroupRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/EntityGroupRepository.java index bcbc5f42d..9d80d12b7 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/EntityGroupRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/EntityGroupRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface EntityGroupRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/NonPersonLivingSubjectRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/NonPersonLivingSubjectRepository.java index 4776a8b90..be43d2ef9 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/NonPersonLivingSubjectRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/NonPersonLivingSubjectRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface NonPersonLivingSubjectRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PatientEncounterRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PatientEncounterRepository.java index 62923b053..8146135d5 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PatientEncounterRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PatientEncounterRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface PatientEncounterRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PlaceRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PlaceRepository.java index fe9315d8b..afafd1111 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PlaceRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PlaceRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface PlaceRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PublicHealthCaseRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PublicHealthCaseRepository.java index 536901600..4ecd5840c 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PublicHealthCaseRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/PublicHealthCaseRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface PublicHealthCaseRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ReferralRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ReferralRepository.java index 535aed336..7680dd4b2 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ReferralRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/phc/ReferralRepository.java @@ -5,6 +5,16 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ReferralRepository extends JpaRepository { } \ No newline at end of file diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/role/RoleRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/role/RoleRepository.java index af65fb375..fbb344c69 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/role/RoleRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/odse/repos/role/RoleRepository.java @@ -12,6 +12,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface RoleRepository extends JpaRepository { @Query("SELECT pn FROM Role pn WHERE pn.subjectEntityUid = :parentUid") Optional> findByParentUid(@Param("parentUid") Long parentUid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/CodeValueGeneralRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/CodeValueGeneralRepository.java index 38500014d..85334bf28 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/CodeValueGeneralRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/CodeValueGeneralRepository.java @@ -9,6 +9,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface CodeValueGeneralRepository extends JpaRepository { Optional findByCodeSetNmAndCode(String codeSetNm, String code); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ConditionCodeRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ConditionCodeRepository.java index 450526005..a942830a4 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ConditionCodeRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ConditionCodeRepository.java @@ -12,6 +12,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ConditionCodeRepository extends JpaRepository { @Query("SELECT cc.progAreaCd AS key FROM ConditionCode cc " + "WHERE cc.conditionCd = (SELECT lr.defaultConditionCd FROM LabResult lr WHERE lr.laboratoryId = :laboratoryId AND lr.labResultCd = :labResultCd)") diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ElrXrefRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ElrXrefRepository.java index f7199dc3b..ddda8e487 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ElrXrefRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ElrXrefRepository.java @@ -9,6 +9,16 @@ @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ElrXrefRepository extends JpaRepository { /** diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/JurisdictionCodeRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/JurisdictionCodeRepository.java index 4ce0d6c56..9a6e8e003 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/JurisdictionCodeRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/JurisdictionCodeRepository.java @@ -9,6 +9,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface JurisdictionCodeRepository extends JpaRepository { /** diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/JurisdictionParticipationRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/JurisdictionParticipationRepository.java index 388cc5b28..02fa5212e 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/JurisdictionParticipationRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/JurisdictionParticipationRepository.java @@ -11,6 +11,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface JurisdictionParticipationRepository extends JpaRepository { diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LOINCCodeRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LOINCCodeRepository.java index fb260aef9..81df275da 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LOINCCodeRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LOINCCodeRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface LOINCCodeRepository extends JpaRepository { @Query(value = "select * from LOINC_code where time_aspect = 'Pt' and system_cd = '^Patient'", nativeQuery = true) diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabResultRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabResultRepository.java index 019379e8e..27871c760 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabResultRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabResultRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface LabResultRepository extends JpaRepository { @Query(value = "SELECT lr.defaultConditionCd FROM LabResult lr WHERE lr.labResultCd = :labResultCd AND lr.laboratoryId = :laboratoryId") Optional> findDefaultConditionCdByLabResultCdAndLaboratoryId(@Param("labResultCd") String labResultCd, @Param("laboratoryId") String laboratoryId); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabResultSnomedRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabResultSnomedRepository.java index a896eb0b6..632c9ea83 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabResultSnomedRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabResultSnomedRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface LabResultSnomedRepository extends JpaRepository { @Query(value = "SELECT lr.snomedCd FROM LabResultSnomed lr WHERE lr.laboratoryId = :laboratoryId AND lr.labResultCd = :labResultCd") Optional> findSnomedCds(@Param("laboratoryId") String laboratoryId, @Param("labResultCd") String labResultCd); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabTestLoincRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabTestLoincRepository.java index bd670079b..97317afde 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabTestLoincRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabTestLoincRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface LabTestLoincRepository extends JpaRepository { @Query(value = "SELECT lr.loincCd FROM LabTestLoinc lr WHERE lr.laboratoryId = :laboratoryId AND lr.labTestCd = :labTestCd") Optional> findLoincCds(@Param("laboratoryId") String laboratoryId, @Param("labTestCd") String labTestCd); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabTestRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabTestRepository.java index a733feffe..8a8efa08a 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabTestRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/LabTestRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface LabTestRepository extends JpaRepository { @Query(value = "SELECT lr.defaultConditionCd FROM LabTest lr WHERE lr.laboratoryId = :laboratoryId AND lr.labTestCd = :labTestCd") Optional> findDefaultConditionForLabTest(@Param("laboratoryId") String laboratoryId, @Param("labTestCd") String labTestCd); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ProgramAreaCodeRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ProgramAreaCodeRepository.java index e4ca7351d..3a84daffc 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ProgramAreaCodeRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/ProgramAreaCodeRepository.java @@ -5,5 +5,15 @@ import org.springframework.stereotype.Repository; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ProgramAreaCodeRepository extends JpaRepository { } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/RaceCodeRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/RaceCodeRepository.java index 5526773f9..ac01c5550 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/RaceCodeRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/RaceCodeRepository.java @@ -9,6 +9,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface RaceCodeRepository extends JpaRepository { /** diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/SnomedCodeRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/SnomedCodeRepository.java index 190d6ac11..28e86861c 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/SnomedCodeRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/SnomedCodeRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface SnomedCodeRepository extends JpaRepository { @Query("SELECT sc FROM SnomedCode sc WHERE sc.snomedCd = :snomedCd") Optional> findSnomedProgramAreaExclusion(@Param("snomedCd") String snomedCd); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/SnomedConditionRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/SnomedConditionRepository.java index bbd7c1fc5..288ea6241 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/SnomedConditionRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/SnomedConditionRepository.java @@ -10,6 +10,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface SnomedConditionRepository extends JpaRepository { @Query("SELECT DISTINCT data.conditionCd FROM SnomedCondition data WHERE data.snomedCd = :cd") Optional> getConditionForSnomedCode(@Param("cd") String cd); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/StateCodeRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/StateCodeRepository.java index 440cd298c..3a2d0cdac 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/StateCodeRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/StateCodeRepository.java @@ -7,6 +7,16 @@ import java.util.Optional; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface StateCodeRepository extends JpaRepository { @Query("SELECT pn FROM StateCode pn WHERE pn.stateNm = :state_nm") Optional findStateCdByStateName( @Param("state_nm") String stateName); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/StateCountyCodeValueRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/StateCountyCodeValueRepository.java index 67ebc45b0..3765c1172 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/StateCountyCodeValueRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/StateCountyCodeValueRepository.java @@ -9,6 +9,16 @@ import java.util.Optional; @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface StateCountyCodeValueRepository extends JpaRepository { @Query(value = "SELECT * FROM State_county_code_value WHERE INDENT_LEVEL_NBR='2' ", nativeQuery = true) Optional> findByIndentLevelNbr(); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/custom/SrteCustomRepository.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/custom/SrteCustomRepository.java index e35768a19..64232ceaa 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/custom/SrteCustomRepository.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/repository/nbs/srte/repository/custom/SrteCustomRepository.java @@ -7,6 +7,16 @@ @Repository +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface SrteCustomRepository { List getAllLabResultJoinWithLabCodingSystemWithOrganismNameInd(); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/security/config/DataProcessingSecurityConfig.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/security/config/DataProcessingSecurityConfig.java index 678de30bd..a61091d24 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/security/config/DataProcessingSecurityConfig.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/security/config/DataProcessingSecurityConfig.java @@ -22,6 +22,7 @@ */ @SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public class DataProcessingSecurityConfig { + @SuppressWarnings("java:S112") @Bean public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception { http diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/AutoInvestigationService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/AutoInvestigationService.java index b2d63bcfb..94d1e59ac 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/AutoInvestigationService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/AutoInvestigationService.java @@ -394,7 +394,7 @@ else if (obs.getTheObsValueTxtDtoCollection() != null && obs.getTheObsValueTxtDt @SuppressWarnings("java:S3776") private void populateFromPrePopMapping(TreeMap prePopMap, PageActProxyContainer pageActProxyContainer) - throws Exception { + throws DataProcessingException { try { PublicHealthCaseDto phcDT = pageActProxyContainer.getPublicHealthCaseContainer().getThePublicHealthCaseDto(); var res = conditionCodeRepository.findProgramAreaConditionCode( diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/DecisionSupportService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/DecisionSupportService.java index 16c348942..15d8c5bcd 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/DecisionSupportService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/DecisionSupportService.java @@ -574,7 +574,7 @@ private Collection selectDSMAlgorithmDTCollection() throws DataPro private Algorithm parseAlgorithmXml(String xmlPayLoadContent) - throws Exception { + throws DataProcessingException { Algorithm algorithmDocument; try { @@ -594,7 +594,7 @@ private Algorithm parseAlgorithmXml(String xmlPayLoadContent) /** * Execute when action in available * */ - @SuppressWarnings({"java:S6541", "java:S3776"}) + @SuppressWarnings({"java:S6541", "java:S3776", "javaS3740"}) protected boolean specimenCollectionDateCriteria(EventDateLogicType eventDateLogicType, EdxLabInformationDto edxLabInformationDT) throws DataProcessingException { boolean isdateLogicValidForNewInv; @@ -672,7 +672,7 @@ else if(eventDateLogicType.getElrTimeLogic()!=null } } }else{ - isdateLogicValidForNewInv= true; + isdateLogicValidForNewInv= true; //NOSONAR } } } @@ -692,6 +692,7 @@ else if(eventDateLogicType.getElrTimeLogic()!=null return isdateLogicValidForNewInv; } + @SuppressWarnings("java:S1871") protected boolean specimenDateTimeCheck(String comparatorCode, int daysDifference, int value, boolean isdateLogicValidWithThisInv) { if (comparatorCode.contains(NEDSSConstant.LESS_THAN_LOGIC) && daysDifference > value) { @@ -855,7 +856,7 @@ else if (actionType.getCreateInvestigationWithNND() != null) } else if (actionType.getDeleteDocument() != null) { - DeleteDocumentType specificActionType = actionType.getDeleteDocument(); + DeleteDocumentType specificActionType = actionType.getDeleteDocument(); //NOSONAR } if (applicationMap.size() > 0) diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/LookupService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/LookupService.java index 619637f9c..39ac5590a 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/LookupService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/investigation/LookupService.java @@ -162,7 +162,7 @@ private Collection retrievePrePopMapping () { } @SuppressWarnings("java:S3776") - private static void createPrePopFromMap(Collection coll) throws Exception { + private static void createPrePopFromMap(Collection coll) throws DataProcessingException { int count = 0; int loopcount = 0; int sizecount = 0; @@ -353,7 +353,7 @@ private static void createPrePopToMap(Collection coll) throws @SuppressWarnings("java:S3776") - private TreeMap createDMBQuestionMap(Collection coll) throws Exception{ + private TreeMap createDMBQuestionMap(Collection coll) throws DataProcessingException{ TreeMap qCodeMap = new TreeMap<>(); int count =0; int loopcount=0; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/person/base/ProviderMatchingBaseService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/person/base/ProviderMatchingBaseService.java index 48949ce24..29c6c35a1 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/person/base/ProviderMatchingBaseService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/implementation/person/base/ProviderMatchingBaseService.java @@ -186,7 +186,7 @@ protected Long persistingProvider(PersonContainer personContainer, String busine } @SuppressWarnings("java:S3776") - protected void setProvidertoEntityMatch(PersonContainer personContainer) throws Exception { + protected void setProvidertoEntityMatch(PersonContainer personContainer) throws DataProcessingException { Long entityUid = personContainer.getThePersonDto().getPersonUid(); String identifier ; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/act/IActRelationshipService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/act/IActRelationshipService.java index 4f1bcf7f5..b956a756e 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/act/IActRelationshipService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/act/IActRelationshipService.java @@ -5,6 +5,16 @@ import java.util.Collection; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IActRelationshipService { Collection loadActRelationshipBySrcIdAndTypeCode(Long uid, String type); void saveActRelationship(ActRelationshipDto actRelationshipDto) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/action/ILabReportProcessing.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/action/ILabReportProcessing.java index 733c9ea4e..dba737170 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/action/ILabReportProcessing.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/action/ILabReportProcessing.java @@ -3,6 +3,16 @@ import gov.cdc.dataprocessing.exception.DataProcessingException; import gov.cdc.dataprocessing.model.dto.lab_result.EdxLabInformationDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ILabReportProcessing { String markAsReviewedHandler(Long observationUid, EdxLabInformationDto edxLabInformationDT) throws DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/answer/IAnswerService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/answer/IAnswerService.java index 3d434daea..28f9f9618 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/answer/IAnswerService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/answer/IAnswerService.java @@ -8,6 +8,16 @@ import java.util.Collection; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IAnswerService { PageContainer getNbsAnswerAndAssociation(Long uid) throws DataProcessingException; void storePageAnswer(PageContainer pageContainer, ObservationDto observationDto) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/auth_user/IAuthUserService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/auth_user/IAuthUserService.java index 7127ea6da..222df102d 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/auth_user/IAuthUserService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/auth_user/IAuthUserService.java @@ -3,6 +3,16 @@ import gov.cdc.dataprocessing.exception.DataProcessingException; import gov.cdc.dataprocessing.service.model.auth_user.AuthUserProfileInfo; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IAuthUserService { AuthUserProfileInfo getAuthUserInfo(String authUserId) throws DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/cache/ICatchingValueService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/cache/ICatchingValueService.java index a50c1a4ac..014238dc0 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/cache/ICatchingValueService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/cache/ICatchingValueService.java @@ -9,6 +9,16 @@ import java.util.HashMap; import java.util.List; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ICatchingValueService { // HashMap getCodedValues(String pType) throws DataProcessingException; HashMap getRaceCodes() throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/data_extraction/IDataExtractionService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/data_extraction/IDataExtractionService.java index ee288d5d0..24d4a17c5 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/data_extraction/IDataExtractionService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/data_extraction/IDataExtractionService.java @@ -7,6 +7,16 @@ import gov.cdc.dataprocessing.repository.nbs.msgoute.model.NbsInterfaceModel; import jakarta.xml.bind.JAXBException; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IDataExtractionService { LabResultProxyContainer parsingDataToObject(NbsInterfaceModel nbsInterfaceModel, EdxLabInformationDto edxLabInformationDto) throws DataProcessingConsumerException, JAXBException, DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/entity/IEntityLocatorParticipationService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/entity/IEntityLocatorParticipationService.java index dfd7be0aa..81bc4532c 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/entity/IEntityLocatorParticipationService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/entity/IEntityLocatorParticipationService.java @@ -7,6 +7,16 @@ import java.util.Collection; import java.util.List; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IEntityLocatorParticipationService { void updateEntityLocatorParticipation(Collection locatorCollection, Long uid) throws DataProcessingException; void createEntityLocatorParticipation(Collection locatorCollection, Long uid) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/jurisdiction/IJurisdictionService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/jurisdiction/IJurisdictionService.java index c7eb6f299..90048f3de 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/jurisdiction/IJurisdictionService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/jurisdiction/IJurisdictionService.java @@ -10,6 +10,16 @@ import java.util.List; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IJurisdictionService { String deriveJurisdictionCd(BaseContainer proxyVO, ObservationDto rootObsDT) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/jurisdiction/IProgramAreaService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/jurisdiction/IProgramAreaService.java index f1982273f..5c8215570 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/jurisdiction/IProgramAreaService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/jurisdiction/IProgramAreaService.java @@ -8,6 +8,16 @@ import java.util.Collection; import java.util.List; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IProgramAreaService { void getProgramArea(Collection observationResults, ObservationContainer observationRequest, String clia) throws DataProcessingException; List getAllProgramAreaCode(); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/IEdxLogService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/IEdxLogService.java index 19fc701fd..4cd954e5e 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/IEdxLogService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/IEdxLogService.java @@ -7,6 +7,16 @@ import gov.cdc.dataprocessing.repository.nbs.msgoute.model.NbsInterfaceModel; import gov.cdc.dataprocessing.repository.nbs.odse.model.log.EdxActivityDetailLog; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IEdxLogService { EdxActivityDetailLog saveEdxActivityDetailLog(EDXActivityDetailLogDto detailLogDto) throws EdxLogException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/IMessageLogService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/IMessageLogService.java index bfca67e7b..17f2661c1 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/IMessageLogService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/IMessageLogService.java @@ -5,6 +5,16 @@ import java.util.Collection; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IMessageLogService { void saveMessageLog(Collection messageLogDtoCollection) throws DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/INNDActivityLogService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/INNDActivityLogService.java index ac6f82e91..b23d805c7 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/INNDActivityLogService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/log/INNDActivityLogService.java @@ -3,6 +3,16 @@ import gov.cdc.dataprocessing.exception.DataProcessingException; import gov.cdc.dataprocessing.model.dto.log.NNDActivityLogDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface INNDActivityLogService { void saveNddActivityLog(NNDActivityLogDto nndActivityLogDto) throws DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/lookup_data/ILookupService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/lookup_data/ILookupService.java index 07ef64852..3b28fac6c 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/lookup_data/ILookupService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/lookup_data/ILookupService.java @@ -4,6 +4,16 @@ import java.util.TreeMap; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ILookupService { TreeMap getToPrePopFormMapping(String formCd) throws DataProcessingException; TreeMap getQuestionMap(); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/lookup_data/ISrteCodeObsService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/lookup_data/ISrteCodeObsService.java index 31bb7979f..1fe03bc41 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/lookup_data/ISrteCodeObsService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/lookup_data/ISrteCodeObsService.java @@ -8,6 +8,16 @@ import java.util.HashMap; import java.util.Map; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ISrteCodeObsService { Map getSnomed(String code, String type, String clia) throws DataProcessingException; String getConditionForSnomedCode(String snomedCd); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerAggregationService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerAggregationService.java index bda33f0a1..308370015 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerAggregationService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerAggregationService.java @@ -5,6 +5,16 @@ import gov.cdc.dataprocessing.model.container.model.LabResultProxyContainer; import gov.cdc.dataprocessing.model.dto.lab_result.EdxLabInformationDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IManagerAggregationService { void serviceAggregationAsync(LabResultProxyContainer labResult, EdxLabInformationDto edxLabInformationDto) throws DataProcessingConsumerException, DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerCacheService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerCacheService.java index b34bc5915..cb2268594 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerCacheService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerCacheService.java @@ -2,6 +2,16 @@ import java.util.concurrent.CompletableFuture; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IManagerCacheService { CompletableFuture loadAndInitCachedValueAsync(); } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerService.java index cc2f443f0..4b0ef3dd6 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/manager/IManagerService.java @@ -4,6 +4,16 @@ import gov.cdc.dataprocessing.exception.DataProcessingException; import gov.cdc.dataprocessing.service.model.phc.PublicHealthCaseFlowContainer; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IManagerService { void processDistribution(Integer data) throws DataProcessingConsumerException; void initiatingInvestigationAndPublicHealthCase(PublicHealthCaseFlowContainer data) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/material/IMaterialService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/material/IMaterialService.java index 608ca6100..cc7c41015 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/material/IMaterialService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/material/IMaterialService.java @@ -3,6 +3,16 @@ import gov.cdc.dataprocessing.exception.DataProcessingException; import gov.cdc.dataprocessing.model.container.model.MaterialContainer; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IMaterialService { MaterialContainer loadMaterialObject(Long materialUid); Long saveMaterial(MaterialContainer materialContainer) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/notification/INotificationService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/notification/INotificationService.java index 6c2ade67b..6b8033f36 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/notification/INotificationService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/notification/INotificationService.java @@ -6,6 +6,16 @@ import gov.cdc.dataprocessing.model.container.model.NotificationProxyContainer; import gov.cdc.dataprocessing.model.dto.notification.NotificationDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface INotificationService { boolean checkForExistingNotification(BaseContainer vo) throws DataProcessingException; NotificationDto getNotificationById(Long uid); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IEdxDocumentService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IEdxDocumentService.java index fe8b5b699..dcf2702c9 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IEdxDocumentService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IEdxDocumentService.java @@ -5,6 +5,16 @@ import java.util.Collection; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IEdxDocumentService { Collection selectEdxDocumentCollectionByActUid(Long uid); EDXDocumentDto saveEdxDocument(EDXDocumentDto edxDocumentDto) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationCodeService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationCodeService.java index d0c688eef..af8297139 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationCodeService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationCodeService.java @@ -7,6 +7,16 @@ import java.util.ArrayList; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IObservationCodeService { ArrayList deriveTheConditionCodeList(LabResultProxyContainer labResultProxyVO, ObservationContainer orderTest) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationMatchingService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationMatchingService.java index 5b24dd78b..2cc9962e1 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationMatchingService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationMatchingService.java @@ -5,6 +5,16 @@ import gov.cdc.dataprocessing.model.dto.lab_result.EdxLabInformationDto; import gov.cdc.dataprocessing.model.dto.observation.ObservationDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IObservationMatchingService { void processMatchedProxyVO(LabResultProxyContainer labResultProxyVO, LabResultProxyContainer matchedlabResultProxyVO, diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationService.java index 53249ee49..afb5b0ec2 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationService.java @@ -4,6 +4,16 @@ import gov.cdc.dataprocessing.model.container.model.LabResultProxyContainer; import gov.cdc.dataprocessing.model.dto.observation.ObservationDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IObservationService { ObservationDto processingLabResultContainer(LabResultProxyContainer labResultProxyContainer) throws DataProcessingException; LabResultProxyContainer getObservationToLabResultContainer(Long observationUid) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationSummaryService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationSummaryService.java index 70289be1d..247b642ed 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationSummaryService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/observation/IObservationSummaryService.java @@ -9,6 +9,16 @@ import java.util.Collection; import java.util.Map; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IObservationSummaryService { Collection findAllActiveLabReportUidListForManage(Long investigationUid, String whereClause) throws DataProcessingException; Map getLabParticipations(Long observationUID) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/organization/IOrganizationMatchingService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/organization/IOrganizationMatchingService.java index 636d35792..dffc595ef 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/organization/IOrganizationMatchingService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/organization/IOrganizationMatchingService.java @@ -4,6 +4,16 @@ import gov.cdc.dataprocessing.model.container.model.OrganizationContainer; import gov.cdc.dataprocessing.model.dto.log.EDXActivityDetailLogDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IOrganizationMatchingService { EDXActivityDetailLogDto getMatchingOrganization( OrganizationContainer organizationContainer) diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/organization/IOrganizationService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/organization/IOrganizationService.java index b266f16f6..e0df80756 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/organization/IOrganizationService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/organization/IOrganizationService.java @@ -5,6 +5,16 @@ import gov.cdc.dataprocessing.model.container.model.OrganizationContainer; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IOrganizationService { OrganizationContainer processingOrganization(LabResultProxyContainer labResultProxyContainer) throws DataProcessingConsumerException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/page_and_pam/IPageService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/page_and_pam/IPageService.java index 2d73b4431..f239d964d 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/page_and_pam/IPageService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/page_and_pam/IPageService.java @@ -3,6 +3,16 @@ import gov.cdc.dataprocessing.exception.DataProcessingException; import gov.cdc.dataprocessing.model.container.model.PageActProxyContainer; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IPageService { Long setPageProxyWithAutoAssoc(String typeCd, PageActProxyContainer pageProxyVO, Long observationUid, String observationTypeCd, String processingDecision) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/page_and_pam/IPamService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/page_and_pam/IPamService.java index 36ae5ad17..955f6407b 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/page_and_pam/IPamService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/page_and_pam/IPamService.java @@ -5,6 +5,16 @@ import gov.cdc.dataprocessing.model.container.model.PamProxyContainer; import gov.cdc.dataprocessing.model.container.model.PublicHealthCaseContainer; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IPamService { Long setPamProxyWithAutoAssoc(PamProxyContainer pamProxyVO, Long observationUid, String observationTypeCd) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/paticipation/IParticipationService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/paticipation/IParticipationService.java index f71ac0851..5df90c256 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/paticipation/IParticipationService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/paticipation/IParticipationService.java @@ -3,6 +3,16 @@ import gov.cdc.dataprocessing.exception.DataProcessingException; import gov.cdc.dataprocessing.model.dto.participation.ParticipationDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IParticipationService { Long findPatientMprUidByObservationUid(String classCode, String typeCode, Long actUid); void saveParticipation(ParticipationDto participationDto) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/INokMatchingService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/INokMatchingService.java index c20fa6bf8..09634ab96 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/INokMatchingService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/INokMatchingService.java @@ -4,6 +4,16 @@ import gov.cdc.dataprocessing.model.container.model.PersonContainer; import gov.cdc.dataprocessing.model.dto.matching.EdxPatientMatchDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface INokMatchingService { EdxPatientMatchDto getMatchingNextOfKin(PersonContainer personContainer) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IPatientMatchingService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IPatientMatchingService.java index 74fa88475..d33252792 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IPatientMatchingService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IPatientMatchingService.java @@ -4,6 +4,16 @@ import gov.cdc.dataprocessing.model.container.model.PersonContainer; import gov.cdc.dataprocessing.model.dto.matching.EdxPatientMatchDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IPatientMatchingService { EdxPatientMatchDto getMatchingPatient(PersonContainer personContainer) throws DataProcessingException; boolean getMultipleMatchFound(); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IPersonService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IPersonService.java index 4a5e88356..f42589c95 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IPersonService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IPersonService.java @@ -6,6 +6,16 @@ import gov.cdc.dataprocessing.model.container.model.PersonContainer; import gov.cdc.dataprocessing.model.dto.lab_result.EdxLabInformationDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IPersonService { PersonContainer processingPatient(LabResultProxyContainer labResultProxyContainer, EdxLabInformationDto edxLabInformationDto, PersonContainer personContainer) throws DataProcessingConsumerException, DataProcessingException; PersonContainer processingNextOfKin(LabResultProxyContainer labResultProxyContainer, PersonContainer personContainer) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IProviderMatchingService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IProviderMatchingService.java index 1bead0d9f..acd5389cc 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IProviderMatchingService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/person/IProviderMatchingService.java @@ -4,6 +4,16 @@ import gov.cdc.dataprocessing.model.container.model.PersonContainer; import gov.cdc.dataprocessing.model.dto.log.EDXActivityDetailLogDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IProviderMatchingService { EDXActivityDetailLogDto getMatchingProvider(PersonContainer personContainer) throws DataProcessingException; Long setProvider(PersonContainer personContainer, String businessTriggerCd) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IAutoInvestigationService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IAutoInvestigationService.java index 426f63085..6e4ff65b4 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IAutoInvestigationService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IAutoInvestigationService.java @@ -10,6 +10,16 @@ import java.util.Collection; import java.util.Map; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IAutoInvestigationService { /** * Description: this method create either pageAct or pam; for object to Become PAM investigation type must be INV_FORM_VAR or INV_FORM_RVCT. diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IContactSummaryService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IContactSummaryService.java index a159985c4..bd3a1d1fe 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IContactSummaryService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IContactSummaryService.java @@ -4,6 +4,16 @@ import java.util.Collection; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IContactSummaryService { Collection getContactListForInvestigation(Long publicHealthCaseUID) throws DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IDecisionSupportService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IDecisionSupportService.java index 59c56d71a..aecbe35f7 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IDecisionSupportService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IDecisionSupportService.java @@ -4,6 +4,16 @@ import gov.cdc.dataprocessing.model.container.model.LabResultProxyContainer; import gov.cdc.dataprocessing.model.dto.lab_result.EdxLabInformationDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IDecisionSupportService { EdxLabInformationDto validateProxyContainer(LabResultProxyContainer labResultProxyVO, EdxLabInformationDto edxLabInformationDT) throws DataProcessingException; diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IInvestigationNotificationService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IInvestigationNotificationService.java index 039d8bedb..a54e4c81f 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IInvestigationNotificationService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IInvestigationNotificationService.java @@ -3,6 +3,16 @@ import gov.cdc.dataprocessing.exception.DataProcessingException; import gov.cdc.dataprocessing.model.dto.log.EDXActivityDetailLogDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IInvestigationNotificationService { EDXActivityDetailLogDto sendNotification(Object pageObj, String nndComment) throws DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IInvestigationService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IInvestigationService.java index cec39c12f..77a75d1eb 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IInvestigationService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IInvestigationService.java @@ -7,6 +7,16 @@ import java.util.Collection; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IInvestigationService { void updateAutoResendNotificationsAsync(BaseContainer v); void setAssociations(Long investigationUID, diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/ILdfService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/ILdfService.java index ae48ddfc3..cd607ba46 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/ILdfService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/ILdfService.java @@ -5,6 +5,16 @@ import java.util.List; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface ILdfService { List getLDFCollection(Long busObjectUid, String conditionCode) throws DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IPublicHealthCaseService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IPublicHealthCaseService.java index 5621f5f88..c5c2f0fe6 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IPublicHealthCaseService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IPublicHealthCaseService.java @@ -3,6 +3,16 @@ import gov.cdc.dataprocessing.exception.DataProcessingException; import gov.cdc.dataprocessing.model.container.model.PublicHealthCaseContainer; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IPublicHealthCaseService { Long setPublicHealthCase(PublicHealthCaseContainer publicHealthCaseContainer) throws DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IRetrieveSummaryService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IRetrieveSummaryService.java index 4b3fd9111..2981ecc82 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IRetrieveSummaryService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/public_health_case/IRetrieveSummaryService.java @@ -7,6 +7,16 @@ import java.util.Collection; import java.util.Map; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IRetrieveSummaryService { void checkBeforeCreateAndStoreMessageLogDTCollection(Long investigationUID, Collection reportSumVOCollection); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/role/IRoleService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/role/IRoleService.java index 3420eaa5a..e667870ca 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/role/IRoleService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/role/IRoleService.java @@ -5,6 +5,16 @@ import java.util.Collection; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IRoleService { Collection findRoleScopedToPatient(Long uid); void saveRole(RoleDto roleDto); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/stored_proc/IMsgOutEStoredProcService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/stored_proc/IMsgOutEStoredProcService.java index ee159e4d6..a6281a2ec 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/stored_proc/IMsgOutEStoredProcService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/stored_proc/IMsgOutEStoredProcService.java @@ -3,6 +3,16 @@ import gov.cdc.dataprocessing.exception.DataProcessingException; import gov.cdc.dataprocessing.model.dto.lab_result.EdxLabInformationDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IMsgOutEStoredProcService { void callUpdateSpecimenCollDateSP(EdxLabInformationDto edxLabInformationDto) throws DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IOdseIdGeneratorService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IOdseIdGeneratorService.java index 3177d3144..bc4a9a8b5 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IOdseIdGeneratorService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IOdseIdGeneratorService.java @@ -1,5 +1,15 @@ package gov.cdc.dataprocessing.service.interfaces.uid_generator; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IOdseIdGeneratorService { // LocalUidGenerator getLocalIdAndUpdateSeed(LocalIdClass localIdClass) throws DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IOdseIdGeneratorWCacheService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IOdseIdGeneratorWCacheService.java index aedea24c6..c998e37c7 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IOdseIdGeneratorWCacheService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IOdseIdGeneratorWCacheService.java @@ -4,6 +4,16 @@ import gov.cdc.dataprocessing.exception.DataProcessingException; import gov.cdc.dataprocessing.model.dto.uid.LocalUidModel; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IOdseIdGeneratorWCacheService { LocalUidModel getValidLocalUid(LocalIdClass localIdClass, boolean gaApplied) throws DataProcessingException; } diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IUidService.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IUidService.java index bd0058f2d..52d7ccbb6 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IUidService.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/service/interfaces/uid_generator/IUidService.java @@ -8,6 +8,16 @@ import gov.cdc.dataprocessing.model.container.model.PamProxyContainer; import gov.cdc.dataprocessing.model.dto.act.ActRelationshipDto; +/** + 125 - Comment complaint + 3776 - Complex complaint + 6204 - Forcing convert to stream to list complaint + 1141 - Nested complaint + 1118 - Private constructor complaint + 1186 - Add nested comment for empty constructor complaint + 6809 - Calling transactional method with This. complaint + */ +@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"}) public interface IUidService { /** * This method checks for the negative uid value for any ACT & ENTITY DT then compare them diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/utilities/DynamicBeanBinding.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/utilities/DynamicBeanBinding.java index f61cb5cc2..e15c2dff7 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/utilities/DynamicBeanBinding.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/utilities/DynamicBeanBinding.java @@ -30,7 +30,7 @@ public class DynamicBeanBinding { * returns */ public static void populateBean(Object bean, String colNm, String colVal) - throws Exception { + throws DataProcessingException { try { @@ -90,7 +90,7 @@ public static void populateBean(Object bean, String colNm, String colVal) } } - private static String getSetterName(String columnName) throws Exception { + private static String getSetterName(String columnName) throws DataProcessingException { try { StringBuilder sb = new StringBuilder("set"); StringTokenizer st = new StringTokenizer(columnName, "_"); @@ -109,7 +109,7 @@ private static String getSetterName(String columnName) throws Exception { @SuppressWarnings("unchecked") private static Map getMethods(Class beanClass) - throws Exception { + throws DataProcessingException { try { if (beanMethodMap.get(beanClass) == null) { Method[] gettingMethods = beanClass.getMethods(); diff --git a/data-processing-service/src/main/java/gov/cdc/dataprocessing/utilities/component/nbs/NbsDocumentRepositoryUtil.java b/data-processing-service/src/main/java/gov/cdc/dataprocessing/utilities/component/nbs/NbsDocumentRepositoryUtil.java index 318abe441..e8dd240b3 100644 --- a/data-processing-service/src/main/java/gov/cdc/dataprocessing/utilities/component/nbs/NbsDocumentRepositoryUtil.java +++ b/data-processing-service/src/main/java/gov/cdc/dataprocessing/utilities/component/nbs/NbsDocumentRepositoryUtil.java @@ -71,7 +71,7 @@ public NbsDocumentContainer getNBSDocumentWithoutActRelationship(Long nbsDocUid) } - public Long updateDocumentWithOutthePatient(NbsDocumentContainer nbsDocVO) throws Exception { + public Long updateDocumentWithOutthePatient(NbsDocumentContainer nbsDocVO) throws DataProcessingException { Long nbsDocUid = null; try { diff --git a/data-processing-service/src/test/java/gov/cdc/dataprocessing/service/implementation/person/base/ProviderMatchingBaseServiceTest.java b/data-processing-service/src/test/java/gov/cdc/dataprocessing/service/implementation/person/base/ProviderMatchingBaseServiceTest.java index 2b1037cec..4c034690a 100644 --- a/data-processing-service/src/test/java/gov/cdc/dataprocessing/service/implementation/person/base/ProviderMatchingBaseServiceTest.java +++ b/data-processing-service/src/test/java/gov/cdc/dataprocessing/service/implementation/person/base/ProviderMatchingBaseServiceTest.java @@ -47,7 +47,7 @@ void setUp() { MockitoAnnotations.openMocks(this); } @Test - void testProcessingProvider_ValidData() throws Exception { + void testProcessingProvider_ValidData() throws DataProcessingException { // Mock the PersonContainer and PersonDto PersonContainer personContainer = mock(PersonContainer.class); PersonDto personDto = mock(PersonDto.class); @@ -71,7 +71,7 @@ void testProcessingProvider_ValidData() throws Exception { } @Test - void testProcessingProvider_ExceptionHandling() throws Exception { + void testProcessingProvider_ExceptionHandling() throws DataProcessingException { // Mock the PersonContainer and PersonDto PersonContainer personContainer = mock(PersonContainer.class); PersonDto personDto = mock(PersonDto.class); @@ -91,7 +91,7 @@ void testProcessingProvider_ExceptionHandling() throws Exception { } @Test - void testProcessingProvider_CallOrgHashCodeTrue() throws Exception { + void testProcessingProvider_CallOrgHashCodeTrue() throws DataProcessingException { // Mock the PersonContainer and PersonDto PersonContainer personContainer = mock(PersonContainer.class); PersonDto personDto = mock(PersonDto.class); @@ -122,7 +122,7 @@ void testProcessingProvider_CallOrgHashCodeTrue() throws Exception { } @Test - void testProcessingProvider_CallOrgHashCodeTrue_Exception() throws Exception { + void testProcessingProvider_CallOrgHashCodeTrue_Exception() throws DataProcessingException { // Mock the PersonContainer and PersonDto PersonContainer personContainer = mock(PersonContainer.class); PersonDto personDto = mock(PersonDto.class); @@ -152,7 +152,7 @@ void testProcessingProvider_CallOrgHashCodeTrue_Exception() throws Exception { } @Test - void testPersistingProvider_NewPerson() throws Exception { + void testPersistingProvider_NewPerson() throws DataProcessingException { // Mock the PersonContainer and PersonDto PersonContainer personContainer = mock(PersonContainer.class); PersonDto personDto = mock(PersonDto.class); @@ -174,7 +174,7 @@ void testPersistingProvider_NewPerson() throws Exception { } @Test - void testSetProvidertoEntityMatch_Success() throws Exception { + void testSetProvidertoEntityMatch_Success() throws DataProcessingException { // Mock the PersonContainer and PersonDto PersonContainer personContainer = mock(PersonContainer.class); PersonDto personDto = mock(PersonDto.class); @@ -201,7 +201,7 @@ void testSetProvidertoEntityMatch_Success() throws Exception { @Test - void testSetProvidertoEntityMatch_SaveEdxEntityMatchException_First() throws Exception { + void testSetProvidertoEntityMatch_SaveEdxEntityMatchException_First() throws DataProcessingException { // Mock the PersonContainer and PersonDto PersonContainer personContainer = mock(PersonContainer.class); PersonDto personDto = mock(PersonDto.class); @@ -228,7 +228,7 @@ void testSetProvidertoEntityMatch_SaveEdxEntityMatchException_First() throws Exc } @Test - void testSetProvidertoEntityMatch_SaveEdxEntityMatchException_Second() throws Exception { + void testSetProvidertoEntityMatch_SaveEdxEntityMatchException_Second() throws DataProcessingException { // Mock the PersonContainer and PersonDto PersonContainer personContainer = mock(PersonContainer.class); PersonDto personDto = mock(PersonDto.class); diff --git a/data-processing-service/src/test/java/gov/cdc/dataprocessing/utilities/component/data_parser/util/EntityIdUtilTest.java b/data-processing-service/src/test/java/gov/cdc/dataprocessing/utilities/component/data_parser/util/EntityIdUtilTest.java index 1dd92a24e..74ea8e53d 100644 --- a/data-processing-service/src/test/java/gov/cdc/dataprocessing/utilities/component/data_parser/util/EntityIdUtilTest.java +++ b/data-processing-service/src/test/java/gov/cdc/dataprocessing/utilities/component/data_parser/util/EntityIdUtilTest.java @@ -314,7 +314,7 @@ void isDateNotOkForDatabase_Test_2() throws ParseException { } @Test - void testIsDateNotOkForDatabase_ExceptionHandling() throws Exception { + void testIsDateNotOkForDatabase_ExceptionHandling() throws Exception { //NOSONAR // Arrange Timestamp timestamp = new Timestamp(System.currentTimeMillis()); SimpleDateFormat mockDateFormat = spy(new SimpleDateFormat("yyyy-MM-dd")); diff --git a/data-processing-service/src/test/java/gov/cdc/dataprocessing/utilities/component/nbs/NbsDocumentRepositoryUtilTest.java b/data-processing-service/src/test/java/gov/cdc/dataprocessing/utilities/component/nbs/NbsDocumentRepositoryUtilTest.java index d693d4131..a6c0253c8 100644 --- a/data-processing-service/src/test/java/gov/cdc/dataprocessing/utilities/component/nbs/NbsDocumentRepositoryUtilTest.java +++ b/data-processing-service/src/test/java/gov/cdc/dataprocessing/utilities/component/nbs/NbsDocumentRepositoryUtilTest.java @@ -97,7 +97,7 @@ void getNBSDocumentWithoutActRelationship_Test_2() throws DataProcessingExceptio } @Test - void updateDocumentWithOutthePatient_Test() throws Exception { + void updateDocumentWithOutthePatient_Test() throws DataProcessingException { NbsDocumentContainer doc = new NbsDocumentContainer(); doc.getNbsDocumentDT().setNbsDocumentMetadataUid(10L); doc.getNbsDocumentDT().setRecordStatusCd( NEDSSConstant.RECORD_STATUS_LOGICAL_DELETE);