Skip to content

Merge Release 3.9.0 with Main - #156

Closed
vanitha1822 wants to merge 2 commits into
mainfrom
release-3.9.0
Closed

vanitha1822 wants to merge 2 commits into
mainfrom
release-3.9.0

fix: add the test cases (#152)

cb8129a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 28, 2026 in 26s

Annotations

Check warning on line 140 in src/test/java/com/wipro/fhir/data/DataModelContractTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertNotEquals instead.

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

Check warning on line 34 in src/test/java/com/wipro/fhir/controller/version/VersionControllerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.io.BufferedReader'.

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

Check warning on line 126 in src/test/java/com/wipro/fhir/utils/mapper/InputMapperTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

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

Check warning on line 315 in src/test/java/com/wipro/fhir/service/ndhm/NdhmGatewayCommonServicesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 573 in src/test/java/com/wipro/fhir/utils/validator/ValidatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "spy".

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

Check warning on line 84 in src/test/java/com/wipro/fhir/utils/redis/RedisStorageTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 162 in src/test/java/com/wipro/fhir/service/v3/abha/CreateAbhaV3ServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertNotNull instead.

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

Check warning on line 72 in src/test/java/com/wipro/fhir/controller/healthID/CreateHealthIDWithMobileOTPTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

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

Check warning on line 492 in src/test/java/com/wipro/fhir/service/healthID/HealthIDServicesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "doThrow".

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

Check warning on line 93 in src/test/java/com/wipro/fhir/service/ndhm/NdhmHealthIdServicesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 150 in src/test/java/com/wipro/fhir/controller/healthID/CreateHealthIDWithMobileOTPTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

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

Check warning on line 81 in src/test/java/com/wipro/fhir/service/ndhm/CreateHealthID_Aadhaar_NDHMServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 28 in src/test/java/com/wipro/fhir/utils/mapper/InputMapperTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.text.ParseException'.

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

Check warning on line 31 in src/test/java/com/wipro/fhir/utils/CookieUtilTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.mockito.Spy'.

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

Check warning on line 234 in src/test/java/com/wipro/fhir/service/atoms/feed/bahmni/FeedWorkersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

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

Check warning on line 66 in src/test/java/com/wipro/fhir/controller/healthID/CreateHealthIDWithBioTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

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

Check warning on line 57 in src/test/java/com/wipro/fhir/controller/healthID/CreateHealthIDWithUIDTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 55 in src/test/java/com/wipro/fhir/service/v3/abha/CertificateKeyServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 427 in src/test/java/com/wipro/fhir/service/atoms/feed/bahmni/FeedWorkersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

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

Check warning on line 189 in src/test/java/com/wipro/fhir/utils/validator/ValidatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'com.wipro.fhir.utils.redis.RedisSessionException' which is a subclass of 'com.wipro.fhir.utils.exception.FHIRException'.

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

Check warning on line 100 in src/test/java/com/wipro/fhir/utils/CookieUtilTest.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_FHIR-API&issues=AaDn_aiEafeyAzMTY5NZ&open=AaDn_aiEafeyAzMTY5NZ&pullRequest=156

Check warning on line 60 in src/test/java/com/wipro/fhir/service/facility/FacilityServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 338 in src/test/java/com/wipro/fhir/service/resource_model/DocumentResourceBuildersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

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

Check warning on line 328 in src/test/java/com/wipro/fhir/service/resource_model/DocumentResourceBuildersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

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

Check warning on line 66 in src/test/java/com/wipro/fhir/controller/healthIDvalidate/HealthIDValidateControllerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

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