Page MenuHomePhabricator

Repo API modules should not depend on EntityContent
Closed, ResolvedPublic

Description

API modules should use the EntityStore and related services instead of relying on EntityContent. This allows unit tests to mock the storage layer when testing API modules.

In addition, avoiding EntityContent will make it easier to introduce redirects.


Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=8 cleanup

Details

Reference
bz62491

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:57 AM
bzimport set Reference to bz62491.
bzimport added a subscriber: Unknown Object (MLST).

Change 118580 had a related patch set uploaded by Daniel Kinzler:
(bug 62491) make API tests not use EntityContent

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

Change 118580 merged by jenkins-bot:
(bug 62491) make API tests not use EntityContent

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

Change 119058 had a related patch set uploaded by Daniel Kinzler:
(bug 62491) Service for checking permissions.

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

Change 118313 merged by jenkins-bot:
(bug 62491) don't use EntityContent in API modules

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

Change 119058 merged by jenkins-bot:
(bug 62491) Service for checking permissions.

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