-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Some services in the API used to rely on configuration files to pull configuration data. We can no longer do that since we are using ECS tasks that are spawned on demand with a transient disk. We should create a private s3 bucket for configuration files that would be pulled (and cached?) on service start up
See: #1033 (comment)
Example services that might need it:
/api/v1/test-list/tor-targets:backend/api/ooniapi/probe_services.py
Line 673 in 5763024
@probe_services_blueprint.route("/api/v1/test-list/tor-targets") api/v1/test-list/psiphon-config:backend/api/ooniapi/probe_services.py
Line 659 in 5763024
psconf = _load_json(current_app.config["PSIPHON_CONFFILE"])
After this is done we should go back to the following PRs: