wmo-im / wis2-global-services-testing

WIS2 Global Services testing
https://wmo-im.github.io/wis2-global-services-testing
Apache License 2.0
0 stars 1 forks source link

Pubtime in the tests #4

Open kaiwirt opened 1 month ago

kaiwirt commented 1 month ago

The tests global-cache-discard-duplicate-data and global-cache-discard-duplicate-data-alt and global-cache-discard-duplicate-data-alt2 refer to the data id and the pubtime. However updates to data (same data id) also need to set the event type in the notification message to update i.e set:

rel = "http://def.wmo.int/def/rel/wnm/-/update"

in the notification message. See https://github.com/wmo-im/wis2-notification-message/issues/47

This needs to be added / considered in the tests.

tomkralidis commented 1 month ago

Note that WNM updated the link relations for updated and deleted data (rel=update or rel=deletion).