Skip to content

Feature/ab#32491 portal address updates#2252

Merged
AndreGAot merged 4 commits intodevfrom
feature/AB#32491-portal-address-updates
Apr 10, 2026
Merged

Feature/ab#32491 portal address updates#2252
AndreGAot merged 4 commits intodevfrom
feature/AB#32491-portal-address-updates

Conversation

@AndreGAot
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 601
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds new Grants Portal address command support (create/delete) and improves primary-address tracking consistency across handlers, tests, and documentation.

Changes:

  • Introduces ADDRESS_CREATE_COMMAND and ADDRESS_DELETE_COMMAND handlers, DTOs, DI registration, and tests.
  • Updates address primary-flag behavior to demote sibling addresses when promoting a new primary (edit/create/set-primary paths).
  • Centralizes address extra-property keys via AddressExtraPropertyNames and updates docs/data provider accordingly.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
documentation/applicant-portal/grants-portal-rabbitmq-integration.md Documents new address commands and payload shape; updates handler registrations.
applications/Unity.GrantManager/test/Unity.GrantManager.Application.Tests/GrantsPortal/AddressEditHandlerTests.cs Adds coverage for primary promotion/demotion behavior during address edits.
applications/Unity.GrantManager/test/Unity.GrantManager.Application.Tests/GrantsPortal/AddressDeleteHandlerTests.cs Adds tests for idempotent address delete behavior.
applications/Unity.GrantManager/test/Unity.GrantManager.Application.Tests/GrantsPortal/AddressCreateHandlerTests.cs Adds tests for address creation, idempotency, mapping, and primary demotion.
applications/Unity.GrantManager/src/Unity.GrantManager.Domain.Shared/GrantApplications/AddressExtraPropertyNames.cs Defines constants for isPrimary / profileId extra-property keys.
applications/Unity.GrantManager/src/Unity.GrantManager.Application/GrantsPortal/Messages/Commands/AddressCreateData.cs Adds command payload DTO for address creation (includes applicantId).
applications/Unity.GrantManager/src/Unity.GrantManager.Application/GrantsPortal/Handlers/AddressSetPrimaryHandler.cs Uses extra-property constants and continues to demote sibling addresses.
applications/Unity.GrantManager/src/Unity.GrantManager.Application/GrantsPortal/Handlers/AddressEditHandler.cs Syncs isPrimary on edit and demotes sibling primaries when promoting.
applications/Unity.GrantManager/src/Unity.GrantManager.Application/GrantsPortal/Handlers/AddressDeleteHandler.cs Implements idempotent delete handler for addresses.
applications/Unity.GrantManager/src/Unity.GrantManager.Application/GrantsPortal/Handlers/AddressCreateHandler.cs Implements create handler with idempotency and sibling-primary demotion.
applications/Unity.GrantManager/src/Unity.GrantManager.Application/GrantManagerApplicationModule.cs Registers new handlers and inbox adapters in DI.
applications/Unity.GrantManager/src/Unity.GrantManager.Application/ApplicantProfile/AddressInfoDataProvider.cs Reads isPrimary using the centralized extra-property constant.

Comment thread documentation/applicant-portal/grants-portal-rabbitmq-integration.md Outdated
@github-actions
Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 601
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 603
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@AndreGAot AndreGAot marked this pull request as ready for review April 10, 2026 20:38
@AndreGAot AndreGAot merged commit 2d00449 into dev Apr 10, 2026
22 checks passed
@AndreGAot AndreGAot deleted the feature/AB#32491-portal-address-updates branch April 10, 2026 20:41
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