SNEWS2 / SNEWS_Publishing_Tools

Publishing Tool for SNEWS
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

SQL Database Compatibility #84

Closed KaraMelih closed 8 months ago

KaraMelih commented 8 months ago

In the past we got rid of the meta field where we used to group all unknown key-value pairs. Instead we were now adding them as new key-value pairs to the dictionary.

However, with the new SQL backed, this seemed more complicated to track. So, I rolled back to the original idea.

If the user builds a message that contains some key-value pairs "that do not belong to ANY of the created tiers" they are shipped under the "meta" key in the message. These meta keys are NOT displayed in the alert messages but they are there for long-term storage and additional investigation, e.g. any comment the user might have, or any additional data that they might provide for triangulation etc. Coincidence System (snews cs) does not try to investigate the data send under the meta.

Along with this addition, I also

KaraMelih commented 8 months ago

Oops. The test scripts need to be adjusted. Converting this to a draft pull request.