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

XMLtoAVRO mapping issue in CAP message #1

Open
JoaquinMB-Freq opened this issue Jun 13, 2018 · 1 comment
Open

XMLtoAVRO mapping issue in CAP message #1

JoaquinMB-Freq opened this issue Jun 13, 2018 · 1 comment
Assignees

Comments

@JoaquinMB-Freq
Copy link
Contributor

During the step1 of the integration of Merlin CrisisSuite into the Testbed for the Trial 2 (DryRun1), Merlin and later Thales, reported that their CAP messages are truncated in the element

<alert>
   <info>
      <resource>

This is, the resource's child nodes were not mapped to AVRO, hence not stored properly in the topic.

This happened when using the test-bed REST adapter and it blocked the integration of SMAP (Thales) and Crisis Suite (Merlin) for Dry Run 1 (Trial 2).
Opening the ticket for further research and unblock the situation.

@JoaquinMB-Freq
Copy link
Contributor Author

JoaquinMB-Freq commented Jun 13, 2018

@thoobr has found out the reason. It seems that the problem was from a limitation of the XMLtoAVRO mapper (repository xml-avro, forked from elodina/xml-avro).
The mapper can't work with optional parameters that are not defined in the schema as such.
Additionally, it is worth to mention that the mapping is case sensitive.

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

No branches or pull requests

2 participants