[IOPID-3813] Add regenerate aggregate manage subscriptions keys#1484
[IOPID-3813] Add regenerate aggregate manage subscriptions keys#1484
Conversation
…teManageSubscriptionsKey
🦋 Changeset detectedLatest commit: 246a949 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Coverage Report for App Backend (./apps/app-backend)
File CoverageNo changed files found. |
Coverage Report for Backoffice Frontend (./apps/backoffice)
File Coverage
|
||||||||||||||||||||||||||||||||||||||
Coverage Report for Backoffice Backend (./apps/backoffice)
File CoverageNo changed files found. |
Coverage Report for Webapp (./apps/io-services-cms-webapp)
File CoverageNo changed files found. |
Coverage Report for External Clients (./packages/external-clients)
File CoverageNo changed files found. |
Coverage Report for Models (./packages/io-services-cms-models)
File CoverageNo changed files found. |
|
🎉 All dependencies have been resolved ! |
There was a problem hiding this comment.
Pull request overview
This PR updates the Backoffice “Aggregated Institutions” flow to support regenerating manage subscription keys at the institution aggregate level, aligning the UI and mocks/tests with the new aggregate-specific API introduced in the dependent PR.
Changes:
- Switch the Aggregated Institutions page to call
regenerateInstitutionAggregateManageSubscriptionsKeyusingaggregateId(instead of subscription-level regeneration). - Update page tests to mock and assert the new client method/parameters.
- Extend MSW backend handlers + mock data to return stable per-aggregate keys and support key regeneration.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| apps/backoffice/src/pages/aggregated-institutions.tsx | Uses new aggregate-level regenerate API and updates local state accordingly |
| apps/backoffice/src/tests/pages/aggregated-institutions.test.tsx | Updates mocks/assertions for the new client method and payload |
| apps/backoffice/mocks/handlers/backend-handlers.ts | Adds MSW handlers for retrieving/regenerating aggregate manage keys |
| apps/backoffice/mocks/data/backend-data.ts | Persists keys per aggregate and regenerates the requested key type |
| .changeset/nice-adults-march.md | Publishes a patch changeset for the Backoffice package |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|



Resolves IOPID-3813