Skip to content

Merge to main release 3.12.0 - #205

Merged
drtechie merged 95 commits into
mainfrom
merge_to_main_release-3.12.0
Nov 2, 2026
Merged

drtechie merged 95 commits into
mainfrom
merge_to_main_release-3.12.0

Merge latest main into release-3.12.0

0226455
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 2, 2026 in 1m 25s

Quality Gate failed

Failed conditions
E Security Rating on New Code (required ≥ A)
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 235 in src/main/java/com/iemr/mmu/service/benid/CentralAuthService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtoCv16tNjAHyzeJA&open=AaGbtoCv16tNjAHyzeJA&pullRequest=205

Check failure on line 78 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DiagnosticDocumentIngestService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "status" 4 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtn0916tNjAHyzeIX&open=AaGbtn0916tNjAHyzeIX&pullRequest=205

Check warning on line 42 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DiagnosticDocumentFetchService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty map instead of null.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtnqG16tNjAHyzeH7&open=AaGbtnqG16tNjAHyzeH7&pullRequest=205

Check warning on line 220 in src/main/java/com/iemr/mmu/service/dataSyncActivity/DataSyncRepository.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure using a dynamically formatted SQL query is safe here.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtoCJ16tNjAHyzeIw&open=AaGbtoCJ16tNjAHyzeIw&pullRequest=205

Check warning on line 59 in src/main/java/com/iemr/mmu/controller/benid/CentralAuthController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtoGH16tNjAHyzeJQ&open=AaGbtoGH16tNjAHyzeJQ&pullRequest=205

Check warning on line 180 in src/main/java/com/iemr/mmu/service/benid/BenIdAutoTopUpService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtoCZ16tNjAHyzeI6&open=AaGbtoCZ16tNjAHyzeI6&pullRequest=205

Check warning on line 222 in src/main/java/com/iemr/mmu/service/benid/BenIdAutoTopUpService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtoCZ16tNjAHyzeIz&open=AaGbtoCZ16tNjAHyzeIz&pullRequest=205

Check warning on line 211 in src/test/java/com/iemr/mmu/service/benid/CentralAuthServiceTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertNotEquals instead.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtoNL16tNjAHyzeJd&open=AaGbtoNL16tNjAHyzeJd&pullRequest=205

Check warning on line 209 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentralDownload.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtnve16tNjAHyzeH-&open=AaGbtnve16tNjAHyzeH-&pullRequest=205

Check warning on line 187 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentral.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure using a dynamically formatted SQL query is safe here.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtn0u16tNjAHyzeIQ&open=AaGbtn0u16tNjAHyzeIQ&pullRequest=205

Check failure on line 196 in src/main/java/com/iemr/mmu/service/dataSyncActivity/DownloadDataFromServerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtn_t16tNjAHyzeIs&open=AaGbtn_t16tNjAHyzeIs&pullRequest=205

Check warning on line 147 in src/main/java/com/iemr/mmu/controller/dataSyncActivity/StartSyncActivity.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtoFJ16tNjAHyzeJM&open=AaGbtoFJ16tNjAHyzeJM&pullRequest=205

Check failure on line 106 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DiagnosticDocumentPushServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "documentId" 3 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtnvx16tNjAHyzeIE&open=AaGbtnvx16tNjAHyzeIE&pullRequest=205

Check warning on line 68 in src/main/java/com/iemr/mmu/service/dataSyncActivity/AutoSyncService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this field injection and use constructor injection instead.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtn9F16tNjAHyzeIh&open=AaGbtn9F16tNjAHyzeIh&pullRequest=205

Check warning on line 71 in src/main/java/com/iemr/mmu/service/dataSyncActivity/AutoSyncService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this field injection and use constructor injection instead.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtn9F16tNjAHyzeIi&open=AaGbtn9F16tNjAHyzeIi&pullRequest=205

Check failure on line 63 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DiagnosticDocumentIngestService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "documentId" 5 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtn0916tNjAHyzeIV&open=AaGbtn0916tNjAHyzeIV&pullRequest=205

Check warning on line 111 in src/main/java/com/iemr/mmu/service/dataSyncActivity/DownloadDataFromServerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtn_t16tNjAHyzeIo&open=AaGbtn_t16tNjAHyzeIo&pullRequest=205

Check failure on line 148 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentral.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "SELECT " 3 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtn0u16tNjAHyzeIO&open=AaGbtn0u16tNjAHyzeIO&pullRequest=205

Check warning on line 74 in src/main/java/com/iemr/mmu/service/dataSyncActivity/AutoSyncService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this field injection and use constructor injection instead.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtn9F16tNjAHyzeIj&open=AaGbtn9F16tNjAHyzeIj&pullRequest=205

Check warning on line 54 in src/test/java/com/iemr/mmu/service/dataSyncLayerCentral/GetDataFromVanAndSyncToDBVanKeysTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtoM116tNjAHyzeJY&open=AaGbtoM116tNjAHyzeJY&pullRequest=205

Check failure on line 400 in src/main/java/com/iemr/mmu/service/benid/CentralAuthService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Save and re-use this "Random".

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtoCv16tNjAHyzeJE&open=AaGbtoCv16tNjAHyzeJE&pullRequest=205

Check warning on line 28 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DiagnosticDocumentFetchService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this field injection and use constructor injection instead.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtnqG16tNjAHyzeH5&open=AaGbtnqG16tNjAHyzeH5&pullRequest=205

Check warning on line 89 in src/main/java/com/iemr/mmu/controller/benid/CentralAuthController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtoGH16tNjAHyzeJR&open=AaGbtoGH16tNjAHyzeJR&pullRequest=205

Check warning on line 31 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DiagnosticDocumentFetchService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this field injection and use constructor injection instead.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtnqG16tNjAHyzeH6&open=AaGbtnqG16tNjAHyzeH6&pullRequest=205

Check warning on line 43 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DiagnosticDocumentIngestService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this field injection and use constructor injection instead.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaGbtn0916tNjAHyzeIZ&open=AaGbtn0916tNjAHyzeIZ&pullRequest=205