Skip to content

feat: publish visit updated for approved visit registration updates and align seed data#1524

Open
yoganandaness wants to merge 2 commits into
developfrom
SWAP-5322-uo-officer-should-be-able-to-change-approved-visi
Open

feat: publish visit updated for approved visit registration updates and align seed data#1524
yoganandaness wants to merge 2 commits into
developfrom
SWAP-5322-uo-officer-should-be-able-to-change-approved-visi

Conversation

@yoganandaness
Copy link
Copy Markdown
Contributor

Description

Publish VISIT_UPDATED for approved visit-registration updates, include id in visit payload, and update seed data for visit template activation and approved proposals.

Motivation and Context

Ensure downstream systems receive visit update events (not only create/delete) and improve local test data readiness.

How Has This Been Tested

  • Verified updated backend files show no editor/type errors.
  • Validated message broker routing and payload changes.
  • Confirmed SQL seed updates are syntactically valid.

Fixes

Enables visit sync on approved registration updates via VISIT_UPDATED.

Changes

  • Updated RabbitMQ publish logic for visit registration events.
  • Added id to visit event JSON payload.
  • Added active visit template seed.
  • Marked seeded proposals as management-approved.

Depends on

None.

Tests included/Docs Updated?

  • I have added tests to cover my changes.
  • All relevant doc has been updated

@yoganandaness yoganandaness requested a review from a team as a code owner May 21, 2026 07:37
@yoganandaness yoganandaness requested review from TCMeldrum and removed request for a team May 21, 2026 07:37
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.

1 participant