Skip to content

Release 3.12.0 - #160

Merged
drtechie merged 23 commits into
mainfrom
release-3.12.0
Nov 2, 2026
Merged

drtechie merged 23 commits into
mainfrom
release-3.12.0

feat(AMM-2491): Min Stock / Max Stock in Item Master (#156)

196deb8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 2, 2026 in 56s

Quality Gate failed

Failed conditions
5.0% Duplication on New Code (required ≤ 3%)
C Security 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 154 in src/main/java/com/iemr/admin/controller/nikshay/NikshayLocationController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaGbnWgc0NW0YKJTPbK7&open=AaGbnWgc0NW0YKJTPbK7&pullRequest=160

Check warning on line 129 in src/main/java/com/iemr/admin/repository/stoptbteam/StopTBTeamRepository.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_Admin-API&issues=AaGbnWki0NW0YKJTPbLD&open=AaGbnWki0NW0YKJTPbLD&pullRequest=160

Check failure on line 55 in src/main/java/com/iemr/admin/repository/stoptbteam/StopTBTeamRepository.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaGbnWki0NW0YKJTPbK8&open=AaGbnWki0NW0YKJTPbK8&pullRequest=160

Check warning on line 116 in src/main/java/com/iemr/admin/repository/stoptbteam/StopTBTeamRepository.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_Admin-API&issues=AaGbnWki0NW0YKJTPbLB&open=AaGbnWki0NW0YKJTPbLB&pullRequest=160

Check warning on line 44 in src/main/java/com/iemr/admin/service/stoptbteam/StopTBTeamService.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_Admin-API&issues=AaGbnWVt0NW0YKJTPbKz&open=AaGbnWVt0NW0YKJTPbKz&pullRequest=160

Check failure on line 96 in src/main/java/com/iemr/admin/repository/villagemapping/VillageUpdateRepository.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaGbnWku0NW0YKJTPbLE&open=AaGbnWku0NW0YKJTPbLE&pullRequest=160

Check warning on line 97 in src/main/java/com/iemr/admin/repository/stoptbteam/StopTBTeamRepository.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_Admin-API&issues=AaGbnWki0NW0YKJTPbK_&open=AaGbnWki0NW0YKJTPbK_&pullRequest=160

Check warning on line 123 in src/main/java/com/iemr/admin/repository/stoptbteam/StopTBTeamRepository.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_Admin-API&issues=AaGbnWki0NW0YKJTPbLC&open=AaGbnWki0NW0YKJTPbLC&pullRequest=160

Check failure on line 176 in src/main/java/com/iemr/admin/controller/nikshay/NikshayLocationController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaGbnWgc0NW0YKJTPbK4&open=AaGbnWgc0NW0YKJTPbK4&pullRequest=160

Check warning on line 104 in src/main/java/com/iemr/admin/repository/stoptbteam/StopTBTeamRepository.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_Admin-API&issues=AaGbnWki0NW0YKJTPbLA&open=AaGbnWki0NW0YKJTPbLA&pullRequest=160

Check warning on line 28 in src/main/java/com/iemr/admin/service/villagemapping/VillageUpdateService.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_Admin-API&issues=AaGbnWUi0NW0YKJTPbKx&open=AaGbnWUi0NW0YKJTPbKx&pullRequest=160

Check failure on line 104 in src/main/java/com/iemr/admin/service/bulkRegistration/BulkRegistrationServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaGbnWTC0NW0YKJTPbKu&open=AaGbnWTC0NW0YKJTPbKu&pullRequest=160

Check warning on line 46 in src/main/java/com/iemr/admin/controller/stoptbteam/StopTBTeamController.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_Admin-API&issues=AaGbnWcY0NW0YKJTPbK2&open=AaGbnWcY0NW0YKJTPbK2&pullRequest=160

Check warning on line 45 in src/main/java/com/iemr/admin/service/villagemapping/VillageUpdateServiceImpl.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_Admin-API&issues=AaGbnWVr0NW0YKJTPbKy&open=AaGbnWVr0NW0YKJTPbKy&pullRequest=160

Check failure on line 175 in src/main/java/com/iemr/admin/controller/nikshay/NikshayLocationController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaGbnWgc0NW0YKJTPbK3&open=AaGbnWgc0NW0YKJTPbK3&pullRequest=160

Check warning on line 46 in src/main/java/com/iemr/admin/controller/villagemapping/VillageUpdateController.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_Admin-API&issues=AaGbnWcX0NW0YKJTPbK0&open=AaGbnWcX0NW0YKJTPbK0&pullRequest=160

Check failure on line 105 in src/main/java/com/iemr/admin/repository/stoptbteam/StopTBTeamRepository.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaGbnWki0NW0YKJTPbK-&open=AaGbnWki0NW0YKJTPbK-&pullRequest=160

Check warning on line 139 in src/main/java/com/iemr/admin/controller/nikshay/NikshayLocationController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaGbnWgc0NW0YKJTPbK6&open=AaGbnWgc0NW0YKJTPbK6&pullRequest=160

Check warning on line 50 in src/main/java/com/iemr/admin/controller/villagemapping/VillageUpdateController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "@RequestMapping(method = RequestMethod.POST)" with "@PostMapping"

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaGbnWcX0NW0YKJTPbK1&open=AaGbnWcX0NW0YKJTPbK1&pullRequest=160

Check warning on line 770 in src/main/java/com/iemr/admin/service/bulkRegistration/BulkRegistrationServiceImpl.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_Admin-API&issues=AaGbnWTC0NW0YKJTPbKv&open=AaGbnWTC0NW0YKJTPbKv&pullRequest=160

Check warning on line 124 in src/main/java/com/iemr/admin/controller/nikshay/NikshayLocationController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaGbnWgc0NW0YKJTPbK5&open=AaGbnWgc0NW0YKJTPbK5&pullRequest=160

Check failure on line 111 in src/main/java/com/iemr/admin/repository/stoptbteam/StopTBTeamRepository.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Admin-API&issues=AaGbnWki0NW0YKJTPbK9&open=AaGbnWki0NW0YKJTPbK9&pullRequest=160

Check warning on line 788 in src/main/java/com/iemr/admin/service/bulkRegistration/BulkRegistrationServiceImpl.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_Admin-API&issues=AaGbnWTC0NW0YKJTPbKw&open=AaGbnWTC0NW0YKJTPbKw&pullRequest=160