Skip to content

fix: jwt type in header for authorization

640841b
Select commit
Loading
Failed to load commit list.
Open

Video Consultation Functionality #380

fix: jwt type in header for authorization
640841b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 10, 2026 in 54s

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 248 in src/main/java/com/iemr/common/service/services/CommonServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the built-in formatting to construct this argument.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

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

Check warning on line 189 in src/main/java/com/iemr/common/service/kmfilemanager/KMFileManagerServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

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

Check warning on line 231 in src/test/java/com/iemr/common/service/videocall/VideoCallServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

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

Check warning on line 587 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

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

Check warning on line 88 in src/main/java/com/iemr/common/utils/km/openkm/OpenKMServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

String contains no format specifiers.

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

Check warning on line 205 in src/test/java/com/iemr/common/controller/videocall/VideoCallControllerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless "eq(...)" invocation; pass the values directly.

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

Check warning on line 980 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

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

Check warning on line 123 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

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

Check warning on line 216 in src/test/java/com/iemr/common/controller/videocall/VideoCallControllerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless "eq(...)" invocation; pass the values directly.

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

Check failure on line 435 in src/main/java/com/iemr/common/service/sms/SMSServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 212 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

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

Check warning on line 534 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

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

Check warning on line 51 in src/main/java/com/iemr/common/utils/km/openkm/OpenKMServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this duplicated import.

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

Check failure on line 191 in src/main/java/com/iemr/common/service/beneficiary/RegisterBenificiaryServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 59 in src/main/java/com/iemr/common/service/videocall/VideoCallServiceImpl.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=AZ1xmsRda94uUuRcC1YH&open=AZ1xmsRda94uUuRcC1YH&pullRequest=380

Check warning on line 5 in src/main/java/com/iemr/common/repository/users/UserServiceRoleRepo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.springframework.data.jpa.repository.Query'.

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

Check warning on line 204 in src/test/java/com/iemr/common/service/videocall/VideoCallServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

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

Check warning on line 160 in src/main/java/com/iemr/common/service/videocall/VideoCallServiceImpl.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=AZ1xmsRda94uUuRcC1YG&open=AZ1xmsRda94uUuRcC1YG&pullRequest=380

Check warning on line 438 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

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

Check warning on line 247 in src/main/java/com/iemr/common/service/services/CommonServiceImpl.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=AZ1uE4PnAo3DRkjycYW-&open=AZ1uE4PnAo3DRkjycYW-&pullRequest=380

Check warning on line 176 in src/main/java/com/iemr/common/service/videocall/VideoCallServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this code to not log user-controlled data.

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

Check warning on line 227 in src/test/java/com/iemr/common/controller/videocall/VideoCallControllerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless "eq(...)" invocation; pass the values directly.

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

Check warning on line 279 in src/main/java/com/iemr/common/service/nhm_dashboard/NHM_DashboardServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

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

Check warning on line 248 in src/main/java/com/iemr/common/service/services/CommonServiceImpl.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=AZ1uE4PnAo3DRkjycYW_&open=AZ1uE4PnAo3DRkjycYW_&pullRequest=380