Skip to content

Testing nikshay - #159

Open
chetansaroya wants to merge 4 commits into
PSMRI:Nikshay-Testingfrom
chetansaroya:testing-nikshay
Open

chetansaroya wants to merge 4 commits into
PSMRI:Nikshay-Testingfrom
chetansaroya:testing-nikshay

Conversation

@chetansaroya

Copy link
Copy Markdown

📋 Description

JIRA ID: STOP-647

  • ✨ New feature (non-breaking change which adds functionality)

@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d967a775-3c91-42cc-8fcd-6bf0120935fa
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)
C 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

*/
public List<NikshayIdGenerateBeneficiaryDTO> findAllNegativeBeneficiaries() {
JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource);
return jdbcTemplate.query(ALL_NEGATIVE_BENEFICIARIES_SQL, (rs, rowNum) -> mapRow(rs));
+ "ORDER BY b.updated_at DESC, b.ben_reg_id DESC LIMIT :size OFFSET :offset";
params.addValue("size", size);
params.addValue("offset", page * size);
return new NamedParameterJdbcTemplate(dataSource).queryForList(sql, params);
MapSqlParameterSource params = new MapSqlParameterSource();
String sql = "SELECT COUNT(*) "
+ filteredBeneficiariesSql(phase, status, failedOnly, failureReason, beneficiaryType, search, params);
Long count = new NamedParameterJdbcTemplate(dataSource).queryForObject(sql, params, Long.class);
Comment on lines +73 to +74
logger.info("Designated PHI {} {} for village {} by {}", phiId, existing.isEmpty() ? "added" : "updated",
villageId, createdBy);
}
mapping.setUpdatedBy(updatedBy);
mapping = transferOutPhiRepo.save(mapping);
logger.info("Designated PHI mapping {} updated by {}", id, updatedBy);
mapping.setStatus(NikshayTransferOutPhiVillageMapping.STATUS_INACTIVE);
mapping.setUpdatedBy(updatedBy);
mapping = transferOutPhiRepo.save(mapping);
logger.info("Designated PHI mapping {} marked inactive by {}", id, updatedBy);
}
HttpClient client = HttpClient.newBuilder().connectTimeout(CONNECT_TIMEOUT)
.followRedirects(HttpClient.Redirect.NORMAL).build();
logger.info("Ni-kshay login succeeded for {} at {}", username, origin);
pb.environment().put("NIKSHAY_USER", username);
pb.environment().put("NIKSHAY_PASS", password);

logger.info("Ni-kshay login for {} ({}) via {}", username, portalEnv, script);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants