Repository navigation
add recipe for WIS2 Node Assessment #51
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
351bcdb
add recipe for WIS2 Node Assessment
maaikelimper f48fc61
update with additional content and formatting
maaikelimper a8135b3
avoid URL checking issue in build...
maaikelimper 768903b
format
maaikelimper 16ada81
avoid URL
maaikelimper 412b602
fix
maaikelimper ec1873c
address review comments
maaikelimper 1aa716c
rewrite common issues section
maaikelimper 10f14f6
Use WIS2-dev
maaikelimper aac91a5
consist capital
maaikelimper 6eead0b
use wis2dev
maaikelimper 222886d
removing hyphen behind wis2dev
maaikelimper b62e1a0
thank you Tom
maaikelimper 0567eae
address Rémy comments
maaikelimper File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
120 changes: 120 additions & 0 deletions
120
cookbook/sections/data-publishers/wis2node-assesment-process.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,120 @@ | ||
| === WIS2 Node Assessment Process | ||
|
|
||
| Data publishers are required to demonstrate that their WIS2 Node implementation meets the requirements of the WIS2 specification as part of the "WIS2 Node Assessment Process". | ||
|
|
||
| The WIS2 Node Assessment Process is initiated whenever an authorized data publisher submits a WIS2 Node registration request to the WMO Secretariat. | ||
|
|
||
| ==== Roles and Responsibilities | ||
|
|
||
| During the WIS2 Node assessment: | ||
|
|
||
| - The WMO Secretariat connects the WIS2 Node to the WIS2DEV environment. | ||
| - The GISC in the data publisher's Area of Responsibility (AoR) performs the assessment. | ||
| - The GISC informs the WMO Secretariat when the assessment is completed. | ||
|
|
||
| [NOTE] | ||
| .Optional pre-registration testing | ||
| ==== | ||
| Data publishers and commercial WIS2 solution providers who want to test their systems before registration can contact the WMO Secretariat at wis2-support@wmo.int to request that a test system be connected to WIS2DEV. | ||
| ==== | ||
|
|
||
| ==== WIS2DEV Environment | ||
|
|
||
| The WIS2DEV environment consists of: | ||
|
|
||
| - A Global Broker with a publicly accessible MQTT endpoint available at: `mqtts://gb.wis2dev.io:8883` | ||
| - A Global Discovery Catalogue with an OAPI endpoint available at: `https://gdc.wis2dev.io/` | ||
| - A Global Cache provided through Amazon S3 web services | ||
|
|
||
| ==== WIS2DEV Global Broker | ||
|
|
||
| When a new WIS2 Node registration request is received from an authorized data publisher, the WIS2DEV Global Broker is configured with a new subscription to the MQTT endpoint provided by the data publisher. | ||
|
|
||
| The new subscription on the WIS2DEV Global Broker will subscribe to the topic: | ||
|
|
||
| - `origin/a/wis2/<centre-id>/#` | ||
|
|
||
| where `<centre-id>` is the unique identifier of the WIS2 Node. | ||
|
|
||
| The WIS2DEV Global Broker republishes all valid WIS2 Notification Messages. A message is considered invalid when: | ||
|
|
||
| - the channel does not match the WIS2 Topic Hierarchy, or | ||
| - the message does not conform to the WIS2 Notification Message specification, or | ||
| - the message is a data-notification for which no corresponding metadata record can be found in the WIS2DEV Global Discovery Catalogue. | ||
|
|
||
| ==== WIS2DEV Global Cache and Global Discovery Catalogue | ||
|
|
||
| The WIS2DEV Global Cache downloads data advertised in data-notifications published on: | ||
|
|
||
| - `origin/a/wis2/<centre-id>/data/core/#` | ||
| - `origin/a/wis2/<centre-id>/metadata/#` | ||
|
|
||
| No download attempt is made if the data has already been downloaded, unless the download link indicates `rel="update"`. | ||
|
|
||
| After a successful download, the WIS2DEV Global Cache publishes a data-notification on `cache/a/wis2/<centre-id>/#`, with the full topic matching that of the original WIS2 Node, but with `origin` replaced by `cache`. | ||
|
|
||
| Notifications published by the WIS2DEV Global Cache on `cache/a/wis2/#` are republished by the WIS2DEV Global Broker. | ||
|
|
||
| The WIS2DEV Global Discovery Catalogue subscribes to the WIS2DEV Global Broker at `cache/a/wis2/<centre-id>/metadata` and validates metadata records published by the WIS2 Node using the pywcmp ETS test suite. | ||
|
maaikelimper marked this conversation as resolved.
Resolved
|
||
|
|
||
| ==== Assessment Preparation for Data Publishers | ||
|
|
||
| Before the assessment, data publishers should ensure that: | ||
|
|
||
| - The WIS2DEV IP address, `52.25.203.140`, is allowlisted for the HTTP and MQTT ports used by the WIS2 Node. | ||
| - The WIS2 Node can publish data-notifications for metadata, and the published metadata contains a valid WCMP2 record. | ||
|
maaikelimper marked this conversation as resolved.
Resolved
|
||
| - The WIS2 Node can publish data-notifications for data, and the data-notifications match the published metadata. | ||
|
|
||
| === GISC test setup instructions | ||
|
|
||
| GISC subscribes to `mqtts://gb.wis2dev.io:8883` using username/password `everyone/everyone` and sets up a connection to the topics: | ||
|
|
||
| - `origin/a/wis2/<centre-id>/#` | ||
| - `cache/a/wis2/<centre-id>/#` | ||
| - `monitor/a/wis2/<centre-id>` | ||
|
|
||
| GISC will coordinate with the contact point for the new WIS2 Node to publish metadata for their datasets first and then to publish data notifications. | ||
|
|
||
| Approximately 30 minutes are needed for metadata to be used by the Global Broker to validate that the published data has corresponding metadata. | ||
|
maaikelimper marked this conversation as resolved.
Resolved
|
||
|
|
||
| GISC will follow up on errors reported on the monitor topic and assist the contact point of the new WIS2 Node with corrective actions. | ||
|
maaikelimper marked this conversation as resolved.
Resolved
|
||
|
|
||
| ==== Assessment Completion Checklist | ||
|
|
||
| The WIS2 Node Assessment is considered complete when: | ||
|
|
||
| - One or more metadata records are available for the WIS2 Node when searching `https://gdc.wis2dev.io/collections/wis2-discovery-metadata/items?q=%3Ccentre-id%3E` | ||
| - MQTT notifications have been published on the WIS2DEV GB at `origin/a/wis2/<centre-id>/metadata` | ||
| - MQTT notifications have been published on the WIS2DEV GB at `origin/a/wis2/<centre-id>/data/#` | ||
| - MQTT notifications have been published on the WIS2DEV GB at `cache/a/wis2/<centre-id>/metadata` | ||
| - MQTT notifications have been published on the WIS2DEV GB at `cache/a/wis2/<centre-id>/data/core/#` | ||
|
|
||
| ==== Common Assessment Issues | ||
|
|
||
| ===== The canonical URL embedded in a WIS2 data-notification is not accessible from WIS2DEV | ||
|
|
||
| The data publisher should ensure that the canonical URL is reachable from the WIS2DEV environment. | ||
|
|
||
| ===== The WIS2 Node is not publishing data-notifications for metadata | ||
|
|
||
| The data publisher should ensure that data-notifications for metadata are being published. | ||
|
|
||
| ===== The metadata record published by the WIS2 Node is cached by the WIS2DEV Global Cache, but rejected by the WIS2DEV Global Discovery Catalogue because it fails the pywcmp ETS test suite | ||
|
maaikelimper marked this conversation as resolved.
Resolved
|
||
|
|
||
| The data publisher should ensure that the metadata record passes the pywcmp ETS test suite before publishing. | ||
|
|
||
| ===== Updated metadata records are rejected by the WIS2DEV Global Cache because a previous record with the same data-id was already cached and the download link did not indicate `rel="update"` | ||
|
|
||
| The data publisher should ensure that the download link for updated metadata records indicates `rel="update"`. | ||
|
|
||
| [NOTE] | ||
| .Implementation note for publishers using wis2box | ||
| ==== | ||
| Many publishers use `wis2box` to implement their WIS2 Node. | ||
|
|
||
| `wis2box` is designed to publish data-notifications only after metadata has been published, and it includes built-in validation of WCMP2 records using pywcmp. | ||
|
|
||
| WIS2 Node implementations that use separate software to publish metadata and data-notifications may require additional coordination to pass the WIS2 Node Assessment Process. In particular, mismatches between the metadata identifier and the WIS2 topic advertised in the WCMP2 record can cause data-notifications to be discarded. | ||
|
|
||
| Data publishers who want to make existing systems WIS2-compliant may consider sending their data to a `wis2box` instance configured with the `passthrough`-plugin to reduce metadata-related issues. | ||
| ==== | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.