Auto-tools/Projects/BugHunter: Difference between revisions

Line 50: Line 50:


=== Webservice ===
=== Webservice ===
The bughunter webservice serves data in JSON.  It excepts a set of named parameters provided in an HTTP POST that correspond to different data views.  An HTTP POST was used instead of a GET due to the potential large size of crash signatures and crash URL's.
The bughunter webservice serves data in JSON.  It excepts a set of named parameters provided in an HTTP POST that correspond to different data views.  An HTTP POST was used instead of a GET due to the potential large size of crash signatures and crash URL's that need to be passed as parameters asynchronously and on page load depending on the user action.


The complete source for the webservice can be found in python/sisyphus/webapp/bughunter/views.py.  This file contains two webservices: the admin service and the data view webservice.  The admin service manages reporting status for the VM cluster and the data view webservice provides a dataservice and UI for the sisyphus database.   
The complete source for the webservice can be found in python/sisyphus/webapp/bughunter/views.py.  This file contains two webservices: the admin service and the data view webservice.  The admin service manages reporting status for the VM cluster and the data view webservice provides a dataservice and UI for the sisyphus database.   
Confirmed users
353

edits