Skip to content

feat(AMM-2491): low / out-of-stock report and re-upload of changed camp stock batches - #138

Merged
vanitha1822 merged 3 commits into
release-3.12.0from
vb/stoptb-3.12.0
Oct 23, 2026
Merged

vanitha1822 merged 3 commits into
release-3.12.0from
vb/stoptb-3.12.0

chore: set version to 3.12.0

bf55fb6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 21, 2026 in 33s

Quality Gate failed

Failed conditions
B 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 55 in src/main/java/com/iemr/inventory/service/stockadjustment/StockAdjustmentServiceImpl.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_Inventory-API&issues=AaFcvaOf2_K4psad3nhQ&open=AaFcvaOf2_K4psad3nhQ&pullRequest=138

Check warning on line 211 in src/main/java/com/iemr/inventory/service/report/CRMReportServiceImpl.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_Inventory-API&issues=AaFcvaSZ2_K4psad3nhR&open=AaFcvaSZ2_K4psad3nhR&pullRequest=138

Check warning on line 90 in src/main/java/com/iemr/inventory/controller/report/CRMReportController.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_Inventory-API&issues=AaFcvaaZ2_K4psad3nhZ&open=AaFcvaaZ2_K4psad3nhZ&pullRequest=138

Check warning on line 48 in src/main/java/com/iemr/inventory/service/patientreturn/PatientReturnServiceImpl.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_Inventory-API&issues=AaFcvaYi2_K4psad3nhW&open=AaFcvaYi2_K4psad3nhW&pullRequest=138

Check warning on line 93 in src/main/java/com/iemr/inventory/controller/report/CRMReportController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Log Injection via HTTP request body in CRMReportController.getLowStockReport()

See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaFcvaaZ2_K4psad3nhd&open=AaFcvaaZ2_K4psad3nhd&pullRequest=138

Check warning on line 61 in src/main/java/com/iemr/inventory/service/stockEntry/StockEntryServiceImpl.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_Inventory-API&issues=AaFcvaUb2_K4psad3nhT&open=AaFcvaUb2_K4psad3nhT&pullRequest=138

Check warning on line 100 in src/main/java/com/iemr/inventory/controller/report/CRMReportController.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_Inventory-API&issues=AaFcvaaZ2_K4psad3nhc&open=AaFcvaaZ2_K4psad3nhc&pullRequest=138

Check warning on line 36 in src/main/java/com/iemr/inventory/service/report/CRMReportService.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_Inventory-API&issues=AaFcvaSj2_K4psad3nhS&open=AaFcvaSj2_K4psad3nhS&pullRequest=138

Check warning on line 100 in src/main/java/com/iemr/inventory/controller/report/CRMReportController.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_Inventory-API&issues=AaFcvaaZ2_K4psad3nhY&open=AaFcvaaZ2_K4psad3nhY&pullRequest=138

Check warning on line 93 in src/main/java/com/iemr/inventory/controller/report/CRMReportController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"request" is already a string, there's no need to call "toString()" on it.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaFcvaaZ2_K4psad3nhb&open=AaFcvaaZ2_K4psad3nhb&pullRequest=138

Check warning on line 63 in src/main/java/com/iemr/inventory/service/indent/IndentServiceImpl.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_Inventory-API&issues=AaFcvaW52_K4psad3nhV&open=AaFcvaW52_K4psad3nhV&pullRequest=138

Check warning on line 93 in src/main/java/com/iemr/inventory/controller/report/CRMReportController.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_Inventory-API&issues=AaFcvaaZ2_K4psad3nhX&open=AaFcvaaZ2_K4psad3nhX&pullRequest=138

Check warning on line 41 in src/main/java/com/iemr/inventory/service/stockEntry/StockUploadMarker.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_Inventory-API&issues=AaFcvaVL2_K4psad3nhU&open=AaFcvaVL2_K4psad3nhU&pullRequest=138

Check warning on line 93 in src/main/java/com/iemr/inventory/controller/report/CRMReportController.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_Inventory-API&issues=AaFcvaaZ2_K4psad3nha&open=AaFcvaaZ2_K4psad3nha&pullRequest=138