Classes | |
class | HTTPSCertAuth |
class | HTTPSCertAuthenticate |
Functions | |
def | checkFileName |
def | checkSSL |
def | encode |
def | filetype |
def | getURL |
def | main |
def | marshall |
def | print_help |
def | registerFileAtLogServer |
def | startUpload |
def | upload |
Variables | |
HTTPS = httplib.HTTPS | |
ssl_cert_file = None | |
ssl_key_file = None | |
def alcaDQMUpload.checkFileName | ( | fileName | ) |
def alcaDQMUpload.checkSSL | ( | opts | ) |
Definition at line 116 of file alcaDQMUpload.py.
Referenced by main().
def alcaDQMUpload.encode | ( | args, | |
files | |||
) |
Encode form (name, value) and (name, filename, type) elements into multi-part/form-data. We don't actually need to know what we are uploading here, so just claim it's all text/plain.
Definition at line 31 of file alcaDQMUpload.py.
References filetype().
Referenced by BeautifulSoup.UnicodeDammit._detectEncoding(), trigger::TriggerEvent.addCollections(), egHLT::trigTools.fillHLTposition(), egHLT::trigTools.getFiltersPassed(), marshall(), HGCalGeometry.newCell(), and egHLT::trigTools.setFiltersObjPasses().
def alcaDQMUpload.filetype | ( | filename | ) |
def alcaDQMUpload.getURL | ( | filename, | |
destination | |||
) |
Definition at line 200 of file alcaDQMUpload.py.
References python.rootplot.root2matplotlib.replace().
Referenced by main().
def alcaDQMUpload.main | ( | args | ) |
Definition at line 237 of file alcaDQMUpload.py.
References checkFileName(), checkSSL(), getURL(), registerFileAtLogServer(), and startUpload().
def alcaDQMUpload.marshall | ( | args, | |
files, | |||
request | |||
) |
Marshalls the arguments to the CGI script as multi-part/form-data, not the default application/x-www-form-url-encoded. This improves the transfer of the large inputs and eases command line invocation of the CGI script.
Definition at line 52 of file alcaDQMUpload.py.
References encode().
Referenced by upload().
def alcaDQMUpload.print_help | ( | args | ) |
Definition at line 91 of file alcaDQMUpload.py.
def alcaDQMUpload.registerFileAtLogServer | ( | filename, | |
destination, | |||
tags | |||
) |
Definition at line 220 of file alcaDQMUpload.py.
References python.rootplot.root2matplotlib.replace().
Referenced by main().
def alcaDQMUpload.startUpload | ( | url, | |
filename | |||
) |
Definition at line 178 of file alcaDQMUpload.py.
References mergeVDriftHistosByStation.file, SiPixelLorentzAngle_cfi.read, and upload().
Referenced by main().
def alcaDQMUpload.upload | ( | url, | |
args, | |||
files | |||
) |
Definition at line 64 of file alcaDQMUpload.py.
References marshall().
Referenced by CommissioningHistosUsingDb.doUploadAnal(), CommissioningHistosUsingDb.doUploadConf(), startUpload(), ApvTimingHistosUsingDb.uploadConfigurations(), LatencyHistosUsingDb.uploadConfigurations(), and FineDelayHistosUsingDb.uploadConfigurations().
alcaDQMUpload.HTTPS = httplib.HTTPS |
Definition at line 13 of file alcaDQMUpload.py.
alcaDQMUpload.ssl_cert_file = None |
Definition at line 18 of file alcaDQMUpload.py.
alcaDQMUpload.ssl_key_file = None |
Definition at line 17 of file alcaDQMUpload.py.