-
Notifications
You must be signed in to change notification settings - Fork 115
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
Update Data Request script to compute requesting issuer and have configurable depth #11541
Update Data Request script to compute requesting issuer and have configurable depth #11541
Conversation
…igurable depth changelog: Internal, Scripts, Update DataRequest script to compute requesting issuer and have configurable depth
0a125b4
to
256b4e9
Compare
return nil if service_providers.empty? | ||
service_provider = service_providers.tally.max_by { |_sp, count| count }[0] | ||
|
||
warn "Computed service provider #{service_provider}" |
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.
Maybe warn if there were UUIDs from multiple SPs detected?
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.
Done!
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.
This is great. Thank you!
Co-authored-by: Zach Margolis <[email protected]>
Co-authored-by: Zach Margolis <[email protected]>
…igurable depth (#11541) * Update Data Request script to compute requesting issuer and have configurable depth changelog: Internal, Scripts, Update DataRequest script to compute requesting issuer and have configurable depth * add log for multiple service providers * Update lib/data_pull.rb Co-authored-by: Zach Margolis <[email protected]> * Update lib/data_pull.rb Co-authored-by: Zach Margolis <[email protected]> --------- Co-authored-by: Zach Margolis <[email protected]>
🛠 Summary of changes
Following discussion yesterday here, this PR tries to address two potential improvements in the data request script:
ServiceProviderIdentity
/AgencyIdentity
UUIDs