Opened 7 years ago

Closed 7 years ago

#7399 closed enhancement (implemented)

Write submitted reports to flat files

Reported by: hellais Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Keywords: oonib, SponsorH201208
Cc: Actual Points:
Parent ID: #7397 Points:
Reviewer: Sponsor:

Description

The reports that get submitted via the HTTP API shall get written to flat files on the file system.

It should be possible to customize which one of the two operations shall be performed (or both), based on a configuration file.

Child Tickets

Change History (2)

comment:1 Changed 7 years ago by hellais

I started doing a part of this here: https://gitweb.torproject.org/ooni-probe.git/commit/3baf68b4df709c039d8c3d856891afebd6077949.

The location of such report files is not yet configurable, and this is only an implementation of the first part of the reporting procedure (only the POST). The PUT method will entail doing an append to the file.

comment:2 Changed 7 years ago by hellais

Keywords: SponsorH201208 added
Resolution: implemented
Status: newclosed

The reports get created to flat files that are named with the report ID. The location of such files is not yet personalized.

Note: See TracTickets for help on using tickets.