Page MenuHomePhabricator

Create a test/validation system for the Wikibase REST API
Closed, ResolvedPublic3 Estimated Story Points

Description

As Wikibase Product Platform PM I want to be able to test the functionality of the current development version of Wikibase REST API so that I can verify that it works as intended.

Minimum requirement for the test system would be to provide the current development version (i.e. "master branch") of Wikibase REST API. Updates of the code would ideally happen automatically. Instant updates of the code are not required. Having the test system updated 1-2 a day should be sufficient initially.

Notes:

  • test system would ideally be separate from existing test/staging/etc systems of other products (i.e. preferably it would not be "beta wikidata" etc) so that the Wikibase REST API can be tested before it reaches any systems close to actual production systems - requirement likely to be dropped
  • test system can (but does not have to) be publicly accessible
  • If public, the test system should be sufficiently spam-protected so that it does not become a testbed for spam bots

Event Timeline

Silvan_WMDE set the point value for this task to 3.Mar 3 2022, 2:19 PM
Silvan_WMDE subscribed.

estimated story points are for bet wikidata - cloud VPS would take 5

It has been agreed on to use beta wikidata.

Task Breakdown Notes

  • enable the REST API on beta wikidata via feature flag ($wgWBRepoSettings['restApiEnabled'] = true;)

Change 773209 had a related patch set uploaded (by Jakob; author: Jakob):

[operations/mediawiki-config@master] Enable Wikibase REST API on beta wikidata

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

Change 773209 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable Wikibase REST API on beta wikidata

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

Mentioned in SAL (#wikimedia-operations) [2022-03-23T13:46:26Z] <lucaswerkmeister-wmde@deploy1002> Synchronized wmf-config/Wikibase.php: Config: [[gerrit:773209|Enable Wikibase REST API on beta wikidata (T302959)]] (1/2, production no-op) (duration: 01m 07s)

Mentioned in SAL (#wikimedia-operations) [2022-03-23T13:47:43Z] <lucaswerkmeister-wmde@deploy1002> Synchronized wmf-config/InitialiseSettings-labs.php: Config: [[gerrit:773209|Enable Wikibase REST API on beta wikidata (T302959)]] (2/2, production no-op) (duration: 01m 05s)

WMDE-leszek claimed this task.