If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Socorro - survey of the UI for file system references

RESOLVED FIXED in 1.7

Status

Socorro
General
P1
major
RESOLVED FIXED
8 years ago
6 years ago

People

(Reporter: lars, Assigned: laura)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
Bug 557320 is replacing all the NFS access in Socorro to HBase calls.  The Socorro UI will also have to follow along in this change.  The Pythonic backend will have to provide services to the UI to access HBase.  We need a survey of the Socorro PHP code to note all locations where we'll need a service call.  Then we've got to define the API...
(Reporter)

Updated

8 years ago
Blocks: 557320
Target Milestone: --- → 1.7
(Assignee)

Comment 1

8 years ago
Needed by 4/19
Assignee: nobody → laura
(Assignee)

Comment 2

8 years ago
All these paths are under trunk/webapp-php.


application/controllers

application/controllers/dumps.php
Dumps_Controller::file //reads files out of dumps 


application/models

application/models/report.php
Report_Model::getbyUUID //uses $crash_uri, CrashReportDump->getJasonZ
Report_Model::formatRawDumpURLs //looks up and returns raw dump URIs

application/libraries

application/libraries/Correlation.php - most of class is file i/o, not very abstract, probably replace whole thing
specifically
    function getTxt($uri)
    function getGz($uri)
    function _get($uri, $open_fn, $close_fn) // gets gz, reads, parses
    public function parsePlatform($line) // gets platform from the appropriate line of file
    public function parseText($line) // parse line of text from correlation report
    public function isSignature($line)  // parse line of text to check if signature
    public function parseSignatureLine($line)
    public function parseSignature($line)
    public function parseCorrelation($line)


application/libraries/CrashReportDump.php - whole class depends on file i/o, but specifically:
    public function getJsonZ($uri) // retrieves JSONZ from  URI
    public function _parseDump($report) // parses whole dump, passed in as  string


application/views

application/views/common/correlation.php - direct links to correlation text files
application/views/commong/csv_link_copy.php - direct link to raw csv
application/views/daily/daily_crash_data_by_os.php - link to generated csv url
application/views/daily/daily_crash_data_by_version.php - ditto
application/views/daily/index.php - ditto
application/views/report/index.php - links to raw dump urls

tests
tests/CorrelationTest.php
tests/CrashReportModelTest.php
both depend on .gz data from tests/data and may need updating

Everything else uses PG or the web service (scripts/webservices.py).
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Assignee)

Updated

8 years ago
Priority: -- → P1
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.