Closed
Bug 558794
Opened 14 years ago
Closed 14 years ago
Socorro - survey of the UI for file system references
Categories
(Socorro :: General, task, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
1.7
People
(Reporter: lars, Assigned: laura)
References
Details
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...
Assignee | ||
Comment 2•14 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
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•14 years ago
|
Priority: -- → P1
Updated•13 years ago
|
Component: Socorro → General
Product: Webtools → Socorro
You need to log in
before you can comment on or make changes to this bug.
Description
•