Skip to content

feat(#181): Notify Third Party — selectable URLs + energy & PII Subscription formats#183

Merged
dfcoffin merged 1 commit into
mainfrom
feature/181-notify-selectable-urls
Jun 9, 2026
Merged

feat(#181): Notify Third Party — selectable URLs + energy & PII Subscription formats#183
dfcoffin merged 1 commit into
mainfrom
feature/181-notify-selectable-urls

Conversation

@dfcoffin

@dfcoffin dfcoffin commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

The custodian "Notify Third Party" page now lets the admin select which and how many of the available resource URLs are included in the BatchList, and offers both ESPI subscription formats. Closes #181.

Changes

  • Each candidate resource has an include checkbox + an editable URL, prefilled with its canonical format:
    • ApplicationInformation
    • Authorization feed
    • Authorization entry
    • Subscription — energy: …/Batch/Subscription/{id}
    • Subscription — PII / customer: …/Batch/RetailCustomer/{id}
  • Only checked, non-blank URLs are marshalled into the BatchList and POSTed (NotificationService.notifyBatchList).
  • Subscription URLs built from the canonical EspiBatchUri (batchSubscription / batchRetailCustomer).

Verification

Live DC→TP: selecting 2 of the 5 resources sent exactly 2 → TP logged "Successfully processed notification with 2 resources." datacustodian suite 160/0.

🤖 Generated with Claude Code

…PII Subscription formats

The custodian notify page now lets the admin choose which and how many of the available
resource URLs go into the BatchList, and offers both ESPI subscription formats.

- Each candidate resource has an include checkbox + an editable URL: ApplicationInformation,
  Authorization feed, Authorization entry, energy Subscription (/Batch/Subscription/{id}), and
  PII/customer Subscription (/Batch/RetailCustomer/{id}). Only checked, non-blank URLs are sent.
- Subscription URLs are built from the canonical EspiBatchUri (batchSubscription / batchRetailCustomer).

Verified live: selecting 2 of 5 sent exactly 2 → TP "Successfully processed notification with 2
resources". datacustodian suite 160/0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dfcoffin dfcoffin merged commit 83f1e24 into main Jun 9, 2026
4 checks passed
@dfcoffin dfcoffin deleted the feature/181-notify-selectable-urls branch June 9, 2026 01:53
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.

Notify Third Party: select which/how many URLs; support energy + PII Subscription formats

1 participant