Skip to content

Add SMS functionality in release-3.6.1 (#358)

0b94640
Select commit
Loading
Failed to load commit list.
Merged

Move code to 3.6.1 to 3.8.0 #372

Add SMS functionality in release-3.6.1 (#358)
0b94640
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 12, 2026 in 55s

Quality Gate failed

Annotations

Check warning on line 40 in src/main/java/com/iemr/common/service/dynamicForm/FormMasterServiceImpl.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_Common-API&issues=AZzg2098f_pk0iI2koW-&open=AZzg2098f_pk0iI2koW-&pullRequest=372

Check failure on line 152 in src/main/java/com/iemr/common/service/beneficiary/IdentityBeneficiaryServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "errorMessage" 8 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21Bdf_pk0iI2koXI&open=AZzg21Bdf_pk0iI2koXI&pullRequest=372

Check warning on line 43 in src/main/java/com/iemr/common/service/beneficiary/IEMRSearchUserService.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_Common-API&issues=AZzg20_Kf_pk0iI2koXD&open=AZzg20_Kf_pk0iI2koXD&pullRequest=372

Check warning on line 440 in src/main/java/com/iemr/common/controller/beneficiary/BeneficiaryRegistrationController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Immediately return this expression instead of assigning it to the temporary variable "result".

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21Iif_pk0iI2koXT&open=AZzg21Iif_pk0iI2koXT&pullRequest=372

Check warning on line 32 in src/main/java/com/iemr/common/service/dynamicForm/FormMasterServiceImpl.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_Common-API&issues=AZzg2098f_pk0iI2koW8&open=AZzg2098f_pk0iI2koW8&pullRequest=372

Check failure on line 1224 in src/main/java/com/iemr/common/controller/users/IEMRAdminController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21GWf_pk0iI2koXR&open=AZzg21GWf_pk0iI2koXR&pullRequest=372

Check warning on line 34 in src/main/java/com/iemr/common/service/dynamicForm/FormMasterServiceImpl.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_Common-API&issues=AZzg2098f_pk0iI2koW9&open=AZzg2098f_pk0iI2koW9&pullRequest=372

Check warning on line 4 in src/main/java/com/iemr/common/data/users/UserServiceRole.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.util.Objects'.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21EXf_pk0iI2koXP&open=AZzg21EXf_pk0iI2koXP&pullRequest=372

Check failure on line 151 in src/main/java/com/iemr/common/service/beneficiary/IdentityBeneficiaryServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Success" 8 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21Bdf_pk0iI2koXF&open=AZzg21Bdf_pk0iI2koXF&pullRequest=372

Check failure on line 332 in src/main/java/com/iemr/common/controller/beneficiary/BeneficiaryRegistrationController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21Iif_pk0iI2koXU&open=AZzg21Iif_pk0iI2koXU&pullRequest=372

Check warning on line 43 in src/main/java/com/iemr/common/service/beneficiary/IEMRSearchUserService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg20_Kf_pk0iI2koXB&open=AZzg20_Kf_pk0iI2koXB&pullRequest=372

Check failure on line 150 in src/main/java/com/iemr/common/service/beneficiary/IdentityBeneficiaryServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "statusCode" 8 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21Bdf_pk0iI2koXH&open=AZzg21Bdf_pk0iI2koXH&pullRequest=372

Check warning on line 643 in src/main/java/com/iemr/common/service/beneficiary/IdentityBeneficiaryServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either log this exception and handle it, or rethrow it with some contextual information.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21Bef_pk0iI2koXJ&open=AZzg21Bef_pk0iI2koXJ&pullRequest=372

Check warning on line 359 in src/main/java/com/iemr/common/service/beneficiary/IEMRSearchUserServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21B-f_pk0iI2koXK&open=AZzg21B-f_pk0iI2koXK&pullRequest=372

Check warning on line 424 in src/main/java/com/iemr/common/controller/beneficiary/BeneficiaryRegistrationController.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_Common-API&issues=AZzg21Iif_pk0iI2koXY&open=AZzg21Iif_pk0iI2koXY&pullRequest=372

Check warning on line 41 in src/main/java/com/iemr/common/service/beneficiary/IEMRSearchUserService.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_Common-API&issues=AZzg20_Kf_pk0iI2koXC&open=AZzg20_Kf_pk0iI2koXC&pullRequest=372

Check failure on line 116 in src/main/java/com/iemr/common/service/dynamicForm/FormMasterServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg2098f_pk0iI2koXA&open=AZzg2098f_pk0iI2koXA&pullRequest=372

Check failure on line 279 in src/main/java/com/iemr/common/controller/users/IEMRAdminController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21GWf_pk0iI2koXQ&open=AZzg21GWf_pk0iI2koXQ&pullRequest=372

Check warning on line 351 in src/main/java/com/iemr/common/controller/beneficiary/BeneficiaryRegistrationController.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_Common-API&issues=AZzg21Iif_pk0iI2koXX&open=AZzg21Iif_pk0iI2koXX&pullRequest=372

Check warning on line 347 in src/main/java/com/iemr/common/service/beneficiary/IEMRSearchUserServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either log this exception and handle it, or rethrow it with some contextual information.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21B-f_pk0iI2koXN&open=AZzg21B-f_pk0iI2koXN&pullRequest=372

Check warning on line 406 in src/main/java/com/iemr/common/service/beneficiary/IEMRSearchUserServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either log this exception and handle it, or rethrow it with some contextual information.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21B-f_pk0iI2koXO&open=AZzg21B-f_pk0iI2koXO&pullRequest=372

Check warning on line 109 in src/main/java/com/iemr/common/controller/beneficiary/BeneficiaryRegistrationController.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_Common-API&issues=AZzg21Iif_pk0iI2koXW&open=AZzg21Iif_pk0iI2koXW&pullRequest=372

Check failure on line 1237 in src/main/java/com/iemr/common/controller/users/IEMRAdminController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove usage of generic wildcard type.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21GWf_pk0iI2koXS&open=AZzg21GWf_pk0iI2koXS&pullRequest=372

Check warning on line 349 in src/main/java/com/iemr/common/service/beneficiary/IEMRSearchUserServiceImpl.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_Common-API&issues=AZzg21B-f_pk0iI2koXL&open=AZzg21B-f_pk0iI2koXL&pullRequest=372

Check failure on line 361 in src/main/java/com/iemr/common/controller/beneficiary/BeneficiaryRegistrationController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzg21Iif_pk0iI2koXV&open=AZzg21Iif_pk0iI2koXV&pullRequest=372