Notification channels can receive device presence and DHCP lease events with useful payloads #162
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#163 The OpenAPI snapshot and Angular API client include the new notification event types
lantea-one/ninlil
#256 Ninlil warns when another DHCP server answers on its network
lantea-one/ninlil
Reference
lantea-one/ninlil#162
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The deliverable-event catalog and the subscriber registrations must match (
WebhookEventCatalog.cs:23-32,ServiceCollectionWebhooksExtension.cs:67-98; a test enforces it). #150 renames both toNotificationEventCatalogandServiceCollectionNotificationsExtension.DhcpLeaseChangedEventcarries only the lease id (DhcpLeaseChangedEvent.cs:18; publishers atDhcpv4LeaseAllocationService.cs:256), which tells a receiver nothing useful.What changes
DhcpLeaseChangedEventtoNotificationEventCatalogand register a delivery subscriber for each inServiceCollectionNotificationsExtension(both insrc/dotnet/src/Ninlil.Dns.Server.Notifications/after #150).IpAddress,ClientIdentifier,HostName,ScopeNameandProtocolVersiontoDhcpLeaseChangedEvent, filled at every publish site (Dhcpv4LeaseAllocationService,Dhcpv6LeaseAllocationService,Dhcpv4LeaseExpirySweepService.cs:153,DhcpLeaseAdministrationService.cs:58). Every one of them has the lease row in hand, and existing subscribers keep reading the id.src/dotnet/src/Ninlil.Web/Examples/that list event names gain the new names.Acceptance
IsDeliverable_ForClientDiscovered_ReturnsTruein the notifications test project (src/dotnet/tests/Ninlil.Dns.Server.Notifications.Testsafter #150).DhcpLeaseChangedpayload that carries the IP address.dotnet test src/dotnet/tests/Ninlil.Dns.Server.Notifications.Tests,dotnet test src/dotnet/tests/Ninlil.Web.Tests, and the whole solution (Core changed).Source
audit-feature-parity.md§2A #11, §2B #37.Owner decision 2026-10-31: one unified notification-channel entity replaces webhook subscriptions (Q-PN-7), so the new events are deliverable to every channel kind.