inferno-framework / bulk-data-test-kit

Inferno Test Kit for servers implementing the Bulk Data Access Implementation Guide
Apache License 2.0
0 stars 0 forks source link

FI-2459: Limit Validation Messages #9

Closed emichaud998 closed 10 months ago

emichaud998 commented 10 months ago

Summary

The Bulk Data Test Kit produces too many validation messages that freeze up the UI. This PR limits the number of info and warning messages to 50 and the number of error messages to 20 to prevent this issue. If the validation messages reaches the cap, a message is added to the end that says that Inferno is only showing the first 50 validation info and warning messages or only showing the first 20 error messages.

Testing Guidance

Run the bulk data test kit locally and run with a high validation resource count. Ensure that only 50 info and warning messages are produced, and that the UI does not freeze up. I used the BCDA server for testing: https://bcda.cms.gov/guide.html#try-the-api