Port backend/legacyapi components over to the ooniapi services pattern #807
Labels
epic
funder/otffoss2023-2024
ooni/api
Issues related to https://github.com/ooni/api
ooni/backend
Issues related to https://github.com/ooni/backend
priority/medium
The components that need to be ported are the following:
Tier0
ooniprobe
, (akaprobe_services
), where probes send their measurements andget metadata to run experiments;
prioritization
, CRUD for editing the priorities of URLs and populating theappropriate clickhouse tables so they can be used by probe;
test helpers
, such as the web connectivity test helperTier1
data
, (aka OONI Data Kraken), where Explorer and other clients access theobservations data and experiment results;
findings
, (akaincidents
) backend for findings pages on explorer (see: Port findings platform over to new pattern #814);measurements
, backend for aggregation and list measurement endpoints (notealso probe uses this, so it's maybe on the high end of tier1);
Tier2
testlists
, for proposing changes to the test-lists and submitting a github PR;For best practices in doing so, see: #817
I started in this PR to define a nice pattern for using fastapi in conjunction with PostgreSQL for the new OONI Run v2 API: #805.
And also:
I think we should adopt this for iteratively refactoring and deploying other OONI backend tier1 components.
For example the censorship findings pages should be moved over to postgresql and refactored to use fastapi.
This is also related to the API gateway work such that we are able to expose these refactored endpoints side by side the old ones minimizing the chance of breakage: ooni/devops#7.
The text was updated successfully, but these errors were encountered: