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

Fmi avi messageconverter iwxxm #80 #81

Conversation

patrick-alaspaa
Copy link
Contributor

This pull request adresses the issue brought up in issue #80
Add IWXXM 3 parsing to generic bulletin scanner

Add bulletin parser tests and test resources for IWXXM 3.0 regular and cancellation message parsing.
Add IWXXM builletin parsing to configurations
Add IWXXM 3.0 parsing to IWXXMGenericBulletinScanner. Refactor small parts of code for less code repetition.
Code style fixes
@patrick-alaspaa patrick-alaspaa changed the title Fmi avi messageconverter iwxxm 80 Fmi avi messageconverter iwxxm #80 Jun 4, 2021
@petringo petringo linked an issue Jun 4, 2021 that may be closed by this pull request
@petringo petringo self-assigned this Jun 17, 2021
@petringo petringo self-requested a review June 17, 2021 11:47
Copy link
Contributor

@petringo petringo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to work very well. I think there are few things that still could be done to increase reliability and usability.

Rename IWXXM21_DOM_TO_GENERIC_BULLETIN_POJO -> WMO_COLLECT_DOM_TO_GENERIC_BULLETIN_POJO &&
IWXXM21_STRING_TO_GENERIC_BULLETIN_POJO -> WMO_COLLECT_STRING_TO_GENERIC_BULLETIN_POJO. Remove IWXXM30_DOM_TO_GENERIC_BULLETIN_POJO and replace references with WMO_COLLECT_DOM_TO_GENERIC_BULLETIN_POJO.
@patrick-alaspaa patrick-alaspaa requested a review from petringo June 18, 2021 09:04
Remove part of javadoc comment added by me in the last code review. It was a confudiion with IWXXM versions
Add assertions for message type and format. Modify some assertions that handle optionals
@patrick-alaspaa patrick-alaspaa requested a review from petringo June 22, 2021 09:07
@petringo petringo merged commit 004930b into fmidev:feature-archiver-v1.0-support Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IWXXM 3.0.0 messages to generic POJO conversion
2 participants