Skip to content

fix: merge 3.8.0 to main

298b989
Select commit
Loading
Failed to load commit list.
Merged

Merge Release-3.8.0 (3.6.1) to Main #379

fix: merge 3.8.0 to main
298b989
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 19, 2026 in 52s

Quality Gate failed

Annotations

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=AZ0Fqbw23noYGTUDKnf2&open=AZ0Fqbw23noYGTUDKnf2&pullRequest=379

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=AZ0FqbwQ3noYGTUDKnfy&open=AZ0FqbwQ3noYGTUDKnfy&pullRequest=379

Check warning on line 40 in src/main/java/com/iemr/common/utils/http/HTTPRequestInterceptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'io.jsonwebtoken.Claims'.

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

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=AZ0Fqbt23noYGTUDKnfl&open=AZ0Fqbt23noYGTUDKnfl&pullRequest=379

Check warning on line 112 in src/main/java/com/iemr/common/controller/beneficiaryConsent/BeneficiaryConsentController.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_Common-API&issues=AZ0Fqb1-3noYGTUDKngF&open=AZ0Fqb1-3noYGTUDKngF&pullRequest=379

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=AZ0Fqbve3noYGTUDKnfr&open=AZ0Fqbve3noYGTUDKnfr&pullRequest=379

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=AZ0FqbwQ3noYGTUDKnfu&open=AZ0FqbwQ3noYGTUDKnfu&pullRequest=379

Check warning on line 442 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=AZ0Fqb1h3noYGTUDKnf-&open=AZ0Fqb1h3noYGTUDKnf-&pullRequest=379

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=AZ0Fqbw23noYGTUDKnf0&open=AZ0Fqbw23noYGTUDKnf0&pullRequest=379

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=AZ0Fqbt23noYGTUDKnfp&open=AZ0Fqbt23noYGTUDKnfp&pullRequest=379

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=AZ0FqbwQ3noYGTUDKnfw&open=AZ0FqbwQ3noYGTUDKnfw&pullRequest=379

Check warning on line 63 in src/main/java/com/iemr/common/service/beneficiaryOTPHandler/BeneficiaryOTPHandlerImpl.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=AZ0FqbxX3noYGTUDKnf4&open=AZ0FqbxX3noYGTUDKnf4&pullRequest=379

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=AZ0Fqb0z3noYGTUDKnf8&open=AZ0Fqb0z3noYGTUDKnf8&pullRequest=379

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=AZ0Fqbw23noYGTUDKnfz&open=AZ0Fqbw23noYGTUDKnfz&pullRequest=379

Check failure on line 334 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=AZ0Fqb1h3noYGTUDKnf_&open=AZ0Fqb1h3noYGTUDKnf_&pullRequest=379

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=AZ0Fqbt23noYGTUDKnfm&open=AZ0Fqbt23noYGTUDKnfm&pullRequest=379

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=AZ0FqbzT3noYGTUDKnf6&open=AZ0FqbzT3noYGTUDKnf6&pullRequest=379

Check warning on line 43 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=AZ0Fqbt23noYGTUDKnfo&open=AZ0Fqbt23noYGTUDKnfo&pullRequest=379

Check warning on line 41 in src/main/java/com/iemr/common/utils/http/HTTPRequestInterceptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'com.iemr.common.utils.CookieUtil'.

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

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 "status" 4 times.

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

Check warning on line 63 in src/main/java/com/iemr/common/controller/beneficiaryConsent/BeneficiaryConsentController.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_Common-API&issues=AZ0Fqb1-3noYGTUDKngE&open=AZ0Fqb1-3noYGTUDKngE&pullRequest=379

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=AZ0Fqbve3noYGTUDKnfs&open=AZ0Fqbve3noYGTUDKnfs&pullRequest=379

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=AZ0Fqbve3noYGTUDKnfq&open=AZ0Fqbve3noYGTUDKnfq&pullRequest=379

Check failure on line 75 in src/main/java/com/iemr/common/service/otp/OtpRateLimiterService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this call to "replaceAll()" by a call to the "replace()" method.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a primitive boolean expression here.

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