Package Ganga :: Package Runtime :: Module http_server
[hide private]
[frames] | no frames]

Module http_server

source code

Classes [hide private]
  JobRelatedInfo
  HTTPServerThread
  GetHandler
Functions [hide private]
 
getColorString(statuses, jobs=True) source code
 
addQuotes(value) source code
 
get_users_JSON() source code
 
get_subjob_JSON(job) source code
 
get_job_JSON(job) source code
 
get_subjobs_in_time_range(jobid, fromDate=None, toDate=None) source code
 
get_subjobs_JSON(jobid, fromDate=None, toDate=None) source code
 
get_job_infos_in_time_range(fromDate=None, toDate=None) source code
 
increment(d, k) source code
 
get_accumulated_subjobs_JSON(subjobs) source code
 
create_subjobs_graphics(jobid, subjob_attribute, fromDate, toDate) source code
 
get_pie_chart_json(d, colors=False, jobs=False) source code
 
create_jobs_graphics(job_attribute, fromDate=None, toDate=None) source code
 
get_jobs_JSON(fromDate=None, toDate=None) source code
 
update_jobs_dictionary() source code
 
fill_jobs_dictionary() source code
 
saveProcessDetails() source code
 
getProcessDetails() source code
 
getHttpServer() source code
 
convertStringToDatetime(timestring) source code
 
getFromDateFromTimeRange(timeRange) source code
 
getMonitoringLink(port) source code
 
start_server() source code
Variables [hide private]
  logger = Ganga.Utility.logging.getLogger()
  job_status_color = {'new': '00FFFF', 'submitting': 'FFFFFF', '...
  subjob_status_color = {'new': '00ff7d', 'submitting': 'FFFFFF'...
  jobs_dictionary = {}
  httpServerHost = 'localhost'
  httpServerStartTryPort = 8080
Variables Details [hide private]

job_status_color

Value:
{'new': '00FFFF', 'submitting': 'FFFFFF', 'submitted': '0000FF', 'runn\
ing': '008000', 'completed': '006400', 'completing': '006400', 'killed\
': 'FF0000', 'unknown': '808080', 'incomplete': 'FF00FF', 'failed': 'F\
F0000'}

subjob_status_color

Value:
{'new': '00ff7d', 'submitting': 'FFFFFF', 'submitted': '00007d', 'runn\
ing': '00f000', 'completed': '009000', 'completing': '009000', 'killed\
': '7d0000', 'unknown': '808080', 'incomplete': '7d007d', 'failed': '7\
D0000'}