Public Member Functions | |
def | __init__ (self, hostname=defaultHostname, urlTemplate=defaultUrlTemplate) |
def | setHost (self, hostname) |
def | signIn (self, username, password) |
def | signOut (self) |
def | uploadFile (self, filename, backend=defaultBackend, temporaryFile=defaultTemporaryFile) |
Public Attributes | |
hostname | |
http | |
password | |
token | |
urlTemplate | |
userName | |
Private Member Functions | |
def | _checkForUpdates (self) |
Upload conditions to the CMS conditions uploader service.
Definition at line 445 of file uploadConditions.py.
def uploadConditions.ConditionsUploader.__init__ | ( | self, | |
hostname = defaultHostname , |
|||
urlTemplate = defaultUrlTemplate |
|||
) |
Definition at line 449 of file uploadConditions.py.
|
private |
Updates this script, if a new version is found.
Definition at line 506 of file uploadConditions.py.
References upload_popcon.ConditionsUploader.hostname, uploadConditions.ConditionsUploader.hostname, createfilelist.int, upload_popcon.ConditionsUploader.signOut(), and uploadConditions.ConditionsUploader.signOut().
def uploadConditions.ConditionsUploader.setHost | ( | self, | |
hostname | |||
) |
Definition at line 457 of file uploadConditions.py.
References upload_popcon.ConditionsUploader.hostname, uploadConditions.ConditionsUploader.hostname, cond::TagInfo_t.token, upload_popcon.HTTP.token, uploadConditions.HTTP.token, upload_popcon.ConditionsUploader.token, and uploadConditions.ConditionsUploader.token.
def uploadConditions.ConditionsUploader.signIn | ( | self, | |
username, | |||
password | |||
) |
Definition at line 462 of file uploadConditions.py.
References upload_popcon.ConditionsUploader.hostname, uploadConditions.ConditionsUploader.hostname, upload_popcon.ConditionsUploader.http, uploadConditions.ConditionsUploader.http, cond::auth::ServiceCredentials.password, cond::CredentialData.password, upload_popcon.ConditionsUploader.password, uploadConditions.ConditionsUploader.password, harvestTrackValidationPlots.str, digi_MixPreMix_cfi.strip, cond::TagInfo_t.token, upload_popcon.HTTP.token, uploadConditions.HTTP.token, upload_popcon.ConditionsUploader.token, uploadConditions.ConditionsUploader.token, upload_popcon.ConditionsUploader.urlTemplate, uploadConditions.ConditionsUploader.urlTemplate, cond::auth::ServiceCredentials.userName, cond::CredentialData.userName, upload_popcon.ConditionsUploader.userName, and uploadConditions.ConditionsUploader.userName.
Referenced by cmstc.TagCollector.signInInteractive().
def uploadConditions.ConditionsUploader.signOut | ( | self | ) |
Signs out the server.
Definition at line 497 of file uploadConditions.py.
References upload_popcon.ConditionsUploader.hostname, uploadConditions.ConditionsUploader.hostname, cond::TagInfo_t.token, upload_popcon.HTTP.token, uploadConditions.HTTP.token, upload_popcon.ConditionsUploader.token, and uploadConditions.ConditionsUploader.token.
Referenced by uploadConditions.ConditionsUploader._checkForUpdates().
def uploadConditions.ConditionsUploader.uploadFile | ( | self, | |
filename, | |||
backend = defaultBackend , |
|||
temporaryFile = defaultTemporaryFile |
|||
) |
Uploads a file to the dropBox. The filename can be without extension, with .db or with .txt extension. It will be stripped and then both .db and .txt files are used.
Definition at line 531 of file uploadConditions.py.
References uploadConditions.addToTarFile(), upload_popcon.ConditionsUploader.hostname, uploadConditions.ConditionsUploader.hostname, mps_monitormerge.items, harvestTrackValidationPlots.str, cond::auth::ServiceCredentials.userName, cond::CredentialData.userName, upload_popcon.ConditionsUploader.userName, and uploadConditions.ConditionsUploader.userName.
uploadConditions.ConditionsUploader.hostname |
Definition at line 450 of file uploadConditions.py.
Referenced by uploadConditions.ConditionsUploader._checkForUpdates(), uploadConditions.ConditionsUploader.setHost(), uploadConditions.ConditionsUploader.signIn(), uploadConditions.ConditionsUploader.signOut(), and uploadConditions.ConditionsUploader.uploadFile().
uploadConditions.ConditionsUploader.http |
Definition at line 453 of file uploadConditions.py.
Referenced by uploadConditions.ConditionsUploader.signIn().
uploadConditions.ConditionsUploader.password |
Definition at line 454 of file uploadConditions.py.
Referenced by uploadConditions.ConditionsUploader.signIn().
uploadConditions.ConditionsUploader.token |
Definition at line 455 of file uploadConditions.py.
Referenced by uploadConditions.ConditionsUploader.setHost(), uploadConditions.ConditionsUploader.signIn(), and uploadConditions.ConditionsUploader.signOut().
uploadConditions.ConditionsUploader.urlTemplate |
Definition at line 451 of file uploadConditions.py.
Referenced by uploadConditions.ConditionsUploader.signIn().
uploadConditions.ConditionsUploader.userName |
Definition at line 452 of file uploadConditions.py.
Referenced by uploadConditions.ConditionsUploader.signIn(), and uploadConditions.ConditionsUploader.uploadFile().