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.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Make ScoreFetcher and SqlScoreLookup implement different interfaces | mediawiki/extensions/ORES | master | +17 -29 |
Related Objects
Related Objects
- Mentioned In
- Blog Post: Status Update (May 2, 2018)
Event Timeline
Comment Actions
Change 406609 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/extensions/ORES@master] Make ScoreFetcher and SqlScoreLookup implement different interfaces
Comment Actions
Change 406609 merged by jenkins-bot:
[mediawiki/extensions/ORES@master] Make ScoreFetcher and SqlScoreLookup implement different interfaces