A Tombstone Announcement includes a targetAnnouncementType field, but an Update Announcement does not include a targetAnnouncementType.
The proposal is to add a targetAnnouncementType field to Update Announcements for parity with Tombstone Announcements.
Motivation
Some services may not care about all announcement types, so having a target announcement type at the announcement level gives them an efficient way to skip irrelevant Update Announcements.
This field should be consistent for both Tombstone and Update Announcements.
Specification Pull Request
Current change pull request:
Rationale
Three alternatives were considered on the DSNP/Frequency Spec meeting on 8 Dec 2022.
Leave as is.
Remove targetAnnouncementType from Tombstone Announcement.
Add targetAnnouncementType to Update Announcement.
The preponderance of attendees were in favor of option 3.
Backwards Compatibility
While this will change the data format for an Update Announcement, there are not yet any of these to contend with.
Reference Implementation and/or Tests
The field should be added as specified to the reference implementation with appropriate additions or modifications of unit and integration tests.
Abstract
A Tombstone Announcement includes a
targetAnnouncementType
field, but an Update Announcement does not include atargetAnnouncementType
.The proposal is to add a targetAnnouncementType field to Update Announcements for parity with Tombstone Announcements.
Motivation
Specification Pull Request
Current change pull request:
Rationale
Three alternatives were considered on the DSNP/Frequency Spec meeting on 8 Dec 2022.
targetAnnouncementType
from Tombstone Announcement.targetAnnouncementType
to Update Announcement.The preponderance of attendees were in favor of option 3.
Backwards Compatibility
While this will change the data format for an Update Announcement, there are not yet any of these to contend with.
Reference Implementation and/or Tests
The field should be added as specified to the reference implementation with appropriate additions or modifications of unit and integration tests.
Security Considerations
No security implications.
Dependencies
N/A
References
N/A
Copyright
Copyright and related rights waived via CC0.