Namespaces | |
auth | |
payloadInspector | |
persistency | |
RelationalAuthenticationService | |
serialization | |
service | |
time | |
XMLAuthenticationService | |
Typedefs | |
typedef cond::serialization::InputArchive | CondInputArchive |
typedef cond::serialization::OutputArchive | CondOutputArchive |
typedef edmplugin::PluginFactory< cond::CoralServiceWrapperBase *()> | CoralServicePluginFactory |
typedef persistency::Exception | Exception |
typedef std::string | Hash |
typedef edmplugin::PluginFactory< cond::DataProxyWrapperBase *()> | ProxyFactory |
typedef unsigned long long | Time_t |
typedef unsigned long long | uint64_t |
typedef std::pair< unsigned int, unsigned int > | UnpackedTime |
typedef std::pair< Time_t, Time_t > | ValidityInterval |
Enumerations | |
enum | SynchronizationType { SYNCH_ANY = 0, SYNCH_VALIDATION, SYNCH_OFFLINE, SYNCH_MC, SYNCH_RUNMC, SYNCH_HLT, SYNCH_EXPRESS, SYNCH_PROMPT, SYNCH_PCL } |
enum | TimeType { invalid = -1, runnumber = 0, timestamp, lumiid, hash, userid } |
Functions | |
template<typename T > | |
T * | createPayload (const std::string &payloadTypeName) |
template<> | |
HcalCalibrationQIEData * | createPayload< HcalCalibrationQIEData > (const std::string &payloadTypeName) |
template<> | |
std::string * | createPayload< std::string > (const std::string &payloadTypeName) |
template<typename T > | |
std::unique_ptr< T > | default_deserialize (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<typename T > | |
std::unique_ptr< T > | deserialize (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<> | |
std::unique_ptr< BaseKeyed > | deserialize< BaseKeyed > (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<> | |
std::unique_ptr< condex::Efficiency > | deserialize< condex::Efficiency > (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<> | |
std::unique_ptr< CSCReadoutMapping > | deserialize< CSCReadoutMapping > (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<> | |
std::unique_ptr< CSCReadoutMappingForSliceTest > | deserialize< CSCReadoutMappingForSliceTest > (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<> | |
std::unique_ptr< PerformancePayload > | deserialize< PerformancePayload > (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
const TimeTypeSpecs & | findSpecs (std::string const &name) |
int | getch () |
std::pair< std::string, std::string > | getDbCredentials (const std::string &connectionString, bool updateMode, const std::string &authPath) |
cond::Time_t | getLastLumiFromOMS (const std::string &omsServiceUrl) |
cond::Time_t | getLatestLumiFromFile (const std::string &fileName) |
std::string | getLoginName () |
bool | getNextSequenceValue (const std::string &schemaVersion, coral::ISchema &schema, const std::string &sequenceName, int &value) |
std::string | getpass (const std::string &prompt, bool show_asterisk=true) |
std::string | getpassForUser (const std::string &userName) |
unsigned long long | hash64 (unsigned char *k, unsigned long long length, unsigned long long level) |
const Time_t | invalidTime (0) |
const std::string | invalidToken (" ") |
Iov_t | makeIov (cond::Time_t since, const Hash &payloadId) |
void | parseLineForNamedParams (const std::string &line, std::map< std::string, std::string > ¶ms) |
const char * | pluginCategory () |
char | randomChar () |
std::string | schemaLabel (const std::string &serviceName, const std::string &userName) |
std::string | schemaLabelForCredentialStore (const std::string &connectionString) |
bool | selectAuthorization (const std::string &schemaVersion, coral::ISchema &schema, int principalId, const std::string &role, const std::string &connectionString, AuthorizationData &destination) |
bool | selectConnection (const std::string &schemaVersion, coral::ISchema &schema, const std::string &connectionLabel, CredentialData &destination) |
bool | selectPrincipal (const std::string &schemaVersion, coral::ISchema &schema, const std::string &principal, PrincipalData &destination) |
template<typename T > | |
std::pair< Binary, Binary > | serialize (const T &payload) |
bool | setPermissionData (const std::string &schemaVersion, coral::ISchema &schema, int principalId, const std::string &principalKey, const std::string &role, const std::string &connectionString, int connectionId, const std::string &connectionKey, std::stringstream &log) |
SynchronizationType | synchronizationTypeFromName (const std::string &name) |
std::string | synchronizationTypeNames (SynchronizationType type) |
void | throwException (const std::string &message, const std::string &methodName) |
const Time_t | TIMELIMIT (std::numeric_limits< Time_t >::max()) |
std::string const & | timeTypeNames (int) |
std::pair< int, std::string > | updateConnectionData (const std::string &schemaVersion, coral::ISchema &schema, const std::string &adminKey, const std::string &connectionLabel, const std::string &userName, const std::string &password, bool forceUpdate, std::stringstream &log) |
std::pair< int, std::string > | updatePrincipalData (const std::string &schemaVersion, coral::ISchema &schema, const std::string &authenticationKey, const std::string &principalName, const std::string &adminKey, bool init, std::stringstream &log) |
Variables | |
static constexpr unsigned int | HASH_SIZE = 40 |
static std::pair< const char *, SynchronizationType > | s_obsoleteSynchronizationTypeArray [] |
static std::pair< const char *, SynchronizationType > | s_synchronizationTypeArray [] |
const unsigned int | TIMETYPE_LIST_MAX = 5 |
const cond::TimeType | timeTypeList [TIMETYPE_LIST_MAX] = {runnumber, timestamp, lumiid, hash, userid} |
const TimeTypeSpecs | timeTypeSpecs [] |
const cond::TimeType | timeTypeValues [] = {runnumber, timestamp, lumiid, hash, userid} |
The wrapper is used to allow edm::PluginFactory to change its return type to unique_ptr from a raw pointer. The unique_ptr does not work for coral::Service, because its destructor is protected and ownership is managed by intrusive reference counting.
Serialization.h CondCore/CondDB/interface/Serialization.h Description: functions for serializing the payload objects.
Definition at line 61 of file Serialization.h.
Definition at line 62 of file Serialization.h.
Definition at line 25 of file CoralServiceFactory.h.
Definition at line 25 of file Exception.h.
typedef std::string cond::Hash |
Definition at line 29 of file ProxyFactory.h.
typedef unsigned long long cond::Time_t |
typedef unsigned long long cond::uint64_t |
typedef std::pair<unsigned int, unsigned int> cond::UnpackedTime |
typedef std::pair<Time_t, Time_t> cond::ValidityInterval |
enum cond::TimeType |
T* cond::createPayload | ( | const std::string & | payloadTypeName | ) |
Definition at line 31 of file Serialization.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
HcalCalibrationQIEData* cond::createPayload< HcalCalibrationQIEData > | ( | const std::string & | payloadTypeName | ) |
Definition at line 37 of file plugin.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
|
inline |
Definition at line 41 of file Serialization.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
std::unique_ptr<T> cond::default_deserialize | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 86 of file Serialization.h.
References cond::Binary::data(), MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, jets_cff::payload, HLT_FULL_cff::payloadType, cond::Binary::size(), AlCaHLTBitMon_QueryRunRegistry::string, cond::StreamerInfo::techVersion(), and throwException().
std::unique_ptr<T> cond::deserialize | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 121 of file Serialization.h.
References HLT_FULL_cff::payloadType.
std::unique_ptr< BaseKeyed > cond::deserialize< BaseKeyed > | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 39 of file plugin.cc.
References DESERIALIZE_BASE_CASE, DESERIALIZE_POLIMORPHIC_CASE, HLT_FULL_cff::payloadType, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
std::unique_ptr<condex::Efficiency> cond::deserialize< condex::Efficiency > | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 25 of file plugin.cc.
References DESERIALIZE_POLIMORPHIC_CASE, HLT_FULL_cff::payloadType, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
std::unique_ptr<CSCReadoutMapping> cond::deserialize< CSCReadoutMapping > | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 65 of file plugin.cc.
References DESERIALIZE_POLIMORPHIC_CASE, HLT_FULL_cff::payloadType, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
std::unique_ptr<CSCReadoutMappingForSliceTest> cond::deserialize< CSCReadoutMappingForSliceTest > | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 74 of file plugin.cc.
References DESERIALIZE_POLIMORPHIC_CASE, HLT_FULL_cff::payloadType, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
std::unique_ptr<PerformancePayload> cond::deserialize< PerformancePayload > | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 18 of file PerformanceRecordPlugin.cc.
References DESERIALIZE_POLIMORPHIC_CASE, HLT_FULL_cff::payloadType, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
const TimeTypeSpecs & cond::findSpecs | ( | std::string const & | name | ) |
Definition at line 23 of file Time.cc.
References Exception, mps_fire::i, Skims_PA_cff::name, TIMETYPE_LIST_MAX, and timeTypeSpecs.
Referenced by cond::time::timeTypeFromName().
int cond::getch | ( | ) |
std::pair<std::string, std::string> cond::getDbCredentials | ( | const std::string & | connectionString, |
bool | updateMode, | ||
const std::string & | authPath | ||
) |
Definition at line 8 of file CondDBPyBind11Wrappers.cc.
References lumi_dqm_sourceclient-live_cfg::authPath, cond::auth::COND_AUTH_PATH, cond::auth::COND_READER_ROLE, cond::auth::COND_WRITER_ROLE, l1RCTOmdsFedVectorProducer_cfi::connectionString, cond::CredentialStore::getUserCredentials(), runTheMatrix::ret, cond::CredentialStore::setUpForConnectionString(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PYBIND11_MODULE().
cond::Time_t cond::getLastLumiFromOMS | ( | const std::string & | omsServiceUrl | ) |
Definition at line 58 of file OnlineDBOutputService.cc.
References getInfoFromService(), info(), cond::time::lumiTime(), cond::time::MIN_VAL(), beam_dqm_sourceclient-live_cfg::omsServiceUrl, writedatasetfile::run, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cond::service::OnlineDBOutputService::getLastLumiProcessed().
cond::Time_t cond::getLatestLumiFromFile | ( | const std::string & | fileName | ) |
Definition at line 47 of file OnlineDBOutputService.cc.
References MillePedeFileConverter_cfg::fileName, beam_dqm_sourceclient-live_cfg::lastLumiFile, cond::time::MIN_VAL(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cond::service::OnlineDBOutputService::getLastLumiProcessed().
std::string cond::getLoginName | ( | ) |
Definition at line 42 of file DecodingKey.cc.
References mps_check::msg, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by cond::auth::DecodingKey::init().
bool cond::getNextSequenceValue | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
const std::string & | sequenceName, | ||
int & | value | ||
) |
Definition at line 329 of file CredentialStore.cc.
References contentValuesFiles::query, runTheMatrix::ret, SEQUENCE_NAME_COL(), SEQUENCE_TABLE(), SEQUENCE_VALUE_COL(), TrackCollections2monitor_cff::sequenceName, AlCaHLTBitMon_QueryRunRegistry::string, and tname().
Referenced by setPermissionData(), updateConnectionData(), and updatePrincipalData().
std::string cond::getpass | ( | const std::string & | prompt, |
bool | show_asterisk = true |
||
) |
Definition at line 34 of file Utilities.cc.
References gather_cfg::cout, getch(), EcalCondDBWriter_cfi::password, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getpassForUser().
std::string cond::getpassForUser | ( | const std::string & | userName | ) |
Definition at line 60 of file Utilities.cc.
References getpass(), AlCaHLTBitMon_QueryRunRegistry::string, and EcalCondDBWriter_cfi::userName.
ub8 cond::hash64 | ( | unsigned char * | k, |
unsigned long long | length, | ||
unsigned long long | level | ||
) |
Definition at line 68 of file hash64.cc.
References a, b, HltBtagPostValidation_cff::c, dqmdumpme::k, personalPlayback::level, L1DTConfigBti_cff::LL, and mix64.
Referenced by cond::KeyedElement::convert().
const Time_t cond::invalidTime | ( | 0 | ) |
Referenced by cond::TimeTypeTraits< type >::specs().
const std::string cond::invalidToken | ( | " " | ) |
Iov_t cond::makeIov | ( | cond::Time_t | since, |
const Hash & | payloadId | ||
) |
Definition at line 20 of file CondDBPyWrappers.cc.
References runTheMatrix::ret, and writeEcalDQMStatus::since.
Referenced by BOOST_PYTHON_MODULE().
void cond::parseLineForNamedParams | ( | const std::string & | line, |
std::map< std::string, std::string > & | params | ||
) |
Definition at line 58 of file DecodingKey.cc.
References B2GTnPMonitor_cfi::item, ItemSeparator, mps_splice::line, CalibrationSummaryClient_cfi::params, str, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cond::auth::DecodingKey::createFromInputFile().
const char * cond::pluginCategory | ( | ) |
Definition at line 64 of file ProxyFactory.cc.
char cond::randomChar | ( | ) |
Definition at line 37 of file DecodingKey.cc.
References b64str.
Referenced by cond::auth::KeyGenerator::make().
std::string cond::schemaLabel | ( | const std::string & | serviceName, |
const std::string & | userName | ||
) |
Definition at line 167 of file CredentialStore.cc.
References runTheMatrix::ret, serviceName, AlCaHLTBitMon_QueryRunRegistry::string, to_lower(), and EcalCondDBWriter_cfi::userName.
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::importForPrincipal(), cond::CredentialStore::resetAdmin(), and schemaLabelForCredentialStore().
std::string cond::schemaLabelForCredentialStore | ( | const std::string & | connectionString | ) |
Definition at line 176 of file CredentialStore.cc.
References l1RCTOmdsFedVectorProducer_cfi::connectionString, writedatasetfile::parser, schemaLabel(), serviceName, and AlCaHLTBitMon_QueryRunRegistry::string.
bool cond::selectAuthorization | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
int | principalId, | ||
const std::string & | role, | ||
const std::string & | connectionString, | ||
AuthorizationData & | destination | ||
) |
Definition at line 290 of file CredentialStore.cc.
References AUTH_ID_COL(), AUTH_KEY_COL(), AUTHORIZATION_TABLE(), C_ID_COL(), l1RCTOmdsFedVectorProducer_cfi::connectionString, HLTMuonOfflineAnalyzer_cff::destination, newFWLiteAna::found, P_ID_COL(), contentValuesFiles::query, ROLE_COL(), SCHEMA_COL(), AlCaHLTBitMon_QueryRunRegistry::string, and tname().
Referenced by setPermissionData().
bool cond::selectConnection | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
const std::string & | connectionLabel, | ||
CredentialData & | destination | ||
) |
Definition at line 247 of file CredentialStore.cc.
References CONNECTION_ID_COL(), CONNECTION_KEY_COL(), CONNECTION_LABEL_COL(), CREDENTIAL_TABLE(), HLTMuonOfflineAnalyzer_cff::destination, newFWLiteAna::found, PASSWORD_COL(), contentValuesFiles::query, AlCaHLTBitMon_QueryRunRegistry::string, tname(), USERNAME_COL(), and VERIFICATION_KEY_COL().
Referenced by cond::CredentialStore::removeConnection(), cond::CredentialStore::setPermission(), updateConnectionData(), and cond::CredentialStore::updatePrincipal().
bool cond::selectPrincipal | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
const std::string & | principal, | ||
PrincipalData & | destination | ||
) |
Definition at line 205 of file CredentialStore.cc.
References ADMIN_KEY_COL(), AUTHENTICATION_TABLE(), HLTMuonOfflineAnalyzer_cff::destination, newFWLiteAna::found, PRINCIPAL_ID_COL(), PRINCIPAL_KEY_COL(), PRINCIPAL_NAME_COL(), contentValuesFiles::query, AlCaHLTBitMon_QueryRunRegistry::string, tname(), and VERIFICATION_COL().
Referenced by cond::CredentialStore::importForPrincipal(), cond::CredentialStore::removePrincipal(), cond::CredentialStore::resetAdmin(), cond::CredentialStore::setPermission(), cond::CredentialStore::startSession(), cond::CredentialStore::unsetPermission(), and updatePrincipalData().
Definition at line 66 of file Serialization.h.
References MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, cond::StreamerInfo::jsonString(), jets_cff::payload, runTheMatrix::ret, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by cond::persistency::Session::storePayload< std::string >(), cond::persistency::Session::storePayload(), and RawEventFileWriterForBU::writeJsds().
bool cond::setPermissionData | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
int | principalId, | ||
const std::string & | principalKey, | ||
const std::string & | role, | ||
const std::string & | connectionString, | ||
int | connectionId, | ||
const std::string & | connectionKey, | ||
std::stringstream & | log | ||
) |
Definition at line 428 of file CredentialStore.cc.
References AUTH_ID_COL(), AUTH_KEY_COL(), AUTHORIZATION_TABLE(), cond::auth::Cipher::b64encrypt(), C_ID_COL(), l1RCTOmdsFedVectorProducer_cfi::connectionString, mps_fire::end, spr::find(), newFWLiteAna::found, getNextSequenceValue(), cond::AuthorizationData::id, dqm-mbProfile::log, GetRecoTauVFromDQM_MC_cff::next, P_ID_COL(), ROLE_COL(), cond::auth::ROLES, SCHEMA_COL(), selectAuthorization(), AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), and tname().
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::importForPrincipal(), cond::CredentialStore::resetAdmin(), cond::CredentialStore::setPermission(), and cond::CredentialStore::updatePrincipal().
SynchronizationType cond::synchronizationTypeFromName | ( | const std::string & | name | ) |
Definition at line 47 of file Types.cc.
References mps_fire::i, Skims_PA_cff::name, s_obsoleteSynchronizationTypeArray, s_synchronizationTypeArray, and throwException().
Referenced by cond::persistency::GetFromRow< cond::SynchronizationType >::operator()().
std::string cond::synchronizationTypeNames | ( | SynchronizationType | type | ) |
Definition at line 45 of file Types.cc.
References s_synchronizationTypeArray.
Referenced by cond::persistency::f_add_attribute(), and cond::persistency::IOVEditor::flush().
void cond::throwException | ( | const std::string & | message, |
const std::string & | methodName | ||
) |
Definition at line 18 of file Exception.cc.
Referenced by cond::service::PoolDBOutputService::appendSinceTime(), cond::auth::Cipher::b64decrypt(), cond::service::PoolDBOutputService::closeIOV(), cond::auth::DecodingKey::createFromInputFile(), cond::service::PoolDBOutputService::createNewIOV(), createPayload(), createPayload< HcalCalibrationQIEData >(), createPayload< std::string >(), cond::CredentialStore::createSchema(), cond::RelationalAuthenticationService::RelationalAuthenticationService::credentials(), cond::Binary::data(), default_deserialize(), deserialize< BaseKeyed >(), deserialize< condex::Efficiency >(), deserialize< CSCReadoutMapping >(), deserialize< CSCReadoutMappingForSliceTest >(), deserialize< PerformancePayload >(), cond::service::PoolDBOutputService::eraseSinceTime(), cond::auth::DecodingKey::flush(), cond::service::PoolDBOutputService::forceInit(), cond::persistency::getConnectionParams(), getLoginName(), cond::payloadInspector::PlotBase::getTag(), cond::service::PoolDBOutputService::getTagInfo(), cond::CredentialStore::importForPrincipal(), cond::persistency::importPayload(), cond::auth::DecodingKey::init(), cond::persistency::IOVEditor::load(), cond::persistency::KeyList::loadFromDB(), cond::service::PoolDBOutputService::lookUpRecord(), cond::CredentialStore::removeConnection(), cond::CredentialStore::removePrincipal(), cond::CredentialStore::resetAdmin(), serialize(), cond::persistency::KeyList::setKeys(), cond::CredentialStore::setPermission(), cond::CredentialStore::setUpForService(), cond::Binary::size(), synchronizationTypeFromName(), cond::CredentialStore::unsetPermission(), cond::CredentialStore::updatePrincipal(), and cond::service::PoolDBOutputService::writeOne().
Referenced by CondDBESSource::setIntervalFor().
std::string const & cond::timeTypeNames | ( | int | i | ) |
Definition at line 11 of file Time.cc.
References mps_fire::i, DTRecHitClients_cfi::local, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CondDBESSource::setIntervalFor(), and cond::TimeTypeTraits< type >::specs().
std::pair<int, std::string> cond::updateConnectionData | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
const std::string & | adminKey, | ||
const std::string & | connectionLabel, | ||
const std::string & | userName, | ||
const std::string & | password, | ||
bool | forceUpdate, | ||
std::stringstream & | log | ||
) |
Definition at line 484 of file CredentialStore.cc.
References cond::auth::Cipher::b64decrypt(), cond::auth::Cipher::b64encrypt(), cond::auth::COND_DB_KEY_SIZE, CONNECTION_ID_COL(), CONNECTION_KEY_COL(), CONNECTION_LABEL_COL(), cond::CredentialData::connectionKey, CREDENTIAL_TABLE(), newFWLiteAna::found, relval_steps::gen(), getNextSequenceValue(), cond::CredentialData::id, dqm-mbProfile::log, EcalCondDBWriter_cfi::password, PASSWORD_COL(), selectConnection(), AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), tname(), EcalCondDBWriter_cfi::userName, USERNAME_COL(), VERIFICATION_KEY_COL(), and cond::CredentialData::verificationKey.
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::importForPrincipal(), cond::CredentialStore::resetAdmin(), and cond::CredentialStore::updateConnection().
std::pair<int, std::string> cond::updatePrincipalData | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
const std::string & | authenticationKey, | ||
const std::string & | principalName, | ||
const std::string & | adminKey, | ||
bool | init, | ||
std::stringstream & | log | ||
) |
init | = false * |
Definition at line 365 of file CredentialStore.cc.
References ADMIN_KEY_COL(), cond::PrincipalData::adminKey, AUTHENTICATION_TABLE(), cond::auth::Cipher::b64decrypt(), cond::auth::Cipher::b64encrypt(), cond::auth::COND_DB_KEY_SIZE, newFWLiteAna::found, relval_steps::gen(), getNextSequenceValue(), cond::PrincipalData::id, dqm-mbProfile::log, PRINCIPAL_ID_COL(), PRINCIPAL_KEY_COL(), PRINCIPAL_NAME_COL(), selectPrincipal(), AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), tname(), and VERIFICATION_COL().
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::resetAdmin(), and cond::CredentialStore::updatePrincipal().
|
static |
Definition at line 40 of file Types.cc.
Referenced by synchronizationTypeFromName().
|
static |
Definition at line 29 of file Types.cc.
Referenced by synchronizationTypeFromName(), and synchronizationTypeNames().
const unsigned int cond::TIMETYPE_LIST_MAX = 5 |
Definition at line 20 of file Time.h.
Referenced by findSpecs().
const TimeTypeSpecs cond::timeTypeSpecs |
Definition at line 16 of file Time.cc.
Referenced by MCMisalignmentScaler::analyze(), MillePedeAlignmentAlgorithm::areIOVsSpecified(), cond::service::PoolDBOutputService::beginOfTime(), MillePedeAlignmentAlgorithm::beginRun(), SiStripLorentzAngleCalibration::beginRun(), SiPixelLorentzAngleCalibration::beginRun(), RunRangeDependentPedeLabeler::buildRunRangeDependencyMap(), cond::service::PoolDBOutputService::endOfTime(), findSpecs(), MillePedeAlignmentAlgorithm::initialize(), align::makeNonOverlappingRunRanges(), align::makeUniqueRunRanges(), CondDBESSource::setIntervalFor(), cond::service::PoolDBOutputService::Record::timetypestr(), and CreateIdealTkAlRecords::writeToDB().