-
Notifications
You must be signed in to change notification settings - Fork 1
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
FI-2947: Allow Some /metadata Requests to Fail #27
FI-2947: Allow Some /metadata Requests to Fail #27
Conversation
lib/service_base_url_test_kit/service_base_url_validate_group.rb
Outdated
Show resolved
Hide resolved
lib/service_base_url_test_kit/service_base_url_validate_group.rb
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you'll need to fix that issue with the 'get' not being protected within the warning before this can go in.
One other minor thing besides the inline comments, with this in, we may want to just update the description of the 'availability limit' to say something like this first "In the case where the Endpoint Availability Success Rate is 'All', "
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You updates seem to work to me!
…and still pass the test
…ty limit description
b20a01a
to
3165e8d
Compare
* Add input to allow user to select if some metadata requests can fail and still pass the test * Fix issue with get not being protected and update endpoint availability limit description
* Add input to limit the numeber of endpoints that Inferno will check for availability * Remove line used for testing purposes * Clean up code and add additional info message * FI-2947: Allow Some /metadata Requests to Fail (#27) * Add input to allow user to select if some metadata requests can fail and still pass the test * Fix issue with get not being protected and update endpoint availability limit description * Fix problems after rebase * Fix spelling typo
Summary
Allow for some endpoints to fail the /metadata request without failing the whole system. Some endpoint lists have so many endpoints that at any given time some might be down because they have been decommissioned since the list was published, and that isn't a sign of nonconformance on the publishers part. This PR adds an input that allows the user to select between 3 options for testing endpoint availability: