Page MenuHomePhabricator

Clean up ScoreLookup implementations
Closed, ResolvedPublic

Description

Right now, ScoreLookup interface has two implementations: 1- ScoreFetcher which gets scores from the ores service 2- SqlScoreLookup which looks up the scores from the database. The interface is designed with too much of knowledge about the implementation causing inconsistency between these two. ScoreFetcher::getScores needs to be cleaned (specially regarding usecases) and the interface needs to be adjusted.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 406609 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/extensions/ORES@master] Make ScoreFetcher and SqlScoreLookup implement different interfaces

https://gerrit.wikimedia.org/r/406609

Change 406609 merged by jenkins-bot:
[mediawiki/extensions/ORES@master] Make ScoreFetcher and SqlScoreLookup implement different interfaces

https://gerrit.wikimedia.org/r/406609

awight mentioned this in Unknown Object (Phame Post).May 2 2018, 6:41 PM
awight mentioned this in Unknown Object (Phame Post).
awight mentioned this in Unknown Object (Phame Post).