-
Notifications
You must be signed in to change notification settings - Fork 2
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
relate message to its associated discovery metadata #25
Comments
Global Broker shouldn't alter the message, I don't think it is part of the "design". So, option 2 and 3, not sure. |
For Option 1 then, the data notification would need to have logic to construct the correct GDC URL to the metadata record. |
cc @kaiwirt Note: the GB would not alter the message, the collection ID would be the responsibility of the node. We could also consider the STAC approach of adding a Providing the collection ID (i.e. the discovery metadata) would also help ensure/check that discovery metadata indeed exists for a given message/granule. |
I think Option 1 does not work, because a Node generating a message does not know the GDC URL for the metadata file. Additionally a GDC might want to update the URLs for some reason, so i would not consider these static. For the same reason i think that the only entity that could potentially add the correct metadata link to the message is the GDC, which however is not in the message flow. A Broker should not modify the messages it forwards. I prefer Option 2. Not sure about Option 3. |
Option 2 sounds good to me, if it is already added to origin-message. |
My concern is, that by adding this linkage to every data notification we are not lowering the barrier (to enter WIS) but heightening it. It is another element that needs to be appropriately maintained in the configuration of the notification publishing software and has little practical value. I think that the data_id (topicHierarchy) already provides sufficient linkage between the data and the metadata. |
@josusky note that adding Another option is reducing to a permission (MAY), while still putting forth as a (future) KPI. In the cases where a WIS2 Node acts as an organization's central publishing facility, adding this value would be a useful option IMO. |
Since we didn't want to have a data flow (at least for core and globally distributed data) without metadata created, we need a way to check this. From my point of view, including the metadata_id in the notification allows such a check. However, I don't know if this check costs too much performance with increasing message volume. But our pilot phase is meant for such experiences... |
TT-WISMD 2023-03-08:
|
* add properties.metadata_id (#25) * address PR comments * Update notificationMessageGeoJSON.yaml
It would be valuable to have an associated from a data notification to its related discovery metadata.
Options
Option 1
Add a
link
with the relevant URL to the GDC metadata record (implies infrastructure requirement from WIS2 Node):Option 2
Add a
properties.metadata_id
, consisting of only the identifier:Option 3
Potential to refactor
properties.data_id
andproperties.metadata_id
intoproperties.externalIds
(lockstep with WCMP2):Other options?
Additional information
Options 2 or 3 would facilitate a global broker adding a link object (to the GDC) as part of the message relay.
The text was updated successfully, but these errors were encountered: