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 | ) |
Definition at line 163 of file alcaDQMUpload.py.
References print().
Referenced by main().
def alcaDQMUpload.checkSSL | ( | opts | ) |
Definition at line 117 of file alcaDQMUpload.py.
References print().
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 32 of file alcaDQMUpload.py.
References filetype(), and str.
Referenced by BeautifulSoup.UnicodeDammit._detectEncoding(), trigger::TriggerEvent.addCollections(), uploads.uploader.get_upload_session_id(), util.getRunInfo.getFilesForRun(), marshall(), ConfigBuilder.ConfigBuilder.profileOptions(), util.getRunInfo.runGetDatasetsAvailable(), cmsswSequenceInfo.serve(), and uploadConditions.ConditionsUploader.uploadFile().
def alcaDQMUpload.filetype | ( | filename | ) |
def alcaDQMUpload.getURL | ( | filename, | |
destination | |||
) |
Definition at line 201 of file alcaDQMUpload.py.
References python.rootplot.root2matplotlib.replace().
Referenced by main().
def alcaDQMUpload.main | ( | args | ) |
Definition at line 238 of file alcaDQMUpload.py.
References checkFileName(), checkSSL(), getURL(), print(), 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 53 of file alcaDQMUpload.py.
Referenced by upload().
def alcaDQMUpload.print_help | ( | args | ) |
Definition at line 92 of file alcaDQMUpload.py.
def alcaDQMUpload.registerFileAtLogServer | ( | filename, | |
destination, | |||
tags | |||
) |
Definition at line 221 of file alcaDQMUpload.py.
References print(), and python.rootplot.root2matplotlib.replace().
Referenced by main().
def alcaDQMUpload.startUpload | ( | url, | |
filename | |||
) |
Definition at line 179 of file alcaDQMUpload.py.
References mergeVDriftHistosByStation.file, print(), SiPixelLorentzAngle_cfi.read, and upload().
Referenced by main().
def alcaDQMUpload.upload | ( | url, | |
args, | |||
files | |||
) |
Definition at line 65 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 14 of file alcaDQMUpload.py.
alcaDQMUpload.ssl_cert_file = None |
Definition at line 19 of file alcaDQMUpload.py.
alcaDQMUpload.ssl_key_file = None |
Definition at line 18 of file alcaDQMUpload.py.