Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add guidance on how to make data_id unique #128

Open
6a6d74 opened this issue Feb 13, 2024 · 0 comments
Open

Add guidance on how to make data_id unique #128

6a6d74 opened this issue Feb 13, 2024 · 0 comments

Comments

@6a6d74
Copy link
Collaborator

6a6d74 commented Feb 13, 2024

The WIS2 Notification Message spec says that data_id must be unique, but there's no guidance on how data publishers might do this.

WIS2box made a choice to append a locally unique "file" identifier onto (most of) the topic hierarchy, for example:

wis2/hk-hko-swic/data/core/weather/advisories-warnings/ury/00-6804254d609d389f811d069a0dcbc9b1.xml

(note that the origin\a\ is not included; we shouldn't discriminate between cache and origin for the data_id, and don't need the topic-hierarchy version identifier a).

Useful to add a note to the Guide on choosing a unique identifier for the data_id and illustrate how WIS2box does it, as above.

@6a6d74 6a6d74 moved this to For end of Pre-operational phase (Dec 2024) in WIS2 - the everything list Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: For end of Pre-operational phase (Dec 2024)
Development

No branches or pull requests

1 participant