Skip to content

[UIPBEX-70] Add dryRun option#180

Merged
ncovercash merged 3 commits into
masterfrom
modexpw-624
Apr 7, 2026
Merged

[UIPBEX-70] Add dryRun option#180
ncovercash merged 3 commits into
masterfrom
modexpw-624

Conversation

@ncovercash

@ncovercash ncovercash commented Apr 7, 2026

Copy link
Copy Markdown
Member

Jira UIPBEX-70

Purpose

Users would like to run bursar exports without the underlying accounts being transferred. This allows easier testing and verification of the export configurations before any data are actually changed.

Approach

This adds a checkbox in the transfer settings accordion to disable or enable "testing mode". Enabling this checkbox will hide the transfer configuration and enable the dryRun flag passed to the API.

Pre-Merge Checklist

Before merging this PR, please go through the following list and take appropriate actions.

  • I've added appropriate record to the CHANGELOG.md
  • Does this PR meet or exceed the expected quality standards?
    • Code coverage on new code is 80% or greater
    • Duplications on new code is 3% or less
    • There are no major code smells or security issues
  • Does this introduce breaking changes?
    • There are no breaking changes in this PR.

@github-actions

github-actions Bot commented Apr 7, 2026

Copy link
Copy Markdown

Jest Unit Test Results

  1 files  ±0   73 suites  ±0   6m 22s ⏱️ -10s
407 tests +1  407 ✅ +1  0 💤 ±0  0 ❌ ±0 
445 runs  +1  445 ✅ +1  0 💤 ±0  0 ❌ ±0 

Results for commit bbdcf96. ± Comparison against base commit 656d3c4.

This pull request removes 2 and adds 3 tests. Note that renamed tests count towards both.
dtoToFormValues Converts DTO {   id: 'id',   type: 'BURSAR_FEES_FINES',   tenant: 'diku',   schedulePeriod: 'NONE',   exportTypeSpecificParameters: [Object] } to {   scheduling: [Object],   criteria: [Object],   aggregate: false,   header: [Array],   data: [Array],   footer: [],   transferInfo: [Object] } ‑ dtoToFormValues Converts DTO {   id: 'id',   type: 'BURSAR_FEES_FINES',   tenant: 'diku',   schedulePeriod: 'NONE',   exportTypeSpecificParameters: [Object] } to {   scheduling: [Object],   criteria: [Object],   aggregate: false,   header: [Array],   data: [Array],   footer: [],   transferInfo: [Object] }
dtoToFormValues Converts DTO {   id: 'id',   type: 'BURSAR_FEES_FINES',   tenant: 'diku',   schedulePeriod: 'NONE',   exportTypeSpecificParameters: [Object] } to {   scheduling: [Object],   criteria: [Object],   aggregate: true,   header: [],   dataAggregate: [Array],   footer: [],   transferInfo: [Object] } ‑ dtoToFormValues Converts DTO {   id: 'id',   type: 'BURSAR_FEES_FINES',   tenant: 'diku',   schedulePeriod: 'NONE',   exportTypeSpecificParameters: [Object] } to {   scheduling: [Object],   criteria: [Object],   aggregate: true,   header: [],   dataAggregate: [Array],   footer: [],   transferInfo: [Object] }
dtoToFormValues Converts DTO {   id: 'id',   type: 'BURSAR_FEES_FINES',   tenant: 'diku',   schedulePeriod: 'NONE',   exportTypeSpecificParameters: [Object] } to {   scheduling: [Object],   criteria: [Object],   aggregate: false,   header: [Array],   data: [Array],   footer: [],   transferInfo: [Object],   dryRun: false } ‑ dtoToFormValues Converts DTO {   id: 'id',   type: 'BURSAR_FEES_FINES',   tenant: 'diku',   schedulePeriod: 'NONE',   exportTypeSpecificParameters: [Object] } to {   scheduling: [Object],   criteria: [Object],   aggregate: false,   header: [Array],   data: [Array],   footer: [],   transferInfo: [Object],   dryRun: false }
dtoToFormValues Converts DTO {   id: 'id',   type: 'BURSAR_FEES_FINES',   tenant: 'diku',   schedulePeriod: 'NONE',   exportTypeSpecificParameters: [Object] } to {   scheduling: [Object],   criteria: [Object],   aggregate: false,   header: [Array],   data: [Array],   footer: [],   transferInfo: [Object],   dryRun: true } ‑ dtoToFormValues Converts DTO {   id: 'id',   type: 'BURSAR_FEES_FINES',   tenant: 'diku',   schedulePeriod: 'NONE',   exportTypeSpecificParameters: [Object] } to {   scheduling: [Object],   criteria: [Object],   aggregate: false,   header: [Array],   data: [Array],   footer: [],   transferInfo: [Object],   dryRun: true }
dtoToFormValues Converts DTO {   id: 'id',   type: 'BURSAR_FEES_FINES',   tenant: 'diku',   schedulePeriod: 'NONE',   exportTypeSpecificParameters: [Object] } to {   scheduling: [Object],   criteria: [Object],   aggregate: true,   header: [],   dataAggregate: [Array],   footer: [],   transferInfo: [Object],   dryRun: false } ‑ dtoToFormValues Converts DTO {   id: 'id',   type: 'BURSAR_FEES_FINES',   tenant: 'diku',   schedulePeriod: 'NONE',   exportTypeSpecificParameters: [Object] } to {   scheduling: [Object],   criteria: [Object],   aggregate: true,   header: [],   dataAggregate: [Array],   footer: [],   transferInfo: [Object],   dryRun: false }

♻️ This comment has been updated with latest results.

@ncovercash ncovercash changed the title [MODEXPW-624] Add dryRun option [UIPBEX-70] Add dryRun option Apr 7, 2026
@sonarqubecloud

sonarqubecloud Bot commented Apr 7, 2026

Copy link
Copy Markdown

@ncovercash ncovercash marked this pull request as ready for review April 7, 2026 13:34
@ncovercash ncovercash merged commit 9aaafa2 into master Apr 7, 2026
15 checks passed
@ncovercash ncovercash deleted the modexpw-624 branch April 8, 2026 12:39
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