Skip to content

Commit 9f520e7

Browse files
authored
FT2025-2 update (#205)
* move properties.global-cache requirement #190 * Update global-services.adoc * Update global-services.adoc
1 parent 07b4419 commit 9f520e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/sections/part2/global-services.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ In WIS2, Global Caches provide access to WMO core data for data consumers. This
131131
* For messages received on the topic ``++origin/a/+/data/core/#++`` or ``++cache/a/+/data/core/#++``, a Global Cache shall:
132132
** If the message contains the property ``"properties.cache": false``,
133133
*** Republish the message at topic ``cache/a/wis2/...``, matching ``+/a/wis2/...`` where the original message has been received, after having updated the id of the message.
134-
** Add the property ``properties.global-cache`` with the value of the centre identifier of the Global Cache to identify the origin of the data source downloaded by downstream applications.
135134
** Else
136135
*** Maintain a list of ``data_id`` values that have already been downloaded;
137136
*** Verify whether the message points to new or updated data by comparing the pubtime value of the notification message with the list of ``data_id`` values;
@@ -140,6 +139,7 @@ In WIS2, Global Caches provide access to WMO core data for data consumers. This
140139
**** If the message contains an integrity value for the data, verify the integrity of the data;
141140
**** If data is downloaded successfully, move the data to the HTTP endpoint of the Global Cache;
142141
**** Wait until the data becomes available at the endpoint;
142+
**** Add the property ``properties.global-cache`` with the value of the centre identifier of the Global Cache to identify the origin of the data source downloaded by downstream applications;
143143
**** Modify the message identifier and the canonical link's ``href`` of the received message and leave all other fields untouched;
144144
**** Republish the modified message to topic ``cache/a/wis2/...`` ,matching the ``+/a/wis2/...`` where the original message has been received;
145145
**** The metric ``wmo_wis2_gc_downloaded_total`` will be increased by 1; The metric ``wmo_wis2_gc_dataserver_last_download_timestamp_seconds`` will be updated with the timestamp (in seconds) of the last successful download from the WIS2 Node or Global Cache;

0 commit comments

Comments
 (0)