Skip to content

Testing nikshay - #159

Open
chetansaroya wants to merge 8 commits into
PSMRI:release-3.13.0from
chetansaroya:testing-nikshay
Open

chetansaroya wants to merge 8 commits into
PSMRI:release-3.13.0from
chetansaroya:testing-nikshay

Conversation

@chetansaroya

Copy link
Copy Markdown
Contributor

📋 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: 2c9a17f6-f50a-4682-8d8b-e11a13d2b1d4
  • 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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

*/
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);
@PankajUnthin

Copy link
Copy Markdown

@coderabbitai Please review.

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

@PankajUnthin I will review the changes in this PR.

Action not completed

Review skipped: 107 files exceed the limit of 100.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@drtechie

drtechie commented Nov 2, 2026

Copy link
Copy Markdown
Member

@CodeRabbit full review

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Action not completed

Review skipped: 107 files exceed the limit of 100.

Comment thread nikshay-enroll/package.json Outdated

@drtechie drtechie Nov 2, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this work?
There is a playwright repo inside a java repo?

@@ -0,0 +1,55 @@
/*
* AMRIT – Accessible Medical Records via Integrated Technology

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AMRIT – Accessible Medical Records via Integrated Technology
Make this Technologies please.
Across the PR.

Comment thread nikshay-enroll/lib/auth.js Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chetansaroya is this really needed? Can't we send login requests directly from Java?

throw new IllegalArgumentException("cron must be a Spring expression (second minute hour day month weekday)");
}
scheduleRepository.save(enabled, cron, updatedBy);
logger.info("Ni-kshay job schedule set to enabled={} cron='{}' by {}", enabled, cron, updatedBy);
@chetansaroya
chetansaroya changed the base branch from Nikshay-Testing to release-3.13.0 November 3, 2026 09:38
@chetansaroya

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Action not completed

Review skipped: 107 files exceed the limit of 100.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@chetansaroya

Copy link
Copy Markdown
Contributor Author

Addressed JS call for login with Java.

@sonarqubecloud

sonarqubecloud Bot commented Nov 3, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C 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

@drtechie

drtechie commented Nov 3, 2026

Copy link
Copy Markdown
Member

@chetansaroya LGTM. There are some open security issues.

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.

4 participants