Skip to content

fix(sync): faster changes-feed first download; camp hub creates referral orders (STOP-765, STOP-774) - #405

Merged
sehjotsinghunthinkable merged 5 commits into
release-3.12.2from
fix/stoptb-feed-faster-snapshot
Nov 9, 2026
Merged

sehjotsinghunthinkable merged 5 commits into
release-3.12.2from
fix/stoptb-feed-faster-snapshot

fix(sync): build feed beneficiary records from the requested registra…

fe31662
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 9, 2026 in 46s

Annotations

Check warning on line 274 in src/main/java/com/iemr/flw/service/impl/BeneficiaryServiceImpl.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_FLW-API&issues=AaGwAOQl9UU-J4W7Bflv&open=AaGwAOQl9UU-J4W7Bflv&pullRequest=405

Check warning on line 343 in src/main/java/com/iemr/flw/service/impl/BeneficiaryServiceImpl.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_FLW-API&issues=AaG-iRV187X69ZD2y4iP&open=AaG-iRV187X69ZD2y4iP&pullRequest=405

Check warning on line 69 in src/main/java/com/iemr/flw/service/impl/StopTBReferralOrderService.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_FLW-API&issues=AaG0nPWYkxw1cHakt5iP&open=AaG0nPWYkxw1cHakt5iP&pullRequest=405

Check warning on line 60 in src/main/java/com/iemr/flw/service/impl/StopTBReferralOrderService.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_FLW-API&issues=AaG0nPWYkxw1cHakt5iM&open=AaG0nPWYkxw1cHakt5iM&pullRequest=405

Check warning on line 72 in src/main/java/com/iemr/flw/service/impl/StopTBReferralOrderService.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_FLW-API&issues=AaG0nPWYkxw1cHakt5iQ&open=AaG0nPWYkxw1cHakt5iQ&pullRequest=405

Check warning on line 63 in src/main/java/com/iemr/flw/service/impl/StopTBReferralOrderService.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_FLW-API&issues=AaG0nPWYkxw1cHakt5iN&open=AaG0nPWYkxw1cHakt5iN&pullRequest=405

Check failure on line 213 in src/main/java/com/iemr/flw/service/impl/StopTBReferralOrderService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=PSMRI_FLW-API&issues=AaG0nPWYkxw1cHakt5iL&open=AaG0nPWYkxw1cHakt5iL&pullRequest=405

Check warning on line 341 in src/main/java/com/iemr/flw/service/impl/BeneficiaryServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FLW-API&issues=AaG-iRV187X69ZD2y4iR&open=AaG-iRV187X69ZD2y4iR&pullRequest=405

Check warning on line 66 in src/main/java/com/iemr/flw/service/impl/StopTBReferralOrderService.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_FLW-API&issues=AaG0nPWYkxw1cHakt5iO&open=AaG0nPWYkxw1cHakt5iO&pullRequest=405

Check warning on line 343 in src/main/java/com/iemr/flw/service/impl/BeneficiaryServiceImpl.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_FLW-API&issues=AaG-iRV187X69ZD2y4iS&open=AaG-iRV187X69ZD2y4iS&pullRequest=405

Check failure on line 74 in src/main/java/com/iemr/flw/service/impl/WorklistPagePrefetch.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "SELECT * FROM db_identity.i_beneficiaryaddress WHERE BenAddressID IN (%s)" 3 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FLW-API&issues=AaGwAOMw9UU-J4W7Bflu&open=AaGwAOMw9UU-J4W7Bflu&pullRequest=405

Check warning on line 223 in src/main/java/com/iemr/flw/service/impl/StopTBReferralOrderService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Explicitly specify the time zone by passing a ZoneId or a Clock to the .now() method.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FLW-API&issues=AaG0nPWYkxw1cHakt5iR&open=AaG0nPWYkxw1cHakt5iR&pullRequest=405

Check warning on line 80 in src/main/java/com/iemr/flw/service/impl/StopTBSyncServiceImpl.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_FLW-API&issues=AaG-iRNN87X69ZD2y4iN&open=AaG-iRNN87X69ZD2y4iN&pullRequest=405

Check warning on line 180 in src/main/java/com/iemr/flw/service/impl/WorklistPagePrefetch.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The return type of this method should be an interface such as "Map" rather than the implementation "LinkedHashMap".

See more on https://sonarcloud.io/project/issues?id=PSMRI_FLW-API&issues=AaG-iRRJ87X69ZD2y4iO&open=AaG-iRRJ87X69ZD2y4iO&pullRequest=405

Check warning on line 287 in src/main/java/com/iemr/flw/service/impl/BeneficiaryServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=PSMRI_FLW-API&issues=AaG-iRV187X69ZD2y4iQ&open=AaG-iRV187X69ZD2y4iQ&pullRequest=405