Skip to content

Merge Release 3.6.1 to main#140

Closed
vanitha1822 wants to merge 7 commits into
mainfrom
release-3.6.1
Closed

Merge Release 3.6.1 to main#140
vanitha1822 wants to merge 7 commits into
mainfrom
release-3.6.1

Cherry-pick health and version API enhancements to release-3.6.1 (#139)

db93a33
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 19, 2026 in 21s

Quality Gate failed

Failed conditions
1 Security Hotspot
7.6% Duplication on New Code (required ≤ 3%)
E Security Rating on New Code (required ≥ A)
C Reliability 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 30 in src/main/java/com/wipro/fhir/data/resource_model/MedicalHistoryDataModel.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_FHIR-API&issues=AZ0FlRVCYc8zzi0uaR5R&open=AZ0FlRVCYc8zzi0uaR5R&pullRequest=140

Check warning on line 31 in src/main/java/com/wipro/fhir/service/resource_model/ImmunizationResource.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_FHIR-API&issues=AZ0FlRZnYc8zzi0uaR68&open=AZ0FlRZnYc8zzi0uaR68&pullRequest=140

Check warning on line 45 in src/main/java/com/wipro/fhir/service/bundle_creation/DiagnosticRecordResourceBundleImpl.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_FHIR-API&issues=AZ0FlRXoYc8zzi0uaR6c&open=AZ0FlRXoYc8zzi0uaR6c&pullRequest=140

Check failure on line 158 in src/main/java/com/wipro/fhir/service/elasticsearch/AbhaElasticsearchSyncService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Call async methods via an injected dependency instead of directly via 'this'.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FHIR-API&issues=AZ0FlRbiYc8zzi0uaR7L&open=AZ0FlRbiYc8zzi0uaR7L&pullRequest=140

Check warning on line 1 in src/main/java/com/wipro/fhir/data/v3/careContext/CareContextLinkTokenRequest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FHIR-API&issues=AZ0FlRSEYc8zzi0uaR5J&open=AZ0FlRSEYc8zzi0uaR5J&pullRequest=140

Check warning on line 29 in src/main/java/com/wipro/fhir/controller/v3/careContext/CareContextLinkingController.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_FHIR-API&issues=AZ0FlRe9Yc8zzi0uaR8P&open=AZ0FlRe9Yc8zzi0uaR8P&pullRequest=140

Check warning on line 87 in src/main/java/com/wipro/fhir/service/elasticsearch/AbhaElasticsearchSyncService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Cast one of the operands of this multiplication operation to a "long".

See more on https://sonarcloud.io/project/issues?id=PSMRI_FHIR-API&issues=AZ0FlRbiYc8zzi0uaR7E&open=AZ0FlRbiYc8zzi0uaR7E&pullRequest=140

Check warning on line 25 in src/main/java/com/wipro/fhir/service/resource_model/ImmunizationResource.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_FHIR-API&issues=AZ0FlRZnYc8zzi0uaR66&open=AZ0FlRZnYc8zzi0uaR66&pullRequest=140

Check warning on line 1 in src/main/java/com/wipro/fhir/service/v3/careContext/CareContextLinkingService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FHIR-API&issues=AZ0FlRdgYc8zzi0uaR71&open=AZ0FlRdgYc8zzi0uaR71&pullRequest=140

Check warning on line 128 in src/main/environment/common_example.properties

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure these credentials get revoked, changed, and removed from the code.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FHIR-API&issues=AZ0FlRhEYc8zzi0uaR8X&open=AZ0FlRhEYc8zzi0uaR8X&pullRequest=140

Check warning on line 40 in src/main/java/com/wipro/fhir/service/resource_model/OrganizationResource.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_FHIR-API&issues=AZ0FlRYVYc8zzi0uaR64&open=AZ0FlRYVYc8zzi0uaR64&pullRequest=140

Check warning on line 41 in src/main/java/com/wipro/fhir/service/bundle_creation/WellnessRecordResourceBundleImpl.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_FHIR-API&issues=AZ0FlRXCYc8zzi0uaR5v&open=AZ0FlRXCYc8zzi0uaR5v&pullRequest=140

Check warning on line 276 in src/main/java/com/wipro/fhir/service/common/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_FHIR-API&issues=AZ0FlReLYc8zzi0uaR8F&open=AZ0FlReLYc8zzi0uaR8F&pullRequest=140

Check warning on line 136 in src/main/java/com/wipro/fhir/service/elasticsearch/AbhaElasticsearchSyncService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this method non-"private" or remove the "@Async" annotation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FHIR-API&issues=AZ0FlRbiYc8zzi0uaR7J&open=AZ0FlRbiYc8zzi0uaR7J&pullRequest=140

Check warning on line 54 in src/main/java/com/wipro/fhir/service/bundle_creation/DiagnosticRecordResourceBundleImpl.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_FHIR-API&issues=AZ0FlRXoYc8zzi0uaR6f&open=AZ0FlRXoYc8zzi0uaR6f&pullRequest=140

Check warning on line 60 in src/main/java/com/wipro/fhir/controller/v3/careContext/CareContextLinkingController.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_FHIR-API&issues=AZ0FlRe9Yc8zzi0uaR8N&open=AZ0FlRe9Yc8zzi0uaR8N&pullRequest=140

Check warning on line 284 in src/main/java/com/wipro/fhir/service/common/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_FHIR-API&issues=AZ0FlReLYc8zzi0uaR77&open=AZ0FlReLYc8zzi0uaR77&pullRequest=140

Check warning on line 29 in src/main/java/com/wipro/fhir/controller/v3/careContext/CareContextLinkingController.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_FHIR-API&issues=AZ0FlRe9Yc8zzi0uaR8K&open=AZ0FlRe9Yc8zzi0uaR8K&pullRequest=140

Check warning on line 1 in src/main/java/com/wipro/fhir/repo/mongo/generateToken_response/GenerateTokenAbdmResponsesRepo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FHIR-API&issues=AZ0FlRV1Yc8zzi0uaR5m&open=AZ0FlRV1Yc8zzi0uaR5m&pullRequest=140

Check warning on line 59 in src/main/java/com/wipro/fhir/service/bundle_creation/DischargeSummaryResourceBundleImpl.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_FHIR-API&issues=AZ0FlRXSYc8zzi0uaR6I&open=AZ0FlRXSYc8zzi0uaR6I&pullRequest=140

Check warning on line 148 in src/main/java/com/wipro/fhir/service/v3/careContext/CareContextLinkingServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "responseStrLogin" local variable.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FHIR-API&issues=AZ0FlRdZYc8zzi0uaR7o&open=AZ0FlRdZYc8zzi0uaR7o&pullRequest=140

Check warning on line 284 in src/main/java/com/wipro/fhir/service/common/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_FHIR-API&issues=AZ0FlReLYc8zzi0uaR8G&open=AZ0FlReLYc8zzi0uaR8G&pullRequest=140

Check warning on line 288 in src/main/java/com/wipro/fhir/service/v3/careContext/CareContextLinkingServiceImpl.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_FHIR-API&issues=AZ0FlRdZYc8zzi0uaR7r&open=AZ0FlRdZYc8zzi0uaR7r&pullRequest=140

Check warning on line 50 in src/main/java/com/wipro/fhir/service/bundle_creation/WellnessRecordResourceBundleImpl.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_FHIR-API&issues=AZ0FlRXCYc8zzi0uaR5y&open=AZ0FlRXCYc8zzi0uaR5y&pullRequest=140

Check warning on line 54 in src/main/java/com/wipro/fhir/data/resource_model/MedicalHistoryDataModel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use isEmpty() to check whether the collection is empty or not.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FHIR-API&issues=AZ0FlRVCYc8zzi0uaR5V&open=AZ0FlRVCYc8zzi0uaR5V&pullRequest=140